Package: src:pygtk
Version: 2.24.0-3
Severity: normal
Tags: patch
Dear Maintainer,
For the ppc64el architecture in Ubuntu, since this package uses libtool,
a full autoreconf is necessary. This is because we need new libtool
macros for ppc64el.
In Ubuntu, the attached patch was applied to achieve the following:
* Build with dh-autoreconf for new libtool.
Thanks for considering the patch.
Erwan Prioul.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/debian/rules
+++ b/debian/rules
@@ -44,7 +44,12 @@ unpatch:
cp config.guess.orig config.guess
rm -rf .pc
-build-%/configure-stamp: patch-stamp
+autoreconf-stamp: patch-stamp
+ dh_testdir
+ dh_autoreconf autoreconf -- -f -i -I m4
+ touch $@
+
+build-%/configure-stamp: autoreconf-stamp
dh_testdir
mkdir -p build-$*
cd build-$* && \
@@ -57,7 +62,7 @@ build-%/build-stamp: build-%/configure-s
PYTHON=/usr/bin/python$* $(MAKE) -C build-$* pyexecdir=$(call py_libdir_sh, $*)
touch $@
-dbg-build-%/configure-stamp: patch-stamp
+dbg-build-%/configure-stamp: autoreconf-stamp
dh_testdir
mkdir -p dbg-build-$*
cd dbg-build-$* && \
@@ -152,6 +157,8 @@ clean::
rm -rf debian/tmp-*
rm -rf build-* dbg-build-*
rm -f tests/*.pyc
+ rm -f autoreconf-stamp
+ dh_autoreconf_clean
$(MAKE) -f debian/rules unpatch
dh_clean
--- a/debian/control.in
+++ b/debian/control.in
@@ -7,7 +7,7 @@
Build-Depends: debhelper (>= 8),
gnome-pkg-tools (>= 0.10),
cdbs,
- autotools-dev,
+ dh-autoreconf,
xvfb (>= 2:1.6.0), xauth, xfonts-base,
python-all-dev (>= 2.6.6-3~),
python-all-dbg,