- 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.
This commit is contained in:
parent
28e6f5d278
commit
fd0b3dc490
15
cairo-1.8.6-repeat-modes.patch
Normal file
15
cairo-1.8.6-repeat-modes.patch
Normal file
@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
@ -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: pixman-devel >= %{pixman_version}
|
||||
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 @@ needed for developing software which uses the cairo graphics library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .repeat-modes
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
@ -88,6 +91,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/gtk-doc/html/cairo
|
||||
|
||||
%changelog
|
||||
* Wed Apr 08 2009 Adam Jackson <ajax@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@lists.fedoraproject.org> - 1.8.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user