summaryrefslogtreecommitdiff
path: root/graphics/cairo
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-06-15 17:47:59 +0000
committerdrochner <drochner@pkgsrc.org>2007-06-15 17:47:59 +0000
commit30e3ed849ba8eaddb61495313d925a1ed9f84742 (patch)
tree9b18bf0acfdcce985f4b7d4fb7bdca657be7dc7d /graphics/cairo
parentb15afdb4025142bd56554fa3f2840c6ec7ffc79f (diff)
downloadpkgsrc-30e3ed849ba8eaddb61495313d925a1ed9f84742.tar.gz
update to 1.4.8
This is the fourth update in cairo's stable 1.4 series. It comes just over five weeks after the 1.4.6 release. This release includes a thread-safe surface-cache for solid patterns which significantly improves text rendering with the xlib backend. Also, dozens of error paths in cairo have been fixed thanks to extensive fault-injection testing by Chris Wilson.
Diffstat (limited to 'graphics/cairo')
-rw-r--r--graphics/cairo/Makefile4
-rw-r--r--graphics/cairo/PLIST6
-rw-r--r--graphics/cairo/distinfo10
-rw-r--r--graphics/cairo/patches/patch-ae26
4 files changed, 23 insertions, 23 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index f1ef38f8dff..3c8f50a8c9c 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2007/06/08 07:20:52 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2007/06/15 17:47:59 drochner Exp $
-DISTNAME= cairo-1.4.6
+DISTNAME= cairo-1.4.8
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
diff --git a/graphics/cairo/PLIST b/graphics/cairo/PLIST
index 0e0063aa2ed..9840d494c56 100644
--- a/graphics/cairo/PLIST
+++ b/graphics/cairo/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2007/06/08 07:20:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2007/06/15 17:47:59 drochner Exp $
${CARBON}include/cairo/cairo-atsui.h
include/cairo/cairo-deprecated.h
include/cairo/cairo-features.h
@@ -63,9 +63,9 @@ share/gtk-doc/html/cairo/cairo.devhelp2
share/gtk-doc/html/cairo/home.png
share/gtk-doc/html/cairo/index.html
share/gtk-doc/html/cairo/index.sgml
+share/gtk-doc/html/cairo/index-1.2.html
+share/gtk-doc/html/cairo/index-1.4.html
share/gtk-doc/html/cairo/ix01.html
-share/gtk-doc/html/cairo/ix02.html
-share/gtk-doc/html/cairo/ix03.html
share/gtk-doc/html/cairo/language-bindings.html
share/gtk-doc/html/cairo/left.png
share/gtk-doc/html/cairo/pt01.html
diff --git a/graphics/cairo/distinfo b/graphics/cairo/distinfo
index d4d24679e0d..bc0f4f9d04a 100644
--- a/graphics/cairo/distinfo
+++ b/graphics/cairo/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.34 2007/06/08 07:20:53 wiz Exp $
+$NetBSD: distinfo,v 1.35 2007/06/15 17:47:59 drochner Exp $
-SHA1 (cairo-1.4.6.tar.gz) = bfd1532e10789fc4f87a196540c049d88c6ece42
-RMD160 (cairo-1.4.6.tar.gz) = 144ba5422c414070ceb691dcd59fa887f82697b1
-Size (cairo-1.4.6.tar.gz) = 3181592 bytes
+SHA1 (cairo-1.4.8.tar.gz) = e0730d852262d68a68d5a4c4a99657b0baeed13c
+RMD160 (cairo-1.4.8.tar.gz) = 262e424ef8f63b8e0b85279dd0d4572cf4cede0e
+Size (cairo-1.4.8.tar.gz) = 3210242 bytes
SHA1 (patch-aa) = 79c04674fde56522e1f09e5896fcef4c6b6a0d36
SHA1 (patch-ab) = 45e59cffeade4019b860e1e2e93a9b264324e961
-SHA1 (patch-ae) = 42d23551af85adcbb9645f26dbdee7f8b9d72fa9
+SHA1 (patch-ae) = 6d3eea66cbd03007dcdef97b5f5bd033f0b6afcd
diff --git a/graphics/cairo/patches/patch-ae b/graphics/cairo/patches/patch-ae
index 6f61050e321..17909ba642e 100644
--- a/graphics/cairo/patches/patch-ae
+++ b/graphics/cairo/patches/patch-ae
@@ -1,10 +1,10 @@
-$NetBSD: patch-ae,v 1.7 2007/06/08 07:20:53 wiz Exp $
+$NetBSD: patch-ae,v 1.8 2007/06/15 17:47:59 drochner Exp $
Fixes cairo on 8-bit pseudo color and other 8-bit displays.
See https://bugs.freedesktop.org/show_bug.cgi?id=4945
---- src/cairo-xlib-surface-private.h-orig 2007-05-02 14:43:14.184165000 +0800
-+++ src/cairo-xlib-surface-private.h 2007-05-02 14:50:38.143706000 +0800
+--- src/cairo-xlib-surface-private.h.orig 2007-05-09 15:37:39.000000000 +0200
++++ src/cairo-xlib-surface-private.h 2007-06-15 14:15:41.000000000 +0200
@@ -39,6 +39,14 @@
typedef struct _cairo_xlib_surface cairo_xlib_surface_t;
@@ -20,7 +20,7 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
struct _cairo_xlib_surface {
cairo_surface_t base;
-@@ -88,6 +96,8 @@ struct _cairo_xlib_surface {
+@@ -89,6 +97,8 @@ struct _cairo_xlib_surface {
cairo_filter_t filter;
int repeat;
XTransform xtransform;
@@ -28,10 +28,10 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
+ struct clut_r3g3b2 *clut;
};
- #endif /* CAIRO_XLIB_SURFACE_PRIVATE_H */
---- src/cairo-xlib-surface.c-orig 2007-05-02 14:55:09.281677000 +0800
-+++ src/cairo-xlib-surface.c 2007-05-02 14:53:31.401179000 +0800
-@@ -446,6 +446,74 @@ _swap_ximage_to_native (XImage *ximage)
+ enum {
+--- src/cairo-xlib-surface.c.orig 2007-06-07 19:44:01.000000000 +0200
++++ src/cairo-xlib-surface.c 2007-06-15 14:13:26.000000000 +0200
+@@ -489,6 +489,74 @@ _swap_ximage_to_native (XImage *ximage)
}
}
@@ -106,7 +106,7 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
static cairo_status_t
_get_image_surface (cairo_xlib_surface_t *surface,
cairo_rectangle_int16_t *interest_rect,
-@@ -607,6 +675,36 @@ _get_image_surface (cairo_xlib_surface_t
+@@ -650,6 +718,36 @@ _get_image_surface (cairo_xlib_surface_t
}
else
{
@@ -143,7 +143,7 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
/*
* XXX This can't work. We must convert the data to one of the
* supported pixman formats. Pixman needs another function
-@@ -619,6 +717,8 @@ _get_image_surface (cairo_xlib_surface_t
+@@ -662,6 +760,8 @@ _get_image_surface (cairo_xlib_surface_t
ximage->width,
ximage->height,
ximage->bytes_per_line);
@@ -152,7 +152,7 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
if (image->base.status)
goto FAIL;
}
-@@ -698,6 +798,31 @@ _cairo_xlib_surface_ensure_gc (cairo_xli
+@@ -757,6 +857,31 @@ _cairo_xlib_surface_ensure_gc (cairo_xli
return CAIRO_STATUS_SUCCESS;
}
@@ -184,7 +184,7 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
static cairo_status_t
_draw_image_surface (cairo_xlib_surface_t *surface,
cairo_image_surface_t *image,
-@@ -710,22 +835,54 @@ _draw_image_surface (cairo_xlib_surface_
+@@ -769,22 +894,54 @@ _draw_image_surface (cairo_xlib_surface_
{
XImage ximage;
unsigned int bpp, alpha, red, green, blue;
@@ -242,7 +242,7 @@ See https://bugs.freedesktop.org/show_bug.cgi?id=4945
ximage.bits_per_pixel = bpp;
ximage.red_mask = red;
ximage.green_mask = green;
-@@ -1885,6 +2042,13 @@ _cairo_xlib_surface_create_internal (Dis
+@@ -2029,6 +2186,13 @@ _cairo_xlib_surface_create_internal (Dis
surface->have_clip_rects = FALSE;
surface->clip_rects = surface->embedded_clip_rects;
surface->num_clip_rects = 0;