[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349318: marked as done (libxft-dev: please do not export unnecessary libraries in xft.pc)



Your message dated Tue, 24 Jan 2006 19:17:07 -0800
with message-id <E1F1b9f-00043z-OC@spohr.debian.org>
and subject line Bug#349318: fixed in xft 2.1.8.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Jan 2006 10:44:30 +0000
>From vorlon@debian.org Sun Jan 22 02:44:30 2006
Return-path: <vorlon@debian.org>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net ([66.93.39.86] helo=tennyson.dodds.net)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F0chx-0001ZA-Uz
	for submit@bugs.debian.org; Sun, 22 Jan 2006 02:44:30 -0800
Received: by tennyson.dodds.net (Postfix, from userid 1000)
	id 8D8AE7027; Sun, 22 Jan 2006 02:44:28 -0800 (PST)
Date: Sun, 22 Jan 2006 02:44:28 -0800
From: Steve Langasek <vorlon@debian.org>
To: submit@bugs.debian.org
Subject: libxft-dev: please do not export unnecessary libraries in xft.pc
Message-ID: <[🔎] 20060122104428.GB17735@tennyson.dodds.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="+KJYzRxRHjYqLGl5"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


--+KJYzRxRHjYqLGl5
Content-Type: multipart/mixed; boundary="eHhjakXzOLJAF9wJ"
Content-Disposition: inline


--eHhjakXzOLJAF9wJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: libxft-dev
Version: 2.1.7-1
Severity: important
Tags: upstream

Hi folks,

So, I suppose most of you have read
<http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html> about
problems with packages depending on libraries that they don't use,
particularly as relates to a potential libfreetype transition.  One library
that currently exposes freetype (and other libs) in its pkg-config .pc file,
but shouldn't, is libxft.

Please consider (and forward upstream) the attached patch which moves all of
the library dependencies of libxft into the Libs.private variable in xft.pc,
so that they aren't used on Debian except for static linking.  I have not
touched the 'Requires' field; even though packages which link to libXft
should not need to link to libfontconfig, the pkg-config 'Requires' field
controls both CPPFLAGS and LDFLAGS, and Xft includes fontconfig headers --
unfortunately the pkg-config maintainer has not been convinced that CPPFLAGS
=66rom Requires.private should be propagated, despite the fact that there a=
re
many examples of this scenario in Debian... (this is bug #340904, for those
who care.)

FWIW, since September 2003 FreeType has supported pkg-config; however, I
wouldn't recommend that Xft use pkg-config dependencies for libfreetype
unless this Requires.private CPPFLAGS issue is resolved. :/

Oh, also, there seems to be a pre-existing bug in this .pc file, in that
-lX11 is specified for static linking, but -L/usr/X11R6/lib is not...

Thanks,
--=20
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/

--eHhjakXzOLJAF9wJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="xft-pkgconfig.diff"
Content-Transfer-Encoding: quoted-printable

diff -u xft-2.1.7/debian/changelog xft-2.1.7/debian/changelog
--- xft-2.1.7/debian/changelog
+++ xft-2.1.7/debian/changelog
@@ -1,3 +1,11 @@
+xft (2.1.7-1.1) unstable; urgency=3Dlow
+
+  * Non-maintainer upload.
+  * Fix xft.pc to not export freetype and xrender as part of the interface
+    used for shared linking; expose them only in Libs.private instead.
+
+ -- Steve Langasek <vorlon@debian.org>  Sun, 22 Jan 2006 02:32:25 -0800
+
 xft (2.1.7-1) unstable; urgency=3Dlow
=20
   * New upstream release.
only in patch2:
unchanged:
--- xft-2.1.7.orig/xft.pc.in
+++ xft-2.1.7/xft.pc.in
@@ -11,5 +11,6 @@
 Description: X FreeType library
 Version: @VERSION@
 Requires: fontconfig
-Libs: -L${libdir} -lXft -lX11 ${freetypelibs} ${xrenderlibs}
+Libs: -L${libdir} -lXft
+Libs.private: -lX11 ${freetypelibs} ${xrenderlibs}
 Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}

--eHhjakXzOLJAF9wJ--

--+KJYzRxRHjYqLGl5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD02IMKN6ufymYLloRApNSAKCSlqtJ1R+XMcfsCTIyOPymu07HbQCgg6K7
Kuic6YaxJzX+Ph8WJzcs5Ds=
=wpEX
-----END PGP SIGNATURE-----

--+KJYzRxRHjYqLGl5--

---------------------------------------
Received: (at 349318-close) by bugs.debian.org; 25 Jan 2006 03:21:32 +0000
>From katie@ftp-master.debian.org Tue Jan 24 19:21:32 2006
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1F1b9f-00043z-OC; Tue, 24 Jan 2006 19:17:07 -0800
From: David Nusinow <dnusinow@debian.org>
To: 349318-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#349318: fixed in xft 2.1.8.2-2
Message-Id: <E1F1b9f-00043z-OC@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 24 Jan 2006 19:17:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: xft
Source-Version: 2.1.8.2-2

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.8.2-2_i386.deb
  to pool/main/x/xft/libxft-dev_2.1.8.2-2_i386.deb
libxft2-dbg_2.1.8.2-2_i386.deb
  to pool/main/x/xft/libxft2-dbg_2.1.8.2-2_i386.deb
libxft2_2.1.8.2-2_i386.deb
  to pool/main/x/xft/libxft2_2.1.8.2-2_i386.deb
xft_2.1.8.2-2.diff.gz
  to pool/main/x/xft/xft_2.1.8.2-2.diff.gz
xft_2.1.8.2-2.dsc
  to pool/main/x/xft/xft_2.1.8.2-2.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 349318@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Nusinow <dnusinow@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.7
Date: Tue, 24 Jan 2006 21:52:01 -0500
Source: xft
Binary: libxft-dev libxft2 libxft2-dbg
Architecture: source i386
Version: 2.1.8.2-2
Distribution: unstable
Urgency: low
Maintainer: David Nusinow <dnusinow@debian.org>
Changed-By: David Nusinow <dnusinow@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: 349318 349678
Changes: 
 xft (2.1.8.2-2) unstable; urgency=low
 .
   * Add 002_no_xproto_dep.diff so that the .pc file doesn't depend on xproto,
     which doesn't yet have a .pc file in Debian (to be removed when 7.0 enters
     the archive). Thanks Mike Hommey. (closes: #349678)
   * Include patch from Steve Langasek in full from previous upload. This
     should work around the issue properly. (closes: #349318)
Files: 
 6808e222025a480e4b5fcc562ff16ece 786 devel optional xft_2.1.8.2-2.dsc
 27e9da21d8cb5c9fb129a4dd96ccfef0 20285 devel optional xft_2.1.8.2-2.diff.gz
 953fbcb702ccff8cb6e645ee52fb6ca4 43678 libs optional libxft2_2.1.8.2-2_i386.deb
 71559338223c73410f67f33103d0eabb 8350 libdevel extra libxft2-dbg_2.1.8.2-2_i386.deb
 5733f3d62d49889e6a89af8304d87917 56710 libdevel optional libxft-dev_2.1.8.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD1uz2yLfpNdY0ad8RAqwbAJ425dh1Gwdam+AC9zXNGh+9RvogCACfQlDP
sCPRnEky42miXAA/o2G3mc0=
=ue6A
-----END PGP SIGNATURE-----



Reply to: