Hi!
There is "Teaching" desktop menu category in the following page: http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories#Education
But when I build my package in OBS the following warning is shown: klavaro.x86_64: W: invalid-desktopfile /usr/share/applications/klavaro.desktop value "Education;Teaching;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Teaching"; values extending the format should start with "X-" .desktop file is not valid, check with desktop-file-validate
Is it a defect in RPMLINT or in the wiki-page?
Thanks.
Le dimanche 28 août 2011, à 00:59 +0400, Kirill Kirillov a écrit :
Hi!
There is "Teaching" desktop menu category in the following page: http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories#Education
But when I build my package in OBS the following warning is shown: klavaro.x86_64: W: invalid-desktopfile /usr/share/applications/klavaro.desktop value "Education;Teaching;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Teaching"; values extending the format should start with "X-" .desktop file is not valid, check with desktop-file-validate
Is it a defect in RPMLINT or in the wiki-page?
It's a bug in our default menu structure and the wiki page, as there is no registered Teaching category, see http://standards.freedesktop.org/menu-spec/menu-spec-latest.html#category-re...
We have several other categories listed in our guidelines with the same issue. It'd be great to have someone clean that and/or get consensus on the xdg mailing list to get the categories registered.
Until then, I guess you can just keep the rpmlint warning since, well, using this category will put the .desktop file where you want in our default menu structure.
Cheers,
Vincent
Monday 29 August 2011
On Mon, 29 Aug 2011 09:54:39 +0200 Vincent Untz wrote:
It's a bug in our default menu structure and the wiki page, as there is no registered Teaching category, see http://standards.freedesktop.org/menu-spec/menu-spec-latest.html#cate gory-registry
Also it is a bug in update-desktop-files:
/usr/lib/rpm/map-desktop-category.sh
School) ret="Teaching" echo WARNING: School is an outdated Category, mapping it to Teaching ;; ... #Education Menu: Teaching|Science|Math|Chemistry|Astronomy|Art|Construction|Languages| \ Engineering|Geography) ret=$in ;;
Hi!
В Пнд, 29/08/2011 в 09:54 +0200, Vincent Untz пишет:
It's a bug in our default menu structure and the wiki page, as there is no registered Teaching category, see http://standards.freedesktop.org/menu-spec/menu-spec-latest.html#category-re...
We have several other categories listed in our guidelines with the same issue. It'd be great to have someone clean that and/or get consensus on the xdg mailing list to get the categories registered.
Thanks for the clarification. I've reported this issue to track progress: https://bugzilla.novell.com/show_bug.cgi?id=714849