tags 721357 + pending
tags 725913 + pending
thanks

Dear maintainer,

I've prepared an NMU for cwidget (versioned as 0.5.16-3.5) and uploaded
it to DELAYED/10.  Please feel free to tell me if I should delay it
longer.

Regards,

-- 
Colin Watson                                       [[email protected]]
diff -u cwidget-0.5.16/debian/rules cwidget-0.5.16/debian/rules
--- cwidget-0.5.16/debian/rules
+++ cwidget-0.5.16/debian/rules
@@ -10,9 +10,19 @@
   DEB_CXXFLAGS_MAINT_APPEND=-fno-strict-aliasing
 endif
 
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+  NOCHECK = yes
+endif
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+  CROSS_CONFIGURE_OPTIONS = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+  NOCHECK = yes
+endif
+
 configure: configure-stamp
 configure-stamp:
-	./configure --prefix=/usr $(shell dpkg-buildflags --export=configure)
+	dh_autotools-dev_updateconfig
+	./configure --prefix=/usr $(shell dpkg-buildflags --export=configure) $(CROSS_CONFIGURE_OPTIONS)
 
 	touch configure-stamp
 
@@ -21,7 +31,9 @@
 	dh_testdir
 
 	$(MAKE)
+ifneq (yes,$(NOCHECK))
 	$(MAKE) check
+endif
 
 	touch build-stamp-arch
 
@@ -44,6 +56,7 @@
 	[ ! -f Makefile ] || $(MAKE) distclean
 
 	-rm -r doc/ikiwiki/.ikiwiki
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 
diff -u cwidget-0.5.16/debian/changelog cwidget-0.5.16/debian/changelog
--- cwidget-0.5.16/debian/changelog
+++ cwidget-0.5.16/debian/changelog
@@ -1,3 +1,12 @@
+cwidget (0.5.16-3.5) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support cross-building (thanks, Eleanor Chen; closes: #721357).
+  * Use the autotools-dev dh addon to update config.guess/config.sub for
+    arm64 (closes: #725913).
+
+ -- Colin Watson <[email protected]>  Thu, 14 Nov 2013 10:02:05 +0000
+
 cwidget (0.5.16-3.4) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u cwidget-0.5.16/debian/control cwidget-0.5.16/debian/control
--- cwidget-0.5.16/debian/control
+++ cwidget-0.5.16/debian/control
@@ -6,7 +6,7 @@
 Vcs-Browser: http://git.debian.org/?p=cwidget/debian/.git;a=summary
 Maintainer: Daniel Burrows <[email protected]>
 Build-Depends: debhelper (>= 5.0.0), libsigc++-2.0-dev,
- libncursesw5-dev, gettext, g++ (>= 4:3.2.2-0), libcppunit-dev
+ libncursesw5-dev, gettext, g++ (>= 4:3.2.2-0), libcppunit-dev, autotools-dev
 Build-Depends-Indep: doxygen, ikiwiki (>= 1.34), libhtml-scrubber-perl, perlmagick
 Standards-Version: 3.7.2.2
 

Reply via email to