From: Friedrich Beckmann Date: Sun, 21 Jun 2020 09:48:41 +0000 (+0200) Subject: desktop: add mimetypes application/x-spss-sps and application/x-spss-spv X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcebe62ed4634c3185f449593ba9fd438fb075d9;p=pspp desktop: add mimetypes application/x-spss-sps and application/x-spss-spv I added an xml mime package which relates the files .sps and .spv to a mime type. Via that mime type the files can then be openend by clicking in the file browser. --- diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index 382202cd7c..b49423110f 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -401,6 +401,10 @@ src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@ +mimedir = $(datadir)/mime/packages +mime_DATA = src/ui/gui/pspp.xml +EXTRA_DIST += src/ui/gui/pspp.xml + desktopdir = $(datadir)/applications desktop_DATA = src/ui/gui/org.fsf.pspp.desktop diff --git a/src/ui/gui/pspp.xml b/src/ui/gui/pspp.xml new file mode 100644 index 0000000000..4f925c4c08 --- /dev/null +++ b/src/ui/gui/pspp.xml @@ -0,0 +1,16 @@ + + + + SPSS syntax file + SPSS + Statistical Package for the Social Sciences + + + + SPSS output file + SPSS + Statistical Package for the Social Sciences + + + +