Bug#274091: libatk1.0-udeb: not built on autobuilders

Colin Watson Colin Watson <cjwatson@debian.org>, 274091@bugs.debian.org
Wed, 29 Sep 2004 19:57:14 +0100


Package: libatk1.0-udeb
Version: 1.6.1-3
Severity: normal
Tags: patch

libatk2.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 atk1.0-1.6.1/debian/rules atk1.0-1.6.1/debian/rules
--- atk1.0-1.6.1/debian/rules
+++ atk1.0-1.6.1/debian/rules
@@ -224,7 +224,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
 
@@ -259,6 +259,7 @@
 	dh_testroot -a
 
 	dh_installdebconf -a
+	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a
 	dh_installdeb -a
diff -u atk1.0-1.6.1/debian/changelog atk1.0-1.6.1/debian/changelog
--- atk1.0-1.6.1/debian/changelog
+++ atk1.0-1.6.1/debian/changelog
@@ -1,3 +1,10 @@
+atk1.0 (1.6.1-3.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:37:07 +0100
+
 atk1.0 (1.6.1-3) unstable; urgency=medium
 
   * 000_fix_symbol_resolution.patch: New. Fixes FTBFS due to undefined

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]