[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#727282: mythes: diff for NMU version 2:1.2.2-1.1



tags 727282 + pending
thanks

Dear maintainer,

This bug has been pending for some time, and needs fixing for new
ports, including arm64 which is building now:
(http://buildd.debian-ports.org/status/architecture.php?a=arm64&suite=sid).

So I've prepared an NMU for mythes (versioned as 2:1.2.2-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I should
delay it longer.

Discussion on debian-devel revealed consensus that the right way to
ensure successful builds on all new architectures was to autoreconf
packages. This works for all arches, even those that need libtool
changes, and will continue to work into the future without an update
as each new arch comes along. (Discussion at
https://lists.debian.org/debian-devel/2014/04/msg00383.html, thread
starting at
https://lists.debian.org/debian-devel/2014/04/msg00342.html

However this package does not autoreconf cleanly (it needs
configure.ac updates), so the simpler autotools-dev update of
config.{sub,guess} has been used instead, which covers most cases.

Regards.
diff -Nru mythes-1.2.2/debian/changelog mythes-1.2.2/debian/changelog
--- mythes-1.2.2/debian/changelog	2011-12-21 20:36:25.000000000 +0000
+++ mythes-1.2.2/debian/changelog	2014-06-24 01:26:13.000000000 +0100
@@ -1,3 +1,10 @@
+mythes (2:1.2.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use autotools-dev in build to support new architectures (Closes: #727282)
+
+ -- Chen Baozi <baozich@gmail.com>  Fri, 06 Jun 2014 16:07:42 +0800
+
 mythes (2:1.2.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru mythes-1.2.2/debian/control mythes-1.2.2/debian/control
--- mythes-1.2.2/debian/control	2010-05-14 16:37:46.000000000 +0100
+++ mythes-1.2.2/debian/control	2014-06-24 01:18:52.000000000 +0100
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian OpenOffice Team <debian-openoffice@lists.debian.org>
 Uploaders: Rene Engelhard <rene@debian.org>
-Build-Depends: debhelper (>= 6.0.7~), pkg-config (>= 0.9.0), libhunspell-dev
+Build-Depends: debhelper (>= 6.0.7~), pkg-config (>= 0.9.0), libhunspell-dev, autotools-dev
 Standards-Version: 3.6.1
 Section: libs
 
diff -Nru mythes-1.2.2/debian/rules mythes-1.2.2/debian/rules
--- mythes-1.2.2/debian/rules	2010-05-14 16:36:58.000000000 +0100
+++ mythes-1.2.2/debian/rules	2014-06-24 01:20:21.000000000 +0100
@@ -23,6 +23,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --enable-static
 	touch configure-stamp
 
@@ -42,6 +43,7 @@
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autotools-dev_restoreconfig
 	dh_clean 
 
 install: build

Reply to: