cairo: added a patch to fix rendering artifacts on (at least) with nvidia blob (Ubuntu).
This commit is contained in:
parent
7bceb1d54b
commit
1159ab7b29
3 changed files with 20 additions and 7 deletions
srcpkgs/cairo
|
@ -1,19 +1,17 @@
|
||||||
# Template file for 'cairo-devel'.
|
# Template file for 'cairo-devel'.
|
||||||
#
|
#
|
||||||
short_desc="${sourcepkg} (development files)"
|
short_desc="${sourcepkg} - development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
revision=4
|
revision=5
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run zlib
|
Add_dependency run zlib
|
||||||
Add_dependency run zlib-devel
|
|
||||||
Add_dependency run cairo
|
Add_dependency run cairo
|
||||||
Add_dependency run fontconfig-devel
|
|
||||||
Add_dependency run freetype-devel
|
Add_dependency run freetype-devel
|
||||||
Add_dependency run pixman-devel
|
Add_dependency run fontconfig-devel
|
||||||
Add_dependency run glib-devel
|
Add_dependency run glib-devel
|
||||||
Add_dependency run libpng-devel
|
Add_dependency run libpng-devel
|
||||||
Add_dependency run libxcb-devel
|
Add_dependency run libxcb-devel
|
||||||
|
|
13
srcpkgs/cairo/patches/cairo-1.10.0-buggy_gradients.patch
Normal file
13
srcpkgs/cairo/patches/cairo-1.10.0-buggy_gradients.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- src/cairo-xlib-display.c.ubuntu 2010-08-04 11:57:49.000000000 +0200
|
||||||
|
+++ 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;
|
|
@ -1,14 +1,16 @@
|
||||||
# Template build file for 'cairo'.
|
# Template build file for 'cairo'.
|
||||||
pkgname=cairo
|
pkgname=cairo
|
||||||
version=1.10.2
|
version=1.10.2
|
||||||
revision=4
|
revision=5
|
||||||
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
|
homepage="http://cairographics.org"
|
||||||
|
distfiles="${homepage}/releases/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-xlib --enable-xcb --enable-xlib-xcb=no
|
configure_args="--enable-xlib --enable-xcb --enable-xlib-xcb=no
|
||||||
--enable-png --disable-directfb --enable-ft --enable-pdf --enable-tee
|
--enable-png --disable-directfb --enable-ft --enable-pdf --enable-tee
|
||||||
--enable-ps --enable-svg --disable-gcov --enable-gl --enable-xlib-xrender"
|
--enable-ps --enable-svg --disable-gcov --enable-gl --enable-xlib-xrender"
|
||||||
short_desc="Vector graphics library with cross-device output support"
|
short_desc="Vector graphics library with cross-device output support"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="LGPL-2.1, MPL-1.1"
|
||||||
checksum=32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41
|
checksum=32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41
|
||||||
long_desc="
|
long_desc="
|
||||||
Cairo is a vector graphics library with cross-device output support. Currently
|
Cairo is a vector graphics library with cross-device output support. Currently
|
||||||
|
|
Loading…
Reference in a new issue