hiho,
i am not sure, but i think this is a correct behaviour. if users customise
her /usr/local/share/hydrogen/.... folder with other images or what ever, scons
-c install
don't have to remove this content, and scons install don't have to overwrite
targets if
they are customised.
so i am really really not sure but i think... if during development some images
or other installed data changed, at first we have to do a scons -c install
and then a scons install. if we only do only a 'scons install' scons don't
overwrite the old data files. and imo this is correct.
and if scons -c install don't remove the original installed data (on my system
this will work correct) we have to remove the /usr/local/share/hydrogen/ folder
manually.
> How to reproduce: rename $prefix/share/hydrogen/data/img/gray/ to
> $prefix/share/hydrogen/data/img/gray1 and try running scons install. It
> doesn't install the gray directory on my machine, unless I remove the
> whole $prefix/share/hydrogen directory.
? sorry but i don't understand what you have changed. do you use scons with an
other install prefix, or do you edit the sconstruct file? sorry, i ask this
because i have no experience with scons.
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.
wolke
Am Tue, 18 Nov 2008 10:02:05
+0000 schrieb Krzysztof Foltman <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
>
> > then i try to install the desktop files. i am not sure if i do this on the
> > right way.
> > please confirm.
>
> Speaking of installing - it seems that current scons tends to omit
> installation step if the target subdirectory (like data/img, data/i18n
> etc.) already exists - even if the files in it are old versions.
>
> How to reproduce: rename $prefix/share/hydrogen/data/img/gray/ to
> $prefix/share/hydrogen/data/img/gray1 and try running scons install. It
> doesn't install the gray directory on my machine, unless I remove the
> whole $prefix/share/hydrogen directory.
>
> Actually, I didn't try only removing $prefix/share/hydrogen/data/img,
> that should help too - but still, it's not a correct installation
> behaviour because it leads to upgrade problems (i.e. old installed
> bitmaps not being updated to new versions).
>
> Krzysztof
>
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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