freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Include file change broke compilation


From: Jan Engelhardt
Subject: [ft-devel] Include file change broke compilation
Date: Fri, 27 Dec 2013 15:22:30 +0100 (CET)
User-agent: Alpine 2.11 (LSU 23 2013-08-11)

Between freetype 2.5.0 and 2.5.2 there was a change
that moved the include files around, breaking compilation of
some components, such as x2go-nx-libs.

[  153s] xftglyphs.c:26:30: fatal error: freetype/ftoutln.h: No such file or
directory
[  153s]  #include <freetype/ftoutln.h>
[  153s]                               ^

The output from pkg-config for both 2.5.0 and 2.5.2 is:

15:17 ares08:~ > pkg-config freetype2 --cflags
-I/usr/include/freetype2 

The culprit commit is fae382076409db198dfbff36ac4cbb97b05b30a1.

The result is that programs now need to use #include <ftoutln.h>
instead. IMHO that is backwards and that all header files should
live in a distinct directory that is referenced through #includes.
In other words,
 - programs are to use #include <freetype/ftoutln.h>
 - the ftoutln.h file should be located at /usr/include/freetype/ftoutln.h
 - `pkg-config freetype2 --cflags` should not emit -I path any longer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]