Added a .desktop file.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 2 Mar 2009 11:17:18 +0000 (20:17 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 2 Mar 2009 11:17:18 +0000 (20:17 +0900)
Added a desktop file for the benefit of operating systems which use them.
Thanks to James R. Van Zandt for providing this.

src/ui/gui/automake.mk
src/ui/gui/pspp.desktop [new file with mode: 0644]

index 5e4bceb2500aa9c16a8676dcdbe5f3177a9074be..748a12dfc4559e9e2f428f835b307a95fc297b1f 100644 (file)
@@ -249,10 +249,16 @@ src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
 .glade.ui:
        gtk-builder-convert $< $@
 
+desktopdir = $(datadir)/applications
+desktop_DATA = src/ui/gui/pspp.desktop
+
 EXTRA_DIST += src/ui/gui/OChangeLog\
        src/ui/gui/psppicon.png \
-       src/ui/gui/marshaller-list
+       src/ui/gui/marshaller-list \
+       $(desktop_DATA)
 
 BUILT_SOURCES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h
 CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h \
        $(nodist_src_ui_gui_psppire_DATA)
+
+
diff --git a/src/ui/gui/pspp.desktop b/src/ui/gui/pspp.desktop
new file mode 100644 (file)
index 0000000..9796b2d
--- /dev/null
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=GNU PSPP
+GenericName=Statistical Software
+GenericName[de]=Statistiksoftware
+Comment=Analyze statistical data with a free alternative to SPSS
+Comment[de]= Statistische Daten mit einer freien Alternative zu SPSS analysieren
+Exec=psppire %F
+TryExec=psppire
+Icon=psppicon.png
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=GTK;Education;Science;Math;