From 403e0bff45bad321200f52aabef198c8c555d585 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 2 Mar 2009 20:17:18 +0900 Subject: [PATCH] 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. --- src/ui/gui/automake.mk | 8 +++++++- src/ui/gui/pspp.desktop | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/ui/gui/pspp.desktop 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; -- 2.30.2