[Pkg-xfce-devel] Bug#733193: thunar: use dh-autoreconf for better new-port coverage

Colin Watson cjwatson at ubuntu.com
Thu Dec 26 22:30:49 UTC 2013


Package: thunar
Version: 1.6.3-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.  thunar could handle this quite easily by using
dh-autoreconf, which will update its copies of the libtool macros.

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

diff -Nru thunar-1.6.3/debian/control thunar-1.6.3/debian/control
--- thunar-1.6.3/debian/control	2013-05-21 22:54:01.000000000 +0100
+++ thunar-1.6.3/debian/control	2013-12-26 22:02:48.000000000 +0000
@@ -8,7 +8,8 @@
  libdbus-glib-1-dev, libexif-dev, libgtk2.0-dev (>= 2.10.1), chrpath,
  libpcre3-dev, libjpeg-dev, libstartup-notification0-dev (>= 0.4), intltool,
  libxfce4util-dev (>= 4.10.0), libxfce4ui-1-dev (>= 4.10.0), libnotify-dev,
- libgudev-1.0-dev [linux-any], xfce4-panel-dev (>= 4.10.0)
+ libgudev-1.0-dev [linux-any], xfce4-panel-dev (>= 4.10.0),
+ dh-autoreconf, xfce4-dev-tools
 Standards-Version: 3.9.3
 Homepage: http://thunar.xfce.org
 Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/thunar/
diff -Nru thunar-1.6.3/debian/rules thunar-1.6.3/debian/rules
--- thunar-1.6.3/debian/rules	2013-05-21 22:54:47.000000000 +0100
+++ thunar-1.6.3/debian/rules	2013-12-26 22:05:41.000000000 +0000
@@ -6,7 +6,10 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with autoreconf
+
+override_dh_autoreconf:
+	NOCONFIGURE=1 dh_autoreconf xdt-autogen
 
 override_dh_auto_configure:
 	dh_auto_configure -- \

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Pkg-xfce-devel mailing list