Debian Bug report logs -
#389831
libxft-dev: pkg-config reports to much libraries for linking
Reported by: Jörg Sommer <joerg@alea.gnuu.de>
Date: Thu, 28 Sep 2006 01:03:02 UTC
Severity: normal
Found in version xft/2.1.8.2-8
Fixed in version xft/2.1.12-3
Done: Julien Cristau <jcristau@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#389831; Package libxft-dev.
(full text, mbox, link).
Acknowledgement sent to Jörg Sommer <joerg@alea.gnuu.de>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: libxft-dev
Version: 2.1.8.2-8
Severity: normal
Hi,
the site http://rerun.lefant.net/checklib/ pointed me to the problem that
my package xjed defines too much dependencies:
http://rerun.lefant.net/checklib/log.xjed_0.99.18-5.html I could track
down this problem to
% pkg-config --libs xft
-lXft -lfontconfig
According the site above the linker option -lfontconfig is not necessary.
Bye, Jörg.
-- System Information:
Debian Release: unstable/experimental
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages libxft-dev depends on:
ii libc6-dev [libc-dev] 2.3.6.ds1-4 GNU C Library: Development Librari
ii libfontconfig1-dev 2.4.1-2 generic font configuration library
ii libfreetype6-dev 2.2.1-5 FreeType 2 font engine, developmen
ii libx11-dev 2:1.0.0-9 X11 client-side library (developme
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxrender-dev 1:0.9.1-3 X Rendering Extension client libra
ii x11-common 1:7.1.0-1 X Window System (X.Org) infrastruc
ii zlib1g-dev [libz-dev] 1:1.2.3-13 compression library - development
libxft-dev recommends no packages.
-- no debconf information
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#389831; Package libxft-dev.
(full text, mbox, link).
Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>.
(full text, mbox, link).
Message #10 received at 389831@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
[cc:ing vorlon as the author of 001_no_export_freetype.diff in the xft
package]
On Thu, Sep 28, 2006 at 02:12:25 +0200, Jörg Sommer wrote:
> the site http://rerun.lefant.net/checklib/ pointed me to the problem that
> my package xjed defines too much dependencies:
> http://rerun.lefant.net/checklib/log.xjed_0.99.18-5.html I could track
> down this problem to
>
> % pkg-config --libs xft
> -lXft -lfontconfig
>
> According the site above the linker option -lfontconfig is not necessary.
>
I think the following patch should fix this. It gives the following
results:
$ pkg-config --libs xft
-lXft
$ pkg-config --static --libs xft
-lXft -lXrender -lfontconfig -lexpat -lfreetype -lz
$ pkg-config --cflags xft
-I/usr/include/freetype2
$ pkg-config --static --cflags xft
-I/usr/include/freetype2
which I think are correct (this is with pkg-config 0.21-1).
Unfortunately Requires.private isn't documented and its handling isn't
consistent (see #390132), so I'm not completely sure this is the right
thing to do :)
Cheers,
Julien
Index: xft/xft.pc.in
===================================================================
--- xft.orig/xft.pc.in 2007-03-30 13:12:17.000000000 +0200
+++ xft/xft.pc.in 2007-03-30 13:49:19.000000000 +0200
@@ -6,7 +6,7 @@
Name: Xft
Description: X FreeType library
Version: @VERSION@
-Requires: xproto, xrender, fontconfig, freetype2
+Requires: xproto
Requires.private: xrender, fontconfig, freetype2
Cflags: -I${includedir}
Libs: -L${libdir} -lXft
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#389831; Package libxft-dev.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>.
(full text, mbox, link).
Message #15 received at 389831@bugs.debian.org (full text, mbox, reply):
On Fri, Mar 30, 2007 at 05:24:20PM +0200, Julien Cristau wrote:
> [cc:ing vorlon as the author of 001_no_export_freetype.diff in the xft
> package]
> On Thu, Sep 28, 2006 at 02:12:25 +0200, Jörg Sommer wrote:
> > the site http://rerun.lefant.net/checklib/ pointed me to the problem that
> > my package xjed defines too much dependencies:
> > http://rerun.lefant.net/checklib/log.xjed_0.99.18-5.html I could track
> > down this problem to
> > % pkg-config --libs xft
> > -lXft -lfontconfig
> > According the site above the linker option -lfontconfig is not necessary.
> I think the following patch should fix this. It gives the following
> results:
> $ pkg-config --libs xft
> -lXft
> $ pkg-config --static --libs xft
> -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz
> $ pkg-config --cflags xft
> -I/usr/include/freetype2
> $ pkg-config --static --cflags xft
> -I/usr/include/freetype2
> which I think are correct (this is with pkg-config 0.21-1).
> Unfortunately Requires.private isn't documented and its handling isn't
> consistent (see #390132), so I'm not completely sure this is the right
> thing to do :)
I believe the reason I didn't propose a patch to do this was precisely
because of --cflags handling, since xft does include some fontconfig headers
that clients will need to find the path for.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Blocking bugs of 389831 added: 390132
Request was from Julien Cristau <jcristau@debian.org>
to control@bugs.debian.org.
(Sun, 01 Apr 2007 01:06:02 GMT) (full text, mbox, link).
Reply sent to Julien Cristau <jcristau@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Jörg Sommer <joerg@alea.gnuu.de>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #22 received at 389831-close@bugs.debian.org (full text, mbox, reply):
Source: xft
Source-Version: 2.1.12-3
We believe that the bug you reported is fixed in the latest version of
xft, which is due to be installed in the Debian FTP archive:
libxft-dev_2.1.12-3_i386.deb
to pool/main/x/xft/libxft-dev_2.1.12-3_i386.deb
libxft2-dbg_2.1.12-3_i386.deb
to pool/main/x/xft/libxft2-dbg_2.1.12-3_i386.deb
libxft2_2.1.12-3_i386.deb
to pool/main/x/xft/libxft2_2.1.12-3_i386.deb
xft_2.1.12-3.diff.gz
to pool/main/x/xft/xft_2.1.12-3.diff.gz
xft_2.1.12-3.dsc
to pool/main/x/xft/xft_2.1.12-3.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 389831@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xft package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 10 Jun 2008 16:12:37 +0200
Source: xft
Binary: libxft2 libxft2-dbg libxft-dev
Architecture: source i386
Version: 2.1.12-3
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description:
libxft-dev - FreeType-based font drawing library for X (development files)
libxft2 - FreeType-based font drawing library for X
libxft2-dbg - FreeType-based font drawing library for X (unstripped)
Closes: 389831 462262
Changes:
xft (2.1.12-3) unstable; urgency=low
.
* Remove Branden from Uploaders with his permission.
* Bump Standards-Version to 3.7.3.
* Add Vcs-Git and Vcs-Browser control fields.
* Drop pre-dependency on x11-common from libxft2 and libxft2-dbg, as it's
not needed.
* Use ${binary:Version} instead of the equivalent but confusingly-named
${Source-Version}.
* Modify patch 001_no_export_freetype.diff to not export fontconfig in
'pkg-config --libs xft' (closes: #389831).
* Add myself to Uploaders.
* Fix XftDrawRect when Render not supported (cherry-picked from upstream
git; closes: #462262).
Checksums-Sha1:
4bfcbe51997050b54284a3d8043e3ba331a54345 1297 xft_2.1.12-3.dsc
52270f0d62cd861c5cd98818f3ed32c482650466 46862 xft_2.1.12-3.diff.gz
c54404d7c8cc4a8ec83f7b69f3a9d2c66958cae9 48998 libxft2_2.1.12-3_i386.deb
85169bb9832a85b83d460726a823295fa44ecec2 175934 libxft2-dbg_2.1.12-3_i386.deb
ae27c8c492db43eb1fcd6dc09db010971900df1f 61742 libxft-dev_2.1.12-3_i386.deb
Checksums-Sha256:
acf73422a6beec7ef8e58bee7a2405a14e747b312b1eb312f694807b89ca5893 1297 xft_2.1.12-3.dsc
aaff54399f8d4d4ef72bd63ff5802ac5532490043b4eaa95f93d4120d24db965 46862 xft_2.1.12-3.diff.gz
eaafc9a600d949cae8b6577667246230b97fca87ed9e2b315f68037371e0fe65 48998 libxft2_2.1.12-3_i386.deb
92cd0bf5e17fecd09a4192eae0ebc55d497acf4fe0cbca29f67c218a7c6ab545 175934 libxft2-dbg_2.1.12-3_i386.deb
a3e0c7ea2dca61b2d16d8b29b69064f0ba98bcc36039b2b771e9a4f5db5cc20f 61742 libxft-dev_2.1.12-3_i386.deb
Files:
a2160de432346f5e0c05a5f88a495fd3 1297 devel optional xft_2.1.12-3.dsc
7b4c3fb48e4894c3afecfbbba1122b98 46862 devel optional xft_2.1.12-3.diff.gz
977a8574b4a162724f3e82adc38b0b6d 48998 libs optional libxft2_2.1.12-3_i386.deb
6ba15f2a55dacd9a1182c1c3959cb83f 175934 libdevel extra libxft2-dbg_2.1.12-3_i386.deb
4df4d812cbaed2fc494498ee65e65364 61742 libdevel optional libxft-dev_2.1.12-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkhOjXYACgkQmEvTgKxfcAxrHwCeOutpLv2Rf6UJDWz93ZxhCu7Y
ajIAn2z7hXHzgpEwyqZ2i08AS7LFcw24
=84uC
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 20 Jul 2008 07:27:13 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 30 22:12:54 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.