Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
[opensuse-packaging] Desktop categories: mismatch in brp-desktop and rpmlint
  • From: Michal Vyskocil <mvyskocil@xxxxxxx>
  • Date: Mon, 26 Jan 2009 10:50:17 +0100
  • Message-id: <200901261050.18031.mvyskocil@xxxxxxx>
Hi,

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

Categories=Application;AudioVideo;

but brp-desktop stops the build with Insufficient Category.

ERROR: No sufficient Category definition: /var/tmp/playitslowly-1.1.0-
build//usr/share/applications/playitslowly.desktop
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

Categories=Multimedia;Player;AudioVideo;AudioVideoPlayer;

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-"
/tmp/playitslowly-1.1.0-1.x86_64.rpm.23739/usr/share/applications/playitslowly.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 thing?

[1]
http://en.opensuse.org/SUSE_Package_Conventions/Desktop_Menu#9.4.6._Multimedia_Categories

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

< Previous Next >
Follow Ups