[arch-commits] Commit in cairo/repos (6 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Mar 31 05:15:49 EDT 2012


    Date: Saturday, March 31, 2012 @ 05:15:49
  Author: andyrtr
Revision: 154931

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cairo/repos/testing-i686/
  cairo/repos/testing-i686/PKGBUILD
    (from rev 154930, cairo/trunk/PKGBUILD)
  cairo/repos/testing-i686/cairo-1.10.0-buggy_gradients.patch
    (from rev 154930, cairo/trunk/cairo-1.10.0-buggy_gradients.patch)
  cairo/repos/testing-x86_64/
  cairo/repos/testing-x86_64/PKGBUILD
    (from rev 154930, cairo/trunk/PKGBUILD)
  cairo/repos/testing-x86_64/cairo-1.10.0-buggy_gradients.patch
    (from rev 154930, cairo/trunk/cairo-1.10.0-buggy_gradients.patch)

---------------------------------------------------+
 testing-i686/PKGBUILD                             |   45 ++++++++++++++++++++
 testing-i686/cairo-1.10.0-buggy_gradients.patch   |   13 +++++
 testing-x86_64/PKGBUILD                           |   45 ++++++++++++++++++++
 testing-x86_64/cairo-1.10.0-buggy_gradients.patch |   13 +++++
 4 files changed, 116 insertions(+)

Copied: cairo/repos/testing-i686/PKGBUILD (from rev 154930, cairo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-31 09:15:49 UTC (rev 154931)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Brice Carpentier <brice at daknet.org>
+
+pkgname=cairo
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="Cairo vector graphics library"
+arch=(i686 x86_64)
+license=('LGPL' 'MPL')
+url="http://cairographics.org/"
+depends=('libpng' 'libxrender' 'fontconfig' 'pixman' 'glib2' 'sh')
+makedepends=('librsvg' 'poppler-glib' 'libspectre') # 'libdrm')
+optdepends=('xcb-util: for XCB backend') # really needed?
+provides=('cairo-xcb')
+replaces=('cairo-xcb')
+options=('!libtool')
+source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.gz
+        cairo-1.10.0-buggy_gradients.patch)
+md5sums=('e6c85575ba7094f88b637bdfd835a751'
+         '9b323790dab003e228c6955633cb888e')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--localstatedir=/var \
+	--disable-static \
+	--enable-tee \
+	--enable-xlib-xcb \
+	# --enable-test-surfaces \ takes ages
+	#--enable-drm # breaks build
+  make
+}
+
+#check() {
+#  cd "$srcdir/$pkgname-$pkgver"
+#  make check || /bin/true # 248 Passed, 65 Failed [2 crashed, 8 expected], 28 Skipped
+#}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: cairo/repos/testing-i686/cairo-1.10.0-buggy_gradients.patch (from rev 154930, cairo/trunk/cairo-1.10.0-buggy_gradients.patch)
===================================================================
--- testing-i686/cairo-1.10.0-buggy_gradients.patch	                        (rev 0)
+++ testing-i686/cairo-1.10.0-buggy_gradients.patch	2012-03-31 09:15:49 UTC (rev 154931)
@@ -0,0 +1,13 @@
+--- a/src/cairo-xlib-display.c.ubuntu	2010-08-04 11:57:49.000000000 +0200
++++ b/src/cairo-xlib-display.c	2010-08-04 11:58:28.000000000 +0200
+@@ -353,11 +353,7 @@
+     /* Prior to Render 0.10, there is no protocol support for gradients and
+      * we call function stubs instead, which would silently consume the drawing.
+      */
+-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
+     display->buggy_gradients = TRUE;
+-#else
+-    display->buggy_gradients = FALSE;
+-#endif
+     display->buggy_pad_reflect = FALSE;
+     display->buggy_repeat = FALSE;

Copied: cairo/repos/testing-x86_64/PKGBUILD (from rev 154930, cairo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-03-31 09:15:49 UTC (rev 154931)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Brice Carpentier <brice at daknet.org>
+
+pkgname=cairo
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="Cairo vector graphics library"
+arch=(i686 x86_64)
+license=('LGPL' 'MPL')
+url="http://cairographics.org/"
+depends=('libpng' 'libxrender' 'fontconfig' 'pixman' 'glib2' 'sh')
+makedepends=('librsvg' 'poppler-glib' 'libspectre') # 'libdrm')
+optdepends=('xcb-util: for XCB backend') # really needed?
+provides=('cairo-xcb')
+replaces=('cairo-xcb')
+options=('!libtool')
+source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.gz
+        cairo-1.10.0-buggy_gradients.patch)
+md5sums=('e6c85575ba7094f88b637bdfd835a751'
+         '9b323790dab003e228c6955633cb888e')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--localstatedir=/var \
+	--disable-static \
+	--enable-tee \
+	--enable-xlib-xcb \
+	# --enable-test-surfaces \ takes ages
+	#--enable-drm # breaks build
+  make
+}
+
+#check() {
+#  cd "$srcdir/$pkgname-$pkgver"
+#  make check || /bin/true # 248 Passed, 65 Failed [2 crashed, 8 expected], 28 Skipped
+#}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: cairo/repos/testing-x86_64/cairo-1.10.0-buggy_gradients.patch (from rev 154930, cairo/trunk/cairo-1.10.0-buggy_gradients.patch)
===================================================================
--- testing-x86_64/cairo-1.10.0-buggy_gradients.patch	                        (rev 0)
+++ testing-x86_64/cairo-1.10.0-buggy_gradients.patch	2012-03-31 09:15:49 UTC (rev 154931)
@@ -0,0 +1,13 @@
+--- a/src/cairo-xlib-display.c.ubuntu	2010-08-04 11:57:49.000000000 +0200
++++ b/src/cairo-xlib-display.c	2010-08-04 11:58:28.000000000 +0200
+@@ -353,11 +353,7 @@
+     /* Prior to Render 0.10, there is no protocol support for gradients and
+      * we call function stubs instead, which would silently consume the drawing.
+      */
+-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
+     display->buggy_gradients = TRUE;
+-#else
+-    display->buggy_gradients = FALSE;
+-#endif
+     display->buggy_pad_reflect = FALSE;
+     display->buggy_repeat = FALSE;



More information about the arch-commits mailing list