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

2006-01-24 Thread Debian Bug Tracking System
Your message dated Tue, 24 Jan 2006 19:17:07 -0800
with message-id <[EMAIL PROTECTED]>
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 +
>From [EMAIL PROTECTED] Sun Jan 22 02:44:30 2006
Return-path: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]; 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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: libxft-dev: please do not export unnecessary libraries in xft.pc
Message-ID: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
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
 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.
[EMAIL PROTECTED]   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 <[EMAIL PROTECTED]>  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="signatur

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

2006-01-22 Thread Debian Bug Tracking System
Your message dated Sun, 22 Jan 2006 20:47:07 -0800
with message-id <[EMAIL PROTECTED]>
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 +
>From [EMAIL PROTECTED] Sun Jan 22 02:44:30 2006
Return-path: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]; 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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: libxft-dev: please do not export unnecessary libraries in xft.pc
Message-ID: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
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
 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.
[EMAIL PROTECTED]   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 <[EMAIL PROTECTED]>  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="signatur