[cairo] cairo 0.1.22 won't build with glitz 0.1.1

David Reveman c99drn at cs.umu.se
Tue May 11 05:48:29 PDT 2004

On Tue, 2004-05-11 at 01:15 +0100, Dave Beckett wrote:
> In looking at packaging cairo 0.1.22 for debian:
> compile:
> ...
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -g -Wall -O2 -MT cairo_gl_surface.lo -MD -MP -MF .deps/cairo_gl_surface.Tpo -c cairo_gl_surface.c  -fPIC -DPIC -o .libs/cairo_gl_surface.o
> cairo_gl_surface.c: In function `_cairo_gl_surface_create_pattern':
> cairo_gl_surface.c:680: error: `glitz_distance_fixed_t' undeclared (first use in this function)
> cairo_gl_surface.c:680: error: (Each undeclared identifier is reported only oncecairo_gl_surface.c:680: error: for each function it appears in.)
> cairo_gl_surface.c:680: error: parse error before "radius"
> cairo_gl_surface.c:686: error: `radius' undeclared (first use in this function)
> cairo_gl_surface.c:692: warning: passing arg 3 of `glitz_surface_create_radial' makes integer from pointer without a cast
> cairo_gl_surface.c:692: error: too few arguments to function `glitz_surface_create_radial'
> glitz changelog:
> 	* src/glitz.h: Removed glitz_distance_fixed_t. Updated linear
> 	and radial surfaces.
> ...

cairo and glitz snapshots are not synchronized. cairo snapshot 0.1.22
will only build with glitz snapshot 0.1.0. I've uploaded a new glitz
snapshot (0.1.2) and commited some improvements to cairo's OpenGL
backend today. Now is probably a good time to bump the version number of
cairo and release another snapshot.

More information about the cairo mailing list