[Top][All Lists]

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

Re: [ft-devel] Slightly modified header inclusion scheme

From: Behdad Esfahbod
Subject: Re: [ft-devel] Slightly modified header inclusion scheme
Date: Mon, 22 Jun 2015 14:11:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0


This is extremely problematic.  Please read my original report that caused the
first header file layout change:

If you are changing this again, can you please just under the simplification
that you did in that old thread?  Ie, make everything look like it used to
before 2013, except that ft2build.h will be inside freetype2/ as opposed to
outside it as it was pre-2013.


On 15-06-21 09:50 PM, Werner LEMBERG wrote:
> I've fixed Savannah bug #45097
> As a consequence, we have a slighly modified header inclusion scheme.
>>From the CHANGES file:
>     - The header file layout has been slightly changed (again).  After
>       installation,   the  file   `ft2build.h'  is   now  located   in
>       `<prefix>/include'.  Additionally, the  header directory include
>       path  has changed  from  `<prefix>/include/freetype2' to  simply
>       `<prefix>/include'.
>       Doing so  reduces the  possibility of  header file  name clashes
>       (e.g., FTGL's  `FTGlyph.h' with  FreeType's `ftglyph.h'  on case
>       insensitive file systems like Mac OS X or Windows).
>       Applications  that  use   (a)  `freetype-config'  or  FreeType's
>       `freetype2.pc' file for pkg-config  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.
> Please test!
>     Werner
> _______________________________________________
> Freetype-devel mailing list
> address@hidden

reply via email to

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