Package: libxsettings-client
Version: 0.17-6
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-7-generic (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
diff -Nru libxsettings-client-0.17/debian/control libxsettings-client-0.17/debian/control
--- libxsettings-client-0.17/debian/control	2011-11-06 06:59:36.000000000 -0500
+++ libxsettings-client-0.17/debian/control	2014-01-07 20:41:59.000000000 -0500
@@ -4,7 +4,7 @@
 Maintainer: Neil Williams <[email protected]>
 Uploaders:  Debian GPE team <[email protected]>, Moray Allan <[email protected]>,
  Phil Blundell <[email protected]>, Philippe De Swert <[email protected]>
-Build-Depends: autotools-dev, debhelper (>= 7),
+Build-Depends: dh-autoreconf, debhelper (>= 7),
  libgtk2.0-dev, libx11-dev, gtk-doc-tools
 Standards-Version: 3.9.2
 Homepage: http://standards.freedesktop.org/xsettings-spec/0.5/
diff -Nru libxsettings-client-0.17/debian/rules libxsettings-client-0.17/debian/rules
--- libxsettings-client-0.17/debian/rules	2011-11-06 07:44:44.000000000 -0500
+++ libxsettings-client-0.17/debian/rules	2014-01-06 02:31:23.000000000 -0500
@@ -29,12 +29,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
+	dh_autoreconf
 	CFLAGS="$(CFLAGS)" ./configure $(CROSS) --prefix=/usr \
 		--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-gtk-doc
 	touch configure-stamp
@@ -52,10 +47,11 @@
 	dh_testroot
 	rm -f build-stamp 
 	[ ! -f Makefile ] || $(MAKE) distclean
-	$(RM) config.guess config.sub doc/html/* doc/libXsettings-client-decl-list.txt
+	$(RM) doc/html/* doc/libXsettings-client-decl-list.txt
 	$(RM) doc/libXsettings-client-decl.txt doc/libXsettings-client-undocumented.txt
 	$(RM) doc/tmpl/xsettings-common.sgml doc/xml/* doc/libXsettings-client-undeclared.txt
 	$(RM) doc/tmpl/xsettings-client.sgml doc/tmpl/config.sgml
+	dh_autoreconf_clean
 	dh_clean
 	# clean upstream debian/ files
 	$(RM) debian/libxsettings-client0.postrm debian/libxsettings-client-dev.files 

Reply via email to