Package: tracker
Version: 0.16.2-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

Hi,

The ppc64el port requires a patch to libtool.m4
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726404), which
requires autoreconfing a bunch of packages to pick it up.  tracker could
handle this quite easily by using dh-autoreconf, which will update its
copies of the libtool macros.  Some care is needed to avoid running into
incompatibilities between IT_PROG_INTLTOOL and AM_GNU_GETTEXT.

  * Convert to dh-autoreconf in order to update libtool.m4 for new ports.

diff -Nru tracker-0.16.2/debian/control tracker-0.16.2/debian/control
--- tracker-0.16.2/debian/control       2013-09-18 14:09:04.000000000 +0100
+++ tracker-0.16.2/debian/control       2014-03-15 22:04:19.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Michael Biebl <bi...@debian.org>
 Build-Depends: debhelper (>= 8.1.0~),
-               autotools-dev,
+               dh-autoreconf,
                pkg-config,
                intltool (>= 0.40.0),
                libglib2.0-dev (>= 2.35.1),
diff -Nru tracker-0.16.2/debian/rules tracker-0.16.2/debian/rules
--- tracker-0.16.2/debian/rules 2013-09-18 14:09:04.000000000 +0100
+++ tracker-0.16.2/debian/rules 2014-03-15 22:05:34.000000000 +0000
@@ -1,10 +1,19 @@
 #!/usr/bin/make -f
 
 %:
-       dh $@ --with gir
+       dh $@ --with autoreconf,gir
 
 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed 
-Wl,-Bsymbolic
 
+# Based on autogen.sh in upstream tracker.git.
+autoreconf:
+       gtkdocize --flavour no-tmpl
+       autopoint --force
+       AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install
+
+override_dh_autoreconf:
+       dh_autoreconf debian/rules -- autoreconf
+
 override_dh_auto_configure:
        dh_auto_configure -- \
                --with-unicode-support=libunistring \

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to