summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-11-27 13:48:38 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-09 11:06:30 +0100
commit54c44443c34f077bfc2c5cc3a92d6db59d28343c (patch)
tree479cd0ba85d55e8d01ae1396bca7397880360b70 /recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
parent5b8f470597d4f163952f3b63a8ee39a2ccabfe4c (diff)
downloadmeta-qt5-54c44443c34f077bfc2c5cc3a92d6db59d28343c.tar.gz
qt5-git: Update to rc1+, latest revision in 5.4 branch
* qtwebengine LIC_FILES_CHKSUM updated because of Copyright year update in chromium's LICENSE < // Copyright (c) 2013 The Chromium Authors. All rights reserved. and shortened the entry for qtwebengine LIC_FILES_CHKSUM, because it was including also few #include lines which were changed recently Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch')
-rw-r--r--recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
index 7c54008b..c633ea70 100644
--- a/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
@@ -1,4 +1,4 @@
1From 8f5a3f5b5d8f50661a2c69d5741a9df237600094 Mon Sep 17 00:00:00 2001 1From f2d51e50a7fbdf485696d1b8b2d29e64c729c76b Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 6 Apr 2013 13:15:07 +0200 3Date: Sat, 6 Apr 2013 13:15:07 +0200
4Subject: [PATCH 03/11] Add -external-hostbindir option 4Subject: [PATCH 03/11] Add -external-hostbindir option
@@ -28,17 +28,17 @@ Signed-off-by: Jonathan Liu <net147@gmail.com>
28 mkspecs/features/qt_functions.prf | 6 +++++- 28 mkspecs/features/qt_functions.prf | 6 +++++-
29 mkspecs/features/qt_tool.prf | 4 ++-- 29 mkspecs/features/qt_tool.prf | 4 ++--
30 qmake/property.cpp | 1 + 30 qmake/property.cpp | 1 +
31 qtbase.pro | 14 +++++++++++--- 31 qtbase.pro | 13 ++++++++++---
32 src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- 32 src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++---
33 src/corelib/global/qlibraryinfo.cpp | 3 ++- 33 src/corelib/global/qlibraryinfo.cpp | 3 ++-
34 src/corelib/global/qlibraryinfo.h | 1 + 34 src/corelib/global/qlibraryinfo.h | 1 +
35 src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- 35 src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++--
36 src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- 36 src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +-
37 tools/configure/configureapp.cpp | 8 ++++++++ 37 tools/configure/configureapp.cpp | 8 ++++++++
38 11 files changed, 51 insertions(+), 13 deletions(-) 38 11 files changed, 50 insertions(+), 13 deletions(-)
39 39
40diff --git a/configure b/configure 40diff --git a/configure b/configure
41index 1de01a9..7d7a98a 100755 41index b7a6fe3..d715f6c 100755
42--- a/configure 42--- a/configure
43+++ b/configure 43+++ b/configure
44@@ -769,6 +769,7 @@ QT_HOST_BINS= 44@@ -769,6 +769,7 @@ QT_HOST_BINS=
@@ -67,7 +67,7 @@ index 1de01a9..7d7a98a 100755
67 pkg-config) 67 pkg-config)
68 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 68 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
69 CFG_PKGCONFIG="$VAL" 69 CFG_PKGCONFIG="$VAL"
70@@ -2260,6 +2265,10 @@ Installation options: 70@@ -2265,6 +2270,10 @@ Installation options:
71 -hostdatadir <dir> . Data used by qmake will be installed to <dir> 71 -hostdatadir <dir> . Data used by qmake will be installed to <dir>
72 (default HOSTPREFIX) 72 (default HOSTPREFIX)
73 73
@@ -78,7 +78,7 @@ index 1de01a9..7d7a98a 100755
78 Configure options: 78 Configure options:
79 79
80 The defaults (*) are usually acceptable. A plus (+) denotes a default value 80 The defaults (*) are usually acceptable. A plus (+) denotes a default value
81@@ -2939,6 +2948,11 @@ fi 81@@ -2944,6 +2953,11 @@ fi
82 # command line and environment validation 82 # command line and environment validation
83 #------------------------------------------------------------------------------- 83 #-------------------------------------------------------------------------------
84 84
@@ -90,7 +90,7 @@ index 1de01a9..7d7a98a 100755
90 # update QT_CONFIG to show our current predefined configuration 90 # update QT_CONFIG to show our current predefined configuration
91 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h 91 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
92 case "$CFG_QCONFIG" in 92 case "$CFG_QCONFIG" in
93@@ -3638,6 +3652,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { 93@@ -3644,6 +3658,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = {
94 "qt_hbinpath=$QT_HOST_BINS", 94 "qt_hbinpath=$QT_HOST_BINS",
95 "qt_hlibpath=$QT_HOST_LIBS", 95 "qt_hlibpath=$QT_HOST_LIBS",
96 "qt_hdatpath=$QT_HOST_DATA", 96 "qt_hdatpath=$QT_HOST_DATA",
@@ -146,7 +146,7 @@ index 051e056..50da6ed 100644
146 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, 146 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
147 }; 147 };
148diff --git a/qtbase.pro b/qtbase.pro 148diff --git a/qtbase.pro b/qtbase.pro
149index d6861cf..7fb58a3 100644 149index 6d0de44..ddf7478 100644
150--- a/qtbase.pro 150--- a/qtbase.pro
151+++ b/qtbase.pro 151+++ b/qtbase.pro
152@@ -69,18 +69,25 @@ CONFIG -= qt 152@@ -69,18 +69,25 @@ CONFIG -= qt
@@ -210,10 +210,10 @@ index 9bda70e..6e3605a 100644
210 _qt5_Core_check_file_exists(${imported_location}) 210 _qt5_Core_check_file_exists(${imported_location})
211 211
212diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 212diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
213index 1be2659..6c3718a 100644 213index d68c51b..7191159 100644
214--- a/src/corelib/global/qlibraryinfo.cpp 214--- a/src/corelib/global/qlibraryinfo.cpp
215+++ b/src/corelib/global/qlibraryinfo.cpp 215+++ b/src/corelib/global/qlibraryinfo.cpp
216@@ -357,7 +357,7 @@ QLibraryInfo::isDebugBuild() 216@@ -349,7 +349,7 @@ QLibraryInfo::isDebugBuild()
217 */ 217 */
218 218
219 static const struct { 219 static const struct {
@@ -222,7 +222,7 @@ index 1be2659..6c3718a 100644
222 } qtConfEntries[] = { 222 } qtConfEntries[] = {
223 { "Prefix", "." }, 223 { "Prefix", "." },
224 { "Documentation", "doc" }, // should be ${Data}/doc 224 { "Documentation", "doc" }, // should be ${Data}/doc
225@@ -383,6 +383,7 @@ static const struct { 225@@ -375,6 +375,7 @@ static const struct {
226 { "HostBinaries", "bin" }, 226 { "HostBinaries", "bin" },
227 { "HostLibraries", "lib" }, 227 { "HostLibraries", "lib" },
228 { "HostData", "." }, 228 { "HostData", "." },
@@ -278,7 +278,7 @@ index 99d87e2..5621dc0 100644
278 _qt5_Widgets_check_file_exists(${imported_location}) 278 _qt5_Widgets_check_file_exists(${imported_location})
279 279
280diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 280diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
281index 99ecc7b..6e0f4da 100644 281index 92422c2..d0a62c8 100644
282--- a/tools/configure/configureapp.cpp 282--- a/tools/configure/configureapp.cpp
283+++ b/tools/configure/configureapp.cpp 283+++ b/tools/configure/configureapp.cpp
284@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine() 284@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine()
@@ -295,7 +295,7 @@ index 99ecc7b..6e0f4da 100644
295 else if (configCmdLine.at(i) == "-make-tool") { 295 else if (configCmdLine.at(i) == "-make-tool") {
296 ++i; 296 ++i;
297 if (i == argCount) 297 if (i == argCount)
298@@ -3994,6 +4001,7 @@ void Configure::generateQConfigCpp() 298@@ -3995,6 +4002,7 @@ void Configure::generateQConfigCpp()
299 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl 299 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
300 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl 300 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
301 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl 301 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
@@ -304,5 +304,5 @@ index 99ecc7b..6e0f4da 100644
304 << " \"qt_hostspec=" << hostSpec << "\"," << endl 304 << " \"qt_hostspec=" << hostSpec << "\"," << endl
305 << "#endif" << endl 305 << "#endif" << endl
306-- 306--
3072.1.1 3072.1.3
308 308