[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Cleaning up include paths
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Cleaning up include paths |
Date: |
Wed, 13 Nov 2013 09:19:54 +0100 (CET) |
> I like to suggest that ft2build.h be moved inside
> ${includedir}/freetype2 also and freetype2.pc / freetype-config be
> updated accordingly.
I've done this now – and even more. From the ChangeLog:
Simplify header file hierarchy.
This large patch changes the header file directory layout from
`include/freetype/...' to `include/...', effectively removing
one level. Since the file `ft2build.h' is also located in
`include' (and it stays there even after installation), all
FreeType header files are now in a single directory.
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.
Hopefully, I've correctly updated all project files (and even
`CMakeLists.txt') correctly. Please test.
One issue remains: During installation, shall I do
ln -s . freetype
within the `/usr/local/include/freetype2' directory so that the old
include file hierarchy is still available to all the people who don't
follow (a) and (b) from above, for whatever reason?
Werner
- Re: [ft-devel] Cleaning up include paths,
Werner LEMBERG <=