Wed Jan 7 16:39:10 2009 UTC ()
Update to 1.8.6:

Release 1.8.6 (2008-12-13 Chris Wilson <chris@chris-wilson.co.uk>)
=========================================================
The cairo community is pleased to announce the 1.8.6 release of the
cairo graphics library. This is the third update to cairo's stable
1.8 series and contains a small number of bug fixes (in particular a
few fixes for failures of cairo 1.8.4 on Quartz and PDF, and build fixes for
a couple of backends). This is being released just under a month after
cairo 1.8.4.

We recommend that everyone using cairo upgrade to 1.8.6.

-Chris

Build fixes
-----------
Fix build of DirectFB backend with debugging enabled:

   Bug in _cairo_directfb_surface_release_source_image function
   http://bugs.freedesktop.org/show_bug.cgi?id=18322

Fix build on OS/2.

Bug fixes
---------
Workaround a mis-compilation of cairo_matrix_invert() that generated invalid
matrices and triggered assertion failures later. The issue was reported by
Peter Hercek.

Invalid computation of the modulus:

   https://bugzilla.mozilla.org/show_bug.cgi?id=466258

Invalid referencing of patterns in the Quartz backend:

   Failed assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE
   (&pattern->ref_count)' when using cairo quartz backend
   http://bugs.freedesktop.org/show_bug.cgi?id=18632

Invalid references to glyphs after early culling, causing segmentation faults
in the PDF backend:

   http://lists.cairographics.org/archives/cairo/2008-December/015976.html

Check for XRender in the XCB backend, or else we may attempt an invalid memory
access:

    XCB backend fails with missing render.
    https://bugs.freedesktop.org/show_bug.cgi?id=18588


(wiz)
diff -r1.72 -r1.73 pkgsrc/graphics/cairo/Makefile
diff -r1.48 -r1.49 pkgsrc/graphics/cairo/distinfo

cvs diff -r1.72 -r1.73 pkgsrc/graphics/cairo/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/cairo/Makefile 2008/11/26 15:55:32 1.72
+++ pkgsrc/graphics/cairo/Makefile 2009/01/07 16:39:10 1.73
@@ -1,33 +1,32 @@ @@ -1,33 +1,32 @@
1# $NetBSD: Makefile,v 1.72 2008/11/26 15:55:32 drochner Exp $ 1# $NetBSD: Makefile,v 1.73 2009/01/07 16:39:10 wiz Exp $
2 2
3DISTNAME= cairo-1.8.4 3DISTNAME= cairo-1.8.6
4PKGREVISION= 1 
5CATEGORIES= graphics 4CATEGORIES= graphics
6MASTER_SITES= http://cairographics.org/releases/ 5MASTER_SITES= http://cairographics.org/releases/
7 6
8MAINTAINER= recht@NetBSD.org 7MAINTAINER= recht@NetBSD.org
9HOMEPAGE= http://cairographics.org/ 8HOMEPAGE= http://cairographics.org/
10COMMENT= Vector graphics library with cross-device output support 9COMMENT= Vector graphics library with cross-device output support
11 10
12PKG_DESTDIR_SUPPORT= user-destdir 11PKG_DESTDIR_SUPPORT= user-destdir
13 12
14MAKE_JOBS_SAFE= no 13MAKE_JOBS_SAFE= no
15 14
16USE_LANGUAGES+= c99 15USE_LANGUAGES+= c99
17USE_LIBTOOL= yes 16USE_LIBTOOL= yes
18USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes
19USE_TOOLS+= pkg-config 18USE_TOOLS+= pkg-config
20PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-backend.pc.in 19PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-features.pc.in
21GNU_CONFIGURE= yes 20GNU_CONFIGURE= yes
22CONFIGURE_ARGS+= --disable-xcb 21CONFIGURE_ARGS+= --disable-xcb
23CONFIGURE_ARGS+= --enable-glitz 22CONFIGURE_ARGS+= --enable-glitz
24CONFIGURE_ARGS+= --enable-pdf 23CONFIGURE_ARGS+= --enable-pdf
25CONFIGURE_ARGS+= --enable-ps 24CONFIGURE_ARGS+= --enable-ps
26 25
27PLIST_VARS+= carbon 26PLIST_VARS+= carbon
28.if exists(/System/Library/Frameworks/Carbon.framework) 27.if exists(/System/Library/Frameworks/Carbon.framework)
29CONFIGURE_ARGS+= --enable-quartz 28CONFIGURE_ARGS+= --enable-quartz
30CONFIGURE_ARGS+= --enable-quartz-font 29CONFIGURE_ARGS+= --enable-quartz-font
31CONFIGURE_ARGS+= --enable-quartz-image 30CONFIGURE_ARGS+= --enable-quartz-image
32PLIST.carbon= yes 31PLIST.carbon= yes
33.endif 32.endif

cvs diff -r1.48 -r1.49 pkgsrc/graphics/cairo/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/cairo/distinfo 2008/11/26 15:55:32 1.48
+++ pkgsrc/graphics/cairo/distinfo 2009/01/07 16:39:10 1.49
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.48 2008/11/26 15:55:32 drochner Exp $ 1$NetBSD: distinfo,v 1.49 2009/01/07 16:39:10 wiz Exp $
2 2
3SHA1 (cairo-1.8.4.tar.gz) = 57fd2c7e0af16bee7cd53436d7c9dc526784f1da 3SHA1 (cairo-1.8.6.tar.gz) = d1e5479d4eeb7b1a3589672e3ef8f4899e7c5eba
4RMD160 (cairo-1.8.4.tar.gz) = 16e0c6a0342c98219212dac1ff956c2cb839b4e5 4RMD160 (cairo-1.8.6.tar.gz) = 2374236afabbe248a642bf1cac6a5996f64bed62
5Size (cairo-1.8.4.tar.gz) = 7070822 bytes 5Size (cairo-1.8.6.tar.gz) = 6616544 bytes
6SHA1 (patch-aa) = 870d57c20afbca75ab5c3ec399409de19726fd66 6SHA1 (patch-aa) = 870d57c20afbca75ab5c3ec399409de19726fd66
7SHA1 (patch-ab) = 28af58113b1f495660c5a881ae1e8d168db36e4e 7SHA1 (patch-ab) = 28af58113b1f495660c5a881ae1e8d168db36e4e
8SHA1 (patch-ac) = 7b7a4be52b0f2a4e0265838290964413d2803dbc 8SHA1 (patch-ac) = 7b7a4be52b0f2a4e0265838290964413d2803dbc