tmore mime-info and desktop files installed by autoconf - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a8850cd54acc36320e789eb4fbf118e7f7ae3c5b
DIR parent b40dcff457419103064d0ade5ed1000bcbdcda07
HTML Author: Jaromil <jaromil@dyne.org>
Date: Wed, 19 Jan 2011 19:28:29 +0100
more mime-info and desktop files installed by autoconf
doing it this way is the correct way for debian and obsoletes tomb install
which we might want to keep anyway for non-package installations
Diffstat:
M share/Makefile.am | 6 ++++++
A share/tomb.applications | 7 +++++++
A share/tomb.keys | 6 ++++++
A share/tomb.mime | 6 ++++++
M src/Makefile.am | 2 +-
5 files changed, 26 insertions(+), 1 deletion(-)
---
DIR diff --git a/share/Makefile.am b/share/Makefile.am
t@@ -1,2 +1,8 @@
Applicationsdir = $(datadir)/applications
Applications_DATA = tomb.desktop
+
+AppRegdir = $(datadir)/application-registry
+AppReg_DATA = tomb.applications
+
+MimeInfodir = $(datadir)/mime-info
+MimeInfo_DATA = tomb.keys tomb.mime
DIR diff --git a/share/tomb.applications b/share/tomb.applications
t@@ -0,0 +1,7 @@
+tomb
+ command=tomb-open
+ name=Tomb - Crypto Undertaker
+ can_open_multiple_files=false
+ expects_uris=false
+ requires_terminal=false
+ mime-types=application/x-tomb-volume,application/x-tomb-key
DIR diff --git a/share/tomb.keys b/share/tomb.keys
t@@ -0,0 +1,6 @@
+# actions for encrypted tomb storage
+application/x-tomb-volume:
+ open=tomb-open %f
+ view=tomb-open %f
+ icon-filename=monmort.xpm
+ short_list_application_ids_for_novice_user_level=tomb
DIR diff --git a/share/tomb.mime b/share/tomb.mime
t@@ -0,0 +1,6 @@
+# mime type for encrypted tomb storage
+application/x-tomb-volume
+ ext: tomb
+
+application/x-tomb-key
+ ext: tomb.gpg
DIR diff --git a/src/Makefile.am b/src/Makefile.am
t@@ -12,5 +12,5 @@ tomb_askpass_LDADD = @GTK2_LIBS@
tomb_askpass_CFLAGS = @GTK2_CFLAGS@
EXTRA_DIST = monmort.xpm
-pixmapdir = $(prefix)/share/pixmaps
+pixmapdir = $(datadir)/pixmaps
pixmap_DATA = monmort.xpm