Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444728

Summary: silence some warnings for desktop-file-validate
Product: Portage Development Reporter: Julian Ospald <hasufell>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 445274    

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.