GNOME Bugzilla – Bug 719592
libgnomeprint 2.18.8 build fails with freetype 2.5.1
Last modified: 2014-03-02 18:07:33 UTC
libgnomeprint 2.18.8 build fails with freetype 2.5.1: gnome-rfont.c:31:10: fatal error: 'freetype/ftglyph.h' file not found #include <freetype/ftglyph.h> ^ 1 error generated. This was reported to the MacPorts project here: https://trac.macports.org/ticket/41613 The problem is that the headers changed location in freetype 2.5.1 and the long-deprecated practice of specifying the header locations in the #include line is now no longer supported. From the freetype CHANGES file: CHANGES BETWEEN 2.5 and 2.5.1 ... II. IMPORTANT CHANGES ... - The header file layout has been changed. After installation, all files are now located in `<prefix>/include/freetype2'. 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. I'll attach a patch to fix this.
Created attachment 263199 [details] [review] patch
https://git.gnome.org/browse/archive/gnome-print/ https://git.gnome.org/browse/archive/libgnomeprint/ https://git.gnome.org/browse/archive/libgnomeprintui/ have been archived in Git. They are not under active development anymore. It is currently unlikely that there will be any further active development. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.