Page 1 of 1

Update of .desktop file

PostPosted: 26 Jul 2011, 22:02
by Gallaecio
Hi,

I’ve just added Galician translation to template .desktop file, replaced version with a “VERSION” placeholder, and replaced Comment fields with GenericName ones:

{l Code}: {l Select All Code}
[Desktop Entry]
Encoding=UTF-8
Name=SuperTuxKart
Version=VERSION
Icon=PREFIX/share/pixmaps/supertuxkart_64.xpm
GenericName=A kart racing game
GenericName[de_DE]=Ein Kart-Rennspiel
GenericName[fr_FR]=Un jeu de karting
GenericName[gl]=Xogo de carreiras con karts
GenericName[ro_RO]=Un joc de curse cu carturi
Exec=PREFIX/games/supertuxkart --log=file
Terminal=false
StartupNotify=false
Type=Application
TryExec=PREFIX/games/supertuxkart
Categories=Game;ArcadeGame;

Re: Update of .desktop file

PostPosted: 26 Jul 2011, 22:04
by Gallaecio
It would be cool for make install to actually update the VERSION placeholder as it does with PREFIX, but even if not, this way it is easier for packagers to update it.

Re: Update of .desktop file

PostPosted: 27 Jul 2011, 01:57
by Auria
Hi,

thanks for the file, I added it to SVN. As for automatically changing the version number, this will need smeone who understands how autotools works, I have no idea

Re: Update of .desktop file

PostPosted: 28 Jul 2011, 03:20
by hiker
Auria {l Wrote}:thanks for the file, I added it to SVN. As for automatically changing the version number, this will need smeone who understands how autotools works, I have no idea

Done in r9378.

Thanks!
Joerg