Package: atk1.0
Version: 1.10.3-1
Severity: wishlist
Tags: patch, d-i

Let's call this an important wishlist bug (important for Debian Installer 
anyway :-)

Please add the following line to your shlibs file:
udeb: libatk-1.0 0 libatk1.0-udeb (>= 1.9.0)

This will allow dpkg/debhelper to properly set the dependencies for udebs 
that depend on libatk.
Please see #345472 and #345475 for further info on this.

It would be very much appreciated if this change could be implemented
soon.


The attached patch implements the necessary changes:
- add --add-udeb option for dh_makeshlibs which autogenerates the
  udeb: lines for the shlibs file
- this requires debhelper 5.0.22
- drop the Provides: libatk1.0-0

I've also updated debian/compat to level 5, in line with the debhelper 
dependency.

Finally I've added a line "XC-Package-Type: udeb" which lets debhelper 
know that this is a udeb we're generating. Without that line, debuild 
would generate a package libatk1.0-udeb_1.10.3-1_i386.deb (deb instead of 
udeb). I must admit I'm a bit puzzled why that line not being there did 
not cause problems in the past, as it really should be there.

I've checked the debdiff for the libatk1.0 deb and udeb against current 
versions and there were no unexpected changes.

TIA,
Frans Pop

diff -ur atk1.0-1.10.3.sv/debian/compat atk1.0-1.10.3/debian/compat
--- atk1.0-1.10.3.sv/debian/compat	2006-03-13 21:03:45.945841326 +0100
+++ atk1.0-1.10.3/debian/compat	2006-03-13 21:06:24.484146621 +0100
@@ -1 +1 @@
-4
+5
diff -ur atk1.0-1.10.3.sv/debian/control.in atk1.0-1.10.3/debian/control.in
--- atk1.0-1.10.3.sv/debian/control.in	2006-03-13 21:03:45.945841326 +0100
+++ atk1.0-1.10.3/debian/control.in	2006-03-13 21:17:04.830410004 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Akira TAGOH <[EMAIL PROTECTED]>
 Uploaders: @GNOME_TEAM@
-Build-Depends: debhelper (>> 4.1.0), pkg-config, libglib2.0-dev (>= 2.5.7), gnome-pkg-tools, cdbs, gtk-doc-tools, docbook-xml
+Build-Depends: debhelper (>> 5.0.22), pkg-config, libglib2.0-dev (>= 2.5.7), gnome-pkg-tools, cdbs, gtk-doc-tools, docbook-xml
 Standards-Version: 3.6.2
 
 Package: libatk1.0-0
@@ -20,11 +20,11 @@
  This is the runtime part of ATK, needed to run applications built with it.
 
 Package: libatk1.0-udeb
+XC-Package-Type: udeb
 Section: debian-installer
 Priority: optional
 Architecture: any
 Depends: ${shlibs:Depends}
-Provides: libatk1.0-0
 Description: The ATK accessibility toolkit
  This is a udeb, or a microdeb, for the debian-installer.
  .
diff -ur atk1.0-1.10.3.sv/debian/rules atk1.0-1.10.3/debian/rules
--- atk1.0-1.10.3.sv/debian/rules	2006-03-13 21:03:45.945841326 +0100
+++ atk1.0-1.10.3/debian/rules	2006-03-13 21:05:57.514021282 +0100
@@ -14,7 +14,7 @@
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc --enable-static
 
 SHLIB_VERSION=1.9.0
-DEB_DH_MAKESHLIBS_ARGS_libatk1.0-0 := -V"libatk1.0-0 (>= $(SHLIB_VERSION))"
+DEB_DH_MAKESHLIBS_ARGS_libatk1.0-0 := -V"libatk1.0-0 (>= $(SHLIB_VERSION))" --add-udeb="libatk1.0-udeb"
 
 DEB_DH_STRIP_ARGS := --keep-debug -Xlibatk1.0-udeb
 

Attachment: pgpHGDEktQdEN.pgp
Description: PGP signature

Reply via email to