Bug#274053: libglib2.0-udeb: not built on autobuilders

Colin Watson Colin Watson <cjwatson@debian.org>, 274053@bugs.debian.org
Wed, 29 Sep 2004 16:39:43 +0100


Package: libglib2.0-udeb
Version: 2.4.6-2
Severity: normal
Tags: patch

The libglib2.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 glib2.0-2.4.6/debian/rules glib2.0-2.4.6/debian/rules
--- glib2.0-2.4.6/debian/rules
+++ glib2.0-2.4.6/debian/rules
@@ -234,7 +234,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
 
@@ -272,6 +272,7 @@
 	dh_testroot -a
 
 	dh_installdebconf -a
+	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a
 	dh_installdeb -a
diff -u glib2.0-2.4.6/debian/changelog glib2.0-2.4.6/debian/changelog
--- glib2.0-2.4.6/debian/changelog
+++ glib2.0-2.4.6/debian/changelog
@@ -1,3 +1,10 @@
+glib2.0 (2.4.6-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 13:26:00 +0100
+
 glib2.0 (2.4.6-2) unstable; urgency=medium
 
   * [debian/patches/001_translations.patch] Updated translations from CVS.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]