Build failure with freetype 2.5.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
su_v | ||
inkscape (Debian) |
Fix Released
|
Unknown
|
Bug Description
Just released freetype 2.5.1 has changed the header file layout:
<quote>
- The header file layout has been changed. After installation,
all files are now located in `<prefix>
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.
</quote>
<http://
Despite detecting 'freetype-config' correctly when rerunning configure, inkscape trunk r12832 failed to build on OS X 10.7.5 after upgrading freetype to 2.5.1. Running 'make -k' fails with these errors:
CXX sp-text.o
In file included from sp-text.cpp:31:
./libnrtype/
make[3]: *** [sp-text.o] Error 1
CXX display/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [display/
CXX extension/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [extension/
CXX libnrtype/
In file included from libnrtype/
./libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from libnrtype/
libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from libnrtype/
libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from libnrtype/
libnrtype/
make[3]: *** [libnrtype/
CXX libnrtype/
In file included from libnrtype/
libnrtype/
make[3]: *** [libnrtype/
CXX widgets/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [widgets/
CXX widgets/
In file included from widgets/
widgets/
make[3]: *** [widgets/
CXX ui/dialog/
In file included from ui/dialog/
./libnrtype/
make[3]: *** [ui/dialog/
CXX ui/dialog/glyphs.o
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [ui/dialog/
CXX ui/dialog/
In file included from ./libnrtype/
./libnrtype/
make[3]: *** [ui/dialog/
Changed in inkscape: | |
status: | Fix Committed → New |
Changed in inkscape (Debian): | |
status: | Unknown → Fix Released |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Proposed patch (based on the comments in the release notes), tested successfully with Inkscape r12832, freetype 2.5.0 and 2.5.1 on OS X 10.7.5. Please review!