Hi Michael, Sorry I've been away for a while....
[EMAIL PROTECTED] wrote: > but back to my previous question. > where are the correct install target for the desktop file ( hydrogen.desktop ) > on my system this is /usr/share/applications and not > /usr/local/share/applications. > so i change this: > env.Alias(target="install", source=env.Install(dir= destdir + > install_prefix + '/usr/share/applications', source="./hydrogen.desktop")) > env.Alias(target="install", source=env.Install(dir= destdir + > install_prefix + '/usr/share/pixmaps', source="./data/img/gray/h2-icon.svg")) > into this: > env.Alias(target="install", source=env.Install(dir= destdir + > '/usr/share/applications', source="./hydrogen.desktop")) > env.Alias(target="install", source=env.Install(dir= destdir + > '/usr/share/pixmaps', source="./data/img/gray/h2-icon.svg")) > > can i do this??? because the install_prefix don't work anymore for this both > files. > But Gnome now find the right entry and icon for the applications menu and add > h2 automatically into the right menu. Kde don't find it automatically and > don't add anything into his menu. I don't think that this is the right way to do it. I think it was right before. The problem with this solution is that it breaks the OS-specific builds. When, for instance, we build the .deb files, it sandboxes the build by setting PREFIX=$(pwd)/linux/debian/build (or something like that). Then, it puts all the stuff in that directory into the archive. However... the stuff that's been hard-coded to /usr/share will *not* make it into the .deb (or .rpm, or whatever). KDE not finding it is probably an issue with your OS and/or setup. If you do this: $ printenv | grep -i XDG XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ You should see that /usr/local/share/ is in the path. If not... then that may be your problem. I'm not sure how XDG_DATA_DIRS is set... but it's a standard set up by freedesktop.org -- and KDE and Gnome claim to comply. Any objections to changing the Sconstruct back? Thanks, Gabriel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
