Bug 1231 - hildon-theme-plankton installs a .desktop _always_ pointing to /usr/share
: hildon-theme-plankton installs a .desktop _always_ pointing to /usr/share
Status: RESOLVED FIXED
Product: Desktop platform
hildon-theme
: unspecified
: All Maemo
: Medium normal (vote)
: ---
Assigned To: Michael Kostrzewa
: HAF QA mailing list
:
:
:
:
  Show dependency tree
 
Reported: 2007-04-21 09:58 UTC by Diego Escalante Urrelo
Modified: 2007-11-03 10:57 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Diego Escalante Urrelo (reporter) 2007-04-21 09:58:45 UTC
Selecting plankton on the background settings didn't worked and I found on the
log that it tried to load /usr/share/backgrouns/plankton.png when I installed
using /home/maemo/env as prefix.
It's fixed for me with the following change, I don't have experience with
autotools and friends so I don't know if this is the best solution:

Index: wallpaper/theme_bg.desktop.in
===================================================================
--- wallpaper/theme_bg.desktop.in       (revision 11187)
+++ wallpaper/theme_bg.desktop.in       (working copy)
@@ -1,5 +1,5 @@
 [Desktop Entry]
 Type=Background Image
 Name=@THEME_NAME@
-File=/usr/share/backgrounds/@THEME_DIR@.png
+File=@prefix@/share/backgrounds/@THEME_DIR@.png
 X-Order=01
Comment 1 Michael Kostrzewa nokia 2007-11-03 10:57:47 UTC
Fixed in chinook.