Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] Valid Category for astrology program
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.

--
Paul Elliott 1(512)837-1096
pelliott@xxxxxxxxxxxxxxxxxxx PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
< Previous Next >
Follow Ups