Mailinglist Archive: opensuse-packaging (139 mails)

< Previous Next >
[opensuse-packaging] Fixing package conventions
  • From: Vincent Untz <vuntz@xxxxxxxxxx>
  • Date: Tue, 18 Mar 2008 13:40:30 +0100
  • Message-id: <20080318124030.GB13833@xxxxxxxxx>
Hi,

I found several errors on
http://en.opensuse.org/SUSE_Package_Conventions/Desktop_Menu
What is the process to fix them? I guess it's a bit more complex than
just editing the wiki page?

Here are the errors:

+ the xboard example has this line:
"Categories=Game;BoardGame"
It's missing a ; at the end of the line

+ Encoding explicitly defines the encoding used in the desktop file.
The value “UTF-8” should be used.
=> the Encoding key is deprecated now, and shouldn't be used any
more. The files are always UTF-8 encoded.

+ Icon defines the icon connected with the application. The value is an
icon name without a suffix. Only the .png and .xpm icons are
supported. They must be installed either below /usr/share/pixmaps/ or
below /opt/gnome/share/pixmaps/.
=> the value can also be a path to an icon. The icon should be
installed according to the guidelines defined in the icon theme
specification if possible.

+ GenericName defines a comment that can be shown in a tool tip. It was
defined by the key Comment in old desktop files.
=> that's wrong. The tooltip is still defined by the Comment key
according to the spec.

+ the emacs.desktop example is not valid:
Terminal=0 should be Terminal=false
Also, X-KDE-StartupNotify=true should probably be StartupNotify=true
and X-KDE-WMClass should be StartupWMClass

+ I'm confused by the list of categories. Some of them are not defined
in the menus spec and shouldn't be used. It's not clear whether the
small text above the categories implies that they should be prefixed
with "X-SuSE-"?

Vincent

--
Les gens heureux ne sont pas pressés.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups