[cairo] Bringing the quartz backend up to date (help needed)

Narayan Newton narayannewton at madpenguin.org
Mon Jul 18 19:52:34 PDT 2005

    I have been messing with cairo on my iBook for a couple days, the 
last cvs commit (by cworth) to cairo-quartz-surface.c fixed the build, 
except for an error in the test suite that blocks the build until you 
apply the small patch attached. With the patch, the test suite check 
only fails on 6 occasions, several of those appear to be expected 
failures. I also tried compiling the OS X version of the fdclock and it 
appears to work. I am going to continue testing, but I thought you guys 
would like to know that it works fairly well here.

-- Newton

[Note: For those trying to run the tests on OS 10.4, you have to be very 
careful if you have installed your own version of libjpeg. It tends to 
get in the way of ImageIO's version of jpeg, which is what is required 
for it to work.]
-------------- next part --------------
Index: cairo-test.c
RCS file: /cvs/cairo/cairo/test/cairo-test.c,v
retrieving revision 1.45
diff -u -r1.45 cairo-test.c
--- cairo-test.c	18 Jul 2005 15:04:16 -0000	1.45
+++ cairo-test.c	18 Jul 2005 22:27:17 -0000
@@ -161,7 +161,7 @@
+#if 0 /* #ifdef CAIRO_HAS_QUARTZ_SURFACE */
 static cairo_surface_t *
 create_quartz_surface (int width, int height, void **closure)
@@ -490,7 +490,7 @@
 #if 0 /* #ifdef CAIRO_HAS_GLITZ_SURFACE */
 	    { "glitz", create_glitz_surface, cleanup_glitz}, 
+#if 0 /* #ifdef CAIRO_HAS_QUARTZ_SURFACE */
 	    { "quartz", create_quartz_surface, cleanup_quartz},

More information about the cairo mailing list