rpms/qt/devel qt-copy-kde#162793.patch, NONE, 1.1 .cvsignore, 1.34, 1.35 qt.spec, 1.200, 1.201 sources, 1.35, 1.36

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Wed Jul 23 14:13:39 UTC 2008


Author: rdieter

Update of /cvs/pkgs/rpms/qt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1402

Modified Files:
	.cvsignore qt.spec sources 
Added Files:
	qt-copy-kde#162793.patch 
Log Message:
* Wed Jul 23 2008 Rex Dieter <rdieter at fedoraproject.org> 4.4.0-16
- qt-copy-patches-20080723 (kde#162793)
- omit deprecated phonon bits


qt-copy-kde#162793.patch:

--- NEW FILE qt-copy-kde#162793.patch ---
--- trunk/qt-copy/src/gui/dialogs/qprintdialog_unix.cpp	2008/07/22 18:43:59	836671
+++ trunk/qt-copy/src/gui/dialogs/qprintdialog_unix.cpp	2008/07/22 18:46:17	836672
@@ -936,9 +936,12 @@
 
 void QUnixPrintWidgetPrivate::setupPrinter()
 {
-    // printer or file name
-    if (widget.printers->currentIndex() >= widget.printers->count() - 2) {
-        if (widget.printers->currentIndex() == widget.printers->count() - 2)
+    const int printerCount = widget.printers->count();
+    const int index = widget.printers->currentIndex();
+
+    if (filePrintersAdded && index > printerCount - 3) { // PDF or postscript
+        Q_ASSERT(index != printerCount - 3); // separator
+        if (index == printerCount - 2)
             printer->setOutputFormat(QPrinter::PdfFormat);
         else
             printer->setOutputFormat(QPrinter::PostScriptFormat);


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/.cvsignore,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- .cvsignore	12 Jul 2008 01:31:46 -0000	1.34
+++ .cvsignore	23 Jul 2008 14:12:53 -0000	1.35
@@ -2,3 +2,4 @@
 hi48-app-qt4-logo.png
 qt-x11-opensource-src-4.4.0.tar.bz2
 qt-copy-patches-20080711svn.tar.bz2
+qt-copy-patches-20080723svn.tar.bz2


Index: qt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/qt.spec,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -r1.200 -r1.201
--- qt.spec	19 Jul 2008 18:33:20 -0000	1.200
+++ qt.spec	23 Jul 2008 14:12:53 -0000	1.201
@@ -8,7 +8,7 @@
 Name:    qt4
 %endif
 Version: 4.4.0
-Release: 15%{?dist}
+Release: 16%{?dist}
 
 # GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
 License: GPLv3 or GPLv2 with exceptions or QPL
@@ -39,7 +39,7 @@
 Patch9: qt-x11-opensource-src-4.4.0-qgtkstyle.patch
 
 ## qt-copy patches
-%define qt_copy 20080711
+%define qt_copy 20080723
 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}}
@@ -65,8 +65,6 @@
 %define odbc -plugin-sql-odbc
 %define psql -plugin-sql-psql
 %define sqlite -plugin-sql-sqlite
-# FIXME: building -no-phonon currently busted, build fails -- Rex
-#define phonon -phonon -gstreamer
 %define webkit -webkit
 
 #define nas -system-nas-sound
@@ -111,7 +109,6 @@
 BuildRequires: zlib-devel
 BuildRequires: glib2-devel
 BuildRequires: openssl-devel
-%{?phonon:BuildRequires: gstreamer-devel >= 0.10.12, gstreamer-plugins-base-devel}
 
 ## In theory, should be as simple as:
 #define x_deps libGL-devel libGLU-devel
@@ -228,16 +225,6 @@
 %description mysql 
 %{summary}.
 
-%package phonon-devel
-Summary: Phonon development files for %{name}
-Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{release}
-# FIXME
-Conflicts: kdelibs4-devel < 4.1
-
-%description phonon-devel
-%{summary}.
-
 %package postgresql 
 Summary: PostgreSQL driver for Qt's SQL classes
 Group: System Environment/Libraries
@@ -366,6 +353,7 @@
   -no-rpath \
   -reduce-relocations \
   -no-separate-debug-info \
+  -no-phonon -no-gstreamer \
   -sm \
   -stl \
   -system-libmng \
@@ -384,9 +372,7 @@
   -glib \
   -openssl-linked \
   -xmlpatterns \
-  %{?phonon} %{!?phonon:-no-phonon } \
   %{?dbus} %{!?dbus:-no-dbus} \
-  %{?phonon} %{!?phonon:-no-phonon -no-gstreamer} \
   %{?webkit} %{!?webkit:-no-webkit } \
   %{?nas} \
   %{?mysql} \
@@ -635,7 +621,6 @@
 %{_qt4_libdir}/libQtOpenGL.so.*
 %{_qt4_libdir}/libQtSvg.so.*
 %{?webkit:%{_qt4_libdir}/libQtWebKit.so.*}
-%{?phonon:%{_qt4_libdir}/libphonon.so.*}
 %{_qt4_plugindir}/*
 %exclude %{_qt4_plugindir}/designer
 %exclude %{_qt4_plugindir}/sqldrivers
@@ -692,8 +677,6 @@
 %dir %{_qt4_headerdir}/
 %endif
 %{_qt4_headerdir}/*
-%{?phonon:%exclude %{_qt4_headerdir}/phonon/}
-%{?phonon:%exclude %{_qt4_headerdir}/Qt/phonon*}
 %{_qt4_datadir}/mkspecs/
 %if "%{_qt4_datadir}" != "%{_qt4_prefix}"
 %{_qt4_prefix}/mkspecs/
@@ -704,7 +687,6 @@
 %{_qt4_libdir}/libQt*.a
 %{_qt4_libdir}/libQt*.prl
 %{_libdir}/pkgconfig/*.pc
-%{?phonon:%exclude %{_libdir}/pkgconfig/phonon.pc}
 # Qt designer
 %{_qt4_bindir}/designer*
 %{_qt4_plugindir}/designer/
@@ -732,16 +714,6 @@
 %endif
 %{_datadir}/applications/*qtdemo*.desktop
 
-%if 0%{?phonon:1}
-%files phonon-devel
-%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/phonon.pc
-%{_qt4_headerdir}/phonon/
-%{_qt4_headerdir}/Qt/phonon*
-%{_qt4_libdir}/libphonon.so
-%{_qt4_libdir}/libphonon.prl
-%endif
-
 %if "%{?odbc}" == "-plugin-sql-odbc"
 %files odbc 
 %defattr(-,root,root,-)
@@ -768,6 +740,10 @@
 
 
 %changelog
+* Wed Jul 23 2008 Rex Dieter <rdieter at fedoraproject.org> 4.4.0-16
+- qt-copy-patches-20080723 (kde#162793)
+- omit deprecated phonon bits
+
 * Sat Jul 19 2008 Rex Dieter <rdieter at fedoraproject.org> 4.4.0-15
 - fix/workaround spec syntax 
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qt/devel/sources,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- sources	12 Jul 2008 01:31:46 -0000	1.35
+++ sources	23 Jul 2008 14:12:54 -0000	1.36
@@ -1,4 +1,4 @@
 d9f511e4b51983b4e10eb58b320416d5  hi128-app-qt4-logo.png
 6dcc0672ff9e60a6b83f95c5f42bec5b  hi48-app-qt4-logo.png
+bb7e7e6aa739c0c87e3cb3dbfe0fa814  qt-copy-patches-20080723svn.tar.bz2
 03ee0deb73908c84a7b4d9ceb5f8b3f6  qt-x11-opensource-src-4.4.0.tar.bz2
-7cf6bdbd220fb8915f8d875442e29961  qt-copy-patches-20080711svn.tar.bz2




More information about the fedora-extras-commits mailing list