comparison src/qt-1-cherrypicks.patch @ 2764:93c5866a4afd

package qt: remove wrongly detected mac features
author Mark Brand <mabrand@mabrand.nl>
date Wed, 19 Sep 2012 20:29:57 +0200
parents 61643b8b5122
children 851daf6da276
comparison
equal deleted inserted replaced
2763:8d92d3ccb2e5 2764:93c5866a4afd
6 Also contains MXE specific fixes. 6 Also contains MXE specific fixes.
7 7
8 From 2a376d8ff643ec0d40fdba68a25c3a323dbd5be4 Mon Sep 17 00:00:00 2001 8 From 2a376d8ff643ec0d40fdba68a25c3a323dbd5be4 Mon Sep 17 00:00:00 2001
9 From: Mark Brand <mabrand@mabrand.nl> 9 From: Mark Brand <mabrand@mabrand.nl>
10 Date: Fri, 13 Jan 2012 00:17:48 +0100 10 Date: Fri, 13 Jan 2012 00:17:48 +0100
11 Subject: [PATCH 01/22] remove trailing whitespace 11 Subject: [PATCH 01/23] remove trailing whitespace
12 12
13 backported from qt5/qtbase 13 backported from qt5/qtbase
14 Change-Id: If53a0bd1794e69b4856f993c6e2959369bd007d6 14 Change-Id: If53a0bd1794e69b4856f993c6e2959369bd007d6
15 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> 15 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
16 (cherry picked from commit 0f7a413683ab4358c4ded8bdffb7381459d98068) 16 (cherry picked from commit 0f7a413683ab4358c4ded8bdffb7381459d98068)
33 33
34 34
35 From f9650fb05bde43a8d710469daa363383e3947e3a Mon Sep 17 00:00:00 2001 35 From f9650fb05bde43a8d710469daa363383e3947e3a Mon Sep 17 00:00:00 2001
36 From: Mark Brand <mabrand@mabrand.nl> 36 From: Mark Brand <mabrand@mabrand.nl>
37 Date: Thu, 30 Jun 2011 10:22:33 +0200 37 Date: Thu, 30 Jun 2011 10:22:33 +0200
38 Subject: [PATCH 02/22] do not detect or configure iconv for Windows 38 Subject: [PATCH 02/23] do not detect or configure iconv for Windows
39 39
40 Qt doesn't use iconv on Windows, but configuring it will appear to 40 Qt doesn't use iconv on Windows, but configuring it will appear to
41 work and the build will complete. The result is that character 41 work and the build will complete. The result is that character
42 set conversions do not work. 42 set conversions do not work.
43 43
67 67
68 68
69 From 04a44c0d6b3272c6edb08d34cecf36825843c2a0 Mon Sep 17 00:00:00 2001 69 From 04a44c0d6b3272c6edb08d34cecf36825843c2a0 Mon Sep 17 00:00:00 2001
70 From: Mark Brand <mabrand@mabrand.nl> 70 From: Mark Brand <mabrand@mabrand.nl>
71 Date: Wed, 18 Jan 2012 11:43:10 +0100 71 Date: Wed, 18 Jan 2012 11:43:10 +0100
72 Subject: [PATCH 03/22] fix whitespace 72 Subject: [PATCH 03/23] fix whitespace
73 73
74 backported from qt5/qtbase 74 backported from qt5/qtbase
75 Change-Id: I0cfccae085c000d4368386a34f288c1e6f01a88f 75 Change-Id: I0cfccae085c000d4368386a34f288c1e6f01a88f
76 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> 76 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
77 (cherry picked from commit 10f6c5981cd2373c73873f8bace0b2df42a01db8) 77 (cherry picked from commit 10f6c5981cd2373c73873f8bace0b2df42a01db8)
141 141
142 142
143 From 043a2cdc024dd19685a1cd3694faa0cdbade5a82 Mon Sep 17 00:00:00 2001 143 From 043a2cdc024dd19685a1cd3694faa0cdbade5a82 Mon Sep 17 00:00:00 2001
144 From: Mark Brand <mabrand@mabrand.nl> 144 From: Mark Brand <mabrand@mabrand.nl>
145 Date: Mon, 4 Jul 2011 00:42:24 +0200 145 Date: Mon, 4 Jul 2011 00:42:24 +0200
146 Subject: [PATCH 04/22] build and load text codecs regardless of iconv and 146 Subject: [PATCH 04/23] build and load text codecs regardless of iconv and
147 platform 147 platform
148 148
149 Otherwise applications linking to static Qt may have to import 149 Otherwise applications linking to static Qt may have to import
150 the static plugins to avoid linking failure even if they do not 150 the static plugins to avoid linking failure even if they do not
151 use the codecs, which is a nuisance. 151 use the codecs, which is a nuisance.
283 283
284 284
285 From c9e946e08850c2ea92c818bcef9b4f0ec47fb86f Mon Sep 17 00:00:00 2001 285 From c9e946e08850c2ea92c818bcef9b4f0ec47fb86f Mon Sep 17 00:00:00 2001
286 From: Mark Brand <mabrand@mabrand.nl> 286 From: Mark Brand <mabrand@mabrand.nl>
287 Date: Fri, 13 Jan 2012 00:24:13 +0100 287 Date: Fri, 13 Jan 2012 00:24:13 +0100
288 Subject: [PATCH 05/22] move plugin text codecs to QtCore 288 Subject: [PATCH 05/23] move plugin text codecs to QtCore
289 289
290 Having plugin text codecs adds considerable complexity to 290 Having plugin text codecs adds considerable complexity to
291 configuring Qt. The plugin interface is designed for optional 291 configuring Qt. The plugin interface is designed for optional
292 features, but text codecs tend to be used for essential functions. 292 features, but text codecs tend to be used for essential functions.
293 A dramatic example is loading a codec plugin from a file whose path 293 A dramatic example is loading a codec plugin from a file whose path
79234 79234
79235 79235
79236 From 7c457dbd99e5865f13499146e9487e9cb4b86868 Mon Sep 17 00:00:00 2001 79236 From 7c457dbd99e5865f13499146e9487e9cb4b86868 Mon Sep 17 00:00:00 2001
79237 From: Mark Brand <mabrand@mabrand.nl> 79237 From: Mark Brand <mabrand@mabrand.nl>
79238 Date: Wed, 18 Jan 2012 21:01:26 +0100 79238 Date: Wed, 18 Jan 2012 21:01:26 +0100
79239 Subject: [PATCH 06/22] update private header references 79239 Subject: [PATCH 06/23] update private header references
79240 79240
79241 backported from qt5/qtbase 79241 backported from qt5/qtbase
79242 Change-Id: I092d879653b6900532a0c4534c1eb2be84e9d0f6 79242 Change-Id: I092d879653b6900532a0c4534c1eb2be84e9d0f6
79243 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> 79243 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
79244 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 79244 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
79397 79397
79398 79398
79399 From 2be2accfee23fee3a9d97e5852ff9d2a01a7c33f Mon Sep 17 00:00:00 2001 79399 From 2be2accfee23fee3a9d97e5852ff9d2a01a7c33f Mon Sep 17 00:00:00 2001
79400 From: Mark Brand <mabrand@mabrand.nl> 79400 From: Mark Brand <mabrand@mabrand.nl>
79401 Date: Sun, 3 Jul 2011 21:53:27 +0200 79401 Date: Sun, 3 Jul 2011 21:53:27 +0200
79402 Subject: [PATCH 07/22] cosmetic adjustments for files moved to core/codecs 79402 Subject: [PATCH 07/23] cosmetic adjustments for files moved to core/codecs
79403 79403
79404 -update old reference to 'plugin' 79404 -update old reference to 'plugin'
79405 -rename multiple inclusion guards 79405 -rename multiple inclusion guards
79406 -add private header warning text 79406 -add private header warning text
79407 79407
79889 79889
79890 79890
79891 From eeecdea8f15353aa0461ec09f7064f456849a3c3 Mon Sep 17 00:00:00 2001 79891 From eeecdea8f15353aa0461ec09f7064f456849a3c3 Mon Sep 17 00:00:00 2001
79892 From: Mark Brand <mabrand@mabrand.nl> 79892 From: Mark Brand <mabrand@mabrand.nl>
79893 Date: Thu, 12 Jan 2012 10:43:29 +0100 79893 Date: Thu, 12 Jan 2012 10:43:29 +0100
79894 Subject: [PATCH 08/22] remove obsolete codec plugin loading code 79894 Subject: [PATCH 08/23] remove obsolete codec plugin loading code
79895 79895
79896 backported from qt5/qtbase 79896 backported from qt5/qtbase
79897 Change-Id: I1f3dbb5c10009413f701947b1b89ed3dbc94bf3d 79897 Change-Id: I1f3dbb5c10009413f701947b1b89ed3dbc94bf3d
79898 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> 79898 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
79899 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 79899 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
80426 80426
80427 80427
80428 From c94d9111ef83683ea2b7db6e4070594c4a332f1c Mon Sep 17 00:00:00 2001 80428 From c94d9111ef83683ea2b7db6e4070594c4a332f1c Mon Sep 17 00:00:00 2001
80429 From: Mark Brand <mabrand@mabrand.nl> 80429 From: Mark Brand <mabrand@mabrand.nl>
80430 Date: Mon, 23 Jan 2012 23:12:46 +0100 80430 Date: Mon, 23 Jan 2012 23:12:46 +0100
80431 Subject: [PATCH 09/22] remove vestiges of text codec plugins 80431 Subject: [PATCH 09/23] remove vestiges of text codec plugins
80432 80432
80433 follow-up to 3a3356a85079d734dfa57205a00e1996afc033df 80433 follow-up to 3a3356a85079d734dfa57205a00e1996afc033df
80434 80434
80435 backported from qt5/qtbase 80435 backported from qt5/qtbase
80436 Change-Id: Iba84958cbcd105ec702568752090719cc108e101 80436 Change-Id: Iba84958cbcd105ec702568752090719cc108e101
80460 80460
80461 80461
80462 From 415466a4ac2a87522569544a9b9ba7115fc4acf7 Mon Sep 17 00:00:00 2001 80462 From 415466a4ac2a87522569544a9b9ba7115fc4acf7 Mon Sep 17 00:00:00 2001
80463 From: Mark Brand <mabrand@mabrand.nl> 80463 From: Mark Brand <mabrand@mabrand.nl>
80464 Date: Thu, 3 Nov 2011 15:10:26 +0100 80464 Date: Thu, 3 Nov 2011 15:10:26 +0100
80465 Subject: [PATCH 10/22] use pkg-config for libmng (MXE specific) 80465 Subject: [PATCH 10/23] use pkg-config for libmng (MXE specific)
80466 80466
80467 Change-Id: Ifce956d5cad06d5273088656b8500b87980063f4 80467 Change-Id: Ifce956d5cad06d5273088656b8500b87980063f4
80468 80468
80469 diff --git a/src/gui/image/qmnghandler.pri b/src/gui/image/qmnghandler.pri 80469 diff --git a/src/gui/image/qmnghandler.pri b/src/gui/image/qmnghandler.pri
80470 index ffb98de..6aab68f 100644 80470 index ffb98de..6aab68f 100644
80486 80486
80487 80487
80488 From 1cac3150930d5353455b560792f7e76fe180ad26 Mon Sep 17 00:00:00 2001 80488 From 1cac3150930d5353455b560792f7e76fe180ad26 Mon Sep 17 00:00:00 2001
80489 From: Mark Brand <mabrand@mabrand.nl> 80489 From: Mark Brand <mabrand@mabrand.nl>
80490 Date: Thu, 3 Nov 2011 14:11:02 +0100 80490 Date: Thu, 3 Nov 2011 14:11:02 +0100
80491 Subject: [PATCH 11/22] use pkg-config for libtiff-4 (MXE specific) 80491 Subject: [PATCH 11/23] use pkg-config for libtiff-4 (MXE specific)
80492 80492
80493 Change-Id: I5e89e66fc1606d425553e781c9e62db703136957 80493 Change-Id: I5e89e66fc1606d425553e781c9e62db703136957
80494 80494
80495 diff --git a/src/gui/image/qtiffhandler.pri b/src/gui/image/qtiffhandler.pri 80495 diff --git a/src/gui/image/qtiffhandler.pri b/src/gui/image/qtiffhandler.pri
80496 index e1cc3ee..71cbab1 100644 80496 index e1cc3ee..71cbab1 100644
80512 80512
80513 80513
80514 From 28ad5f9d9c70feba6475652c6445bbe263998d3d Mon Sep 17 00:00:00 2001 80514 From 28ad5f9d9c70feba6475652c6445bbe263998d3d Mon Sep 17 00:00:00 2001
80515 From: Mark Brand <mabrand@mabrand.nl> 80515 From: Mark Brand <mabrand@mabrand.nl>
80516 Date: Sat, 5 Jun 2010 23:41:04 +0200 80516 Date: Sat, 5 Jun 2010 23:41:04 +0200
80517 Subject: [PATCH 12/22] restore support for static linking of QtWebKit (MXE 80517 Subject: [PATCH 12/23] restore support for static linking of QtWebKit (MXE
80518 specific) 80518 specific)
80519 80519
80520 Support was removed by 4221d629e2cf37ee8c5ba7cb595b05ab8c82f113. 80520 Support was removed by 4221d629e2cf37ee8c5ba7cb595b05ab8c82f113.
80521 80521
80522 For static Qt on win32-g++*, applications using webkit link to jscore and webcore. 80522 For static Qt on win32-g++*, applications using webkit link to jscore and webcore.
80615 80615
80616 80616
80617 From ab04bc59d7caf5d04bb87bd75d2bbe98da89d599 Mon Sep 17 00:00:00 2001 80617 From ab04bc59d7caf5d04bb87bd75d2bbe98da89d599 Mon Sep 17 00:00:00 2001
80618 From: Tony Theodore <tonyt@logyst.com> 80618 From: Tony Theodore <tonyt@logyst.com>
80619 Date: Thu, 1 Sep 2011 13:47:10 +0200 80619 Date: Thu, 1 Sep 2011 13:47:10 +0200
80620 Subject: [PATCH 13/22] fix building on GNU/kFreeBSD (MXE specific) 80620 Subject: [PATCH 13/23] fix building on GNU/kFreeBSD (MXE specific)
80621 80621
80622 This patch has been taken from: 80622 This patch has been taken from:
80623 80623
80624 http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qt4-x11.git;a=blob;f=debian/patches/50_kfreebsd_Q_OS.diff;h=4a8db71ff07a91efdf822baa120a3542ccf1d7f2;hb=HEAD 80624 http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qt4-x11.git;a=blob;f=debian/patches/50_kfreebsd_Q_OS.diff;h=4a8db71ff07a91efdf822baa120a3542ccf1d7f2;hb=HEAD
80625 80625
80646 80646
80647 80647
80648 From 28bf082efa51789d404e33bfbfdbe17a8261af87 Mon Sep 17 00:00:00 2001 80648 From 28bf082efa51789d404e33bfbfdbe17a8261af87 Mon Sep 17 00:00:00 2001
80649 From: Tony Theodore <tonyt@logyst.com> 80649 From: Tony Theodore <tonyt@logyst.com>
80650 Date: Thu, 1 Sep 2011 13:49:47 +0200 80650 Date: Thu, 1 Sep 2011 13:49:47 +0200
80651 Subject: [PATCH 14/22] fix missing platform when building on GNU/kFreeBSD 80651 Subject: [PATCH 14/23] fix missing platform when building on GNU/kFreeBSD
80652 (MXE specific) 80652 (MXE specific)
80653 80653
80654 This patch is inspired by: 80654 This patch is inspired by:
80655 http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qt4-x11.git;a=blob;f=debian/rules;h=47e5efbf09f77e6da51a3d719d2f6be47f69d096;hb=HEAD 80655 http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qt4-x11.git;a=blob;f=debian/rules;h=47e5efbf09f77e6da51a3d719d2f6be47f69d096;hb=HEAD
80656 80656
80677 80677
80678 80678
80679 From f32c0852485615d6938d1cde1e0b4dc4e6262a7e Mon Sep 17 00:00:00 2001 80679 From f32c0852485615d6938d1cde1e0b4dc4e6262a7e Mon Sep 17 00:00:00 2001
80680 From: Tony Theodore <tonyt@logyst.com> 80680 From: Tony Theodore <tonyt@logyst.com>
80681 Date: Thu, 1 Sep 2011 13:51:50 +0200 80681 Date: Thu, 1 Sep 2011 13:51:50 +0200
80682 Subject: [PATCH 15/22] fix building on dragonfly (MXE specific) 80682 Subject: [PATCH 15/23] fix building on dragonfly (MXE specific)
80683 80683
80684 This patch is inspired by: 80684 This patch is inspired by:
80685 http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/x11/qt4-libs/Makefile.common?rev=1.27&content-type=text/x-cvsweb-markup 80685 http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/x11/qt4-libs/Makefile.common?rev=1.27&content-type=text/x-cvsweb-markup
80686 80686
80687 Change-Id: I9743a39ac35950cb15af915c3ae527433bc6b56d 80687 Change-Id: I9743a39ac35950cb15af915c3ae527433bc6b56d
80704 80704
80705 80705
80706 From 67da309cbc542e765d2254bd2e2c64a78c7cd35f Mon Sep 17 00:00:00 2001 80706 From 67da309cbc542e765d2254bd2e2c64a78c7cd35f Mon Sep 17 00:00:00 2001
80707 From: Yuchen Deng <loaden@gmail.com> 80707 From: Yuchen Deng <loaden@gmail.com>
80708 Date: Sun, 19 Aug 2012 15:38:44 +0800 80708 Date: Sun, 19 Aug 2012 15:38:44 +0800
80709 Subject: [PATCH 16/22] Add -pipe option of win32-g++'s QMAKE_CFLAGS 80709 Subject: [PATCH 16/23] Add -pipe option of win32-g++'s QMAKE_CFLAGS
80710 80710
80711 cherry-picked from qt5/qtbase commit 2b57a8ebfeb6e3495b63fac619631896ca670f11 80711 cherry-picked from qt5/qtbase commit 2b57a8ebfeb6e3495b63fac619631896ca670f11
80712 80712
80713 Change-Id: Idccab648df1a9456a4ee19f1acfdb0544d40a928 80713 Change-Id: Idccab648df1a9456a4ee19f1acfdb0544d40a928
80714 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> 80714 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
80732 80732
80733 80733
80734 From eeeadca6963f3dedd6ea3626409199f49afa839f Mon Sep 17 00:00:00 2001 80734 From eeeadca6963f3dedd6ea3626409199f49afa839f Mon Sep 17 00:00:00 2001
80735 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> 80735 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
80736 Date: Mon, 10 Sep 2012 12:08:51 +0200 80736 Date: Mon, 10 Sep 2012 12:08:51 +0200
80737 Subject: [PATCH 17/22] find qdevice.pri even for installed qt builds 80737 Subject: [PATCH 17/23] find qdevice.pri even for installed qt builds
80738 80738
80739 Change-Id: Ife18068974227d70c52e7cb0d06e6136827ac562 80739 Change-Id: Ife18068974227d70c52e7cb0d06e6136827ac562
80740 Reviewed-by: Mark Brand <mabrand@mabrand.nl> 80740 Reviewed-by: Mark Brand <mabrand@mabrand.nl>
80741 (cherry picked from commit ffac77f7de433f67570ff0da9656bce6481be920) 80741 (cherry picked from commit ffac77f7de433f67570ff0da9656bce6481be920)
80742 80742
80757 80757
80758 80758
80759 From 2519a7dd92f14031c7d11775caa0645384febd87 Mon Sep 17 00:00:00 2001 80759 From 2519a7dd92f14031c7d11775caa0645384febd87 Mon Sep 17 00:00:00 2001
80760 From: Mark Brand <mabrand@mabrand.nl> 80760 From: Mark Brand <mabrand@mabrand.nl>
80761 Date: Wed, 12 Sep 2012 00:22:28 +0200 80761 Date: Wed, 12 Sep 2012 00:22:28 +0200
80762 Subject: [PATCH 18/22] Partial Revert "Disable pkg-config, when x-compiling 80762 Subject: [PATCH 18/23] Partial Revert "Disable pkg-config, when x-compiling
80763 for mingw" 80763 for mingw"
80764 MIME-Version: 1.0 80764 MIME-Version: 1.0
80765 Content-Type: text/plain; charset=UTF-8 80765 Content-Type: text/plain; charset=UTF-8
80766 Content-Transfer-Encoding: 8bit 80766 Content-Transfer-Encoding: 8bit
80767 80767
80797 80797
80798 80798
80799 From 03f7a56af4020aaead73c9d0de389d32fd4ddb24 Mon Sep 17 00:00:00 2001 80799 From 03f7a56af4020aaead73c9d0de389d32fd4ddb24 Mon Sep 17 00:00:00 2001
80800 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <syntheticpp@gmx.net> 80800 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <syntheticpp@gmx.net>
80801 Date: Wed, 12 Sep 2012 11:13:44 +0200 80801 Date: Wed, 12 Sep 2012 11:13:44 +0200
80802 Subject: [PATCH 19/22] When x-compiling on Linux the host tools doesn't have 80802 Subject: [PATCH 19/23] When x-compiling on Linux the host tools doesn't have
80803 Windows' executable suffix 80803 Windows' executable suffix
80804 80804
80805 patch not needed for Qt5 80805 patch not needed for Qt5
80806 80806
80807 Change-Id: I26a6cd8de91dc6df7d31a9f38187f7b1e8209cc1 80807 Change-Id: I26a6cd8de91dc6df7d31a9f38187f7b1e8209cc1
80839 80839
80840 80840
80841 From 32415e3cb482c55b16d5953e37865ded1885869d Mon Sep 17 00:00:00 2001 80841 From 32415e3cb482c55b16d5953e37865ded1885869d Mon Sep 17 00:00:00 2001
80842 From: Mark Brand <mabrand@mabrand.nl> 80842 From: Mark Brand <mabrand@mabrand.nl>
80843 Date: Tue, 11 Sep 2012 23:45:02 +0200 80843 Date: Tue, 11 Sep 2012 23:45:02 +0200
80844 Subject: [PATCH 20/22] smuggle QT_BUILD_TREE to device_config.prf even during 80844 Subject: [PATCH 20/23] smuggle QT_BUILD_TREE to device_config.prf even during
80845 tests 80845 tests
80846 80846
80847 Otherwise CROSS_COMPILE is not available for config.tests 80847 Otherwise CROSS_COMPILE is not available for config.tests
80848 because qdevice.pri is not found in such configurations as: 80848 because qdevice.pri is not found in such configurations as:
80849 80849
80878 80878
80879 80879
80880 From 6a5e0ddd8a49120e14638ff905d7535b3a83d0f9 Mon Sep 17 00:00:00 2001 80880 From 6a5e0ddd8a49120e14638ff905d7535b3a83d0f9 Mon Sep 17 00:00:00 2001
80881 From: Mark Brand <mabrand@mabrand.nl> 80881 From: Mark Brand <mabrand@mabrand.nl>
80882 Date: Sun, 16 Sep 2012 00:12:53 +0200 80882 Date: Sun, 16 Sep 2012 00:12:53 +0200
80883 Subject: [PATCH 21/22] postpone pkg-config detection until after qmake is 80883 Subject: [PATCH 21/23] postpone pkg-config detection until after qmake is
80884 built 80884 built
80885 80885
80886 pkg-config isn't used before qmake is built, so detecting it can take 80886 pkg-config isn't used before qmake is built, so detecting it can take
80887 place afterwards. This is preparation for using qmake to resolve 80887 place afterwards. This is preparation for using qmake to resolve
80888 PKG_CONFIG define in mkspecs. 80888 PKG_CONFIG define in mkspecs.
81025 81025
81026 81026
81027 From 8173e1aed8382a20afcb70ca36615dda67faf95c Mon Sep 17 00:00:00 2001 81027 From 8173e1aed8382a20afcb70ca36615dda67faf95c Mon Sep 17 00:00:00 2001
81028 From: Mark Brand <mabrand@mabrand.nl> 81028 From: Mark Brand <mabrand@mabrand.nl>
81029 Date: Fri, 14 Sep 2012 10:03:18 +0200 81029 Date: Fri, 14 Sep 2012 10:03:18 +0200
81030 Subject: [PATCH 22/22] use qmake to get PKG_CONFIG in configure script 81030 Subject: [PATCH 22/23] use qmake to get PKG_CONFIG in configure script
81031 81031
81032 The value of PKG_CONFIG might depend on device options. 81032 The value of PKG_CONFIG might depend on device options.
81033 For example, "-device-option PKG_CONFIG" might be used with configure 81033 For example, "-device-option PKG_CONFIG" might be used with configure
81034 or a mkspec might prefix PKG_CONFIG with CROSS_COMPILE which is 81034 or a mkspec might prefix PKG_CONFIG with CROSS_COMPILE which is
81035 specified as a device option. 81035 specified as a device option.
81057 if [ -z "$PKG_CONFIG" ]; then 81057 if [ -z "$PKG_CONFIG" ]; then
81058 PKG_CONFIG=`"$WHICH" pkg-config 2>/dev/null` 81058 PKG_CONFIG=`"$WHICH" pkg-config 2>/dev/null`
81059 -- 81059 --
81060 1.7.10.4 81060 1.7.10.4
81061 81061
81062
81063 From 606164e8842df49f09b0d273476699c7ebf9d9ba Mon Sep 17 00:00:00 2001
81064 From: Mark Brand <mabrand@mabrand.nl>
81065 Date: Tue, 18 Sep 2012 21:40:22 +0200
81066 Subject: [PATCH 23/23] configure: mac features don't belong on cross mingw
81067 target
81068
81069 Change-Id: Idb789ed9a8aa9b824a4c2191a9c39e741ca49574
81070
81071 diff --git a/configure b/configure
81072 index 211476d..32f2fe8 100755
81073 --- a/configure
81074 +++ b/configure
81075 @@ -3407,7 +3407,7 @@ export SYSROOT_FLAG # used by config.tests/unix/compile.test
81076
81077 # auto-detect precompiled header support
81078 if [ "$CFG_PRECOMPILE" = "auto" ]; then
81079 - if [ `echo "$CFG_MAC_ARCHS" | wc -w` -gt 1 ]; then
81080 + if [ "$XPLATFORM_MINGW" != "yes" ] && [ `echo "$CFG_MAC_ARCHS" | wc -w` -gt 1 ]; then
81081 CFG_PRECOMPILE=no
81082 elif "$unixtests/precomp.test" "$TEST_COMPILER" "$OPT_VERBOSE"; then
81083 CFG_PRECOMPILE=no
81084 @@ -3421,6 +3421,11 @@ elif [ "$CFG_PRECOMPILE" = "yes" ] && [ `echo "$CFG_MAC_ARCHS" | wc -w` -gt 1 ];
81085 CFG_PRECOMPILE=no
81086 fi
81087
81088 +if [ "$XPLATFORM_MINGW" = "yes" ]; then
81089 + CFG_MAC_DWARF2=no
81090 + CFG_MAC_XARCH=no
81091 +fi
81092 +
81093 #auto-detect DWARF2 on the mac
81094 if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_DWARF2" = "auto" ]; then
81095 if "$mactests/dwarf2.test" "$TEST_COMPILER" "$OPT_VERBOSE" "$mactests" ; then
81096 --
81097 1.7.10.4
81098