Re: Desktop file and exec path

2007-02-08 Thread Enrico Sardi
Andreas Schwab pronuncio' le seguenti parole il 08/02/2007 17:55: Benoit Sigoure <[EMAIL PROTECTED]> writes: Although two ways of solving this issue have been proposed already, there is also another way out: using an AC_CONFIG_FILES. glpegsolitaire.desktop.in ---

Re: Desktop file and exec path

2007-02-08 Thread Benoit Sigoure
Quoting Andreas Schwab <[EMAIL PROTECTED]>: Benoit Sigoure <[EMAIL PROTECTED]> writes: Although two ways of solving this issue have been proposed already, there is also another way out: using an AC_CONFIG_FILES. glpegsolitaire.desktop.in ---

Re: Desktop file and exec path

2007-02-08 Thread Ralf Wildenhues
Hello Andreas, all, I think most was already said in this thread. Let me add a small nit: * Andreas Schwab wrote on Thu, Feb 08, 2007 at 02:04:10PM CET: > > Use @DATADIR@ in glpegsolitaire.desktop.in and put this in your makefile: > > glpegsolitaire.desktop: $(srcdir)/glpegsolitaire.desktop.in

Re: Desktop file and exec path

2007-02-08 Thread Andreas Schwab
Benoit Sigoure <[EMAIL PROTECTED]> writes: > Although two ways of solving this issue have been proposed already, there is > also another way out: using an AC_CONFIG_FILES. > > glpegsolitaire.desktop.in > -- > [Desktop Entry] > Name=Pe

Re: Desktop file and exec path

2007-02-08 Thread Benoit Sigoure
Quoting Enrico Sardi <[EMAIL PROTECTED]>: I have a desktop file like this: glpegsolitaire.desktop -- [Desktop Entry] Name=Peg Solitaire Comment=A "Peg Solitaire" for Gnome Exec=glpegsolitaire Icon=glpegsolitaire.png Terminal=false T

Re: Desktop file and exec path

2007-02-08 Thread Andreas Schwab
Enrico Sardi <[EMAIL PROTECTED]> writes: > glpegsolitaire.desktop > -- > [Desktop Entry] > Name=Peg Solitaire > Comment=A "Peg Solitaire" for Gnome > Exec=glpegsolitaire > Icon=glpegsolitaire.png > Terminal=false > Type=Application >

AW: Desktop file and exec path

2007-02-08 Thread Jurzitza, Dieter
Dear listmembers, dear Enrico, IMHO this is a sed-job to be called from within automake: cutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcut #!/bin/sh MYNAME=$1 cp -p desktop desktop.save sed "s/Exec=.*/Exec=${MYNAME}/g" desktop.save > desktop rm -f desktop.save cutcutcutcutcu

Re: Desktop file and exec path

2007-02-08 Thread Enrico Sardi
Ralf Wildenhues pronuncio' le seguenti parole il 05/02/2007 20:35: Hello Enrico, * Enrico Sardi wrote on Sun, Feb 04, 2007 at 11:56:07PM CET: Is there a way to set the "Exec" path in a .desktop file from an automake variable? I don't understand this question, sorry. It's possible both

Re: Desktop file and exec path

2007-02-05 Thread Ralf Wildenhues
Hello Enrico, * Enrico Sardi wrote on Sun, Feb 04, 2007 at 11:56:07PM CET: > > Is there a way to set the "Exec" path in a .desktop file from an > automake variable? I don't understand this question, sorry. It's possible both to read and to manipulate files in both the configure.ac script as we

Desktop file and exec path

2007-02-04 Thread Enrico Sardi
Hi all! Is there a way to set the "Exec" path in a .desktop file from an automake variable? Many thanks! Enrico