rpms/cairo/devel cairo-1.8.6-repeat-modes.patch, NONE, 1.1 cairo.spec, 1.99, 1.100
Adam Jackson
ajax at fedoraproject.org
Wed Apr 8 21:08:24 UTC 2009
Author: ajax
Update of /cvs/pkgs/rpms/cairo/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20200
Modified Files:
cairo.spec
Added Files:
cairo-1.8.6-repeat-modes.patch
Log Message:
* Wed Apr 08 2009 Adam Jackson <ajax at redhat.com> 1.8.6-3
- cairo-1.8.6-repeat-modes.patch: Enable the repeat and pad blend modes in
the xlib backend to make firefox performance slightly less dire.
cairo-1.8.6-repeat-modes.patch:
--- NEW FILE cairo-1.8.6-repeat-modes.patch ---
diff -up cairo-1.8.6/src/cairo-xlib-surface.c.jx cairo-1.8.6/src/cairo-xlib-surface.c
--- cairo-1.8.6/src/cairo-xlib-surface.c.jx 2008-12-12 07:48:05.000000000 -0500
+++ cairo-1.8.6/src/cairo-xlib-surface.c 2009-04-08 15:06:25.000000000 -0400
@@ -1425,7 +1425,11 @@ _cairo_xlib_surface_set_attributes (cair
_cairo_xlib_surface_set_repeat (surface, RepeatNormal);
break;
case CAIRO_EXTEND_REFLECT:
+ _cairo_xlib_surface_set_repeat (surface, RepeatReflect);
+ break;
case CAIRO_EXTEND_PAD:
+ _cairo_xlib_surface_set_repeat (surface, RepeatPad);
+ break;
default:
return CAIRO_INT_STATUS_UNSUPPORTED;
}
Index: cairo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cairo/devel/cairo.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- cairo.spec 24 Feb 2009 06:25:39 -0000 1.99
+++ cairo.spec 8 Apr 2009 21:07:54 -0000 1.100
@@ -5,7 +5,7 @@
Summary: A 2D graphics library
Name: cairo
Version: 1.8.6
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://cairographics.org
Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
License: LGPLv2 or MPLv1.1
@@ -21,6 +21,8 @@
BuildRequires: freetype-devel >= %{freetype_version}
BuildRequires: fontconfig-devel >= %{fontconfig_version}
+Patch0: cairo-1.8.6-repeat-modes.patch
+
%description
Cairo is a 2D graphics library designed to provide high-quality display
and print output. Currently supported output targets include the X Window
@@ -51,6 +53,7 @@
%prep
%setup -q
+%patch0 -p1 -b .repeat-modes
%build
%configure --disable-static \
@@ -88,6 +91,10 @@
%{_datadir}/gtk-doc/html/cairo
%changelog
+* Wed Apr 08 2009 Adam Jackson <ajax at redhat.com> 1.8.6-3
+- cairo-1.8.6-repeat-modes.patch: Enable the repeat and pad blend modes in
+ the xlib backend to make firefox performance slightly less dire.
+
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list