Bug#274092: libpango1.0-udeb: not built on autobuilders

Colin Watson Colin Watson <cjwatson@debian.org>, 274092@bugs.debian.org
Wed, 29 Sep 2004 19:59:11 +0100


Package: libpango1.0-udeb
Version: 1.4.1-2
Severity: normal
Tags: patch

libpango1.0-udeb is only built on the uploader's architecture (i386 in
this case), not on the autobuilders: this is because there are
binary-indep, binary-arch, and binary-arch-udeb targets in debian/rules,
with binary depending on all three, but the autobuilders only build
binary-arch for obvious reasons.

The attached diff fixes this, and also strips objects in the udeb so
that the udeb doesn't end up considerably bigger than the corresponding
debs.

diff -u pango1.0-1.4.1/debian/rules pango1.0-1.4.1/debian/rules
--- pango1.0-1.4.1/debian/rules
+++ pango1.0-1.4.1/debian/rules
@@ -297,7 +297,7 @@
 	dh_builddeb -i
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build install binary-arch-udeb
 	dh_testdir -a
 	dh_testroot -a
 
@@ -340,6 +340,7 @@
 	dh_testroot -a
 
 	dh_installdebconf -a
+	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a
 	dh_installdeb -a
diff -u pango1.0-1.4.1/debian/changelog pango1.0-1.4.1/debian/changelog
--- pango1.0-1.4.1/debian/changelog
+++ pango1.0-1.4.1/debian/changelog
@@ -1,3 +1,10 @@
+pango1.0 (1.4.1-2.1) UNRELEASED; urgency=low
+
+  * [debian/rules] binary-arch depends on binary-arch-udeb.
+  * [debian/rules] Strip udeb!
+
+ -- Colin Watson <cjwatson@debian.org>  Fri, 24 Sep 2004 14:01:33 +0100
+
 pango1.0 (1.4.1-2) unstable; urgency=medium
 
   * [debian/po/de.po] Added German translation of the debconf templates,

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]