diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-10-05 01:11:47 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-10-05 01:11:47 +0000 |
commit | 78ec0b2a73a41754c0294dd7db3152972873e741 (patch) | |
tree | 7639e8dd131596ef4bda310658ad29c929c520b1 /x11-libs | |
parent | Dont RDEPEND on audiofile if USE=noaudio #108091 by Brice Arnould. (diff) | |
download | gentoo-2-78ec0b2a73a41754c0294dd7db3152972873e741.tar.gz gentoo-2-78ec0b2a73a41754c0294dd7db3152972873e741.tar.bz2 gentoo-2-78ec0b2a73a41754c0294dd7db3152972873e741.zip |
New release: 1.0.2
(Portage version: 2.0.53_rc3)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/cairo/ChangeLog | 12 | ||||
-rw-r--r-- | x11-libs/cairo/Manifest | 11 | ||||
-rw-r--r-- | x11-libs/cairo/cairo-1.0.2.ebuild (renamed from x11-libs/cairo/cairo-1.0.0-r2.ebuild) | 25 | ||||
-rw-r--r-- | x11-libs/cairo/files/cairo-1.0.0-display_endianness.patch | 204 | ||||
-rw-r--r-- | x11-libs/cairo/files/cairo-1.0.0-omit_frame_pointer_fix.patch | 58 | ||||
-rw-r--r-- | x11-libs/cairo/files/cairo-1.0.0-tests.patch | 160 | ||||
-rw-r--r-- | x11-libs/cairo/files/cairo-1.0.2-pkg_macro.patch | 14 | ||||
-rw-r--r-- | x11-libs/cairo/files/digest-cairo-1.0.0-r2 | 1 | ||||
-rw-r--r-- | x11-libs/cairo/files/digest-cairo-1.0.2 | 1 |
9 files changed, 43 insertions, 443 deletions
diff --git a/x11-libs/cairo/ChangeLog b/x11-libs/cairo/ChangeLog index 465bb79556cc..abe2e3be17cc 100644 --- a/x11-libs/cairo/ChangeLog +++ b/x11-libs/cairo/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for x11-libs/cairo # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.46 2005/09/05 18:54:31 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.47 2005/10/05 01:11:46 leonardop Exp $ + +*cairo-1.0.2 (05 Oct 2005) + + 05 Oct 2005; Leonardo Boshell <leonardop@gentoo.org> + -files/cairo-1.0.0-display_endianness.patch, + -files/cairo-1.0.0-omit_frame_pointer_fix.patch, + -files/cairo-1.0.0-tests.patch, +files/cairo-1.0.2-pkg_macro.patch, + -cairo-1.0.0-r2.ebuild, +cairo-1.0.2.ebuild: + New version. Dropping unnecesary patches, and added a new patch to fix a + small but important bug in configure.in. 05 Sep 2005; Markus Rothe <corsair@gentoo.org> cairo-0.3.0-r2.ebuild: Stable on ppc64 diff --git a/x11-libs/cairo/Manifest b/x11-libs/cairo/Manifest index bda56ffc78a8..26b38d90b110 100644 --- a/x11-libs/cairo/Manifest +++ b/x11-libs/cairo/Manifest @@ -1,19 +1,22 @@ +MD5 97303bdbe722c6b997c4e1c78c64884d .cairo-1.0.2.ebuild.swp 12288 MD5 f91654c0d29aecaa0862e2f7c44aa1c8 ChangeLog 6982 MD5 3a4cce771cdc4714c6931467622c9ddc cairo-0.1.23-r1.ebuild 757 MD5 4db2c222787dd6470523acdfe996891e cairo-0.2.0-r1.ebuild 900 -MD5 733dbbe8cf224d65572a8b1b31d6e1d7 cairo-1.0.0-r2.ebuild 1857 MD5 61d14abb26a608160a87e8596bbb601a cairo-0.3.0-r2.ebuild 996 MD5 627da87d1d67830749f3dafde81804ca cairo-0.3.0.ebuild 843 MD5 1d2ad415e2e6db1a58640bb93b15a34f cairo-0.4.0.ebuild 994 -MD5 ea284a6e24864155e0176859cbddf1b3 metadata.xml 335 +MD5 733dbbe8cf224d65572a8b1b31d6e1d7 cairo-1.0.0-r2.ebuild 1857 +MD5 c598b0cef29f81afb14e32ff85dd99ec cairo-1.0.2.ebuild 1820 MD5 4df3bcd9171f83ca24b03ab0f8eefb24 files/cairo-0.3.0-header-fix.diff 697 MD5 1ecec7f667ad4b91d876db0efdf4a261 files/cairo-0.4.0-makefile.patch 1553 MD5 8d14c810af91228a252e7b845efb3353 files/cairo-1.0.0-display_endianness.patch 5142 +MD5 b5edc8c1ed78cd07fdeef82c1933b436 files/cairo-1.0.0-omit_frame_pointer_fix.patch 2064 +MD5 cb629cb476b36f504e626e651adad5c2 files/cairo-1.0.0-tests.patch 6148 MD5 8045b9ac7481eb952f3c2fdfda944c65 files/digest-cairo-0.1.23-r1 64 MD5 ee0e0ddbf61c280106ae3683503054a8 files/digest-cairo-0.2.0-r1 63 MD5 2a0e4de10c4b8aacdb9b5991825b30d5 files/digest-cairo-0.3.0 63 -MD5 cb629cb476b36f504e626e651adad5c2 files/cairo-1.0.0-tests.patch 6148 MD5 2a0e4de10c4b8aacdb9b5991825b30d5 files/digest-cairo-0.3.0-r2 63 MD5 f84da26023eb9d5a29079fbccc555523 files/digest-cairo-0.4.0 63 -MD5 b5edc8c1ed78cd07fdeef82c1933b436 files/cairo-1.0.0-omit_frame_pointer_fix.patch 2064 MD5 2d06b8355150f68fc54350a976a5e668 files/digest-cairo-1.0.0-r2 64 +MD5 ce0ff23d9d7dc27eafe29f87bd52524e files/digest-cairo-1.0.2 64 +MD5 ea284a6e24864155e0176859cbddf1b3 metadata.xml 335 diff --git a/x11-libs/cairo/cairo-1.0.0-r2.ebuild b/x11-libs/cairo/cairo-1.0.2.ebuild index 84fb92c2dab6..282e09d07c09 100644 --- a/x11-libs/cairo/cairo-1.0.0-r2.ebuild +++ b/x11-libs/cairo/cairo-1.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.0.0-r2.ebuild,v 1.1 2005/09/02 15:58:45 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.0.2.ebuild,v 1.1 2005/10/05 01:11:47 leonardop Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://cairographics.org/releases/${P}.tar.gz" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="doc glitz png static X" +IUSE="doc glitz png X" RDEPEND="media-libs/fontconfig >=media-libs/freetype-2.1 @@ -38,24 +38,19 @@ src_unpack() { unpack "${A}" cd "${S}" - # Fix segmentation fault when compiling with -fomit-frame-pointer. - # See bug #104265. - epatch ${FILESDIR}/${P}-omit_frame_pointer_fix.patch + # Call PKG_PROG_PKG_CONFIG to fix other standard pkg-config calls + epatch ${FILESDIR}/${P}-pkg_macro.patch - # Upstream patch to correctly handle displays which don't match the local - # endianness. https://bugs.freedesktop.org/show_bug.cgi?id=4321 - epatch ${FILESDIR}/${P}-display_endianness.patch - - # Fix some tests that were failing on amd64. - # https://bugs.freedesktop.org/show_bug.cgi?id=4245 - epatch ${FILESDIR}/${P}-tests.patch + cp aclocal.m4 old_macros.m4 + aclocal -I . || die "aclocal failed" + autoconf || die "autoconf failed" } + src_compile() { - local myconf="$(use_enable X xlib) \ - $(use_with X x) \ + local myconf="$(use_with X x) \ + $(use_enable X xlib) \ $(use_enable png) \ - $(use_enable static) \ $(use_enable doc gtk-doc) \ $(use_enable glitz)" diff --git a/x11-libs/cairo/files/cairo-1.0.0-display_endianness.patch b/x11-libs/cairo/files/cairo-1.0.0-display_endianness.patch deleted file mode 100644 index e5e16f370406..000000000000 --- a/x11-libs/cairo/files/cairo-1.0.0-display_endianness.patch +++ /dev/null @@ -1,204 +0,0 @@ -diff -NurdB cairo-1.0.0/src/cairo-xlib-surface.c cairo-1.0.0-patched/src/cairo-xlib-surface.c ---- cairo-1.0.0/src/cairo-xlib-surface.c 2005-08-24 00:42:19.000000000 -0500 -+++ cairo-1.0.0-patched/src/cairo-xlib-surface.c 2005-09-02 10:12:59.000000000 -0500 -@@ -60,6 +60,9 @@ - static cairo_bool_t - _cairo_surface_is_xlib (cairo_surface_t *surface); - -+static cairo_bool_t -+_native_byte_order_lsb (void); -+ - /* - * Instead of taking two round trips for each blending request, - * assume that if a particular drawable fails GetImage that it will -@@ -302,6 +305,116 @@ - return False; - } - -+static void -+_swap_ximage_2bytes (XImage *ximage) -+{ -+ int i, j; -+ char *line = ximage->data; -+ -+ for (j = ximage->height; j; j--) { -+ uint16_t *p = (uint16_t *)line; -+ for (i = ximage->width; i; i--) { -+ *p = (((*p & 0x00ff) << 8) | -+ ((*p) >> 8)); -+ p++; -+ } -+ -+ line += ximage->bytes_per_line; -+ } -+} -+ -+static void -+_swap_ximage_4bytes (XImage *ximage) -+{ -+ int i, j; -+ char *line = ximage->data; -+ -+ for (j = ximage->height; j; j--) { -+ uint32_t *p = (uint32_t *)line; -+ for (i = ximage->width; i; i--) { -+ *p = (((*p & 0x000000ff) << 24) | -+ ((*p & 0x0000ff00) << 8) | -+ ((*p & 0x00ff0000) >> 8) | -+ ((*p) >> 24)); -+ p++; -+ } -+ -+ line += ximage->bytes_per_line; -+ } -+} -+ -+static void -+_swap_ximage_bits (XImage *ximage) -+{ -+ int i, j; -+ char *line = ximage->data; -+ int unit = ximage->bitmap_unit; -+ int line_bytes = ((ximage->width + unit - 1) & ~(unit - 1)) / 8; -+ -+ for (j = ximage->height; j; j--) { -+ char *p = line; -+ -+ for (i = line_bytes; i; i--) { -+ char b = *p; -+ b = ((b << 1) & 0xaa) | ((b >> 1) & 0x55); -+ b = ((b << 2) & 0xcc) | ((b >> 2) & 0x33); -+ b = ((b << 4) & 0xf0) | ((b >> 4) & 0x0f); -+ *p = b; -+ -+ p++; -+ } -+ -+ line += ximage->bytes_per_line; -+ } -+} -+ -+static void -+_swap_ximage_to_native (XImage *ximage) -+{ -+ int unit_bytes = 0; -+ int native_byte_order = _native_byte_order_lsb () ? LSBFirst : MSBFirst; -+ -+ if (ximage->bits_per_pixel == 1 && -+ ximage->bitmap_bit_order != native_byte_order) { -+ _swap_ximage_bits (ximage); -+ if (ximage->bitmap_bit_order == ximage->byte_order) -+ return; -+ } -+ -+ if (ximage->byte_order == native_byte_order) -+ return; -+ -+ switch (ximage->bits_per_pixel) { -+ case 1: -+ unit_bytes = ximage->bitmap_unit / 8; -+ break; -+ case 8: -+ case 16: -+ case 32: -+ unit_bytes = ximage->bits_per_pixel / 8; -+ break; -+ default: -+ /* This could be hit on some uncommon but possible cases, -+ * such as bpp=4. These are cases that libpixman can't deal -+ * with in any case. -+ */ -+ ASSERT_NOT_REACHED; -+ } -+ -+ switch (unit_bytes) { -+ case 1: -+ return; -+ case 2: -+ _swap_ximage_2bytes (ximage); -+ break; -+ case 4: -+ _swap_ximage_4bytes (ximage); -+ break; -+ default: -+ ASSERT_NOT_REACHED; -+ } -+} -+ - static cairo_status_t - _get_image_surface (cairo_xlib_surface_t *surface, - cairo_rectangle_t *interest_rect, -@@ -405,6 +518,8 @@ - } - if (!ximage) - return CAIRO_STATUS_NO_MEMORY; -+ -+ _swap_ximage_to_native (ximage); - - /* - * Compute the pixel format masks from either a visual or a -@@ -545,40 +660,35 @@ - int dst_x, - int dst_y) - { -- XImage *ximage; -- unsigned bitmap_pad; -- -- /* XXX this is wrong */ -- if (image->depth > 16) -- bitmap_pad = 32; -- else if (image->depth > 8) -- bitmap_pad = 16; -- else -- bitmap_pad = 8; -- -- ximage = XCreateImage (surface->dpy, -- DefaultVisual(surface->dpy, DefaultScreen(surface->dpy)), -- image->depth, -- ZPixmap, -- 0, -- (char *) image->data, -- image->width, -- image->height, -- bitmap_pad, -- image->stride); -- if (ximage == NULL) -- return CAIRO_STATUS_NO_MEMORY; -+ XImage ximage; -+ int bpp, alpha, red, green, blue; -+ int native_byte_order = _native_byte_order_lsb () ? LSBFirst : MSBFirst; -+ -+ pixman_format_get_masks (pixman_image_get_format (image->pixman_image), -+ &bpp, &alpha, &red, &green, &blue); -+ -+ ximage.width = image->width; -+ ximage.height = image->height; -+ ximage.format = ZPixmap; -+ ximage.data = (char *)image->data; -+ ximage.byte_order = native_byte_order; -+ ximage.bitmap_unit = 32; /* always for libpixman */ -+ ximage.bitmap_bit_order = native_byte_order; -+ ximage.bitmap_pad = 32; /* always for libpixman */ -+ ximage.depth = image->depth; -+ ximage.bytes_per_line = image->stride; -+ ximage.bits_per_pixel = bpp; -+ ximage.red_mask = red; -+ ximage.green_mask = green; -+ ximage.blue_mask = blue; - -+ XInitImage (&ximage); -+ - _cairo_xlib_surface_ensure_gc (surface); - XPutImage(surface->dpy, surface->drawable, surface->gc, -- ximage, 0, 0, dst_x, dst_y, -+ &ximage, 0, 0, dst_x, dst_y, - image->width, image->height); - -- /* Foolish XDestroyImage thinks it can free my data, but I won't -- stand for it. */ -- ximage->data = NULL; -- XDestroyImage (ximage); -- - return CAIRO_STATUS_SUCCESS; - - } diff --git a/x11-libs/cairo/files/cairo-1.0.0-omit_frame_pointer_fix.patch b/x11-libs/cairo/files/cairo-1.0.0-omit_frame_pointer_fix.patch deleted file mode 100644 index 8b30a96d599c..000000000000 --- a/x11-libs/cairo/files/cairo-1.0.0-omit_frame_pointer_fix.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -NurdB cairo-1.0.0/pixman/src/fbmmx.c cairo-1.0.0-patched/pixman/src/fbmmx.c ---- cairo-1.0.0/pixman/src/fbmmx.c 2005-08-18 23:40:01.000000000 -0500 -+++ cairo-1.0.0-patched/pixman/src/fbmmx.c 2005-08-30 10:39:33.000000000 -0500 -@@ -2488,28 +2488,38 @@ - vendor[0] = 0; - vendor[12] = 0; - /* see p. 118 of amd64 instruction set manual Vol3 */ -- __asm__ ("push %%ebx\n" -- "pushf\n" -+ /* We need to be careful about the handling of %ebx and -+ * %esp here. We can't declare either one as clobbered -+ * since they are special registers (%ebx is the "PIC -+ * register" holding an offset to global data, %esp the -+ * stack pointer), so we need to make sure they have their -+ * original values when we access the output operands. -+ */ -+ __asm__ ("pushf\n" - "pop %%eax\n" -- "mov %%eax, %%ebx\n" -+ "mov %%eax, %%ecx\n" - "xor $0x00200000, %%eax\n" - "push %%eax\n" - "popf\n" - "pushf\n" - "pop %%eax\n" - "mov $0x0, %%edx\n" -- "xor %%ebx, %%eax\n" -+ "xor %%ecx, %%eax\n" - "jz skip\n" - - "mov $0x00000000, %%eax\n" -+ "push %%ebx\n" - "cpuid\n" -- "mov %%ebx, %1\n" -+ "mov %%ebx, %%eax\n" -+ "pop %%ebx\n" -+ "mov %%eax, %1\n" - "mov %%edx, %2\n" - "mov %%ecx, %3\n" - "mov $0x00000001, %%eax\n" -+ "push %%ebx\n" - "cpuid\n" -+ "pop %%ebx\n" - "skip:\n" -- "pop %%ebx\n" - "mov %%edx, %0\n" - : "=r" (result), - "=m" (vendor[0]), -@@ -2543,8 +2553,8 @@ - "mov $0x80000001, %%eax\n" - "cpuid\n" - "skip2:\n" -- "mov %%edx, %0\n" - "pop %%ebx\n" -+ "mov %%edx, %0\n" - : "=r" (result) - : - : "%eax", "%ecx", "%edx" diff --git a/x11-libs/cairo/files/cairo-1.0.0-tests.patch b/x11-libs/cairo/files/cairo-1.0.0-tests.patch deleted file mode 100644 index cc2edc8feb3d..000000000000 --- a/x11-libs/cairo/files/cairo-1.0.0-tests.patch +++ /dev/null @@ -1,160 +0,0 @@ -diff -NurdB cairo-1.0.0/test/cairo-test.c cairo-1.0.0-patched/test/cairo-test.c ---- cairo-1.0.0/test/cairo-test.c 2005-08-23 16:01:54.000000000 -0500 -+++ cairo-1.0.0-patched/test/cairo-test.c 2005-09-02 10:18:45.000000000 -0500 -@@ -382,6 +382,8 @@ - return NULL; - } - -+ XSynchronize (xtc->dpy, 1); -+ - /* XXX: Currently we don't do any xlib testing when the X server - * doesn't have the Render extension. We could do better here, - * (perhaps by converting the tests from ARGB32 to RGB24). One -diff -NurdB cairo-1.0.0/test/cairo-test.h cairo-1.0.0-patched/test/cairo-test.h ---- cairo-1.0.0/test/cairo-test.h 2005-08-04 14:28:52.000000000 -0500 -+++ cairo-1.0.0-patched/test/cairo-test.h 2005-09-02 10:20:06.000000000 -0500 -@@ -26,10 +26,36 @@ - #ifndef _CAIRO_TEST_H_ - #define _CAIRO_TEST_H_ - -+#if HAVE_CONFIG_H -+#include "config.h" -+#endif -+ - #include <math.h> - #include <cairo.h> - #include <cairo-debug.h> - -+#if HAVE_STDINT_H -+# include <stdint.h> -+#elif HAVE_INTTYPES_H -+# include <inttypes.h> -+#elif HAVE_SYS_INT_TYPES_H -+# include <sys/int_types.h> -+#elif defined(_MSC_VER) -+typedef __int8 int8_t; -+typedef unsigned __int8 uint8_t; -+typedef __int16 int16_t; -+typedef unsigned __int16 uint16_t; -+typedef __int32 int32_t; -+typedef unsigned __int32 uint32_t; -+typedef __int64 int64_t; -+typedef unsigned __int64 uint64_t; -+# ifndef HAVE_UINT64_T -+# define HAVE_UINT64_T 1 -+# endif -+#else -+#error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, \etc.) -+#endif -+ - typedef enum cairo_test_status { - CAIRO_TEST_SUCCESS = 0, - CAIRO_TEST_FAILURE, -diff -NurdB cairo-1.0.0/test/filter-nearest-offset.c cairo-1.0.0-patched/test/filter-nearest-offset.c ---- cairo-1.0.0/test/filter-nearest-offset.c 2005-08-17 11:49:22.000000000 -0500 -+++ cairo-1.0.0-patched/test/filter-nearest-offset.c 2005-09-02 10:20:37.000000000 -0500 -@@ -44,7 +44,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *surface; -- unsigned long data[STAMP_WIDTH * STAMP_HEIGHT] = { -+ uint32_t data[STAMP_WIDTH * STAMP_HEIGHT] = { - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - -diff -NurdB cairo-1.0.0/test/mask-ctm.c cairo-1.0.0-patched/test/mask-ctm.c ---- cairo-1.0.0/test/mask-ctm.c 2005-07-28 17:55:01.000000000 -0500 -+++ cairo-1.0.0-patched/test/mask-ctm.c 2005-09-02 10:21:12.000000000 -0500 -@@ -36,7 +36,7 @@ - { - cairo_surface_t *mask_surface; - cairo_pattern_t *mask; -- unsigned long data[] = { -+ uint32_t data[] = { - 0x80000000, 0x80000000, - 0x80000000, 0x80000000, - }; -diff -NurdB cairo-1.0.0/test/mask-surface-ctm.c cairo-1.0.0-patched/test/mask-surface-ctm.c ---- cairo-1.0.0/test/mask-surface-ctm.c 2005-07-28 17:55:01.000000000 -0500 -+++ cairo-1.0.0-patched/test/mask-surface-ctm.c 2005-09-02 10:21:50.000000000 -0500 -@@ -35,7 +35,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *mask; -- unsigned long data[] = { -+ uint32_t data[] = { - 0x80000000, 0x80000000, - 0x80000000, 0x80000000, - }; -diff -NurdB cairo-1.0.0/test/move-to-show-surface.c cairo-1.0.0-patched/test/move-to-show-surface.c ---- cairo-1.0.0/test/move-to-show-surface.c 2005-05-06 23:55:34.000000000 -0500 -+++ cairo-1.0.0-patched/test/move-to-show-surface.c 2005-09-02 10:22:26.000000000 -0500 -@@ -55,7 +55,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *surface; -- unsigned long colors[4] = { -+ uint32_t colors[4] = { - 0xffffffff, 0xffff0000, - 0xff00ff00, 0xff0000ff - }; -diff -NurdB cairo-1.0.0/test/paint-with-alpha.c cairo-1.0.0-patched/test/paint-with-alpha.c ---- cairo-1.0.0/test/paint-with-alpha.c 2005-05-12 12:35:02.000000000 -0500 -+++ cairo-1.0.0-patched/test/paint-with-alpha.c 2005-09-02 10:22:55.000000000 -0500 -@@ -35,7 +35,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *surface; -- unsigned long data[16] = { -+ uint32_t data[16] = { - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - -diff -NurdB cairo-1.0.0/test/scale-source-surface-paint.c cairo-1.0.0-patched/test/scale-source-surface-paint.c ---- cairo-1.0.0/test/scale-source-surface-paint.c 2005-05-06 23:55:35.000000000 -0500 -+++ cairo-1.0.0-patched/test/scale-source-surface-paint.c 2005-09-02 10:23:25.000000000 -0500 -@@ -35,7 +35,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *surface; -- unsigned long data[16] = { -+ uint32_t data[16] = { - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - -diff -NurdB cairo-1.0.0/test/set-source.c cairo-1.0.0-patched/test/set-source.c ---- cairo-1.0.0/test/set-source.c 2005-05-06 23:55:35.000000000 -0500 -+++ cairo-1.0.0-patched/test/set-source.c 2005-09-02 10:23:59.000000000 -0500 -@@ -37,7 +37,7 @@ - int i; - /* This color value might need to change in the future when we fix - * the rounding in cairo-color.c */ -- unsigned long color = 0x7f19334C; -+ uint32_t color = 0x7f19334C; - cairo_surface_t *surface; - cairo_pattern_t *pattern; - -diff -NurdB cairo-1.0.0/test/source-surface-scale-paint.c cairo-1.0.0-patched/test/source-surface-scale-paint.c ---- cairo-1.0.0/test/source-surface-scale-paint.c 2005-08-04 14:28:52.000000000 -0500 -+++ cairo-1.0.0-patched/test/source-surface-scale-paint.c 2005-09-02 10:24:35.000000000 -0500 -@@ -35,7 +35,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *surface; -- unsigned long data[16] = { -+ uint32_t data[16] = { - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, - -diff -NurdB cairo-1.0.0/test/translate-show-surface.c cairo-1.0.0-patched/test/translate-show-surface.c ---- cairo-1.0.0/test/translate-show-surface.c 2005-05-06 23:55:35.000000000 -0500 -+++ cairo-1.0.0-patched/test/translate-show-surface.c 2005-09-02 10:24:59.000000000 -0500 -@@ -53,7 +53,7 @@ - draw (cairo_t *cr, int width, int height) - { - cairo_surface_t *surface; -- unsigned long colors[4] = { -+ uint32_t colors[4] = { - 0xffffffff, 0xffff0000, - 0xff00ff00, 0xff0000ff - }; diff --git a/x11-libs/cairo/files/cairo-1.0.2-pkg_macro.patch b/x11-libs/cairo/files/cairo-1.0.2-pkg_macro.patch new file mode 100644 index 000000000000..e983054d1112 --- /dev/null +++ b/x11-libs/cairo/files/cairo-1.0.2-pkg_macro.patch @@ -0,0 +1,14 @@ +diff -NurdB cairo-1.0.2/configure.in cairo-1.0.2-patched/configure.in +--- cairo-1.0.2/configure.in 2005-10-04 18:56:21.000000000 -0500 ++++ cairo-1.0.2-patched/configure.in 2005-10-04 19:28:12.000000000 -0500 +@@ -83,6 +83,10 @@ + + dnl =========================================================================== + ++PKG_PROG_PKG_CONFIG ++ ++dnl =========================================================================== ++ + AC_ARG_ENABLE(xlib, + [ --disable-xlib Disable cairo's Xlib backend], + [use_xlib=$enableval], [use_xlib=yes]) diff --git a/x11-libs/cairo/files/digest-cairo-1.0.0-r2 b/x11-libs/cairo/files/digest-cairo-1.0.0-r2 deleted file mode 100644 index 8a58e3251d18..000000000000 --- a/x11-libs/cairo/files/digest-cairo-1.0.0-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 f0ff35c91983b7bf226154e68b280be3 cairo-1.0.0.tar.gz 1439299 diff --git a/x11-libs/cairo/files/digest-cairo-1.0.2 b/x11-libs/cairo/files/digest-cairo-1.0.2 new file mode 100644 index 000000000000..f9d5bacc476d --- /dev/null +++ b/x11-libs/cairo/files/digest-cairo-1.0.2 @@ -0,0 +1 @@ +MD5 d0b7111a14f90ec3afa777ec40c44984 cairo-1.0.2.tar.gz 1458903 |