Package: libusb
Version: 0.1.11-5
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: libusb-0.1 4 libusb-0.1-udeb (>= 2:0.1.11)

This will allow dpkg/debhelper to properly set the dependencies for udebs 
that depend on libusb.
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

I've also updated debian/compat to level 5, in line with the debhelper 
dependency and dropped the "Recommends: hotplug-udeb" as that udeb is 
obsolete.

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

TIA,
Frans Pop

diff -u libusb-0.1.11/debian/compat libusb-0.1.11/debian/compat
--- libusb-0.1.11/debian/compat
+++ libusb-0.1.11/debian/compat
@@ -1 +1 @@
-4
+5
diff -u libusb-0.1.11/debian/control libusb-0.1.11/debian/control
--- libusb-0.1.11/debian/control
+++ libusb-0.1.11/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.2.0), autotools-dev, pkg-config, docbook-dsssl, jade | openjade
+Build-Depends: debhelper (>= 5.0.22), autotools-dev, pkg-config, docbook-dsssl, jade | openjade
 Standards-Version: 3.6.2
 
 Package: libusb-0.1-4
@@ -64,7 +64,6 @@
 Section: debian-installer
 Architecture: any
 Depends: ${shlibs:Depends}
-Recommends: hotplug-udeb
 Provides: libusb-0.1-4
 Description: userspace USB programming library
  Library for programming USB applications without the knowledge
diff -u libusb-0.1.11/debian/rules libusb-0.1.11/debian/rules
--- libusb-0.1.11/debian/rules
+++ libusb-0.1.11/debian/rules
@@ -183,7 +183,7 @@
 	dh_fixperms -s
 #	dh_perl
 #	dh_python
-	dh_makeshlibs -V -s
+	dh_makeshlibs -V -s --add-udeb="libusb-0.1-udeb"
 	dh_installdeb -s
 	dh_shlibdeps -s
 	dh_gencontrol -s

Attachment: pgp6eBAQ3gq8W.pgp
Description: PGP signature

Reply via email to