> 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.

No.  The culprit is

  #include <freetype/ftoutln.h>

in x2go-nx-libs.  Applications should use header file name macros, as
shown in all FreeType example files and demo programs.  If you change
that to the canonical

  #include <ft2build.h>
  #include FT_OUTLINE_H

everything works just fine, regardless of the internal structure of
the FreeType header directories.


    Werner

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

Reply via email to