After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 125548 - freetype2 headers changed
freetype2 headers changed
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.2.x
Other other
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2003-10-26 19:29 UTC by Patrick Welche
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Patrick Welche 2003-10-26 19:29:55 UTC
With cvs pango and cvs freetype2, I needed the following patch to compile:

Index: opentype/pango-ot-info.c
===================================================================
RCS file: /cvs/gnome/pango/pango/opentype/pango-ot-info.c,v
retrieving revision 1.8
diff -u -r1.8 pango-ot-info.c
--- opentype/pango-ot-info.c	16 Apr 2003 21:48:29 -0000^I1.8
+++ opentype/pango-ot-info.c	26 Oct 2003 18:32:21 -0000
@@ -22,7 +22,6 @@
 #include "pango-ot-private.h"
 #include "fterrcompat.h"
 #include <freetype/internal/ftobjs.h>
-#include <freetype/ftmodule.h>
 
 static void pango_ot_info_class_init (GObjectClass *object_class);
 static void pango_ot_info_finalize   (GObject *object);
Comment 1 Owen Taylor 2003-10-31 18:19:38 UTC
Looks like an incompatible change to FreeType to me, just
mailed devel@freetype.org about it, and we'll see what
they say.
Comment 2 Owen Taylor 2003-11-01 15:02:36 UTC
Sat Nov  1 09:32:15 2003  Owen Taylor  <otaylor@redhat.com>
 
        * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h
        pango/pangoft2.c pango/opentype/pango-ot-info.c
        pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c
        pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c
        pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
        Switch over to recommended Freetype system of
        include ft2build.h then #include FT_FREETYPE_H.
        Fixes ftmodule.h problem with current Freetype CVS.
        (#125548)
Comment 3 Wizard 2004-09-21 19:49:30 UTC
Currently trying to compile version 1.2.5 on Mandrake Linux 10, and receive this
error:

In file included from pango-ot-private.h:25,
                 from pango-ot-info.c:22:
/usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use
macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23:2: #error "  #include
<ft2build.h>"
/usr/local/include/freetype2/freetype/freetype.h:24:2: #error "  #include
FT_FREETYPE_H"
pango-ot-info.c:25:31: freetype/ftmodule.h: No such file or directory
make[3]: *** [pango-ot-info.lo] Error 1
make[3]: Leaving directory `/home/losra/Software/pango-1.2.4/pango/opentype'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/losra/Software/pango-1.2.4/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/losra/Software/pango-1.2.4'
make: *** [all-recursive-am] Error 2
Comment 4 Owen Taylor 2004-09-21 20:47:40 UTC
last comment is about an obsolete version of Pango