Bug#732303: libnotify: use dh-autoreconf for better new-port coverage

Colin Watson cjwatson at ubuntu.com
Mon Dec 16 14:32:58 UTC 2013


Package: libnotify
Version: 0.7.6-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

Hi,

The ppc64el port requires a patch to libtool.m4.  I don't think that's
in Debian yet, but when it is it will require autoreconfing a bunch of
packages to pick it up.  libnotify could handle this quite easily by
using dh-autoreconf, which will update its copies of the libtool macros.

  * Use dh-autoreconf to update libtool.m4 for new ports.

diff -Nru libnotify-0.7.6/debian/control libnotify-0.7.6/debian/control
--- libnotify-0.7.6/debian/control	2013-09-05 01:33:25.000000000 +0100
+++ libnotify-0.7.6/debian/control	2013-12-16 14:17:01.000000000 +0000
@@ -15,7 +15,8 @@
                libpopt-dev,
                gobject-introspection (>= 0.9.12-5~),
                libgirepository1.0-dev (>= 0.9.12),
-               gtk-doc-tools (>= 1.14)
+               gtk-doc-tools (>= 1.14),
+               dh-autoreconf
 Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Laurent Bigonville <bigon at debian.org>, Martin Pitt <mpitt at debian.org>, Michael Biebl <biebl at debian.org>
 XS-Testsuite: autopkgtest
 Standards-Version: 3.9.4
diff -Nru libnotify-0.7.6/debian/control.in libnotify-0.7.6/debian/control.in
--- libnotify-0.7.6/debian/control.in	2013-09-05 01:30:41.000000000 +0100
+++ libnotify-0.7.6/debian/control.in	2013-12-16 14:16:40.000000000 +0000
@@ -10,7 +10,8 @@
                libpopt-dev,
                gobject-introspection (>= 0.9.12-5~),
                libgirepository1.0-dev (>= 0.9.12),
-               gtk-doc-tools (>= 1.14)
+               gtk-doc-tools (>= 1.14),
+               dh-autoreconf
 Uploaders: @GNOME_TEAM@
 XS-Testsuite: autopkgtest
 Standards-Version: 3.9.4
diff -Nru libnotify-0.7.6/debian/rules libnotify-0.7.6/debian/rules
--- libnotify-0.7.6/debian/rules	2012-03-27 21:12:17.000000000 +0100
+++ libnotify-0.7.6/debian/rules	2013-12-16 14:16:32.000000000 +0000
@@ -4,6 +4,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the pkg-gnome-maintainers mailing list