enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-devel] Enigma and freedesktop.org


From: Michael Terry
Subject: [Enigma-devel] Enigma and freedesktop.org
Date: Sun, 06 Jul 2003 19:24:15 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030527 Debian/1.3.1-2

Hello, gentle Enigma maintainers.

I have written and attached a .desktop file following the freedesktop.org desktop entry specification. Also attached is a patch to put it in the right place (when not doing a mingw build) on the user's system. Put the engima.desktop file in the source directory 'etc.'

In case you are not familiar, a .desktop file is put in a standard location (usually /usr/share/applications) and then all compliant desktop environments and window managers (right now, just KDE3 and GNOME2) can automatically pull information from these files and put the entries in their menus or whatever.

I also have added code to etc/Makefile.am to install the enigma icon into the appropriate places. (This is needed for the .desktop entry to find the icon.)

Please cc: me on any replies, since I am not subscribed to this list.

-mt
? etc/enigma.desktop
Index: etc/Makefile.am
===================================================================
RCS file: /cvsroot/enigma/enigma/etc/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- etc/Makefile.am     9 Feb 2003 21:22:30 -0000       1.2
+++ etc/Makefile.am     6 Jul 2003 23:11:47 -0000
@@ -1 +1,15 @@
-EXTRA_DIST =   enigma.spec mingw32-configure.sh mingw32-dist.sh nlcvt.pl
+if !MINGW32
+# Comply with xdg icon theme specification
+icondir = $(datadir)/icons/hicolor/48x48/apps
+icon_DATA = enigma.png
+
+# Backwards-compatible global search location for images
+pixmapdir = $(datadir)/pixmaps
+pixmap_DATA = enigma.png
+
+# Install .desktop file in xdg standard location
+desktopdir = $(datadir)/applications
+desktop_DATA = enigma.desktop
+endif !MINGW32
+
+EXTRA_DIST =   enigma.spec mingw32-configure.sh mingw32-dist.sh nlcvt.pl 
enigma.desktop enigma.png
[Desktop Entry]
Encoding=UTF-8
Version=1.0

Name=Enigma
Name[eo]=Enigmo

Comment=Uncover pairs of stones while navigating obstacles using a marble
Comment[eo]=Malkovru parojn de ŝtonojn dum vi navigas obstaklojn kun globeto

FilePattern=enigma;
TryExec=enigma
Exec=enigma
Terminal=false
Icon=enigma

StartupNotify=false

Type=Application
Categories=Application;Game;PuzzleGame;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]