Subject: pkg/28106: update [graphics/cairo]
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <fbriere@peperes.info>
List: pkgsrc-bugs
Date: 11/08/2004 15:05:27
>Number: 28106
>Category: pkg
>Synopsis: update
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 08 20:07:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Francois Briere
>Release: NetBSD 2.0_RC4
>Organization:
peperes.info
>Environment:
System: NetBSD cthulhu.peperes.info 2.0_RC4 NetBSD 2.0_RC4 (misanthropia) #4: Sun Nov 7 09:43:46 EST 2004 root@cthulhu.peperes.info:/usr/src/sys/arch/i386/compile/misanthropia i386
Architecture: i386
Machine: i386
>Description:
update to 0.2.0
>How-To-Repeat:
...
>Fix:
patch -p# < /path/to/patch
--- patch-graphics_cairo.diff begins here ---
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/cairo/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 3 Oct 2004 00:14:49 -0000 1.12
+++ Makefile 8 Nov 2004 19:13:27 -0000
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.12 2004/10/03 00:14:49 tv Exp $
-DISTNAME= cairo-0.1.23
-PKGREVISION= 2
+DISTNAME= cairo-0.2.0
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/snapshots/
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/cairo/buildlink3.mk,v
retrieving revision 1.9
diff -u -r1.9 buildlink3.mk
--- buildlink3.mk 3 Oct 2004 00:14:49 -0000 1.9
+++ buildlink3.mk 8 Nov 2004 19:13:27 -0000
@@ -12,7 +12,7 @@
.if !empty(CAIRO_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.cairo+= cairo>=0.1.23
-BUILDLINK_RECOMMENDED.cairo+= cairo>=0.1.23nb2
+BUILDLINK_RECOMMENDED.cairo+= cairo>=0.2.0
BUILDLINK_PKGSRCDIR.cairo?= ../../graphics/cairo
BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.5
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/cairo/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 3 Jul 2004 23:01:36 -0000 1.5
+++ distinfo 8 Nov 2004 19:13:27 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2004/07/03 23:01:36 recht Exp $
-SHA1 (cairo-0.1.23.tar.gz) = ed0bea8a6f1382803989c047631f3d6d82c864c3
-Size (cairo-0.1.23.tar.gz) = 393051 bytes
+SHA1 (cairo-0.2.0.tar.gz) = 451ad7bd1f3dfe1aa46de721450d9f34dc9af1ee
+Size (cairo-0.2.0.tar.gz) = 462216 bytes
SHA1 (patch-aa) = 0c9aba36a2c9a114e9b0da08ea0df0bf3f336e52
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- patches/patch-aa 3 Jul 2004 23:01:36 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/07/03 23:01:36 recht Exp $
-
---- src/cairo_image_surface.c.orig 2004-04-14 03:06:15.000000000 +0200
-+++ src/cairo_image_surface.c
-@@ -462,7 +462,17 @@ cairo_int_status_t
- _cairo_image_surface_set_clip_region (cairo_image_surface_t *surface,
- pixman_region16_t *region)
- {
-- pixman_image_set_clip_region (surface->pixman_image, region);
-+ if (region) {
-+ pixman_region16_t *rcopy;
-+
-+ rcopy = pixman_region_create();
-+ /* pixman_image_set_clip_region expects to take ownership of the
-+ * passed-in region, so we create a copy to give it. */
-+ pixman_region_copy (rcopy, region);
-+ pixman_image_set_clip_region (surface->pixman_image, rcopy);
-+ } else {
-+ pixman_image_set_clip_region (surface->pixman_image, region);
-+ }
-
- return CAIRO_STATUS_SUCCESS;
- }
--- patch-graphics_cairo.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted: