Browse Source

cairo: 1.10.0-2
- add patch1 from ubuntu to fix performance regressions
- don't use serverside gradients, most drivers don't handle those and are
really slow, should workaround performances issues for ati, nouveau and nvidia
https://launchpad.net/ubuntu/maverick/+source/cairo/1.10.0-1ubuntu1



git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2052 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 14 years ago
parent
commit
f0535af450
1 changed files with 13 additions and 1 deletions
  1. 13 1
      c/cairo/cairo-vl.spec

+ 13 - 1
c/cairo/cairo-vl.spec

@@ -2,11 +2,16 @@ Summary:	Cairo - multi-platform 2D graphics library.
 Summary(ja):	Cairo - マルチプラットフォーム 2D グラフィックスライブラリ
 Name:		cairo
 Version:	1.10.0
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 License:	LGPL/MPL
 Group:		System Environment/Libraries
 Source0:	http://cairographics.org/releases/%{name}-%{version}.tar.gz
 
+# don't use serverside gradients, most drivers don't handle those and are
+# really slow, should workaround performances issues for ati, nouveau and nvidia
+# https://launchpad.net/ubuntu/maverick/+source/cairo/1.10.0-1ubuntu1
+Patch1:		cairo-1.10.0-dont_use_server_side_gradients.patch
+
 URL:		http://cairographics.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
@@ -99,6 +104,7 @@ This package contains tools for working with the cairo graphics library.
 
 %prep
 %setup -q
+%patch1 -p1 -b .dont-use-server-side-gradients
 
 %build
 %configure --enable-gtk-doc
@@ -153,6 +159,12 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Wed Oct 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10.0-2
+- add patch1 from ubuntu to fix performance regressions
+  - don't use serverside gradients, most drivers don't handle those and are
+    really slow, should workaround performances issues for ati, nouveau and nvidia
+    https://launchpad.net/ubuntu/maverick/+source/cairo/1.10.0-1ubuntu1
+
 * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
 - new upstream release
 - add tools sub package