summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-11-15 03:43:46 +0000
committerrh <rh@pkgsrc.org>2004-11-15 03:43:46 +0000
commit606e08f2fe417bc8ac753f668710cfca104f3eb5 (patch)
tree4aa1aa39995d412213367605d07be65e03d530e1
parent93533b5dc887be2b4e61a71db73fa3cec1649705 (diff)
downloadpkgsrc-606e08f2fe417bc8ac753f668710cfca104f3eb5.tar.gz
Update libpixman to 0.1.2. Changes include:
New functionality ----------------- Added three new functions: pixman_image_set_component_alpha pixman_format_get_masks pixman_image_get_format Bug fixes --------- Enabling both transform and repeat simultaneously now works. Some byte-order fixes. Clipping fixes: pixman now takes a copy of the client clipping region client clipping is now actually used, it wasn't earlier.
-rw-r--r--graphics/libpixman/Makefile5
-rw-r--r--graphics/libpixman/distinfo8
-rw-r--r--graphics/libpixman/patches/patch-aa34
3 files changed, 16 insertions, 31 deletions
diff --git a/graphics/libpixman/Makefile b/graphics/libpixman/Makefile
index e1fe4660da4..b923951b1f9 100644
--- a/graphics/libpixman/Makefile
+++ b/graphics/libpixman/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2004/10/03 00:14:55 tv Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/15 03:43:46 rh Exp $
#
-DISTNAME= libpixman-0.1.1
-PKGREVISION= 2
+DISTNAME= libpixman-0.1.2
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/snapshots/
diff --git a/graphics/libpixman/distinfo b/graphics/libpixman/distinfo
index 57f1c3b4917..7227d8a5793 100644
--- a/graphics/libpixman/distinfo
+++ b/graphics/libpixman/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/07/03 23:00:36 recht Exp $
+$NetBSD: distinfo,v 1.4 2004/11/15 03:43:46 rh Exp $
-SHA1 (libpixman-0.1.1.tar.gz) = fcd5b1a30ad621f170392add673f880d3707ba82
-Size (libpixman-0.1.1.tar.gz) = 361389 bytes
-SHA1 (patch-aa) = 24f13081e3fe3f4e2128d509e98db67fbe7361ae
+SHA1 (libpixman-0.1.2.tar.gz) = 131940aee04f8ed757b834d9dd9584d0ecc76348
+Size (libpixman-0.1.2.tar.gz) = 367637 bytes
+SHA1 (patch-aa) = 0172ca11ef392df251b84213295b1727e7274366
diff --git a/graphics/libpixman/patches/patch-aa b/graphics/libpixman/patches/patch-aa
index 745797ad0de..5bba4f7e80c 100644
--- a/graphics/libpixman/patches/patch-aa
+++ b/graphics/libpixman/patches/patch-aa
@@ -1,36 +1,22 @@
-$NetBSD: patch-aa,v 1.1 2004/07/03 23:00:37 recht Exp $
-
---- src/icimage.c.orig 2004-04-15 23:10:42.000000000 +0200
-+++ src/icimage.c
-@@ -248,10 +248,14 @@ pixman_image_destroyClip (pixman_image_t
+$NetBSD: patch-aa,v 1.2 2004/11/15 03:43:46 rh Exp $
+--- src/icimage.c.orig 2004-11-08 11:43:58.000000000 -0500
++++ src/icimage.c 2004-11-08 11:44:04.000000000 -0500
+@@ -263,10 +263,16 @@
case CT_NONE:
return;
case CT_PIXMAP:
- pixman_image_destroy (image->clientClip);
++
+ if (image->clientClip) {
-+ pixman_image_destroy (image->clientClip);
-+ }
++ pixman_image_destroy (image->clientClip);
++ }
++
break;
default:
- pixman_region_destroy (image->clientClip);
+ if (image->clientClip) {
-+ pixman_region_destroy (image->clientClip);
-+ }
++ pixman_image_destroy (image->clientClip);
++ }
break;
}
image->clientClip = NULL;
-@@ -263,8 +267,12 @@ pixman_image_set_clip_region (pixman_ima
- pixman_region16_t *region)
- {
- pixman_image_destroyClip (image);
-- image->clientClip = region;
-- image->clientClipType = CT_REGION;
-+ if (region != NULL) {
-+ // image->clientClip = region;
-+ pixman_region_copy (image->clientClip, region);
-+ image->clientClipType = CT_REGION;
-+ }
-+
- image->stateChanges |= CPClipMask;
- return 0;
- }