Package: devhelp
Version: 3.8.2-2
Severity: normal
Tags: patch
User: [email protected]
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. devhelp could handle this quite easily by using
dh-autoreconf; when libtool is in use (as of course it is here),
dh-autoreconf is a superset of autotools-dev, and it seems to still
build just fine if I do the following.  I did have to do a bit of extra
work to make things happy: use intltoolize & include non-standard
include dir for aclocal/autoconf.

diff -Nru devhelp-3.8.2/debian/control.in devhelp-3.8.2/debian/control.in
--- devhelp-3.8.2/debian/control.in	2013-07-31 21:42:57.000000000 +0100
+++ devhelp-3.8.2/debian/control.in	2013-12-21 00:28:19.000000000 +0000
@@ -7,6 +7,8 @@
 Build-Depends: cdbs,
                debhelper (>= 8),
                gnome-pkg-tools,
+               gnome-common,
+               dh-autoreconf,
                intltool,
                libglib2.0-dev (>= 2.32),
                libgtk-3-dev (>= 3.5.6),
diff -Nru devhelp-3.8.2/debian/rules devhelp-3.8.2/debian/rules
--- devhelp-3.8.2/debian/rules	2013-07-31 21:44:35.000000000 +0100
+++ devhelp-3.8.2/debian/rules	2013-12-21 00:30:25.000000000 +0000
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/cdbs/1/rules/utils.mk
@@ -10,6 +11,9 @@
 
 DEB_DH_MAKESHLIBS_ARGS_ALL += -V -- -c4
 
+export AUTOPOINT=intltoolize --automake --copy
+DEB_DH_AUTORECONF_ARGS=autoreconf -- -f -i -I libgd/
+
 X_TOOLS += misc/devhelp.vim \
 	misc/html2funcs.py \
 	misc/html2xml.py \
--
Regards,


Dimitri.

Reply via email to