David Bolt wrote:
Note that Freedesktop itself has a problem with definition of Education and Science. I see no reason why Geology can be used with Science but Geography cannot be used with.
That is a little strange, and something I hadn't noticed before. However, while it's listed as being under Education; it is still allowed under (*;)Education;Science; according to desktop-file-validate.
With exception of Geography, Economy and few others you can. But having a tools for PCB design, Fourier analysis in the menu called "School as a playground" does not look well: https://bugzilla.novell.com/show_bug.cgi?id=443364
I have wondered why ImageProcessing appears to be allowed for Education;Science; but doesn't appear to be so for either Graphics or Office. Checking them shows them to be valid and, although they pass the checks for Fedora, fail on openSUSE 11.1.
It may be another valid point for the next spec. Vincent, is there any Desktop Menu spec problems tracker?
I'm not overly good at reading source code, but looking at the source for desktop-file-validate, specifically validate.c, it certainly looks like any combination of main categories and additional categories are valid. I've added a few of test category combinations to check this. The combinations were
Then it is probably less strict than the spec. IMHO the spec should be considered as correct => Valid combinations must have menu mapping, invalid combinations should cause an error. And I think, that we need an utility desktop-menu-validate, that should complain: Error: Your menu lacks support for Development;Engineering... It would force all vendors to use menu system that places correctly all correct desktop files. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org