Rebase to Qt 4.5.0-rc1 in order to match Fedora native version.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 21 Feb 2009 11:44:48 +0000 (11:44 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 21 Feb 2009 11:44:48 +0000 (11:44 +0000)
qt-win/mingw32-qt-4.4.3-atomic-volatile.patch [deleted file]
qt-win/mingw32-qt-4.4.3-subauth.patch [deleted file]
qt-win/mingw32-qt-4.4.3-wininput.patch [deleted file]
qt-win/mingw32-qt-win.spec
qt-win/qt-win-configure.patch
qt-win/qt-win-configure.sh

diff --git a/qt-win/mingw32-qt-4.4.3-atomic-volatile.patch b/qt-win/mingw32-qt-4.4.3-atomic-volatile.patch
deleted file mode 100644 (file)
index 03efb4b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ur qt-win-opensource-src-4.4.3.orig/src/corelib/arch/qatomic_windows.h qt-win-opensource-src-4.4.3/src/corelib/arch/qatomic_windows.h
---- qt-win-opensource-src-4.4.3.orig/src/corelib/arch/qatomic_windows.h        2008-09-27 10:00:54.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/src/corelib/arch/qatomic_windows.h     2009-02-02 11:07:19.000000000 +0000
-@@ -384,11 +384,11 @@
- #else\r
\r
- extern "C" {\r
--    __declspec(dllimport) long __stdcall InterlockedCompareExchange(long *, long, long);\r
--    __declspec(dllimport) long __stdcall InterlockedIncrement(long *);\r
--    __declspec(dllimport) long __stdcall InterlockedDecrement(long *);\r
--    __declspec(dllimport) long __stdcall InterlockedExchange(long *, long);\r
--    __declspec(dllimport) long __stdcall InterlockedExchangeAdd(long *, long);\r
-+    __declspec(dllimport) long __stdcall InterlockedCompareExchange(volatile long *, long, long);\r
-+    __declspec(dllimport) long __stdcall InterlockedIncrement(volatile long *);\r
-+    __declspec(dllimport) long __stdcall InterlockedDecrement(volatile long *);\r
-+    __declspec(dllimport) long __stdcall InterlockedExchange(volatile long *, long);\r
-+    __declspec(dllimport) long __stdcall InterlockedExchangeAdd(volatile long *, long);\r
- }\r
\r
- inline bool QBasicAtomicInt::ref()\r
diff --git a/qt-win/mingw32-qt-4.4.3-subauth.patch b/qt-win/mingw32-qt-4.4.3-subauth.patch
deleted file mode 100644 (file)
index 7871d51..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur qt-win-opensource-src-4.4.3.orig/src/corelib/io/qfsfileengine_win.cpp qt-win-opensource-src-4.4.3/src/corelib/io/qfsfileengine_win.cpp
---- qt-win-opensource-src-4.4.3.orig/src/corelib/io/qfsfileengine_win.cpp      2008-09-27 10:00:55.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/src/corelib/io/qfsfileengine_win.cpp   2009-02-06 16:39:50.000000000 +0000
-@@ -65,6 +65,7 @@
- #include <ctype.h>\r
- #include <limits.h>\r
- #define SECURITY_WIN32\r
-+#include <subauth.h>\r
- #include <security.h>\r
\r
- #ifndef _INTPTR_T_DEFINED\r
diff --git a/qt-win/mingw32-qt-4.4.3-wininput.patch b/qt-win/mingw32-qt-4.4.3-wininput.patch
deleted file mode 100644 (file)
index 38c4b8f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur qt-win-opensource-src-4.4.3.orig/src/gui/inputmethod/qwininputcontext_win.cpp qt-win-opensource-src-4.4.3/src/gui/inputmethod/qwininputcontext_win.cpp
---- qt-win-opensource-src-4.4.3.orig/src/gui/inputmethod/qwininputcontext_win.cpp      2008-09-27 10:00:55.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/src/gui/inputmethod/qwininputcontext_win.cpp   2009-02-02 12:19:10.000000000 +0000
-@@ -497,6 +497,9 @@
- }\r
\r
\r
-+// http://lists.trolltech.com/qt-interest/2008-05/thread00666-0.html\r
-+extern bool qt_sendSpontaneousEvent(QObject *, QEvent *);\r
-+\r
- bool QWinInputContext::endComposition()\r
- {\r
-     QWidget *fw = focusWidget();\r
index b880d04..1701731 100644 (file)
 %define subdirs src/corelib src/xml src/network src/gui src/winmain
 
 Name:           mingw32-qt-win
-Version:        4.4.3
-Release:        4%{?dist}
+Version:        4.5.0
+Release:        0.1.rc1.%{?dist}
 Summary:        Qt for Windows
 
 License:        GPLv2+
 Group:          Development/Libraries
 
 URL:            http://www.qtsoftware.com/
-Source0:        ftp://ftp.trolltech.no/qt/source/qt-win-opensource-src-%{version}.zip
+Source0:        ftp://ftp.trolltech.no/qt/source/qt-win-opensource-src-%{version}-rc1.zip
 
 # To make the configure patch - see below.
 Source1:        qt-win-configure.sh
@@ -44,15 +44,7 @@ Source4:        qplatformdefs.h
 # Generate this patch using "qt-win-configure.sh".
 Patch0:         qt-win-configure.patch
 
-# The released source contains multiple, blatant build bugs which have
-# been fixed (further) upstream months ago.  Urgghhh.  These patches
-# fix them.
-Patch10:        mingw32-qt-4.4.3-atomic-volatile.patch
 Patch11:        mingw32-qt-4.4.3-no-fpu-functions.patch
-Patch12:        mingw32-qt-4.4.3-wininput.patch
-
-# http://lists-archives.org/mingw-users/11845-problem-compile-qt-4-4-2-with-latest-w32api.html
-Patch20:        mingw32-qt-4.4.3-subauth.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
@@ -63,7 +55,11 @@ BuildRequires:  mingw32-gcc-c++
 BuildRequires:  mingw32-binutils
 
 # For the native qmake, moc programs.
+# Note that the precise same native version is required - eg. moc will
+# not work unless it's the same version.
+#BuildRequires:  qt-devel = %{version}  Stupid, can't write this ...
 BuildRequires:  qt-devel
+
 BuildRequires:  zip
 BuildRequires:  dos2unix
 
@@ -82,17 +78,13 @@ Fedora Windows cross-compiler.
 
 
 %prep
-%setup -q -n qt-win-opensource-src-%{version}
+%setup -q -n qt-win-opensource-src-%{version}-rc1
 
 %patch0 -p1
 
-%patch10 -p1
 %patch11 -p1
-%patch12 -p1
 
-%patch20 -p1
-
-for f in changes-%{version} LICENSE.GPL2 LICENSE.GPL3 GPL_EXCEPTION_ADDENDUM.TXT GPL_EXCEPTION.TXT OPENSOURCE-NOTICE.TXT README; do
+for f in LICENSE.GPL2 LICENSE.GPL3 GPL_EXCEPTION_ADDENDUM.TXT GPL_EXCEPTION.TXT OPENSOURCE-NOTICE.TXT README; do
   dos2unix --keepdate $f
 done
 
@@ -163,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%doc changes-%{version} configure.output
+%doc configure.output
 %doc LICENSE.GPL2 LICENSE.GPL3 GPL_EXCEPTION_ADDENDUM.TXT GPL_EXCEPTION.TXT
 %doc OPENSOURCE-NOTICE.TXT README
 %{_mingw32_bindir}/QtCore4.dll
@@ -184,6 +176,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Feb 21 2009 Richard W.M. Jones <rjones@redhat.com> - 4.5.0-0.1.rc1
+- Update to Qt 4.5.0-rc1.
+
 * Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.3-4
 - Rebuild for mingw32-gcc 4.4
 
index f2cc53f..f081098 100644 (file)
@@ -1,6 +1,6 @@
-diff -urN qt-win-opensource-src-4.4.3.orig/configure.cache qt-win-opensource-src-4.4.3/configure.cache
---- qt-win-opensource-src-4.4.3.orig/configure.cache   1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/configure.cache        2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/configure.cache qt-win-opensource-src-4.5.0-rc1/configure.cache
+--- qt-win-opensource-src-4.5.0-rc1.orig/configure.cache       1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/configure.cache    2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1,30 @@
 +-platform \r
 +fedora-win32-cross \r
@@ -32,11 +32,11 @@ diff -urN qt-win-opensource-src-4.4.3.orig/configure.cache qt-win-opensource-src
 +-no-sse2 \r
 +-release \r
 +-shared \r
-diff -urN qt-win-opensource-src-4.4.3.orig/configure.output qt-win-opensource-src-4.4.3/configure.output
---- qt-win-opensource-src-4.4.3.orig/configure.output  1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/configure.output       2009-02-02 14:39:05.000000000 +0000
-@@ -0,0 +1,119 @@
-+Xlib:  extension "Generic Event Extension" missing on display "localhost:10.0".
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/configure.output qt-win-opensource-src-4.5.0-rc1/configure.output
+--- qt-win-opensource-src-4.5.0-rc1.orig/configure.output      1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/configure.output   2009-02-21 11:25:13.000000000 +0000
+@@ -0,0 +1,122 @@
++Xlib:  extension "Generic Event Extension" missing on display "localhost:13.0".
 +\r
 +This is the Qt for Windows Open Source Edition.\r
 +\r
@@ -60,8 +60,8 @@ diff -urN qt-win-opensource-src-4.4.3.orig/configure.output qt-win-opensource-sr
 +      C:\windows\r\r
 +      Z:\usr\i686-pc-mingw32\sys-root\mingw\bin\r
 +You are licensed to use this software under the terms of the GNU GPL version 2 or 3.\r
-+See Z:/home/rjones/d/fedora-mingw--devel/qt-win/qt-win-opensource-src-4.4.3/LICENSE.GPL2\r
-+ or Z:/home/rjones/d/fedora-mingw--devel/qt-win/qt-win-opensource-src-4.4.3/LICENSE.GPL3\r
++See Z:/home/rjones/d/fedora-mingw--devel/qt-win/qt-win-opensource-src-4.5.0-rc1/LICENSE.GPL2\r
++ or Z:/home/rjones/d/fedora-mingw--devel/qt-win/qt-win-opensource-src-4.5.0-rc1/LICENSE.GPL3\r
 +\r
 +Configuration:\r
 +    dist-config\r\r
@@ -79,6 +79,7 @@ diff -urN qt-win-opensource-src-4.4.3.orig/configure.output qt-win-opensource-sr
 +    qt3support\r\r
 +    opengl\r\r
 +    ipv6\r\r
++    scripttools\r\r
 +    xmlpatterns\r\r
 +    svg\r\r
 +    minimal-config\r\r
@@ -107,6 +108,8 @@ diff -urN qt-win-opensource-src-4.4.3.orig/configure.output qt-win-opensource-sr
 +QtXmlPatterns support.......yes\r
 +Phonon support..............no\r
 +WebKit support..............no\r
++QtScriptTools support.......yes\r
++Graphics System.............raster\r
 +Qt3 compatibility...........yes\r
 +\r
 +Third Party Libraries:\r
@@ -139,8 +142,8 @@ diff -urN qt-win-opensource-src-4.4.3.orig/configure.output qt-win-opensource-sr
 +    SQLite2.................no\r
 +    InterBase...............no\r
 +\r
-+Sources are in..............Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.4.3\r
-+Build is done in............Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.4.3\r
++Sources are in..............Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.5.0-rc1\r
++Build is done in............Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.5.0-rc1\r
 +Install prefix............../usr/i686-pc-mingw32/sys-root/mingw\r
 +Headers installed to......../usr/i686-pc-mingw32/sys-root/mingw/include\r
 +Libraries installed to....../usr/i686-pc-mingw32/sys-root/mingw/lib\r
@@ -155,19 +158,19 @@ diff -urN qt-win-opensource-src-4.4.3.orig/configure.output qt-win-opensource-sr
 +Processing of project files have been disabled.\r
 +Only use this option if you really know what you're doing.\r
 +\r
-diff -urN qt-win-opensource-src-4.4.3.orig/include/Qt/qconfig.h qt-win-opensource-src-4.4.3/include/Qt/qconfig.h
---- qt-win-opensource-src-4.4.3.orig/include/Qt/qconfig.h      1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/include/Qt/qconfig.h   2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/include/Qt/qconfig.h qt-win-opensource-src-4.5.0-rc1/include/Qt/qconfig.h
+--- qt-win-opensource-src-4.5.0-rc1.orig/include/Qt/qconfig.h  1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/include/Qt/qconfig.h       2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1 @@
 +#include "../../src/corelib/global/qconfig.h"
-diff -urN qt-win-opensource-src-4.4.3.orig/include/QtCore/qconfig.h qt-win-opensource-src-4.4.3/include/QtCore/qconfig.h
---- qt-win-opensource-src-4.4.3.orig/include/QtCore/qconfig.h  1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/include/QtCore/qconfig.h       2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/include/QtCore/qconfig.h qt-win-opensource-src-4.5.0-rc1/include/QtCore/qconfig.h
+--- qt-win-opensource-src-4.5.0-rc1.orig/include/QtCore/qconfig.h      1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/include/QtCore/qconfig.h   2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1 @@
 +#include "../../src/corelib/global/qconfig.h"
-diff -urN qt-win-opensource-src-4.4.3.orig/mkspecs/default/qmake.conf qt-win-opensource-src-4.4.3/mkspecs/default/qmake.conf
---- qt-win-opensource-src-4.4.3.orig/mkspecs/default/qmake.conf        1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/mkspecs/default/qmake.conf     2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/mkspecs/default/qmake.conf qt-win-opensource-src-4.5.0-rc1/mkspecs/default/qmake.conf
+--- qt-win-opensource-src-4.5.0-rc1.orig/mkspecs/default/qmake.conf    1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/mkspecs/default/qmake.conf 2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1,109 @@
 +#\r
 +# qmake configuration for fedora-win32-cross\r
@@ -277,10 +280,10 @@ diff -urN qt-win-opensource-src-4.4.3.orig/mkspecs/default/qmake.conf qt-win-ope
 +QMAKE_STRIPFLAGS_LIB  += --strip-unneeded\r
 +load(qt_config)\r
 +\r
-+QMAKESPEC_ORIGINAL=Z:/home/rjones/d/fedora-mingw--devel/qt-win/qt-win-opensource-src-4.4.3/mkspecs/fedora-win32-cross\r
-diff -urN qt-win-opensource-src-4.4.3.orig/mkspecs/default/qplatformdefs.h qt-win-opensource-src-4.4.3/mkspecs/default/qplatformdefs.h
---- qt-win-opensource-src-4.4.3.orig/mkspecs/default/qplatformdefs.h   1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/mkspecs/default/qplatformdefs.h        2009-02-02 14:39:01.000000000 +0000
++QMAKESPEC_ORIGINAL=Z:/home/rjones/d/fedora-mingw--devel/qt-win/qt-win-opensource-src-4.5.0-rc1/mkspecs/fedora-win32-cross\r
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/mkspecs/default/qplatformdefs.h qt-win-opensource-src-4.5.0-rc1/mkspecs/default/qplatformdefs.h
+--- qt-win-opensource-src-4.5.0-rc1.orig/mkspecs/default/qplatformdefs.h       1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/mkspecs/default/qplatformdefs.h    2009-02-21 11:25:06.000000000 +0000
 @@ -0,0 +1,160 @@
 +/****************************************************************************\r
 +**\r
@@ -442,24 +445,24 @@ diff -urN qt-win-opensource-src-4.4.3.orig/mkspecs/default/qplatformdefs.h qt-wi
 +\r
 +\r
 +#endif // QPLATFORMDEFS_H\r
-diff -urN qt-win-opensource-src-4.4.3.orig/mkspecs/qconfig.pri qt-win-opensource-src-4.4.3/mkspecs/qconfig.pri
---- qt-win-opensource-src-4.4.3.orig/mkspecs/qconfig.pri       1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/mkspecs/qconfig.pri    2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/mkspecs/qconfig.pri qt-win-opensource-src-4.5.0-rc1/mkspecs/qconfig.pri
+--- qt-win-opensource-src-4.5.0-rc1.orig/mkspecs/qconfig.pri   1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/mkspecs/qconfig.pri        2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1,11 @@
 +CONFIG+= release shared stl exceptions rtti\r
 +QT_ARCH = windows\r
 +QT_EDITION = OpenSource\r
-+QT_CONFIG += release zlib png accessibility qt3support opengl ipv6 xmlpatterns svg minimal-config small-config medium-config large-config full-config\r
++QT_CONFIG += release zlib png accessibility qt3support opengl ipv6 scripttools xmlpatterns svg minimal-config small-config medium-config large-config full-config\r
 +#versioning \r
-+QT_VERSION = 4.4.3\r
++QT_VERSION = 4.5.0-rc1\r
 +QT_MAJOR_VERSION = 4\r
-+QT_MINOR_VERSION = 4\r
-+QT_PATCH_VERSION = 3\r
++QT_MINOR_VERSION = 5\r
++QT_PATCH_VERSION = 0\r
 +#Qt for Windows CE c-runtime deployment\r
 +QT_CE_C_RUNTIME = no\r
-diff -urN qt-win-opensource-src-4.4.3.orig/.qmake.cache qt-win-opensource-src-4.4.3/.qmake.cache
---- qt-win-opensource-src-4.4.3.orig/.qmake.cache      1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/.qmake.cache   2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/.qmake.cache qt-win-opensource-src-4.5.0-rc1/.qmake.cache
+--- qt-win-opensource-src-4.5.0-rc1.orig/.qmake.cache  1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/.qmake.cache       2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1,20 @@
 +QMAKE_QT_VERSION_OVERRIDE = 4\r
 +OBJECTS_DIR     = tmp\obj\release_shared\r
@@ -470,10 +473,10 @@ diff -urN qt-win-opensource-src-4.4.3.orig/.qmake.cache qt-win-opensource-src-4.
 +imageformat-plugins += gif tiff jpeg\r
 +CONFIG         += dist-config large-config medium-config minimal-config small-config full-config release incremental create_prl link_prl depend_includepath QTDIR_build\r
 +QT_BUILD_PARTS  = libs tools examples demos docs translations\r
-+QMAKESPEC       = Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.4.3\mkspecs\fedora-win32-cross\r
++QMAKESPEC       = Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.5.0-rc1\mkspecs\fedora-win32-cross\r
 +ARCH            = windows\r
-+QT_BUILD_TREE   = Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.4.3\r
-+QT_SOURCE_TREE  = Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.4.3\r
++QT_BUILD_TREE   = Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.5.0-rc1\r
++QT_SOURCE_TREE  = Z:\home\rjones\d\fedora-mingw--devel\qt-win\qt-win-opensource-src-4.5.0-rc1\r
 +QMAKE_MOC       = $$QT_BUILD_TREE\bin\moc.exe\r
 +QMAKE_UIC       = $$QT_BUILD_TREE\bin\uic.exe\r
 +QMAKE_UIC3      = $$QT_BUILD_TREE\bin\uic3.exe\r
@@ -481,9 +484,9 @@ diff -urN qt-win-opensource-src-4.4.3.orig/.qmake.cache qt-win-opensource-src-4.
 +QMAKE_DUMPCPP   = $$QT_BUILD_TREE\bin\dumpcpp.exe\r
 +QMAKE_INCDIR_QT = $$QT_BUILD_TREE\include\r
 +QMAKE_LIBDIR_QT = $$QT_BUILD_TREE\lib\r
-diff -urN qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.cpp qt-win-opensource-src-4.4.3/src/corelib/global/qconfig.cpp
---- qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.cpp    1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/src/corelib/global/qconfig.cpp 2009-02-02 14:39:05.000000000 +0000
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/src/corelib/global/qconfig.cpp qt-win-opensource-src-4.5.0-rc1/src/corelib/global/qconfig.cpp
+--- qt-win-opensource-src-4.5.0-rc1.orig/src/corelib/global/qconfig.cpp        1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/src/corelib/global/qconfig.cpp     2009-02-21 11:25:13.000000000 +0000
 @@ -0,0 +1,27 @@
 +/* Licensed */
 +static const char qt_configure_licensee_str          [512 + 12] = "qt_lcnsuser=Open Source";
@@ -512,10 +515,10 @@ diff -urN qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.cpp qt-win
 +#define QT_CONFIGURE_EXAMPLES_PATH qt_configure_examples_path_str + 12;
 +#define QT_CONFIGURE_DEMOS_PATH qt_configure_demos_path_str + 12;
 +
-diff -urN qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.h qt-win-opensource-src-4.4.3/src/corelib/global/qconfig.h
---- qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.h      1970-01-01 01:00:00.000000000 +0100
-+++ qt-win-opensource-src-4.4.3/src/corelib/global/qconfig.h   2009-02-02 14:39:05.000000000 +0000
-@@ -0,0 +1,90 @@
+diff -urN qt-win-opensource-src-4.5.0-rc1.orig/src/corelib/global/qconfig.h qt-win-opensource-src-4.5.0-rc1/src/corelib/global/qconfig.h
+--- qt-win-opensource-src-4.5.0-rc1.orig/src/corelib/global/qconfig.h  1970-01-01 01:00:00.000000000 +0100
++++ qt-win-opensource-src-4.5.0-rc1/src/corelib/global/qconfig.h       2009-02-21 11:25:13.000000000 +0000
+@@ -0,0 +1,102 @@
 +/* Everything */
 +
 +#ifndef QT_DLL
@@ -552,6 +555,12 @@ diff -urN qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.h qt-win-o
 +
 +// Compile time features
 +#define QT_ARCH_WINDOWS
++#if defined(QT_GRAPHICSSYSTEM_RASTER) && defined(QT_NO_GRAPHICSSYSTEM_RASTER)
++# undef QT_GRAPHICSSYSTEM_RASTER
++#elif !defined(QT_GRAPHICSSYSTEM_RASTER)
++# define QT_GRAPHICSSYSTEM_RASTER
++#endif
++
 +#if defined(QT_NO_DBUS) && defined(QT_DBUS)
 +# undef QT_NO_DBUS
 +#elif !defined(QT_NO_DBUS)
@@ -576,6 +585,12 @@ diff -urN qt-win-opensource-src-4.4.3.orig/src/corelib/global/qconfig.h qt-win-o
 +# define QT_NO_PHONON
 +#endif
 +
++#if defined(QT_NO_STYLE_GTK) && defined(QT_STYLE_GTK)
++# undef QT_NO_STYLE_GTK
++#elif !defined(QT_NO_STYLE_GTK)
++# define QT_NO_STYLE_GTK
++#endif
++
 +#if defined(QT_NO_STYLE_WINDOWSCE) && defined(QT_STYLE_WINDOWSCE)
 +# undef QT_NO_STYLE_WINDOWSCE
 +#elif !defined(QT_NO_STYLE_WINDOWSCE)
index d6719e6..3bfab93 100755 (executable)
@@ -15,7 +15,7 @@
 #     error: #error "MMX instruction set not enabled"
 #   . Same as above for -no-sse and -no-sse2
 
-version=4.4.3
+version=4.5.0-rc1
 platform=fedora-win32-cross
 
 set -e