[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 Sun, 22 Jan 2006 20:47:07 -0800
with message-id <E1F0tbf-0007gu-5u@spohr.debian.org>
and subject line Bug#349318: fixed in xft 2.1.8.2-1
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; 23 Jan 2006 04:50:27 +0000
>From katie@ftp-master.debian.org Sun Jan 22 20:50:27 2006
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1F0tbf-0007gu-5u; Sun, 22 Jan 2006 20:47: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-1
Message-Id: <E1F0tbf-0007gu-5u@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 22 Jan 2006 20:47: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-1

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-1_i386.deb
  to pool/main/x/xft/libxft-dev_2.1.8.2-1_i386.deb
libxft2-dbg_2.1.8.2-1_i386.deb
  to pool/main/x/xft/libxft2-dbg_2.1.8.2-1_i386.deb
libxft2_2.1.8.2-1_i386.deb
  to pool/main/x/xft/libxft2_2.1.8.2-1_i386.deb
xft_2.1.8.2-1.diff.gz
  to pool/main/x/xft/xft_2.1.8.2-1.diff.gz
xft_2.1.8.2-1.dsc
  to pool/main/x/xft/xft_2.1.8.2-1.dsc
xft_2.1.8.2.orig.tar.gz
  to pool/main/x/xft/xft_2.1.8.2.orig.tar.gz



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: Sun, 22 Jan 2006 22:35:36 -0500
Source: xft
Binary: libxft-dev libxft2 libxft2-dbg
Architecture: source i386
Version: 2.1.8.2-1
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
Changes: 
 xft (2.1.8.2-1) unstable; urgency=low
 .
   * Add build-dep on quilt
   * Add 001_no_export_freetype.diff. This is a modified patch from Steve
     Langasek that causes xft.pc not to export freetype or xrender as part of
     the interface, but hide them in Requires.private instead (closes: #349318)
   * Remove versioned build-deps on libx11 and libxrender.
   * Move preinst to preinst.in so it doesn't get deleted by clean target. We
     really need a better way to deal with these things...
Files: 
 97459db2f92d6b7a2040519ff03b4c75 786 devel optional xft_2.1.8.2-1.dsc
 95dbdac95b2790c93885159aa24a4625 345131 devel optional xft_2.1.8.2.orig.tar.gz
 b87c7a03c2f68a69cf14096980dd07e9 20091 devel optional xft_2.1.8.2-1.diff.gz
 9ab783bf6b70c87f3a2dee6f90c40bfe 43528 libs optional libxft2_2.1.8.2-1_i386.deb
 d8cdc129d7d53c3ac99e6d72e985fde6 8202 libdevel extra libxft2-dbg_2.1.8.2-1_i386.deb
 043f654b790027064b22f825b7f8d77c 56586 libdevel optional libxft-dev_2.1.8.2-1_i386.deb

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

iD8DBQFD1Fi8yLfpNdY0ad8RAkJJAKCUdSsYVUxQ2KghysDmaaFOLUTItQCgiLNe
VR6kyXypqOHI4JhvVHDisV4=
=rIQe
-----END PGP SIGNATURE-----



Reply to: