rpms/qt4/F-7 qt-x11-opensource-src-4.3.2-rh#334281.patch, NONE, 1.1 qt4.spec, 1.51, 1.52

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Sun Oct 21 18:12:01 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/qt4/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26427

Modified Files:
	qt4.spec 
Added Files:
	qt-x11-opensource-src-4.3.2-rh#334281.patch 
Log Message:
* Fri Oct 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 4.3.2-4
- slowdown with 4.3.2 (#334281)

* Tue Oct 16 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 4.3.2-2
- create/own %%_qt4_plugindir/styles


qt-x11-opensource-src-4.3.2-rh#334281.patch:

--- NEW FILE qt-x11-opensource-src-4.3.2-rh#334281.patch ---
diff -up qt-x11-opensource-src-4.3.2/src/gui/itemviews/qtreeview.cpp.slow qt-x11-opensource-src-4.3.2/src/gui/itemviews/qtreeview.cpp
--- qt-x11-opensource-src-4.3.2/src/gui/itemviews/qtreeview.cpp.slow	2007-10-01 08:06:11.000000000 -0500
+++ qt-x11-opensource-src-4.3.2/src/gui/itemviews/qtreeview.cpp	2007-10-19 14:20:28.000000000 -0500
@@ -542,7 +542,6 @@ void QTreeView::setRowHidden(int row, co
     if (!index.isValid())
         return;
 
-    d->executePostedLayout();
     if (hide) {
         QPersistentModelIndex persistent(index);
         if (!d->hiddenIndexes.contains(persistent))
@@ -571,6 +570,7 @@ void QTreeView::setRowHidden(int row, co
                     i += count;
                 }
             }
+            d->executePostedLayout();
             updateGeometries();
             d->viewport->update();
         } else {


Index: qt4.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qt4/F-7/qt4.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- qt4.spec	4 Oct 2007 19:24:35 -0000	1.51
+++ qt4.spec	21 Oct 2007 18:11:27 -0000	1.52
@@ -4,7 +4,7 @@
 Summary: Qt toolkit
 Name:	 qt4
 Version: 4.3.2
-Release: 1%{?dist}
+Release: 4%{?dist}
 
 # GPLv2+exceptions(see GPL_EXCEPTIONS*.txt)
 License: GPLv2
@@ -29,6 +29,8 @@
 Patch1: qt-x11-opensource-src-4.3.0-qassistant-qt4.patch
 # multilib hacks 
 Patch2: qt-x11-opensource-src-4.2.2-multilib.patch
+# Slowdown with 4.3.2 (http://bugzilla.redhat.com/334281)
+Patch3: qt-x11-opensource-src-4.3.2-rh#334281.patch
 ## qt-copy patches
 
 Source10: qt4-wrapper.sh
@@ -226,6 +228,7 @@
 %patch1 -p1 -b .assistant4
 # don't use -b on mkspec files, else they get installed too.
 %patch2 -p1
+%patch3 -p1 -b .rh#334281
 
 # drop -fexceptions from $RPM_OPT_FLAGS
 RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
@@ -466,6 +469,9 @@
 %%_qt4_translationdir %%{_qt4_datadir}/translations
 EOF
 
+# create/own %%_qt4_plugindir/styles
+mkdir %{buildroot}%{_qt4_plugindir}/styles
+
 
 %clean
 rm -rf %{buildroot}
@@ -632,6 +638,12 @@
 
 
 %changelog
+* Fri Oct 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 4.3.2-4
+- slowdown with 4.3.2 (#334281)
+
+* Tue Oct 16 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 4.3.2-2
+- create/own %%_qt4_plugindir/styles
+
 * Thu Oct 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 4.3.2-1
 - qt-4.3.2
 - (re)fix ppc64 segfaults, ppc64 fix upstreamed (previous patch was 




More information about the fedora-extras-commits mailing list