Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444728 - silence some warnings for desktop-file-validate
Summary: silence some warnings for desktop-file-validate
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 445274
  Show dependency tree
 
Reported: 2012-11-25 19:06 UTC by Julian Ospald
Modified: 2012-12-08 18:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2012-11-25 19:06:38 UTC
the spec does not say that only one main category is allowed http://standards.freedesktop.org/menu-spec/latest/apa.html

but we will get a "hint" on that from desktop-file-validate:
/usr/share/applications/spacefm.desktop: hint: value "System;FileTools;Utility;Core;GTK;FileManager;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu

That's fine for the tool, but should be silenced in portage imo. It's not fatal and might even be on purpose, so people should not report this.

desktop-file-validate has an option called "--no-hints"
maybe we should just use that since hints are not about spec non-compliance.
Comment 2 Zac Medico gentoo-dev 2012-12-08 18:23:24 UTC
This is fixed in 2.1.11.33 and 2.2.0_alpha144.