rpms/qt/devel qt-x11-opensource-src-4.5.0-0275_qthreadpool.patch, NONE, 1.1 .cvsignore, 1.51, 1.52 qt.spec, 1.253, 1.254 sources, 1.52, 1.53

Rex Dieter rdieter at fedoraproject.org
Fri Mar 20 14:01:28 UTC 2009


Author: rdieter

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

Modified Files:
	.cvsignore qt.spec sources 
Added Files:
	qt-x11-opensource-src-4.5.0-0275_qthreadpool.patch 
Log Message:
* Fri Mar 20 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.5.0-8
- qt-copy-patches-20090319

* Thu Mar 19 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.5.0-7
- include more phonon bits, attempt to fix/provide phonon bindings
  for qtscriptgenerator, PyQt, ... 



qt-x11-opensource-src-4.5.0-0275_qthreadpool.patch:

--- NEW FILE qt-x11-opensource-src-4.5.0-0275_qthreadpool.patch ---
diff -up qt-x11-opensource-src-4.5.0/src/corelib/concurrent/qtconcurrentreducekernel.h.qthreadpool qt-x11-opensource-src-4.5.0/src/corelib/concurrent/qtconcurrentreducekernel.h
--- qt-x11-opensource-src-4.5.0/src/corelib/concurrent/qtconcurrentreducekernel.h.qthreadpool	2009-03-19 23:22:12.000000000 -0500
+++ qt-x11-opensource-src-4.5.0/src/corelib/concurrent/qtconcurrentreducekernel.h	2009-03-20 08:47:26.000000000 -0500
@@ -51,6 +51,7 @@
 #include <QtCore/qmap.h>
 #include <QtCore/qmutex.h>
 #include <QtCore/qthread.h>
+#include <QtCore/qthreadpool.h>
 #include <QtCore/qvector.h>
 
 QT_BEGIN_HEADER


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/.cvsignore,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- .cvsignore	3 Mar 2009 11:14:33 -0000	1.51
+++ .cvsignore	20 Mar 2009 14:00:57 -0000	1.52
@@ -1,6 +1,4 @@
 hi128-app-qt4-logo.png
 hi48-app-qt4-logo.png
-qt-copy-patches-20090220svn.tar.bz2
-qt-x11-opensource-src-4.5.0-snapshot-20090224.tar.gz
 qt-x11-opensource-src-4.5.0.tar.bz2
-qt-copy-patches-20090303svn.tar.bz2
+qt-copy-patches-20090319svn.tar.bz2


Index: qt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/qt.spec,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -r1.253 -r1.254
--- qt.spec	16 Mar 2009 23:54:50 -0000	1.253
+++ qt.spec	20 Mar 2009 14:00:57 -0000	1.254
@@ -12,7 +12,7 @@
 Name:    qt4
 %endif
 Version: 4.5.0
-Release: 6%{?dist}
+Release: 8%{?dist}
 
 # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
 License: LGPLv2 with exceptions or GPLv3 with exceptions
@@ -45,9 +45,12 @@
 Patch50: qt-x11-opensource-src-4.5.0-rc1-qhostaddress.patch
 Patch51: qt-x11-opensource-src-4.5.0-qdoc3.patch
 Patch52: qt-4.5-sparc64.patch
+# http://lists.kde.org/?l=kde-core-devel&m=123737428209683&w=2
+# fix issue with qt-copy 0275-qtconcurrent-threadcount.diff
+Patch53: qt-x11-opensource-src-4.5.0-0275_qthreadpool.patch
 
 ## qt-copy patches
-%define qt_copy 20090303
+%define qt_copy 20090319
 Source1: qt-copy-patches-svn_checkout.sh
 %{?qt_copy:Source2: qt-copy-patches-%{qt_copy}svn.tar.bz2}
 %{?qt_copy:Provides: qt-copy = %{qt_copy}}
@@ -193,6 +196,7 @@
 %if 0%{?phonon:1}
 # No, let's avoid the circular dependency (for now) -- Rex
 #Requires: phonon-devel
+Provides: qt4-phonon-devel = %{version}-%{release}
 %endif
 %if 0%{?webkit:1}
 Obsoletes: WebKit-qt-devel < 1.0.0-1
@@ -274,6 +278,9 @@
 %package x11
 Summary: Qt GUI-related libraries
 Group: System Environment/Libraries
+%if 0%{?phonon:1}
+Provides: qt4-phonon = %{version}-%{release}
+%endif
 %if 0%{?webkit:1}
 Obsoletes: WebKit-qt < 1.0.0-1
 Provides:  WebKit-qt = 1.0.0-1
