pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libpixman Update libpixman to 0.1.2. Changes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06ac5b301711
branches:  trunk
changeset: 483559:06ac5b301711
user:      rh <rh%pkgsrc.org@localhost>
date:      Mon Nov 15 03:43:46 2004 +0000

description:
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.

diffstat:

 graphics/libpixman/Makefile         |   5 ++---
 graphics/libpixman/distinfo         |   8 ++++----
 graphics/libpixman/patches/patch-aa |  34 ++++++++++------------------------
 3 files changed, 16 insertions(+), 31 deletions(-)

diffs (77 lines):

diff -r 38c9519514e9 -r 06ac5b301711 graphics/libpixman/Makefile
--- a/graphics/libpixman/Makefile       Mon Nov 15 03:34:36 2004 +0000
+++ b/graphics/libpixman/Makefile       Mon Nov 15 03:43:46 2004 +0000
@@ -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 -r 38c9519514e9 -r 06ac5b301711 graphics/libpixman/distinfo
--- a/graphics/libpixman/distinfo       Mon Nov 15 03:34:36 2004 +0000
+++ b/graphics/libpixman/distinfo       Mon Nov 15 03:43:46 2004 +0000
@@ -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 -r 38c9519514e9 -r 06ac5b301711 graphics/libpixman/patches/patch-aa
--- a/graphics/libpixman/patches/patch-aa       Mon Nov 15 03:34:36 2004 +0000
+++ b/graphics/libpixman/patches/patch-aa       Mon Nov 15 03:43:46 2004 +0000
@@ -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;
- }



Home | Main Index | Thread Index | Old Index