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

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to