Thu Oct 30 21:44:54 2008 UTC ()
Update to 1.8.2:

Release 1.8.2 (2008-10-29 Carl Worth <cworth@cworth.org>)
=========================================================
The cairo community is pleased to announce the 1.8.2 release of the
cairo graphics library. This is the first update to cairo's stable 1.8
series and contains a large number of bug fixes. It is being released
just over one month since cairo 1.8.0.

This release consists primarily of bug fixes, but there is one notable
new feature, (the ability to build cairo without an external font
backend), and there are a few optimizations as well. See below for
details on these changes and the most important bug fixes.

While many people have contributed to this release, Chris Wilson
deserves particular mention. He has contributed well over twice as
many changes to cairo since 1.8.0 than everyone else combined. We
greatly appreciate the tremendous efforts of Chris and all cairo
contributors.

We recommend everyone upgrade to cairo 1.8.2 and hope that everyone
will have lots of fun with cairo!

-Carl

New feature
-----------
It is now possible to build cairo without any font backend, (such as
freetype, win32 or quartz). This is most useful when the application
provides custom font rendering through the user-font API. But in the
case where no external font backend is available, and no user-font is
provided, cairo will render with a failsafe font, (a stroked font
covering visible ASCII character). (Behdad Esfahbod)

Optimizations
-------------
Dramatically speed up compilation with dolt (removes much of the
libtool overhead) (Behdad Esfahbod with thanks to Josh Triplett).

Several minor optimizations to tessellator (special-cased comparisons,
faster insert for skiplist, etc.) (Chris Wilson).

Optimize away fractional translation component when doing
EXTEND_NEAREST filtering, (for better performance).

General bug fixes
-----------------
Allow cloning sub-regions of similar surfaces to fix this bug
(Chris Wilson):

	Crafted gif file will crash firefox
	[XError: 'BadAlloc (insufficient resources for operation)']
	https://bugzilla.mozilla.org/show_bug.cgi?id=424333

Fix some matrix confusion to fix this regression (Chris Wilson):

	Translucent star exports in a wrong way to PDF
	https://bugs.launchpad.net/inkscape/+bug/234546

Fix some long-standing bugs with respect to properly computing the
extents of transformed, filtered surfaces (Owen Taylor, Carl Worth,
and Chris Wilson):

	Bad clipping with EXTEND_NONE
	http://bugs.freedesktop.org/show_bug.cgi?id=15349

	Improve filtering handling in cairo-pattern.c
	http://bugs.freedesktop.org/show_bug.cgi?id=15367

	Many thanks to Chris Wilson for digging out and cleaning up
	these fixes.

Fix compilation on Solaris 10 (Chris Wilson):

	Cairo requires -DREENTRANT (along with	-D_POSIX_THREAD_SEMANTICS)
	to compile on Solaris 10 with pthreads
	https://bugs.freedesktop.org/show_bug.cgi?id=18010

Fix very old bug causing dashes to be rendered at the wrong length in
fallback images (Adrian Johnson)

	Dashed strokes too long in fallback images
	https://bugs.freedesktop.org/show_bug.cgi?id=9189

Fix broken dashing when a dashed path starts outside the clip region
(Chris Wilson).

Avoid range overflow when computing large patterns (Benjamin Otte and
Chris Wilson).

Avoid crashing due to an invalid font with an incorrect entry in its
CMAP table (Adrian Johnson).

Fix bugs in computing maximum size of text requests that can be sent
with the Render extension, (avoiding potential crashes when rendering
large amounts of text) (Behdad Esfahbod and Chris Wilson).

Fix rendering of operators unbounded by the mask (Chris Wilson).

Fix compilation on systems without compiler support for a native
64-bit type (Chris Wilson).

Fix several cases of missing error-status propagation. (Chris Wilson,
doing the work he seems to never tire of).

Fix several locking issues found with the lockdep valgrind skin (Chris
Wilson).

Backend-specific bug fixes
--------------------------
xlib: Avoid crash due to attempting XRender calls on pixmaps with
formats not supported by the Render extension (Chris Wilson):

	XRender crashes due to NULL pointer from Cairo on SGI O2
	https://bugs.freedesktop.org/show_bug.cgi?id=1173

xlib: Add support for XImages with depth of 4, 20, 24, or 28 bits
(Chris Wilson):

	cairo doesn't support 24 bits per pixel mode on X11
	https://bugs.freedesktop.org/show_bug.cgi?id=9102

xlib: Avoid mistakenly considering two surfaces as similar just
because their depths match (while their Render formats do not) (Karl
Tomlinson).

ps: Fix slight mis-scaling of bitmapped fonts (Adrian Johnson)

svg: Correctly emit comp-op for paint, mask, and show_glyphs
operations (Emmanuel Pacaud).

svg: Use finer-grained fallbacks for SVG 1.2 (as PS and PDF backends
have been doing since 1.6.0) (Chris Wilson).


(wiz)
diff -r1.67 -r1.68 pkgsrc/graphics/cairo/Makefile
diff -r1.45 -r1.46 pkgsrc/graphics/cairo/distinfo
diff -r1.10 -r0 pkgsrc/graphics/cairo/patches/patch-ac
diff -r1.7 -r0 pkgsrc/graphics/cairo/patches/patch-ad

cvs diff -r1.67 -r1.68 pkgsrc/graphics/cairo/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/cairo/Makefile 2008/10/16 10:55:08 1.67
+++ pkgsrc/graphics/cairo/Makefile 2008/10/30 21:44:54 1.68
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2008/10/16 10:55:08 drochner Exp $
+# $NetBSD: Makefile,v 1.68 2008/10/30 21:44:54 wiz Exp $
 
-DISTNAME=	cairo-1.8.0
+DISTNAME=	cairo-1.8.2
 CATEGORIES=	graphics
 MASTER_SITES=	http://cairographics.org/releases/
 

cvs diff -r1.45 -r1.46 pkgsrc/graphics/cairo/distinfo (expand / switch to context diff)
--- pkgsrc/graphics/cairo/distinfo 2008/10/16 12:22:10 1.45
+++ pkgsrc/graphics/cairo/distinfo 2008/10/30 21:44:54 1.46
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.45 2008/10/16 12:22:10 drochner Exp $
+$NetBSD: distinfo,v 1.46 2008/10/30 21:44:54 wiz Exp $
 
-SHA1 (cairo-1.8.0.tar.gz) = 8a689ca47c24216f37bb8cabae21ff08a7f47899
-RMD160 (cairo-1.8.0.tar.gz) = 1b1079ab73813ca6782c0d4cb3623575e08ee94e
-Size (cairo-1.8.0.tar.gz) = 5662670 bytes
+SHA1 (cairo-1.8.2.tar.gz) = 41e94d94e7f379551f556dd71979aca239a688c6
+RMD160 (cairo-1.8.2.tar.gz) = 602008860bf35672cf48c7c8f9e1a6b5a702f6aa
+Size (cairo-1.8.2.tar.gz) = 7147742 bytes
 SHA1 (patch-aa) = 870d57c20afbca75ab5c3ec399409de19726fd66
 SHA1 (patch-ab) = 54f0dd3e7afdf88b0ab8cf8f32ed16eed04f0797
-SHA1 (patch-ac) = 9412e50f13d7d8f15c212aff2114d45a261a8b6f
-SHA1 (patch-ad) = 2ead8b50dc71aa8b7bbb699f14f72a354f88a314

File Deleted: pkgsrc/graphics/cairo/patches/patch-ac

File Deleted: pkgsrc/graphics/cairo/patches/patch-ad