tbuild system now installs the .desktop file - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit dd71ddc57af25bb2fa300b2b2221be891495cafa
DIR parent 542bcb15774c3a6b86a12f5462c4d275ae8721bb
HTML Author: Jaromil <jaromil@dyne.org>
Date: Thu, 13 Jan 2011 22:36:15 +0100
build system now installs the .desktop file
Diffstat:
M configure.ac | 1 +
A share/Makefile.am | 2 ++
A share/tomb.desktop | 13 +++++++++++++
D share/tomb.keys | 6 ------
D share/tomb.mime | 4 ----
M src/Makefile.am | 4 ++++
6 files changed, 20 insertions(+), 10 deletions(-)
---
DIR diff --git a/configure.ac b/configure.ac
t@@ -94,6 +94,7 @@ dnl alphabetic order on dir/subdir, but Makefile sorts before everything
AC_CONFIG_FILES([
Makefile
src/Makefile
+share/Makefile
])
AC_OUTPUT
DIR diff --git a/share/Makefile.am b/share/Makefile.am
t@@ -0,0 +1,2 @@
+Applicationsdir = $(datadir)/applications
+Applications_DATA = tomb.desktop
DIR diff --git a/share/tomb.desktop b/share/tomb.desktop
t@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Tomb crypto undertaker
+GenericName=Crypto undertaker
+Comment=Keep your bones safe
+Exec=tomb-open %U
+TryExec=tomb-open
+Icon=monmort.xpm
+Terminal=false
+Categories=Utility;Security;Archiving;Filesystem;
+MimeType=application/x-tomb-volume;
+EOF
DIR diff --git a/share/tomb.keys b/share/tomb.keys
t@@ -1,6 +0,0 @@
-# actions for encrypted tomb storage
-
-application/x-tomb:
- open=tomb auto %f
- view=tomb auto %f
- icon-filename=${prefix}/share/icons/tomb.png
DIR diff --git a/share/tomb.mime b/share/tomb.mime
t@@ -1,4 +0,0 @@
-# mime type for encrypted tomb storage
-
-application/x-tomb
- ext: tomb
DIR diff --git a/src/Makefile.am b/src/Makefile.am
t@@ -10,3 +10,7 @@ tomb_status_CXXFLAGS = @GTK2_CFLAGS@ @NOTIFY_CFLAGS@
tomb_notify_SOURCES = tomb-notify.cpp
tomb_notify_LDADD = @NOTIFY_LIBS@
tomb_notify_CXXFLAGS = @NOTIFY_CFLAGS@
+
+EXTRA_DIST = monmort.xpm
+pixmapdir = $(prefix)/share/pixmaps
+pixmap_DATA = monmort.xpm