summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorboyska <[email protected]>2012-09-14 19:43:14 (GMT)
committer Jaromil <[email protected]>2013-02-16 14:58:43 (GMT)
commitb9b7927e819556aae3881b98903b5fc5ccd8858c (patch)
tree026e4427c9414279cb2cd777f9c0985e214d895a
parent235a93537c18a080de905aefb12c55e87b19948b (diff)
Better debian packagingHEADmaster
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat2
-rwxr-xr-xdebian/postinst6
-rw-r--r--debian/tomb-gtk.install12
-rw-r--r--debian/tomb.install2
-rw-r--r--src/Makefile.am1
6 files changed, 26 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 26541ee..bcf0878 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tomb (1.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Denis Roio <[email protected]> Mon, 07 Nov 2011 21:03:34 +0100
+
tomb (1.0-1) unstable; urgency=low
* New upstream release
diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/postinst b/debian/postinst
new file mode 100755
index 0000000..e4f8b6e
--- a/dev/null
+++ b/debian/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ -x /usr/sbin/update-mime ]; then
+ update-mime
+fi
+
diff --git a/debian/tomb-gtk.install b/debian/tomb-gtk.install
index 44a858c..cdc16b5 100644
--- a/debian/tomb-gtk.install
+++ b/debian/tomb-gtk.install
@@ -1,2 +1,14 @@
usr/bin/tomb-status
usr/share/man/man1/tomb-status.1
+usr/share/pixmaps/monmort.png
+usr/share/pixmaps/monmort.xpm
+usr/share/app-install/icons/monmort.png
+usr/share/application-registry/tomb.applications
+usr/share/applications/tomb.desktop
+usr/share/mime-info/tomb.keys
+usr/share/mime-info/tomb.mime
+usr/share/mime/packages/dyne-tomb.xml
+usr/share/themes/tomb/gtk-2.0-key/gtkrc
+usr/share/icons/hicolor/32x32/mimetypes/application-x-tomb-volume.png
+usr/share/icons/hicolor/32x32/mimetypes/application-x-tomb-key.png
+usr/share/app-install/desktop/tomb.desktop
diff --git a/debian/tomb.install b/debian/tomb.install
index e9020a9..4a392ef 100644
--- a/debian/tomb.install
+++ b/debian/tomb.install
@@ -2,5 +2,3 @@ usr/bin/tomb
usr/bin/tomb-open
usr/share/man/man1/tomb.1
usr/share/man/man1/tomb-open.1
-usr/share/pixmaps/monmort.xpm
-usr/share/icons/monmort.png
diff --git a/src/Makefile.am b/src/Makefile.am
index cf15041..2be6206 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,6 +8,7 @@ endif
tomb_status_SOURCES = tomb-status.c
tomb_status_LDADD = @GTK2_LIBS@ @NOTIFY_LIBS@
+tomb_status_LDFLAGS = -Wl,--as-needed
tomb_status_CFLAGS = @GTK2_CFLAGS@ @NOTIFY_CFLAGS@
EXTRA_DIST = monmort.xpm tomb tomb-open