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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to