Mailinglist Archive: opensuse-buildservice (311 mails)

< Previous Next >
[opensuse-buildservice] Re: Categories in .desktop files OpenSuse 11.1/2
  • From: Malcolm <malcolm_lewis@xxxxxxxxxxxxx>
  • Date: Sun, 15 Nov 2009 13:22:34 -0600
  • Message-id: <20091115132234.799d27cb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Sat, 14 Nov 2009 21:59:09 +0100
Carsten Gerlach <daswaldhorn@xxxxxx> wrote:

Hello,

I'm building packages for a program which uses the line

"Categories=GNOME;Application;AudioVideo;"

in the .desktop file and get the error message

"ERROR: No sufficient Category definition:
/usr/src/packages/BUILDROOT/nted-1.9.6-13.1.x86_64//usr/share/applications/nted.desktop"

when I build for OpenSuse 11.1 or 11.2. In the build for 11.0 is all
ok.

Well, in the build-log I get the warning, that "Application" is
deprecated, so I update the .desktop file with

"# %suse_update_desktop_file -r %{name} GNOME AudioVideo"

to remove the entry "Application". But the error is not gone. So I
found out that the values "GNOME" and "AudioVideo" are not accepted
by OBS but as written in
http://standards.freedesktop.org/menu-spec/latest/apa.html
"AudioVideo" and "GNOME" are valid values. So it would be great, when
you can update the building rules that this values are accepted in
the future.

Greetings and thanks, Carsten


PS: my username is "daswaldhorn" and the project is "nted", if it is
importand for you.

PPS: In the build-log was written, that one should contact
stbinner@xxxxxxx in the case of this error. I tried it, but the email
adress is not valid.



Hi
You need to read here to ensure you select the correct combination
from the Registered Categories;
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html

eg GNOME;AudioVideo;Player;

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 3 days 16:44, 2 users, load average: 0.25, 0.17, 0.26
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


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

< Previous Next >
References