Package: fontconfig
Version: 2.3.2-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: libfontconfig 1 fontconfig-udeb (>= 2.3.0)

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

It would be very much appreciated if this change could be implemented
soon as this is blocking the integration of the graphical installer in the 
main d-i build system.


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: libfontconfig1

I've not updated debian/compat to level 5 as your package has a -dbg 
binary and there was a change in behavior in debhelper for those.

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

NOTE
Please make sure that your build environment is up-to-date. To get correct 
dependencies for the udebs, you need (all available on the mirrors):
- expat >= 1.95.8-3.2
- freetype >= 2.1.10-1.2 (2.1.10-2 is current)
- zlib >= 1:1.2.3-11

TIA,
Frans Pop

diff -u fontconfig-2.3.2/debian/control fontconfig-2.3.2/debian/control
--- fontconfig-2.3.2/debian/control
+++ fontconfig-2.3.2/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Keith Packard <[EMAIL PROTECTED]>
 Uploaders: Keith Packard <[EMAIL PROTECTED]>, Josselin Mouette <[EMAIL PROTECTED]>
-Build-Depends: cdbs (>= 0.4.5.4), debhelper (>= 4.2.0), libfreetype6-dev (>= 2.1.7), libexpat1-dev, defoma (>= 0.7.0), binutils (>= 2.12.90.0.9)
+Build-Depends: cdbs (>= 0.4.5.4), debhelper (>= 5.0.22), libfreetype6-dev (>= 2.1.7), libexpat1-dev, defoma (>= 0.7.0), binutils (>= 2.12.90.0.9)
 Standards-Version: 3.6.2
 
 Package: fontconfig
@@ -45,8 +45,7 @@
 XC-Package-Type: udeb
 Architecture: any
 Priority: extra
-Depends: libexpat1-udeb, libfreetype6-udeb, zlib1g-udeb
-Provides: libfontconfig1
+Depends: ${shlibs:Depends}
 Description: generic font configuration library - minimal runtime
  Fontconfig is a font configuration and customization library, which
  does not depend on the X Window System.  It is designed to locate
diff -u fontconfig-2.3.2/debian/rules fontconfig-2.3.2/debian/rules
--- fontconfig-2.3.2/debian/rules
+++ fontconfig-2.3.2/debian/rules
@@ -12,7 +12,7 @@
 DEB_CONFIGURE_EXTRA_FLAGS := --disable-docs --with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts
 
 # tight versioning
-DEB_DH_MAKESHLIBS_ARGS_libfontconfig1 := -V"libfontconfig1 (>= 2.3.0)"
+DEB_DH_MAKESHLIBS_ARGS_libfontconfig1 := -V"libfontconfig1 (>= 2.3.0)" --add-udeb="fontconfig-udeb"
 
 DEB_SHLIBDEPS_LIBRARY_fontconfig := libfontconfig1
 DEB_SHLIBDEPS_INCLUDE_fontconfig := debian/libfontconfig1/usr/lib/

Attachment: pgpErCnKDkyiN.pgp
Description: PGP signature

Reply via email to