Hello community, here is the log from the commit of package cairo for openSUSE:11.4 checked in at Thu Mar 31 00:49:20 CEST 2011. -------- --- old-versions/11.4/all/cairo/cairo.changes 2011-02-22 15:20:01.000000000 +0100 +++ 11.4/cairo/cairo.changes 2011-03-17 18:40:28.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Mar 17 17:40:40 UTC 2011 - badshah400@gmail.com + +- Add cairo-1.10-buggy_gradients.patch to solve rendering issues + with proprietary nvidia drivers (bnc#679039) + +------------------------------------------------------------------- Package does not exist at destination yet. Using Fallback old-versions/11.4/all/cairo Destination is old-versions/11.4/UPDATES/all/cairo calling whatdependson for 11.4-i586 New: ---- cairo-1.10-buggy_gradients.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cairo.spec ++++++ --- /var/tmp/diff_new_pack.4B1tWN/_old 2011-03-31 00:48:31.000000000 +0200 +++ /var/tmp/diff_new_pack.4B1tWN/_new 2011-03-31 00:48:31.000000000 +0200 @@ -21,7 +21,7 @@ Name: cairo Version: 1.10.2 -Release: 6.<RELEASE2> +Release: 6.<RELEASE11> License: LGPLv2.1+ ; MPL .. Summary: Vector Graphics Library with Cross-Device Output Support Url: http://cairographics.org/ @@ -30,6 +30,8 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM cairo-modules-no-version.patch dimstar@opensuse.org -- Build modules with -module -avoid-version. Patch0: cairo-modules-no-version.patch +# PATCH-FIX-OPENSUSE cairo-1.10-buggy_gradients.patch badshah400@gmail.com -- Solve rendering issues with proprietary nvidia drivers (bnc#679039) +Patch1: cairo-1.10-buggy_gradients.patch # These libraries are needed only for tests. # Do not enable tests in build systems, it causes build loop! #BuildRequires: librsvg-devel poppler-devel @@ -144,6 +146,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build NOCONFIGURE=1 ./autogen.sh ++++++ cairo-1.10-buggy_gradients.patch ++++++ diff -urN cairo-1.10.2.orig/src/cairo-xlib-display.c cairo-1.10.2/src/cairo-xlib-display.c --- cairo-1.10.2.orig/src/cairo-xlib-display.c 2010-09-09 17:56:24.000000000 +0200 +++ cairo-1.10.2/src/cairo-xlib-display.c 2011-03-13 14:30:52.945068506 +0100 @@ -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; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org