From: John Darrington <john@darrington.wattle.id.au>
Date: Mon, 2 Mar 2009 11:17:18 +0000 (+0900)
Subject: Added a .desktop file.
X-Git-Tag: v0.7.3~267
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403e0bff45bad321200f52aabef198c8c555d585;p=pspp-builds.git

Added a .desktop file.

Added a desktop file for the benefit of operating systems which use them.
Thanks to James R. Van Zandt for providing this.
---

diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
index 5e4bceb2..748a12df 100644
--- a/src/ui/gui/automake.mk
+++ b/src/ui/gui/automake.mk
@@ -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
index 00000000..9796b2d9
--- /dev/null
+++ b/src/ui/gui/pspp.desktop
@@ -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;