rpms/kdelibs/devel kdelibs-4.1.1-kde#157789.patch, 1.1, 1.2 kdelibs.spec, 1.379, 1.380
Kevin Kofler
kkofler at fedoraproject.org
Fri Sep 19 00:42:56 UTC 2008
Author: kkofler
Update of /cvs/pkgs/rpms/kdelibs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25447/devel
Modified Files:
kdelibs-4.1.1-kde#157789.patch kdelibs.spec
Log Message:
Improved kde#157789 patch as per upstream feedback, move to "upstream patches" as it got essentially approved.
kdelibs-4.1.1-kde#157789.patch:
Index: kdelibs-4.1.1-kde#157789.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs-4.1.1-kde#157789.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- kdelibs-4.1.1-kde#157789.patch 19 Sep 2008 00:00:20 -0000 1.1
+++ kdelibs-4.1.1-kde#157789.patch 19 Sep 2008 00:42:56 -0000 1.2
@@ -78,7 +78,7 @@
diff -ur kdelibs-4.1.1/khtml/imload/image.cpp kdelibs-4.1.1-kde#157789/khtml/imload/image.cpp
--- kdelibs-4.1.1/khtml/imload/image.cpp 2008-05-21 13:06:09.000000000 +0200
-+++ kdelibs-4.1.1-kde#157789/khtml/imload/image.cpp 2008-09-19 01:12:02.000000000 +0200
++++ kdelibs-4.1.1-kde#157789/khtml/imload/image.cpp 2008-09-19 02:20:03.000000000 +0200
@@ -48,6 +48,7 @@
inError = false;
@@ -87,20 +87,17 @@
noUpdates();
}
-@@ -214,6 +215,12 @@
+@@ -214,6 +215,9 @@
}
else
{
-+ for (PixmapPlane* cur = original; cur; cur = cur->nextFrame)
-+ {
-+ if (cur->animProvider)
-+ cur->animProvider->setShowAnimations(animationAdvice);
-+ }
++ if (original && original->animProvider)
++ original->animProvider->setShowAnimations(animationAdvice);
+
fullyDecoded = true;
owner->imageDone(this);
}
-@@ -452,6 +459,19 @@
+@@ -452,6 +456,16 @@
return original->parent->format.hasAlpha();
}
@@ -109,11 +106,8 @@
+ if (animationAdvice != newAdvice)
+ {
+ animationAdvice = newAdvice;
-+ for (PixmapPlane* cur = original; cur; cur = cur->nextFrame)
-+ {
-+ if (cur->animProvider)
-+ cur->animProvider->setShowAnimations(newAdvice);
-+ }
++ if (original && original->animProvider)
++ original->animProvider->setShowAnimations(newAdvice);
+ }
+}
+
@@ -197,3 +191,14 @@
}
// void CachedImage::deleteMovie()
+diff -ur kdelibs-4.1.1/khtml/misc/loader.h kdelibs-4.1.1-kde#157789/khtml/misc/loader.h
+--- kdelibs-4.1.1/khtml/misc/loader.h 2008-05-21 13:05:54.000000000 +0200
++++ kdelibs-4.1.1-kde#157789/khtml/misc/loader.h 2008-09-19 02:15:41.000000000 +0200
+@@ -363,7 +363,6 @@
+ bool typeChecked : 1;
+ bool isFullyTransparent : 1;
+ bool monochrome : 1;
+- KHTMLSettings::KAnimationAdvice m_showAnimations : 2;
+
+ friend class Cache;
+ friend class ::KHTMLPart;
Index: kdelibs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.379
retrieving revision 1.380
diff -u -r1.379 -r1.380
--- kdelibs.spec 19 Sep 2008 00:00:20 -0000 1.379
+++ kdelibs.spec 19 Sep 2008 00:42:56 -0000 1.380
@@ -78,10 +78,6 @@
# fix running commands in kglobalconfig before KComponentData init (#455130)
Patch19: kdelibs-4.1.0-#455130.patch
Patch20: kdelibs-4.1.1-cmake.patch
-# make "Stop Animations" work again in Konqueror
-# https://bugs.kde.org/show_bug.cgi?id=157789
-# submitted upstream (attached to above bug report)
-Patch21: kdelibs-4.1.1-kde#157789.patch
## upstream patches
Patch100: kdelibs-4.1.1-kde#169447-khtml-regression.patch
@@ -93,6 +89,10 @@
Patch106: kdelibs-4.1.1-kde#860095-khtml-scroll-crash.patch
Patch107: kdelibs-4.1.1-kde#860005-emoticons.patch
Patch108: kdelibs-4.1.1-kdelibs-4.1.1-kde#170461-khtml-regression.patch
+# make "Stop Animations" work again in Konqueror
+# https://bugs.kde.org/show_bug.cgi?id=157789
+# submitted upstream (attached to above bug report)
+Patch109: kdelibs-4.1.1-kde#157789.patch
BuildRequires: qt4-devel >= 4.4.0
Requires: qt4 >= %{_qt4_version}
@@ -217,7 +217,6 @@
%patch18 -p1 -b .kstandarddirs
%patch19 -p1 -b .#455130
%patch20 -p1 -b .cmake
-%patch21 -p1 -b .kde#157789
## upstream patches
%patch100 -p0 -b .kde#169447-khtml-regression
@@ -229,6 +228,7 @@
%patch106 -p0 -b .kde#860095-khtml-scroll-crash
%patch107 -p0 -b .kde#860005-emoticons
%patch108 -p0 -b .kde#170461-khtml-regression
+%patch109 -p1 -b .kde#157789
%build
@@ -389,7 +389,7 @@
%changelog
-* Thu Sep 18 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.1.1-12
+* Fri Sep 19 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.1.1-12
- make "Stop Animations" work again in Konqueror (KDE 4 regression kde#157789)
* Thu Sep 18 2008 Than Ngo <than at redhat.com> 4.1.1-11
More information about the fedora-extras-commits
mailing list