[MPlayer-dev-eng] [PATCH] Gnome menu icon for debian
Diego Biurrun
diego at biurrun.de
Wed Jun 23 19:15:37 CEST 2004
scognito at libero.it writes:
> --- rules 7 Nov 2003 09:57:06 -0000 1.42
> +++ rules 21 Jun 2004 21:19:49 -0000
> @@ -52,6 +52,10 @@
>
> # commands to install the package into debian/<packagename>
> $(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install
> +
> + install -m 644 -o 0 -g 0 etc/mplayer.desktop $(prefix)/usr/share/gnome/apps/Multimedia/mplayer.desktop
This should be /usr/share/applications/ instead of /usr/share/gnome/
it is the new specification and will work in KDE as well, see
http://freedesktop.org/Standards/desktop-entry-spec/0.9.4/
> --- /dev/null 2004-05-30 00:45:55.000000000 +0200
> +++ etc/mplayer.desktop 2004-06-21 17:29:29.000000000 +0200
> @@ -0,0 +1,14 @@
> +[Desktop Entry]
> +Name=MPlayer
> +Comment=The Movie Player For Linux
> +Comment[de]=Multimedia player
Multimedia Player
> +Comment[es]=Reproductor multimedia
> +Comment[fr]=Lecteur multimedia
> +Comment[it]=Lettore multimediale
> +Comment[us]=Multimedia Player
Multimedia player
> +Categories=GNOME;Application;Multimedia
There should be more and different categories and GTK instead of
GNOME, see
http://www.freedesktop.org/standards/menu-spec/0.8/apa.html
Diego
More information about the MPlayer-dev-eng
mailing list