[cairo] Bug in freetype2 pkg-config requirement

Owen Taylor otaylor at redhat.com
Mon Aug 29 09:06:49 PDT 2005


On Mon, 2005-08-29 at 11:52 -0400, Igor Foox wrote:

> Hi Owen,
> 
> I've reproduced the problem. What seems to happen is that pango doesn't
> depend on FreeType directly, it depends on it through Cairo and through
> FontConfig (I think). Pango builds and installs. However when I try to
> build GTK+ (2.8.0) I get [1]. You can see that I'm installing the GTK+
> stack into a non-standard location (/opt) but I don't think that should
> impact the build. 

>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
> -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DG_DISABLE_CAST_CHECKS -pthread -DXTHREADS -D_REENTRANT
> -DXUSE_MTSAFE_API -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include
> -I/opt/include/pango-1.0 -I/opt/include/cairo -I/usr/X11R6/include
> -I/usr/X11R6/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -Wall -MT
> gdkdrawable-x11.lo -MD -MP -MF .deps/gdkdrawable-x11.Tpo -c
> gdkdrawable-x11.c  -fPIC -DPIC -o .libs/gdkdrawable-x11.o
> In file included from /opt/include/pango-1.0/pango/pangofc-font.h:25,
>                  from /opt/include/pango-1.0/pango/pango-ot.h:25,
>                  from /opt/include/pango-1.0/pango/pangoxft.h:27,
>                  from gdkdrawable-x11.c:32:
> /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
> such file or directory

Ah, that was fixed between GTK+ 2.8.0 and 2.8.1.

2005-08-15  Owen Taylor  <otaylor at redhat.com>

        * configure.in: Fix have_base_pc / have_base_x_pc typo.

        * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
        (#313417, James Andrewartha)

        * configure.in: Add fontconfig to X_PACKAGES, since we use it for
        FcNameConstant(). (More of #313417)

Regards,
						Owen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050829/e4fa708b/attachment.pgp


More information about the cairo mailing list