Source: libvorbis
Version: 1.3.2-1.3
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear maintainer(s),

New ports in preparation (arm64/aarch64, openrisc/or1k, ppc64el)
require updates to config.{guess,sub} or {libtool,aclocal}.m4 files.

dh-autoreconf can be used to get new libtool macros (needed now for
ppc64el) and update config.{sub,guess} for new arches (arm64/aarch64
and openrisc/or1k).  See the following URL for more information:

  
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build


I created a patch (attached) for "libvorbis" (version 1.3.2-1.3) when
bootstrapping OpenRISC/or1k, in the case that you find it useful.

Please, apply this patch (or tweak it, or create your own if you
prefer) and include it in your next uploads, in order to keep these
ancillary files up to date in the future without maintainer
intervention, and make easier the task of introducing new ports in
Debian.

If you have any doubts/comments/suggestions, you can get in contact
with people behind these efforts (look at the list of bug reports with
these tags, link in the URL above).


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>
diff -u libvorbis-1.3.2/debian/control libvorbis-1.3.2/debian/control
--- libvorbis-1.3.2/debian/control
+++ libvorbis-1.3.2/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Xiph.org Maintainers <pkg-xiph-ma...@lists.alioth.debian.org>
 Uploaders: Peter Samuelson <pe...@p12n.org>, John Francesco Ferlito <jo...@inodes.org>
-Build-Depends: autotools-dev, debhelper (>= 8.1.3), libogg-dev
+Build-Depends: debhelper (>= 8.1.3), libogg-dev, dh-autoreconf
 Standards-Version: 3.9.1
 Vcs-Bzr: http://bzr.debian.org/bzr/pkg-xiph/libvorbis
 
diff -u libvorbis-1.3.2/debian/changelog libvorbis-1.3.2/debian/changelog
--- libvorbis-1.3.2/debian/changelog
+++ libvorbis-1.3.2/debian/changelog
@@ -1,3 +1,11 @@
+libvorbis (1.3.2-1.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build-Depends on dh-autoreconf and use it in rules for
+    config.{guess,sub}
+
+ -- Manuel A. Fernandez Montecelo <m...@debian.org>  Sun, 13 Apr 2014 22:49:23 +0100
+
 libvorbis (1.3.2-1.3) unstable; urgency=low
 
   * Non-maintainer upload to fix release goals
diff -u libvorbis-1.3.2/debian/rules libvorbis-1.3.2/debian/rules
--- libvorbis-1.3.2/debian/rules
+++ libvorbis-1.3.2/debian/rules
@@ -2,21 +2,14 @@
 
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_strip:
 	dh_strip --dbg-package=libvorbis-dbg
 
-# Put config.sub rules in until http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559098 is fixed
 override_dh_auto_configure:
-	ln -sf /usr/share/misc/config.sub .
-	ln -sf /usr/share/misc/config.guess .
 	dh_auto_configure -- --enable-static --with-pic
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f config.sub config.guess
-
 # Trac bug https://trac.xiph.org/ticket/1673
 override_dh_install:
 	rm debian/tmp/usr/share/doc/libvorbis-*/doxygen-build.stamp

Reply via email to