[Pkg-libburnia-devel] Bug#732719: libisoburn: use dh-autoreconf for better new-port coverage

Colin Watson cjwatson at ubuntu.com
Fri Dec 20 18:08:43 UTC 2013

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


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.  libisoburn could handle this quite easily by
using dh-autoreconf rather than just autotools-dev; when automake and
libtool are in use (as they are here), dh-autoreconf is a superset of
autotools-dev, and it seems to still build just fine if I do the

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

diff -Nru libisoburn-1.3.2/debian/control libisoburn-1.3.2/debian/control
--- libisoburn-1.3.2/debian/control	2013-09-08 14:47:24.000000000 +0100
+++ libisoburn-1.3.2/debian/control	2013-12-20 17:58:21.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Libburnia packagers <pkg-libburnia-devel at lists.alioth.debian.org>
 Uploaders: George Danchev <danchev at spnet.net>, Mario Danic <mario.danic at gmail.com>
-Build-Depends: autotools-dev, pkg-config, debhelper (>= 8),
+Build-Depends: dh-autoreconf, pkg-config, debhelper (>= 8),
                libburn-dev (>= 1.3.2), libisofs-dev (>= 1.3.2),
 	       libreadline-dev, libjte-dev
 Build-Depends-Indep: doxygen
diff -Nru libisoburn-1.3.2/debian/rules libisoburn-1.3.2/debian/rules
--- libisoburn-1.3.2/debian/rules	2011-06-17 20:59:21.000000000 +0100
+++ libisoburn-1.3.2/debian/rules	2013-12-20 18:01:51.000000000 +0000
@@ -6,7 +6,10 @@
-	dh $@
+	dh $@ --with autoreconf
+	AUTOMAKE='automake --foreign' dh_autoreconf
 	@@ printf "\n*** libburn  required version: %s ***"     ${libburn_required}


Colin Watson                                       [cjwatson at ubuntu.com]

More information about the Pkg-libburnia-devel mailing list