rpms/pixman/devel stripes.patch,NONE,1.1 pixman.spec,1.19,1.20

Soren Sandmann Pedersen ssp at fedoraproject.org
Wed Sep 10 08:26:54 UTC 2008


Author: ssp

Update of /cvs/pkgs/rpms/pixman/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20405

Modified Files:
	pixman.spec 
Added Files:
	stripes.patch 
Log Message:
Fix bug causing stripes in nautilus selection rectangle

stripes.patch:

--- NEW FILE stripes.patch ---
commit 6f00d98f87c019849c611d27e9593c5eecfef4c2
Author: Søren Sandmann Pedersen <sandmann at daimi.au.dk>
Date:   Tue Sep 9 10:49:56 2008 -0400

    Fix for bug 17477.
    
    over_2x128 was changing the alphaLo and alphaHi arguments, causing
    stripes.

diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c
index 8a3e4b5..cc08189 100644
--- a/pixman/pixman-sse2.c
+++ b/pixman/pixman-sse2.c
@@ -244,9 +244,11 @@ invertColors_2x128 (__m128i dataLo, __m128i dataHi, __m128i* invLo, __m128i* inv
 static inline void
 over_2x128 (__m128i* srcLo, __m128i* srcHi, __m128i* alphaLo, __m128i* alphaHi, __m128i* dstLo, __m128i* dstHi)
 {
-    negate_2x128 (*alphaLo, *alphaHi, alphaLo, alphaHi);
+    __m128i t1, t2;
 
-    pixMultiply_2x128 (dstLo, dstHi, alphaLo, alphaHi, dstLo, dstHi);
+    negate_2x128 (*alphaLo, *alphaHi, &t1, &t2);
+
+    pixMultiply_2x128 (dstLo, dstHi, &t1, &t2, dstLo, dstHi);
 
     *dstLo = _mm_adds_epu8 (*srcLo, *dstLo);
     *dstHi = _mm_adds_epu8 (*srcHi, *dstHi);


Index: pixman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pixman/devel/pixman.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- pixman.spec	7 Sep 2008 03:02:19 -0000	1.19
+++ pixman.spec	10 Sep 2008 08:26:23 -0000	1.20
@@ -15,6 +15,7 @@
 Source0:        pixman-%{version}.tar.gz
 Source1:	make-pixman-snapshot.sh
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:		stripes.patch
 
 # BuildRequires:  automake autoconf libtool pkgconfig
 
@@ -32,6 +33,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .stripes
 
 %build
 %configure --disable-static
@@ -61,6 +63,9 @@
 %{_libdir}/pkgconfig/pixman-1.pc
 
 %changelog
+* Wed Sep 10 2008 Soren Sandmann <sandmann at redhat.com> 0.11.10-2
+- Add patch to fix stripes in the Nautilus selection retangle.
+
 * Sat Sep 6 2008 Soren Sandmann <sandmann at redhat.com> 0.11.10-1
 - Upgrade to 0.11.10. Drop altivec patch.
 




More information about the fedora-extras-commits mailing list