tBetter debian packaging - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit b9b7927e819556aae3881b98903b5fc5ccd8858c DIR parent 235a93537c18a080de905aefb12c55e87b19948b HTML Author: boyska <piuttosto@logorroici.org> Date: Fri, 14 Sep 2012 21:43:14 +0200 Better debian packaging Diffstat: M debian/changelog | 6 ++++++ M debian/compat | 2 +- A debian/postinst | 6 ++++++ M debian/tomb-gtk.install | 12 ++++++++++++ M debian/tomb.install | 2 -- M src/Makefile.am | 1 + 6 files changed, 26 insertions(+), 3 deletions(-) --- DIR diff --git a/debian/changelog b/debian/changelog t@@ -1,3 +1,9 @@ +tomb (1.2-1) unstable; urgency=low + + * New upstream release + + -- Denis Roio <jaromil@dyne.org> Mon, 07 Nov 2011 21:03:34 +0100 + tomb (1.0-1) unstable; urgency=low * New upstream release DIR diff --git a/debian/compat b/debian/compat t@@ -1 +1 @@ -7 +8 DIR diff --git a/debian/postinst b/debian/postinst t@@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -x /usr/sbin/update-mime ]; then + update-mime +fi + DIR diff --git a/debian/tomb-gtk.install b/debian/tomb-gtk.install t@@ -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 DIR diff --git a/debian/tomb.install b/debian/tomb.install t@@ -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 DIR diff --git a/src/Makefile.am b/src/Makefile.am t@@ -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