[cairo] cairo snapshot 1.1.2 now available for testing

Tor Lillqvist tml at iki.fi
Tue Apr 25 11:45:52 PDT 2006


Minor Win32 patch for build with mingw which lacks these two constants
in its headers. (I thought this had been fixed already?)

diff -pru2 /tmp/cairo-1.1.2/src/cairo-win32-private.h ./src/cairo-win32-private.h
--- /tmp/cairo-1.1.2/src/cairo-win32-private.h	Tue Apr 25 16:08:19 2006
+++ ./src/cairo-win32-private.h	Tue Apr 25 21:07:56 2006
@@ -40,4 +40,11 @@
 #include <cairoint.h>
 
+#ifndef SHADEBLENDCAPS
+#define SHADEBLENDCAPS 120
+#endif
+#ifndef SB_NONE
+#define SB_NONE 0
+#endif
+
 typedef struct _cairo_win32_surface {
     cairo_surface_t base;


It is also a bit questionable whether it makes sense to distribute
cairo.def in the tarball. It is being generated on the Unix machine
doing the make dist, thus it lacks the cairo_win32_* entries. It needs
to be regenerated for a Win32 build anyway, but this has to be forced
manually currently. Maybe make it depend on cairo-features.h, or just
leave it out from the tarball?

Cheers,
--tml



More information about the cairo mailing list