From 62403363c74dad1496a322cdf0b7e2cc077df4e2 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 8 May 2014 01:01:00 +1000 Subject: package qt: fix include path with current dir --- src/qt-1-cherrypicks.patch | 119 ++++++++++++++++++++++++++------------------- 1 file changed, 69 insertions(+), 50 deletions(-) diff --git a/src/qt-1-cherrypicks.patch b/src/qt-1-cherrypicks.patch index b0c8df2..2c43b5a 100644 --- a/src/qt-1-cherrypicks.patch +++ b/src/qt-1-cherrypicks.patch @@ -4,10 +4,10 @@ See index.html for further information. Commits backported (cherry-picked) from upstream branch or merge requests. http://qt.gitorious.org/qt Also contains MXE specific fixes. -From f7acb6676a5950078500360aa0586becf4beb553 Mon Sep 17 00:00:00 2001 +From 0739b3c86b95eae282113c15800e1840eb3027f1 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 13 Jan 2012 00:17:48 +0100 -Subject: [PATCH 01/16] remove trailing whitespace +Subject: [PATCH 01/17] remove trailing whitespace backported from qt5/qtbase Change-Id: If53a0bd1794e69b4856f993c6e2959369bd007d6 @@ -28,13 +28,13 @@ index 9090773..859ec8d 100644 ../plugins/codecs/tw/qbig5codec.h \ ../plugins/codecs/jp/qfontjpcodec.h -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 9ecb9ef79302deaab80adc8d97c923260d3dcaeb Mon Sep 17 00:00:00 2001 +From 32c83f9219a8300d8949622dbb946ca60bc50359 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 30 Jun 2011 10:22:33 +0200 -Subject: [PATCH 02/16] do not detect or configure iconv for Windows +Subject: [PATCH 02/17] do not detect or configure iconv for Windows Qt doesn't use iconv on Windows, but configuring it will appear to work and the build will complete. The result is that character @@ -62,13 +62,13 @@ index a9ba7c8..2e495a4 100755 elif compileTest "unix/iconv" "POSIX iconv"; then CFG_ICONV=yes -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 02f19c027ec896c6a42d9c02af4ca772151dc46b Mon Sep 17 00:00:00 2001 +From 595e8d4d50d792cfc644c665763ec425ec746e56 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 18 Jan 2012 11:43:10 +0100 -Subject: [PATCH 03/16] fix whitespace +Subject: [PATCH 03/17] fix whitespace backported from qt5/qtbase Change-Id: I0cfccae085c000d4368386a34f288c1e6f01a88f @@ -136,13 +136,13 @@ index 859ec8d..70cd890 100644 ../plugins/codecs/tw/qbig5codec.cpp \ ../plugins/codecs/jp/qfontjpcodec.cpp -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 7294d08265fff3470580267f5585948926aef418 Mon Sep 17 00:00:00 2001 +From d91e9ac5812dd55be30ac2649e091e7a275e4653 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Mon, 4 Jul 2011 00:42:24 +0200 -Subject: [PATCH 04/16] build and load text codecs regardless of iconv and +Subject: [PATCH 04/17] build and load text codecs regardless of iconv and platform Otherwise applications linking to static Qt may have to import @@ -278,13 +278,13 @@ index 58ffb00..1ee586e 100644 #endif // QT_NO_CODECS -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From b262b83a888f975b3229e0d5d0ad40d6dd255347 Mon Sep 17 00:00:00 2001 +From 1fc30f6f3fe9351907016c2dec74b0114be64619 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 13 Jan 2012 00:24:13 +0100 -Subject: [PATCH 05/16] move plugin text codecs to QtCore +Subject: [PATCH 05/17] move plugin text codecs to QtCore Having plugin text codecs adds considerable complexity to configuring Qt. The plugin interface is designed for optional @@ -79229,13 +79229,13 @@ index 94ce675..c4af49b 100644 !embedded:!qpa:!contains(QT_CONFIG, no-gui):SUBDIRS *= graphicssystems embedded:SUBDIRS *= gfxdrivers decorations mousedrivers kbddrivers -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From f83e70e53314cfed3329f5b0640ef3d8f91f8d02 Mon Sep 17 00:00:00 2001 +From 4a97b4b52b58070afb2de01fc59a524977475a43 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 18 Jan 2012 21:01:26 +0100 -Subject: [PATCH 06/16] update private header references +Subject: [PATCH 06/17] update private header references backported from qt5/qtbase Change-Id: I092d879653b6900532a0c4534c1eb2be84e9d0f6 @@ -79392,13 +79392,13 @@ index a4c0981..5025968 100644 #include -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From d83cb542ed81668261fd0267f1dfaef581228ff6 Mon Sep 17 00:00:00 2001 +From 335262793a24a8444ad181c7e744cb29cff06e58 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sun, 3 Jul 2011 21:53:27 +0200 -Subject: [PATCH 07/16] cosmetic adjustments for files moved to core/codecs +Subject: [PATCH 07/17] cosmetic adjustments for files moved to core/codecs -update old reference to 'plugin' -rename multiple inclusion guards @@ -79884,13 +79884,13 @@ index 5025968..6dd8902 100644 -#endif // QSJISCODEC_H +#endif // QSJISCODEC_P_H -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 04dc59bf0b9f0ab787d90d42d9dd8d8907346af4 Mon Sep 17 00:00:00 2001 +From 6c3ced5e40b06c68ee50b297dcb7d3a3f5a63429 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 12 Jan 2012 10:43:29 +0100 -Subject: [PATCH 08/16] remove obsolete codec plugin loading code +Subject: [PATCH 08/17] remove obsolete codec plugin loading code backported from qt5/qtbase Change-Id: I1f3dbb5c10009413f701947b1b89ed3dbc94bf3d @@ -80405,7 +80405,7 @@ index d602fb5..957d7ee 100644 # define QT_NO_TRANSLATION #endif diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h -index 316e718..6acd0fb 100644 +index 038912f..437d4f2 100644 --- a/src/corelib/global/qfeatures.h +++ b/src/corelib/global/qfeatures.h @@ -643,11 +643,6 @@ @@ -80421,13 +80421,13 @@ index 316e718..6acd0fb 100644 #if !defined(QT_NO_COLORDIALOG) && (defined(QT_NO_SPINBOX)) #define QT_NO_COLORDIALOG -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 9a38d6f343045133d3093aabee715aa4eeb84e7a Mon Sep 17 00:00:00 2001 +From c60cb4f5cedaddc7b951cf57c3f5a55916d2c830 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Mon, 23 Jan 2012 23:12:46 +0100 -Subject: [PATCH 09/16] remove vestiges of text codec plugins +Subject: [PATCH 09/17] remove vestiges of text codec plugins follow-up to 3a3356a85079d734dfa57205a00e1996afc033df @@ -80455,13 +80455,13 @@ index dea05e0..12cd8ea 100644 Description: Supports translations using QObject::tr(). Section: Internationalization -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 376cc3027f9cc2d90af96e7cb964f6e8e9d8a464 Mon Sep 17 00:00:00 2001 +From 2e5dd882e30f4568fab102e65bbb9663451e22bc Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 3 Nov 2011 15:10:26 +0100 -Subject: [PATCH 10/16] use pkg-config for libmng (MXE specific) +Subject: [PATCH 10/17] use pkg-config for libmng (MXE specific) Change-Id: Ifce956d5cad06d5273088656b8500b87980063f4 @@ -80481,13 +80481,13 @@ index ffb98de..6aab68f 100644 } else { include($$PWD/../../3rdparty/libmng.pri) -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 7d62ca1f73ed19db7e3cb87d60117ed056e9af87 Mon Sep 17 00:00:00 2001 +From 664cbb6e0a0ee4ad68ec4f940a698f171e5cbc9f Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 3 Nov 2011 14:11:02 +0100 -Subject: [PATCH 11/16] use pkg-config for libtiff-4 (MXE specific) +Subject: [PATCH 11/17] use pkg-config for libtiff-4 (MXE specific) Change-Id: I5e89e66fc1606d425553e781c9e62db703136957 @@ -80507,13 +80507,13 @@ index e1cc3ee..71cbab1 100644 } else { include($$PWD/../../3rdparty/libtiff.pri) -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 713dd9fee42c94151cd060bccef58429d2af04d4 Mon Sep 17 00:00:00 2001 +From 2cd7578f3872cea2a849dd42b5155133278c80a9 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 1 Sep 2011 13:47:10 +0200 -Subject: [PATCH 12/16] fix building on GNU/kFreeBSD (MXE specific) +Subject: [PATCH 12/17] fix building on GNU/kFreeBSD (MXE specific) This patch has been taken from: @@ -80525,7 +80525,7 @@ Description: Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_FREEBSD_KERNEL. Last-Update: 2010-10-06 diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h -index 96fbeee..5bd8c80 100644 +index 799729c..2a76787 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -226,6 +226,8 @@ namespace QT_NAMESPACE {} @@ -80538,13 +80538,13 @@ index 96fbeee..5bd8c80 100644 # define Q_OS_NETBSD # define Q_OS_BSD4 -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 1957ef52ed0246f661a6bbfc994d0a15617f41f0 Mon Sep 17 00:00:00 2001 +From b3713a30b270cb5998f617b3e726d9ea985068da Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 1 Sep 2011 13:49:47 +0200 -Subject: [PATCH 13/16] fix missing platform when building on GNU/kFreeBSD (MXE +Subject: [PATCH 13/17] fix missing platform when building on GNU/kFreeBSD (MXE specific) This patch is inspired by: @@ -80569,13 +80569,13 @@ index 2e495a4..4965d90 100755 PLATFORM=dgux-g++ ;; -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 4df31e3967977d0726877e32d66394bef820cb5d Mon Sep 17 00:00:00 2001 +From 0c3ab6553ae4834100f864e0bc636ae23f22988a Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 1 Sep 2011 13:51:50 +0200 -Subject: [PATCH 14/16] fix building on dragonfly (MXE specific) +Subject: [PATCH 14/17] fix building on dragonfly (MXE specific) This patch is inspired by: http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/x11/qt4-libs/Makefile.common?rev=1.27&content-type=text/x-cvsweb-markup @@ -80596,13 +80596,13 @@ index 4965d90..e1e7384 100755 PLATFORM_NOTES=" - Also available for FreeBSD: freebsd-icc -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From d2b06e4775fb0b0faf83cb99b3443a9fe036f237 Mon Sep 17 00:00:00 2001 +From dc91fc7307b24bf746005c83984e2d3bf6099af8 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 30 Apr 2014 22:12:35 +0200 -Subject: [PATCH 15/16] fix for designer in shared build (MXE specific) +Subject: [PATCH 15/17] fix for designer in shared build (MXE specific) Change-Id: I23afe70c17e88d63b649d851f89e187da9b79d96 @@ -80620,13 +80620,13 @@ index f58df8a..0c25ed4 100644 # Input -- -1.8.4.5 +1.8.5.2 (Apple Git-48) -From 31d8a5c526bdde7a1026380c269ba99baf2d38b1 Mon Sep 17 00:00:00 2001 +From 5b44e1b9ac91a9f2647a7a870792cfb40a896ada Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 30 Apr 2014 23:17:58 +0200 -Subject: [PATCH 16/16] fix include of private header +Subject: [PATCH 16/17] fix include of private header Change-Id: I0554933de2536231d7d416d8df5b96eaa459fc51 Reviewed-by: Oswald Buddenhagen @@ -80646,5 +80646,24 @@ index e933112..3868c21 100644 #include "ui_qfiledialog.h" #else -- -1.8.4.5 +1.8.5.2 (Apple Git-48) + + +From a337b16522f513d387c93901c4a2e7da6d6eea22 Mon Sep 17 00:00:00 2001 +From: Tony Theodore +Date: Thu, 8 May 2014 00:24:25 +1000 +Subject: [PATCH 17/17] fix include path with current dir + + +diff --git a/src/3rdparty/webkit/Source/WebKit/qt/tests/hybridPixmap/hybridPixmap.pro b/src/3rdparty/webkit/Source/WebKit/qt/tests/hybridPixmap/hybridPixmap.pro +index 9e80870..98c7dad 100644 +--- a/src/3rdparty/webkit/Source/WebKit/qt/tests/hybridPixmap/hybridPixmap.pro ++++ b/src/3rdparty/webkit/Source/WebKit/qt/tests/hybridPixmap/hybridPixmap.pro +@@ -9,3 +9,4 @@ HEADERS += widget.h + FORMS += widget.ui + RESOURCES += resources.qrc + CONFIG += console ++INCLUDEPATH += . +-- +1.8.5.2 (Apple Git-48) -- cgit v0.12