Package: libfreetype6-dev Version: 2.5.1-1 Severity: important
Hi Steve,
with the upload of freetype 2.5.1-1 the installation location of the header files has changed:
Old: /usr/include/freetype2/freetype/*.h (2.4.9 and before) New: /usr/include/freetype2/*.h
Please work around this by placing im freetype symlink into /usr/include/freetype2 pointing to ../ (or restore the former installation path for 2.5.x-y).
The incident popped up when trying to build nx-X11 against Debian sid.
Thanks+Greets, Mike
-- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Versions of packages libfreetype6-dev depends on: ii libc6-dev [libc-dev] 2.17-96 ii libfreetype6 2.5.1-1 ii zlib1g-dev [libz-dev] 1:1.2.8.dfsg-1
libfreetype6-dev recommends no packages.
libfreetype6-dev suggests no packages.
-- no debconf information
On Sun, Dec 01, 2013 at 01:03:55AM +0100, Mike Gabriel wrote:
Old: /usr/include/freetype2/freetype/*.h (2.4.9 and before) New: /usr/include/freetype2/*.h
Please work around this by placing im freetype symlink into /usr/include/freetype2 pointing to ../ (or restore the former installation path for 2.5.x-y).
Note that freetype isn't to blame here – including the freetype headers in the way that was removed from freetype 2.5.1 has been deprecated for a long time.
From the freetype CHANGES file: CHANGES BETWEEN 2.5 and 2.5.1 [...] II. IMPORTANT CHANGES [...] - The header file layout has been changed. After installation, all files are now located in `<prefix>/include/freetype2'.
Applications that use (a) `freetype-config' or FreeType's
`pkg-config' file to get the include directory for the compiler,
and (b) the documented way for header inclusion like
#include <ft2build.h>
#include FT_FREETYPE_H
...
don't need any change to the source code.
The projects that are broken now should rather fix their code to correctly include the freetype headers using
#include <ft2build.h> #include FT_FREETYPE_H
For reference, see the same bug in MacPorts: http://trac.macports.org/ticket/41593
-- Clemens Lang MacPorts Developer