GNOME Bugzilla – Bug 352840
Version string not expanded in .desktop file (bug buddy section)
Last modified: 2006-08-25 18:39:02 UTC
2.15.92-0ubuntu1 (ubuntu edgy eft) /usr/share/applications/gnome-power-preferences.desktop:X-GNOME-Bugzilla-Bugzilla=GNOME /usr/share/applications/gnome-power-preferences.desktop:X-GNOME-Bugzilla-Product=gnome-power-manager /usr/share/applications/gnome-power-preferences.desktop:X-GNOME-Bugzilla-Component=gnome-power-preferences /usr/share/applications/gnome-power-preferences.desktop:X-GNOME-Bugzilla-Version=@VERSION@ Must be a problem in corresponding Makefile.am
Uhh. Thanks for the bug. I really don't want to have to make gnome-power-preferences.desktop.in.in for CVS. Any idea of how to fix this? Thanks, Richard.
sorry but the only way I know is : XXX.desktop.in.in => intltool => XXX.desktop.in (with translations) => Makefile.am/configure.in => XXX.desktop (translations + version string) so I suppose you'll have to rename it in CVS and change generation rules. Hopefully, it doesn't touch code so it's ok to change this after code freeze. I'll try to fetch current code and make a patch if I manage to find some time before monday.
Or just remove the one line for this release and move to .in.in next cycle. I don't even have the version line in the g-s one.
X-GNOME-Bugzilla-Version is not mandatory for Bug-Buddy 2.16 support. I suppose that having no version string at all is better than having "@VERSION@" for now. Lets change to.in.in for 2.1[78] to make it properly as William suggested. Another way is to hardcode '2.16.x' for now. Just prepare to have lots of unversioned bug-buddy reports for current cycle. keep this bug open, just change target for next cycle X-GNOME-Bugzilla-Version=@VERSION@ => X-GNOME-Bugzilla-Version=2.16.x (for this cycle)
(In reply to comment #4) > Just prepare to have lots of unversioned bug-buddy reports for current cycle. Wow, that's optimism! ;) I don't think the preferences has crashed that much in the past...
Heh, thanks Jon :-) I'l just hardcode the string 'X-GNOME-Bugzilla-Version=2.16.x' for now, it's a bit close to the release for my liking: 2006-08-25 Richard Hughes <richard@hughsie.com> * data/gnome-power-manager.desktop.in: * data/gnome-power-preferences.desktop.in: Manually hardcode the version to 2.16.x to fix #352840. I'll commit a similar patch to head (but use 2.17.x instead)