diff --git a/gfx/cairo/README b/gfx/cairo/README index 1a04ec33d21..bb9f365e390 100644 --- a/gfx/cairo/README +++ b/gfx/cairo/README @@ -7,7 +7,7 @@ http://www.cairographics.org/. VERSIONS: - cairo (1.6.2 - 1.6.2) + cairo (1.6.4 - 1.6.4) pixman (0.10.x - pixman-0.10.0-8-g0b207ae) glitz 0.5.2 (cvs - 2006-01-10) diff --git a/gfx/cairo/cairo/NEWS b/gfx/cairo/cairo/NEWS index 4b34a30575d..9aa263c3a94 100644 --- a/gfx/cairo/cairo/NEWS +++ b/gfx/cairo/cairo/NEWS @@ -1,3 +1,32 @@ +Release 1.6.4 (2008-04-11 Carl Worth ) +========================================================= +The cairo community is wildly embarrassed to announce the 1.6.4 +release of the cairo graphics library. This release reverts the xlib +locking change introduced in 1.6.4, (and the application crashes that +it caused). The community would be glad to sack its current release +manager and is accepting applications for someone who could do the job +with more discipline. + +Revert 'add missing locking in cairo-xlib' +------------------------------------------ +This change was introduced in cairo 1.6.2, but also introduced a bug +which causes many cairo-xlib applications to crash, (with a +segmentation fault inside of XSetClipMask). Instead of attempting +another fix for the broken fix, the change in 1.6.2 has been +reverted. The original bug which the change was addressing has been +present since at least cairo 1.4, so it is not expected that leaving +this bug unfixed will cause any new problems for applications moving +from cairo 1.4 to cairo 1.6. + +At this point, the code of cairo 1.6.4 differs from cairo 1.6.0 only +in the fix for the PostScript-printer crashes. + +Tweak build to avoid linking with g++ +------------------------------------- +Cairo 1.6.4 avoids a quirk in automake that was causing the cairo +library to be linked with g++ and linked against libstdc++ even when +only C source files were compiled for the library. + Release 1.6.2 (2008-04-11 Carl Worth ) ========================================================= The cairo community is pleased (but somewhat sheepish) to announce the diff --git a/gfx/cairo/cairo/src/cairo-features.h.in b/gfx/cairo/cairo/src/cairo-features.h.in index e22d113fbc5..d52bb570cfd 100644 --- a/gfx/cairo/cairo/src/cairo-features.h.in +++ b/gfx/cairo/cairo/src/cairo-features.h.in @@ -52,10 +52,10 @@ #endif #define CAIRO_VERSION_MAJOR 1 -#define CAIRO_VERSION_MINOR 5 -#define CAIRO_VERSION_MICRO 16 +#define CAIRO_VERSION_MINOR 6 +#define CAIRO_VERSION_MICRO 4 -#define CAIRO_VERSION_STRING "1.5.16" +#define CAIRO_VERSION_STRING "1.6.4" @PS_SURFACE_FEATURE@ diff --git a/gfx/cairo/cairo/src/cairo-ps-surface.c b/gfx/cairo/cairo/src/cairo-ps-surface.c index 54f5afec344..f6940bfd6ae 100644 --- a/gfx/cairo/cairo/src/cairo-ps-surface.c +++ b/gfx/cairo/cairo/src/cairo-ps-surface.c @@ -183,10 +183,11 @@ _cairo_ps_surface_emit_header (cairo_ps_surface_t *surface) " { show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse\n" " } forall\n" "} bind def\n" - "/Td { matrix translate cairo_font_matrix matrix concatmatrix dup\n" - " /cairo_font_matrix exch def cairo_font exch selectfont 0 0 moveto } bind def\n" - "/Tm { 6 array astore dup /cairo_font_matrix exch def\n" - " cairo_font exch selectfont 0 0 moveto } bind def\n" + "/Td { matrix translate cairo_font_matrix matrix concatmatrix aload\n" + " /cairo_font_matrix exch def 6 2 roll 0 0 6 array astore\n" + " cairo_font exch selectfont moveto } bind def\n" + "/Tm { 6 copy 6 array astore /cairo_font_matrix exch def 6 2 roll 0 0\n" + " 6 array astore cairo_font exch selectfont moveto } bind def\n" "/g { setgray } bind def\n" "/rg { setrgbcolor } bind def\n");