diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-04-16 13:15:26 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-18 12:07:34 +0200 |
commit | 18741e483851e1a6aae79992b130aee34ad48879 (patch) | |
tree | c6523af371af79a48d726578217d6b3b1570beb0 /recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch | |
parent | d2c05c81e8230358dca80cf9df67e49f9f672a29 (diff) | |
download | meta-qt5-18741e483851e1a6aae79992b130aee34ad48879.tar.gz |
recipes-git: upgrade to 5.5
* based on my WIP patch + fixes from John Mullen
* I was trying to get rhid of 0003-Add-external-hostbindir-option.patch
and 0010-Add-external-hostbindir-option-for-native-sdk.patch by using
upstream configure parameter added in some previous version, but I've
failed, so now good-old -external-hostbindir parameter is back
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch index af224060..4a8cdbbd 100644 --- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch +++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 47b88e13ed8f4bb3bd34ac24dcf4b908dcba6753 Mon Sep 17 00:00:00 2001 | 1 | From d2212dd3c5acf7d3541f19470e688095a20d956c Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 | 3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 |
4 | Subject: [PATCH 03/12] Add -external-hostbindir option | 4 | Subject: Add -external-hostbindir option |
5 | 5 | ||
6 | * when cross-compiling it's sometimes useful to use existing tools from machine | 6 | * when cross-compiling it's sometimes useful to use existing tools from machine |
7 | (or in OpenEmbedded built with separate native recipe) when building for target | 7 | (or in OpenEmbedded built with separate native recipe) when building for target |
@@ -23,21 +23,24 @@ Upstream-Status: Pending | |||
23 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 23 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
24 | Signed-off-by: Simon Busch <morphis@gravedo.de> | 24 | Signed-off-by: Simon Busch <morphis@gravedo.de> |
25 | Signed-off-by: Jonathan Liu <net147@gmail.com> | 25 | Signed-off-by: Jonathan Liu <net147@gmail.com> |
26 | |||
27 | Conflicts: | ||
28 | configure | ||
26 | --- | 29 | --- |
27 | configure | 15 +++++++++++++++ | 30 | configure | 14 ++++++++++++++ |
28 | mkspecs/features/qt_functions.prf | 6 +++++- | 31 | mkspecs/features/qt_functions.prf | 6 +++++- |
29 | mkspecs/features/qt_tool.prf | 4 ++-- | 32 | mkspecs/features/qt_tool.prf | 4 ++-- |
30 | qtbase.pro | 13 ++++++++++--- | 33 | qtbase.pro | 13 ++++++++++--- |
31 | src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- | 34 | src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- |
32 | src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- | 35 | src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- |
33 | src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- | 36 | src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- |
34 | 7 files changed, 38 insertions(+), 12 deletions(-) | 37 | 7 files changed, 37 insertions(+), 12 deletions(-) |
35 | 38 | ||
36 | diff --git a/configure b/configure | 39 | diff --git a/configure b/configure |
37 | index 0a00d6d..ad5f4cd 100755 | 40 | index 43c4dab..ffb69df 100755 |
38 | --- a/configure | 41 | --- a/configure |
39 | +++ b/configure | 42 | +++ b/configure |
40 | @@ -770,6 +770,7 @@ QT_HOST_BINS= | 43 | @@ -806,6 +806,7 @@ QT_HOST_BINS= |
41 | QT_HOST_LIBS= | 44 | QT_HOST_LIBS= |
42 | QT_HOST_DATA= | 45 | QT_HOST_DATA= |
43 | QT_EXT_PREFIX= | 46 | QT_EXT_PREFIX= |
@@ -45,7 +48,7 @@ index 0a00d6d..ad5f4cd 100755 | |||
45 | 48 | ||
46 | #flags for SQL drivers | 49 | #flags for SQL drivers |
47 | QT_CFLAGS_PSQL= | 50 | QT_CFLAGS_PSQL= |
48 | @@ -889,6 +890,7 @@ while [ "$#" -gt 0 ]; do | 51 | @@ -925,6 +926,7 @@ while [ "$#" -gt 0 ]; do |
49 | -testsdir| \ | 52 | -testsdir| \ |
50 | -hostdatadir| \ | 53 | -hostdatadir| \ |
51 | -hostbindir| \ | 54 | -hostbindir| \ |
@@ -53,7 +56,7 @@ index 0a00d6d..ad5f4cd 100755 | |||
53 | -hostlibdir| \ | 56 | -hostlibdir| \ |
54 | -extprefix| \ | 57 | -extprefix| \ |
55 | -sysroot| \ | 58 | -sysroot| \ |
56 | @@ -1107,6 +1109,9 @@ while [ "$#" -gt 0 ]; do | 59 | @@ -1154,6 +1156,9 @@ while [ "$#" -gt 0 ]; do |
57 | extprefix) | 60 | extprefix) |
58 | QT_EXT_PREFIX="$VAL" | 61 | QT_EXT_PREFIX="$VAL" |
59 | ;; | 62 | ;; |
@@ -63,7 +66,7 @@ index 0a00d6d..ad5f4cd 100755 | |||
63 | pkg-config) | 66 | pkg-config) |
64 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | 67 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then |
65 | CFG_PKGCONFIG="$VAL" | 68 | CFG_PKGCONFIG="$VAL" |
66 | @@ -2270,6 +2275,10 @@ Installation options: | 69 | @@ -2380,6 +2385,10 @@ Installation options: |
67 | -hostdatadir <dir> . Data used by qmake will be installed to <dir> | 70 | -hostdatadir <dir> . Data used by qmake will be installed to <dir> |
68 | (default HOSTPREFIX) | 71 | (default HOSTPREFIX) |
69 | 72 | ||
@@ -74,7 +77,7 @@ index 0a00d6d..ad5f4cd 100755 | |||
74 | Configure options: | 77 | Configure options: |
75 | 78 | ||
76 | The defaults (*) are usually acceptable. A plus (+) denotes a default value | 79 | The defaults (*) are usually acceptable. A plus (+) denotes a default value |
77 | @@ -2949,6 +2958,11 @@ fi | 80 | @@ -3095,6 +3104,11 @@ fi |
78 | # command line and environment validation | 81 | # command line and environment validation |
79 | #------------------------------------------------------------------------------- | 82 | #------------------------------------------------------------------------------- |
80 | 83 | ||
@@ -86,16 +89,8 @@ index 0a00d6d..ad5f4cd 100755 | |||
86 | # update QT_CONFIG to show our current predefined configuration | 89 | # update QT_CONFIG to show our current predefined configuration |
87 | CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h | 90 | CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h |
88 | case "$CFG_QCONFIG" in | 91 | case "$CFG_QCONFIG" in |
89 | @@ -3649,6 +3663,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { | ||
90 | "qt_hbinpath=$QT_HOST_BINS", | ||
91 | "qt_hlibpath=$QT_HOST_LIBS", | ||
92 | "qt_hdatpath=$QT_HOST_DATA", | ||
93 | + "qt_ebinpath=$QT_EXTERNAL_HOST_BINS", | ||
94 | "qt_targspec=$shortxspec", | ||
95 | "qt_hostspec=$shortspec", | ||
96 | #endif | ||
97 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 92 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
98 | index 79b4eab..8c6913e 100644 | 93 | index a1c4996..fca679c 100644 |
99 | --- a/mkspecs/features/qt_functions.prf | 94 | --- a/mkspecs/features/qt_functions.prf |
100 | +++ b/mkspecs/features/qt_functions.prf | 95 | +++ b/mkspecs/features/qt_functions.prf |
101 | @@ -198,7 +198,11 @@ defineTest(qtAddRpathLink) { | 96 | @@ -198,7 +198,11 @@ defineTest(qtAddRpathLink) { |
@@ -130,10 +125,10 @@ index 1d3e88c..9b26adf 100644 | |||
130 | 125 | ||
131 | !host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private) | 126 | !host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private) |
132 | diff --git a/qtbase.pro b/qtbase.pro | 127 | diff --git a/qtbase.pro b/qtbase.pro |
133 | index 6d0de44..ddf7478 100644 | 128 | index 51e8fb8..9806769 100644 |
134 | --- a/qtbase.pro | 129 | --- a/qtbase.pro |
135 | +++ b/qtbase.pro | 130 | +++ b/qtbase.pro |
136 | @@ -69,18 +69,25 @@ CONFIG -= qt | 131 | @@ -37,12 +37,16 @@ CONFIG -= qt |
137 | 132 | ||
138 | ### installations #### | 133 | ### installations #### |
139 | 134 | ||
@@ -153,6 +148,7 @@ index 6d0de44..ddf7478 100644 | |||
153 | } | 148 | } |
154 | INSTALLS += qmake | 149 | INSTALLS += qmake |
155 | 150 | ||
151 | @@ -54,6 +58,9 @@ exists($$licheck.files): INSTALLS += licheck | ||
156 | #syncqt | 152 | #syncqt |
157 | syncqt.path = $$[QT_HOST_BINS] | 153 | syncqt.path = $$[QT_HOST_BINS] |
158 | syncqt.files = $$PWD/bin/syncqt.pl | 154 | syncqt.files = $$PWD/bin/syncqt.pl |
@@ -163,7 +159,7 @@ index 6d0de44..ddf7478 100644 | |||
163 | 159 | ||
164 | # If we are doing a prefix build, create a "module" pri which enables | 160 | # If we are doing a prefix build, create a "module" pri which enables |
165 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in | 161 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in |
166 | index 65fd1f9..457518b 100644 | 162 | index 48d5f21..6482022 100644 |
167 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in | 163 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in |
168 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in | 164 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in |
169 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) | 165 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) |
@@ -229,5 +225,5 @@ index 99d87e2..5621dc0 100644 | |||
229 | _qt5_Widgets_check_file_exists(${imported_location}) | 225 | _qt5_Widgets_check_file_exists(${imported_location}) |
230 | 226 | ||
231 | -- | 227 | -- |
232 | 2.4.2 | 228 | 2.2.2 |
233 | 229 | ||