@@ -298,6 +305,7 @@
 %if 0%{?qt_copy}
 echo "0250" >> patches/DISABLED
 test -x apply_patches && ./apply_patches
+%patch53 -p1 -b .0275_qthreadpool
 %endif
 
 # don't use -b on mkspec files, else they get installed too.
@@ -431,7 +439,7 @@
 ssl_libs=$(pkg-config --libs openssl)
 for dep in \
   -laudio -ldbus-1 -lfreetype -lfontconfig ${glib2_libs} \
-  -ljpeg -lm -lmng -lphonon -lpng ${ssl_libs} -lsqlite3 -lphonon -lz \
+  -ljpeg -lm -lmng -lpng ${ssl_libs} -lsqlite3 -lz \
   -L/usr/X11R6/%{_lib} -L%{_libdir} ; do
   sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/lib*.la ||:
   sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/pkgconfig/*.pc
@@ -572,14 +580,17 @@
 mkdir %{buildroot}%{_qt4_plugindir}/styles
 
 %if 0%{?phonon:1}
+mkdir -p %{buildroot}%{_qt4_plugindir}/phonon_backend
 # if building with phonon support, nuke it
-rm -fv  %{buildroot}%{_qt4_libdir}/libphonon*
-rm -rfv %{buildroot}%{_qt4_headerdir}/phonon*
-rm -rfv %{buildroot}%{_qt4_headerdir}/Qt/phonon*
+rm -fv  %{buildroot}%{_qt4_libdir}/libphonon.so*
 rm -rfv %{buildroot}%{_libdir}/pkgconfig/phonon.pc
-# compat symlink ?  maybe put into phonon-devel instead ?
-#ln -s %{_includedir}/KDE/Phonon %{buildroot}%{_qt4_headerdir}/Qt/phonon/
-#ln -s ../KDE/Phonon %{buildroot}%{_qt4_headerdir}/Qt/phonon/
+# contents slightly different between phonon-4.3.1 and qt-4.5.0
+rm -fv  %{buildroot}%{_includedir}/phonon/phononnamespace.h
+# contents dup'd but should remove just in case
+rm -fv  %{buildroot}%{_includedir}/phonon/*.h
+
+#rm -rfv %{buildroot}%{_qt4_headerdir}/phonon*
+#rm -rfv %{buildroot}%{_qt4_headerdir}/Qt/phonon*
 %endif
 
 
@@ -656,6 +667,9 @@
 %files x11 
 %defattr(-,root,root,-)
 %{_sysconfdir}/rpm/macros.*
+%if 0%{?phonon:1}
+#{_qt4_libdir}/libphonon.so.4*
+%endif
 %{_qt4_libdir}/libQt3Support.so.*
 %{_qt4_libdir}/libQtAssistantClient.so.*
 %{_qt4_libdir}/libQtCLucene.so.*
@@ -731,6 +745,10 @@
 %{_qt4_prefix}/mkspecs/
 %endif
 %{_qt4_datadir}/q3porting.xml
+%if 0%{?phonon:1}
+%{_qt4_libdir}/libphonon.prl
+#{_qt4_libdir}/libphonon.so
+%endif
 %{_qt4_libdir}/libQt*.so
 # remaining static lib: libQtUiTools.a 
 %{_qt4_libdir}/libQt*.a
@@ -782,6 +800,13 @@
 
 
 %changelog
+* Fri Mar 20 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.5.0-8
+- qt-copy-patches-20090319
+
+* Thu Mar 19 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.5.0-7
+- include more phonon bits, attempt to fix/provide phonon bindings
+  for qtscriptgenerator, PyQt, ...
+
 * Tue Mar 17 2009 Than Ngo <than at redhat.com> - 4.5.0-6
 - fix lupdate segfault (#486866)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/sources,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- sources	3 Mar 2009 11:14:34 -0000	1.52
+++ sources	20 Mar 2009 14:00:58 -0000	1.53
@@ -1,4 +1,4 @@
 d9f511e4b51983b4e10eb58b320416d5  hi128-app-qt4-logo.png
 6dcc0672ff9e60a6b83f95c5f42bec5b  hi48-app-qt4-logo.png
 55e8c74a89e1bc128a5a6f1ff6b8b5ba  qt-x11-opensource-src-4.5.0.tar.bz2
-fcc348cd5997c978e882849bad65b1c0  qt-copy-patches-20090303svn.tar.bz2
+cd2f337be904d3833ea706740fc26d0d  qt-copy-patches-20090319svn.tar.bz2




More information about the fedora-extras-commits mailing list