Control: tags 727458 + pending

Dear maintainer,

I've prepared an NMU for ming (versioned as 1:0.4.5-1.3) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer (or less)

This fix uses dh-autoreconf to update ming's configure files 
before rebuilding as is now recommended practice. 
https://wiki.debian.org/Autoreconf

note that the package already had code to update config.{sub,guess}
using autotools-dev but that didn't actually work. Also attached 
is a patch to do that which does work, but a full autroreconfing 
is preferred as this covers arches like ppc64el where just updating 
config.* is not sufficient.  

Regards.
diff -u ming-0.4.5/debian/changelog ming-0.4.5/debian/changelog
--- ming-0.4.5/debian/changelog
+++ ming-0.4.5/debian/changelog
@@ -1,3 +1,10 @@
+ming (1:0.4.5-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf to update configurey for new architectures (Closes: 727458)
+
+ -- Wookey <[email protected]>  Thu, 09 Jul 2015 01:46:21 +0000
+
 ming (1:0.4.5-1.2) unstable; urgency=medium
 
   * Non-maintainer upload with team member's permission.
diff -u ming-0.4.5/debian/control ming-0.4.5/debian/control
--- ming-0.4.5/debian/control
+++ ming-0.4.5/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Stuart R. Anderson <[email protected]>
-Build-Depends: debhelper (>= 5.0.37.2), docbook-to-man, swig, python-all-dev (>= 2.7.3), libgif-dev, libpng-dev, libz-dev, perl (>= 5.10.0), autotools-dev, flex, bison, libfreetype6-dev, ttf-dejavu, ttf-opensymbol, php5-dev, php5-cli, automake, autoconf2.59, quilt, chrpath
+Build-Depends: debhelper (>= 5.0.37.2), docbook-to-man, swig, python-all-dev (>= 2.7.3), libgif-dev, libpng-dev, libz-dev, perl (>= 5.10.0), dh-autoreconf, flex, bison, libfreetype6-dev, ttf-dejavu, ttf-opensymbol, php5-dev, php5-cli, automake, autoconf2.59, quilt, chrpath
 Standards-Version: 3.9.3
 Homepage: http://www.libming.net/
 
diff -u ming-0.4.5/debian/rules ming-0.4.5/debian/rules
--- ming-0.4.5/debian/rules
+++ ming-0.4.5/debian/rules
@@ -36,13 +36,7 @@
 
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
 
-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
-	./autogen.sh
+	dh_autoreconf
 
 	CFLAGS="$(CFLAGS)" ./configure \
 		--host=$(DEB_HOST_GNU_TYPE) \
@@ -111,8 +105,9 @@
 	# Add here commands to clean up after the build process.
 	rm -f libming-util.1
 	if [ -f Makefile ]; then $(MAKE) distclean; fi
-	rm -f config.log config.sub config.guess
+	rm -f config.log
 	rm -f debian/libswf-perl.install
+	dh_autoreconf_clean
 
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 
diff -Nru ming-0.4.5/debian/changelog ming-0.4.5/debian/changelog
--- ming-0.4.5/debian/changelog	2015-07-09 01:37:24.000000000 +0000
+++ ming-0.4.5/debian/changelog	2015-07-09 01:37:25.000000000 +0000
@@ -1,3 +1,10 @@
+ming (1:0.4.5-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use autotools-dev to update configurey for new architectures (Closes: 727458)
+
+ -- Wookey <[email protected]>  Thu, 09 Jul 2015 01:01:43 +0000
+
 ming (1:0.4.5-1.2) unstable; urgency=medium
 
   * Non-maintainer upload with team member's permission.
diff -Nru ming-0.4.5/debian/rules ming-0.4.5/debian/rules
--- ming-0.4.5/debian/rules	2015-07-09 01:37:24.000000000 +0000
+++ ming-0.4.5/debian/rules	2015-07-09 01:37:25.000000000 +0000
@@ -36,12 +36,7 @@
 
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
 
-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_autotools-dev_updateconfig
 	./autogen.sh
 
 	CFLAGS="$(CFLAGS)" ./configure \
@@ -111,7 +106,8 @@
 	# Add here commands to clean up after the build process.
 	rm -f libming-util.1
 	if [ -f Makefile ]; then $(MAKE) distclean; fi
-	rm -f config.log config.sub config.guess
+	rm -f config.log
+	dh_autotools-dev_restoreconfig
 	rm -f debian/libswf-perl.install
 
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch

Reply via email to