Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
Re: [opensuse-packaging] Desktop categories: mismatch in brp-desktop and rpmlint
  • From: Stephan Kulow <coolo@xxxxxxx>
  • Date: Mon, 26 Jan 2009 11:06:00 +0100
  • Message-id: <200901261106.01357.coolo@xxxxxxx>
Am Montag 26 Januar 2009 schrieb Michal Vyskocil:

I have a problem with a desktop file. The upstream one has


but brp-desktop stops the build with Insufficient Category.

ERROR: No sufficient Category definition: /var/tmp/playitslowly-1.1.0-
Errors in installed desktop file detected. Please mail stbinner@xxxxxxx, if
you think this is wrong.
error: Bad exit status from /var/tmp/rpm-tmp.79930 (%install)

So I changed it according SUSE Packaging Conventions [1] to


but now I got a rpmlint warning:
playitslowly.x86_64: W: invalid-desktopfile
/usr/share/applications/playitslowly.desktop value
"Multimedia;Player;AudioVideo;AudioVideoPlayer;" for key "Categories" in
group "Desktop Entry" contains an unregistered value "Multimedia"; values
extending the format should start with "X-"
wly.desktop: .desktop file is not valid, check with desktop-file-validate

So what should be in Categories which will pass brp-desktop and rpmlint
checks? And is there any reason why we have a double check of the same

It's not the same. rpmlint checks if the .desktop file is correct according to
the xdg standard (e.g. lists only valid categories).

brp-desktop checks if the desktop file will map to one of our menu structures.
And according to /etc/xdg/menus/ the category is
X-SuSE-Core-Multimedia, but AudiVideo already maps there.

Greetings, Stephan

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

< Previous Next >