Bug#375825: libxft-dev: xft-config --libs shouldn't include -lX11 -lfreetype -lz -lfontconfig -lXrender -lX11
Package: libxft-dev
Version: 2.1.8.2-8
Severity: minor
Hi,
There are spurious dependencies in the output of xft-config --libs:
-lXft -lX11 -lfreetype -lz -lfontconfig -lXrender -lX11
-lfreetype -lz -lfontconfig -lXrender are _not_ needed in -libs (since
the Xft _interface_ doesn't need functions from these libraries) and
just bring unneeded dependencies. They should be used only for linking
libXft.so itself, and put in xft-config --libs --static (for static
linking).
Samuel
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages libxft-dev depends on:
ii libc6-dev [libc-dev] 2.3.6-15 GNU C Library: Development Librari
ii libfontconfig1-dev 2.3.2-7 generic font configuration library
ii libfreetype6-dev 2.2.1-2 FreeType 2 font engine, developmen
ii libx11-dev 2:1.0.0-6 X11 client-side library (developme
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxrender-dev 1:0.9.0.2-4 X Rendering Extension client libra
ii x11-common 1:7.0.22 X Window System (X.Org) infrastruc
ii zlib1g-dev [libz-dev] 1:1.2.3-11 compression library - development
libxft-dev recommends no packages.
-- no debconf information
Reply to: