Mailinglist Archive: opensuse-packaging (186 mails)

< Previous Next >
Re: [opensuse-packaging] Desktop categories: mismatch in brp-desktop and rpmlint
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Tue, 17 Feb 2009 17:40:57 +0100
  • Message-id: <1234888857.23616.153.camel@xxxxxxxxxxxxxx>
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:

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
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@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups