Your message dated Fri, 13 Mar 2009 17:36:18 -0700
with message-id <[email protected]>
and subject line Re: freetype: cleaning build system to reduce shared library 
dependencies
has caused the Debian Bug report #374015,
regarding [libfreetype6-dev] pkg-config promotes already fulfilled library 
dependency
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
374015: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374015
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libfreetype6-dev
Version: 2.3.7-2
Severity: minor
Tags: patch

In /usr/lib/pkgconfig/freetype2.pc is the line
  Libs: -L${libdir} -lfreetype -lz
The freetype library is correct here, but the dependency to zlib seems to be 
wrong for the shared version of the library. I would say that it is better to 
change it to:

- Libs: -L${libdir} -lfreetype -lz
+ Libs: -L${libdir} -lfreetype
+ Libs.private: -L${libdir} -lfreetype -lz

This will give the right dependencies for the static version when you call
 pkg-config --static --libs freetype2
and for the shared version
 pkg-config --libs freetype2

Those changes will hopefully remove maaaaany unused dependencies in graphical 
programs.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.26-1-amd64

Debian Release: lenny/sid
  500 unstable        ftp.debian.org 
  500 unstable        debian.netcologne.de 
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends            (Version) | Installed
============================-+-============
libfreetype6     (= 2.3.7-2) | 2.3.7-2
libc6-dev                    | 2.7-16
 OR libc-dev                 | 
zlib1g-dev                   | 1:1.2.3.3.dfsg-12
 OR libz-dev                 | 
-- 
Robert Wohlrab



--- End Message ---
--- Begin Message ---
Version: 2.3.9-1

The latest upstream release of freetype fixes the pkg-config so that -lz is
no longer pulled in as a transitive dependency when dynamically linking.

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.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]


--- End Message ---

Reply via email to