As bug 20189 says, most vendors implement just only documented combinations of Main Category and Additional Category, leaving obscure and non-suggested combinations unsorted (example: Game;FileTools;). It would be nice to introduce the more strict interpretation of standard (proposed in bug 20189) in desktop-file-validate, as most vendors expect only listed combinations. A configure time warning/error option would be a good start point.
Can you quickly try desktop-file-validate from CVS? I have implemented more checks for categories there.
It seems to work: grep Categories ugly.desktop Categories=Game;FileTools; Output: ugly.desktop: error: value "FileTools" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Utility, or System grep Categories nice.desktop Categories=Utility;FileTools;GTK;Core; Output: (no output, OK) grep Categories strange.desktop Categories=GTK;Game;FileTools;Utility;BoardGame; Output: (no output, OK)
Fixed in CVS according to last comment, so closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.