Package: directfb
Version: 0.9.22-9
Severity: wishlist
Tags: patch, d-i

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

Please add the following lines to your shlibs file:
udeb: libdirect-0.9 22 libdirectfb-0.9-22-udeb
udeb: libdirectfb-0.9 22 libdirectfb-0.9-22-udeb
udeb: libfusion-0.9 22 libdirectfb-0.9-22-udeb
udeb: libuniquewm-0.9 22 libdirectfb-0.9-22-udeb

This will allow dpkg/debhelper to properly set the dependencies for udebs 
that depend on libdirectfb. The dependencies for the libdirectfb udeb will 
be updated at the same time.
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 Provides: libdirectfb-0.9-22

I've not updated debian/compat to level 5 as this is not needed for this 
change.

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

TIA,
Frans Pop

diff -u directfb-0.9.22/debian/control directfb-0.9.22/debian/control
--- directfb-0.9.22/debian/control
+++ directfb-0.9.22/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Guillem Jover <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.2), autoconf, automake1.9, libtool, libfreetype6-dev, libjpeg62-dev, libpng12-dev, zlib1g-dev (>= 1:1.1.3), libmpeg3-dev, libsysfs-dev (>= 2.0) [alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc ppc64 s390 sh]
+Build-Depends: debhelper (>= 5.0.22), autoconf, automake1.9, libtool, libfreetype6-dev, libjpeg62-dev, libpng12-dev, zlib1g-dev (>= 1:1.1.3), libmpeg3-dev, libsysfs-dev (>= 2.0) [alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc ppc64 s390 sh]
 Standards-Version: 3.6.2
 
 Package: libdirectfb-0.9-22
@@ -19,7 +19,6 @@
 Section: debian-installer
 Architecture: any
 Depends: ${shlibs:Depends}
-Provides: libdirectfb-0.9-22
 Description: frame buffer graphics library
  DirectFB is a graphics library which was designed with embedded systems
  in mind. It offers maximum hardware accelerated performance at a minimum
diff -u directfb-0.9.22/debian/rules directfb-0.9.22/debian/rules
--- directfb-0.9.22/debian/rules
+++ directfb-0.9.22/debian/rules
@@ -129,7 +129,7 @@
 	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a
-	dh_makeshlibs -a
+	dh_makeshlibs -a --add-udeb="$(package_udeb)"
 	dh_installdeb -a
 	dh_shlibdeps -a -ldebian/$(package_lib)/usr/lib -L$(package_lib)
 	# XXX: Nasty hack, this should be done in debhelper.

Attachment: pgpFHX5vhHaD1.pgp
Description: PGP signature

Reply via email to