Package: slang2
Version: 2.0.5-3
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: libslang 2 libslang2-udeb (>= 2.0.1-1)

This will allow dpkg/debhelper to properly set the dependencies for udebs 
that depend on libslang2.
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 checked the debdiff for the libslang2 deb and udeb against current 
versions and there were no unexpected changes.

TIA,
Frans Pop
diff -u slang2-2.0.5/debian/control slang2-2.0.5/debian/control
--- slang2-2.0.5/debian/control
+++ slang2-2.0.5/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Alastair McKinstry <[EMAIL PROTECTED]>
 Uploaders: Jim Mintha <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4), dbs, docbook-to-man, libpcre3-dev
+Build-Depends: debhelper (>= 5.0.22), dbs, docbook-to-man, libpcre3-dev
 Standards-Version: 3.6.2
 
 Package: libslang2-dev
diff -u slang2-2.0.5/debian/rules slang2-2.0.5/debian/rules
--- slang2-2.0.5/debian/rules
+++ slang2-2.0.5/debian/rules
@@ -100,7 +100,7 @@
 	dh_strip -a
 	dh_compress -a -X.sl -Xslangfun.txt
 	dh_fixperms -a
-	dh_makeshlibs  -V "${LIBSLANG} (>= 2.0.1-1)"
+	dh_makeshlibs  -V "${LIBSLANG} (>= 2.0.1-1)" --add-udeb="${LIBSLANG_UDEB}"
 	dh_installdeb -a
 	rm -rf debian/$(SLSH)/usr/man
 	dh_shlibdeps -a

Attachment: pgpDKlLUSkKnU.pgp
Description: PGP signature

Reply via email to