On Fri, 25 Feb 2011 18:01:54 -0600
Paul Elliott
On Friday, February 25, 2011 03:17:51 am Vincent Untz wrote:
Le vendredi 25 février 2011, à 01:52 -0600, Paul Elliott a écrit :
I am looking for a technically valid value for this line: %suse_update_desktop_file -r %{dir_name} XXX
What are the Categories in the .desktop file shipped in the tarball?
Categories=Education;Miscellaneous I fixed to Categories=Education;Miscellaneous; I created a patch to add a trailing semicolon.
Result: -------------------------- + desktop-file- validate /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop: error: value "Education;Miscellaneous;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Miscellaneous"; values extending the format should start with "X-" error: Bad exit status from /var/tmp/rpm-tmp.QmunTZ (%install) ------------------------------------------ and a failed build. I must find something that desktop file validate will accept.
Hi Have a look here; http://en.opensuse.org/openSUSE:Packaging_guidelines#Desktop_files http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories#Education Update via; %suse_update_desktop_file -r %{name} %{name} Education Astronomy Astronomy...hmmm -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.27-0.2-default up 4 days 20:17, 5 users, load average: 0.08, 0.18, 0.15 GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org