diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-01-19 10:26:06 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-02-13 10:26:36 +0000 |
commit | 0cc8a8a21e1ba7ffa237c64608b2a6678897c096 (patch) | |
tree | 8338b413ab3c8eb08b176183651c669e56f7d66a /recipes-qt | |
parent | 02dca2673dba478ee11bfbab62888d2cdbe961e4 (diff) | |
download | meta-qt5-0cc8a8a21e1ba7ffa237c64608b2a6678897c096.tar.gz |
qt5: Upgrade to Qt 5.9.0
Change-Id: I446186476047563fd5377662d1827c45c2394140
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes-qt')
40 files changed, 110 insertions, 257 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 7d2ce583..25c072d5 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -27,10 +27,8 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" | |||
27 | # common for qtbase-native, qtbase-nativesdk and qtbase | 27 | # common for qtbase-native, qtbase-nativesdk and qtbase |
28 | SRC_URI += "\ | 28 | SRC_URI += "\ |
29 | file://0001-Add-linux-oe-g-platform.patch \ | 29 | file://0001-Add-linux-oe-g-platform.patch \ |
30 | file://0003-Add-external-hostbindir-option.patch \ | 30 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
31 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | ||
32 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ | 31 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
33 | file://0008-configure-paths-for-target-qmake-properly.patch \ | ||
34 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ | 32 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ |
35 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 33 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
36 | " | 34 | " |
@@ -129,7 +127,6 @@ do_configure() { | |||
129 | -testsdir ${OE_QMAKE_PATH_TESTS} \ | 127 | -testsdir ${OE_QMAKE_PATH_TESTS} \ |
130 | -hostbindir ${OE_QMAKE_PATH_HOST_BINS} \ | 128 | -hostbindir ${OE_QMAKE_PATH_HOST_BINS} \ |
131 | -hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \ | 129 | -hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \ |
132 | -host-option CROSS_COMPILE=${HOST_PREFIX} \ | ||
133 | -external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \ | 130 | -external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \ |
134 | -no-glib \ | 131 | -no-glib \ |
135 | -no-iconv \ | 132 | -no-iconv \ |
@@ -187,4 +184,4 @@ fakeroot do_generate_qt_environment_file() { | |||
187 | 184 | ||
188 | addtask generate_qt_environment_file after do_install before do_package | 185 | addtask generate_qt_environment_file after do_install before do_package |
189 | 186 | ||
190 | SRCREV = "49dc9aa409d727824f26b246054a22b5a7dd5980" | 187 | SRCREV = "0c50edbe84914469973a3b10e0170023ccdd66fe" |
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index f39208a8..2e21c6d8 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb | |||
@@ -34,6 +34,6 @@ do_configure_prepend() { | |||
34 | ${S}/src/quick3d/imports/input/importsinput.pro | 34 | ${S}/src/quick3d/imports/input/importsinput.pro |
35 | } | 35 | } |
36 | 36 | ||
37 | SRCREV = "440589a0747d9668fec3ff924b390d75be5c6733" | 37 | SRCREV = "7e6d78e2cc647f1fe1a66a9350e6a39574212e72" |
38 | 38 | ||
39 | BBCLASSEXTEND += "native nativesdk" | 39 | BBCLASSEXTEND += "native nativesdk" |
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc index f8649533..b7fee9c9 100644 --- a/recipes-qt/qt5/qt5-git.inc +++ b/recipes-qt/qt5/qt5-git.inc | |||
@@ -2,7 +2,7 @@ | |||
2 | # Copyright (C) 2013-2016 Martin Jansa <martin.jansa@gmail.com> | 2 | # Copyright (C) 2013-2016 Martin Jansa <martin.jansa@gmail.com> |
3 | 3 | ||
4 | QT_MODULE ?= "${BPN}" | 4 | QT_MODULE ?= "${BPN}" |
5 | QT_MODULE_BRANCH ?= "5.8" | 5 | QT_MODULE_BRANCH ?= "5.9" |
6 | QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1" | 6 | QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1" |
7 | 7 | ||
8 | # each module needs to define valid SRCREV | 8 | # each module needs to define valid SRCREV |
@@ -12,4 +12,4 @@ SRC_URI = " \ | |||
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | PV = "5.8.0+git${SRCPV}" | 15 | PV = "5.9.0+git${SRCPV}" |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index ba1be2c1..972e8eda 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -22,10 +22,8 @@ require qt5-git.inc | |||
22 | # common for qtbase-native, qtbase-nativesdk and qtbase | 22 | # common for qtbase-native, qtbase-nativesdk and qtbase |
23 | SRC_URI += "\ | 23 | SRC_URI += "\ |
24 | file://0001-Add-linux-oe-g-platform.patch \ | 24 | file://0001-Add-linux-oe-g-platform.patch \ |
25 | file://0003-Add-external-hostbindir-option.patch \ | 25 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
26 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | ||
27 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ | 26 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
28 | file://0008-configure-paths-for-target-qmake-properly.patch \ | ||
29 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ | 27 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ |
30 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 28 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
31 | " | 29 | " |
@@ -99,9 +97,7 @@ do_install() { | |||
99 | done | 97 | done |
100 | fi | 98 | fi |
101 | 99 | ||
102 | # for modules which are still using syncqt and call qtPrepareTool(QMAKE_SYNCQT, syncqt) | 100 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} |
103 | # e.g. qt3d, qtwayland | ||
104 | ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt | ||
105 | } | 101 | } |
106 | 102 | ||
107 | SRCREV = "49dc9aa409d727824f26b246054a22b5a7dd5980" | 103 | SRCREV = "0c50edbe84914469973a3b10e0170023ccdd66fe" |
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch index 8224171a..4ab47247 100644 --- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch +++ b/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch | |||
@@ -1,9 +1,9 @@ | |||
1 | From 502b95b840a5f79e5a68e9bd5b10dbdc92485f1f Mon Sep 17 00:00:00 2001 | 1 | From f49d55a883369dee488cc59feda29c770a803458 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] Add -external-hostbindir option | 4 | Subject: [PATCH] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS |
5 | 5 | ||
6 | * cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to determine path to host binaries | 6 | ... to determine path to host binaries |
7 | 7 | ||
8 | Upstream-Status: Inappropriate [OE specific] | 8 | Upstream-Status: Inappropriate [OE specific] |
9 | 9 | ||
@@ -19,7 +19,7 @@ Change-Id: Iacaa1c5531cd6dcc094891610c351673db55d7b2 | |||
19 | 3 files changed, 6 insertions(+), 6 deletions(-) | 19 | 3 files changed, 6 insertions(+), 6 deletions(-) |
20 | 20 | ||
21 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in | 21 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in |
22 | index a5ed8b2..0e11a1e 100644 | 22 | index 545b9a3..c991a9b 100644 |
23 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in | 23 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in |
24 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in | 24 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in |
25 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) | 25 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) |
diff --git a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch deleted file mode 100644 index c105488e..00000000 --- a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch +++ /dev/null | |||
@@ -1,106 +0,0 @@ | |||
1 | From bf1498618415e7b1e57b54881b1e56d74f2cdf6b Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 | ||
4 | Subject: [PATCH] qt_module: Fix pkgconfig and libtool replacements | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | * in situation like this: | ||
10 | QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm | ||
11 | QT_INSTALL_LIBS:/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/lib | ||
12 | QT_INSTALL_LIBS/raw:/usr/lib | ||
13 | QT_INSTALL_LIBS/get:/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/lib | ||
14 | |||
15 | I don't want the replacement like this: | ||
16 | sed | ||
17 | -e "s,/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/include,/usr/include/qt5,g" | ||
18 | -e "s,/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/lib,/usr/lib,g" | ||
19 | "../../lib/pkgconfig/Qt5Core.pc" | ||
20 | >"/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/image/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/lib/pkgconfig/Qt5Core.pc" | ||
21 | because that way I'll end with -L/usr/lib in .pc file which is | ||
22 | cross-compile unfriendly, keeping ${libdir}/${includedir} works better | ||
23 | in my case | ||
24 | |||
25 | * qt_module: Fix paths in .prl files | ||
26 | * qmake does not prefix them with QT_SYSROOT when using them | ||
27 | so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE | ||
28 | variable, which is unsafe for cross-compilation | ||
29 | * writting QT_SYSROOT in .prl files is dangerous for sstate when | ||
30 | builds are in different directories, so we need | ||
31 | SSTATE_SCAN_FILES += "*.pri *.prl" | ||
32 | to make them relocateble | ||
33 | |||
34 | * fix paths in packageconfig files | ||
35 | This reverts parts of: | ||
36 | |||
37 | enable path replacement in installed prl files on all platforms | ||
38 | |||
39 | Task-number: QTBUG-33794 | ||
40 | Change-Id: Id0d38715673b8a1c0c034e9c15783eb255c4315b | ||
41 | Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> | ||
42 | |||
43 | * to debug this, rebuild qtbase and read build/src/corelib/Makefile | ||
44 | * this is example of broken install_target rule (added line feeds): | ||
45 | -$(SED) -e s,/OE/5.3.1-r0/build/lib,/usr/lib,g | ||
46 | -e 's,/OE/5.3.1-r0/build/include,$$\{includedir},g' | ||
47 | -e 's,/OE/5.3.1-r0/build/lib,$$\{libdir},g' | ||
48 | "../../lib/pkgconfig/Qt5Core.pc" | ||
49 | >"$(INSTALL_ROOT)/usr/lib/pkgconfig/Qt5Core.pc" | ||
50 | change .prf files, create copy of WORKDIR, re-excecute only | ||
51 | do_configure task and compare generated Makefile, repeat until | ||
52 | replace in generated Makefile works ok, then refresh patch and | ||
53 | try complete rebuild for qtbase | ||
54 | * if everything is ok, then try: | ||
55 | image $ grep -R "\-L/usr" . | ||
56 | image $ grep -R "\-I/usr" . | ||
57 | and it should return only few cases of | ||
58 | qmake.conf:QMAKE_LFLAGS_THREAD = -L/usr/lib/threads | ||
59 | for aix* platformas | ||
60 | |||
61 | Change-Id: Ie1c94b15f2a4e736b65b4d0924d99eb2a7d92a6c | ||
62 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
63 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
64 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
65 | --- | ||
66 | mkspecs/features/qt.prf | 13 +++++++++++++ | ||
67 | mkspecs/features/qt_common.prf | 2 +- | ||
68 | 2 files changed, 14 insertions(+), 1 deletion(-) | ||
69 | |||
70 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf | ||
71 | index 0c5f080..a6e4f09 100644 | ||
72 | --- a/mkspecs/features/qt.prf | ||
73 | +++ b/mkspecs/features/qt.prf | ||
74 | @@ -317,6 +317,19 @@ contains(TEMPLATE, .*app) { | ||
75 | QTPLUGIN = $$manualplugs $$autoplugs | ||
76 | } | ||
77 | |||
78 | +contains(TEMPLATE, .*lib) { | ||
79 | + pkgconfig_prefix_replace.match = "prefix=$$[QT_SYSROOT]" | ||
80 | + pkgconfig_prefix_replace.replace = "prefix=" | ||
81 | + pkgconfig_prefix_replace.CONFIG = path | ||
82 | + QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_prefix_replace | ||
83 | + | ||
84 | + # drop -L/usr/lib in .prl files | ||
85 | + prl_replace.match = "-L\$${libdir}" | ||
86 | + prl_replace.replace = "" | ||
87 | + prl_replace.CONFIG = path | ||
88 | + QMAKE_PRL_INSTALL_REPLACE += prl_replace | ||
89 | +} | ||
90 | + | ||
91 | QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN | ||
92 | qtConfig(static) { | ||
93 | QT_PLUGIN_VERIFY += QTPLUGIN | ||
94 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf | ||
95 | index e754a17..4c1530e 100644 | ||
96 | --- a/mkspecs/features/qt_common.prf | ||
97 | +++ b/mkspecs/features/qt_common.prf | ||
98 | @@ -37,7 +37,7 @@ contains(TEMPLATE, .*lib) { | ||
99 | lib_replace.replace = | ||
100 | } else { | ||
101 | lib_replace.match = $$rplbase/lib | ||
102 | - lib_replace.replace = $$qqt_libdir | ||
103 | + lib_replace.replace = "\$$\\{libdir}" | ||
104 | } | ||
105 | lib_replace.CONFIG = path | ||
106 | QMAKE_PRL_INSTALL_REPLACE += lib_replace | ||
diff --git a/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch index d455d2cd..7c80c6b9 100644 --- a/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch +++ b/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 60f490b57faf979a912074506a75c74767a27d3b Mon Sep 17 00:00:00 2001 | 1 | From c8f856115df0f5be64dfbeef0c1e9a4f02ba161a Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 | 3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 |
4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters | 4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters |
@@ -8,26 +8,27 @@ from 256 to 512 characters, as nativesdk path can be quite long. | |||
8 | 8 | ||
9 | Also update length of EXT_PREFIX and HOST_PREFIX now. | 9 | Also update length of EXT_PREFIX and HOST_PREFIX now. |
10 | 10 | ||
11 | Change-Id: If98dd57160efe9c98c36148cdf872f50b3d38118 | ||
11 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | 12 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> |
12 | --- | 13 | --- |
13 | configure | 6 +++--- | 14 | configure.pri | 6 +++--- |
14 | 1 file changed, 3 insertions(+), 3 deletions(-) | 15 | 1 file changed, 3 insertions(+), 3 deletions(-) |
15 | 16 | ||
16 | diff --git a/configure b/configure | 17 | diff --git a/configure.pri b/configure.pri |
17 | index 1fcbb3a..f49a674 100755 | 18 | index efd0f81..5a027fe 100644 |
18 | --- a/configure | 19 | --- a/configure.pri |
19 | +++ b/configure | 20 | +++ b/configure.pri |
20 | @@ -3847,10 +3847,10 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ | 21 | @@ -837,10 +837,10 @@ defineTest(qtConfOutput_preparePaths) { |
21 | static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20"; | 22 | "static const char qt_configure_installation [12+11] = \"qt_instdate=2012-12-20\";" \ |
22 | 23 | "" \ | |
23 | /* Installation Info */ | 24 | "/* Installation Info */" \ |
24 | -static const char qt_configure_prefix_path_str [256 + 12] = "qt_prfxpath=$QT_INSTALL_PREFIX"; | 25 | - "static const char qt_configure_prefix_path_str [12+256] = \"qt_prfxpath=$$config.input.prefix\";" \ |
25 | +static const char qt_configure_prefix_path_str [512 + 12] = "qt_prfxpath=$QT_INSTALL_PREFIX"; | 26 | + "static const char qt_configure_prefix_path_str [12+512] = \"qt_prfxpath=$$config.input.prefix\";" \ |
26 | #ifdef QT_BUILD_QMAKE | 27 | "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \ |
27 | -static const char qt_configure_ext_prefix_path_str [256 + 12] = "qt_epfxpath=$QT_EXT_PREFIX"; | 28 | - "static const char qt_configure_ext_prefix_path_str [12+256] = \"qt_epfxpath=$$config.input.extprefix\";" \ |
28 | -static const char qt_configure_host_prefix_path_str [256 + 12] = "qt_hpfxpath=$QT_HOST_PREFIX"; | 29 | - "static const char qt_configure_host_prefix_path_str [12+256] = \"qt_hpfxpath=$$config.input.hostprefix\";" \ |
29 | +static const char qt_configure_ext_prefix_path_str [512 + 12] = "qt_epfxpath=$QT_EXT_PREFIX"; | 30 | + "static const char qt_configure_ext_prefix_path_str [12+512] = \"qt_epfxpath=$$config.input.extprefix\";" \ |
30 | +static const char qt_configure_host_prefix_path_str [512 + 12] = "qt_hpfxpath=$QT_HOST_PREFIX"; | 31 | + "static const char qt_configure_host_prefix_path_str [12+512] = \"qt_hpfxpath=$$config.input.hostprefix\";" \ |
31 | #endif | 32 | "$${LITERAL_HASH}endif" \ |
32 | 33 | "" \ | |
33 | static const short qt_configure_str_offsets[] = { | 34 | "static const short qt_configure_str_offsets[] = {" \ |
diff --git a/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch b/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch deleted file mode 100644 index 6d64e6b5..00000000 --- a/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | From cc926956758bf8170c4e49c66e1066524b43f65f Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Fri, 13 Nov 2015 12:36:11 +0100 | ||
4 | Subject: [PATCH] configure paths for target qmake properly | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | to use this patch in all qtbase/qtbase-native(sdk) changes ore made | ||
10 | conditionally based on QT_CROSS_COMPILE | ||
11 | |||
12 | Upstream-Status: Inappropriate [OE specific] | ||
13 | |||
14 | Change-Id: I2b2f00c496216e98fbe14801f9e840ef5333c4b6 | ||
15 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
16 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
17 | --- | ||
18 | configure | 23 +++++++++++++++++++---- | ||
19 | 1 file changed, 19 insertions(+), 4 deletions(-) | ||
20 | |||
21 | diff --git a/configure b/configure | ||
22 | index 8b33c5b..1df248f 100755 | ||
23 | --- a/configure | ||
24 | +++ b/configure | ||
25 | @@ -1545,8 +1545,13 @@ if [ -z "$QT_REL_HOST_DATA" ]; then | ||
26 | fi | ||
27 | fi | ||
28 | |||
29 | -shortxspec=`echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` | ||
30 | -shortspec=`echo $QMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` | ||
31 | +if [ "$QT_CROSS_COMPILE" = "yes" ] ; then | ||
32 | + shortxspec=linux-g++ | ||
33 | + shortspec=linux-g++ | ||
34 | +else | ||
35 | + shortxspec=`echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` | ||
36 | + shortspec=`echo $QMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` | ||
37 | +fi | ||
38 | |||
39 | QT_CONFIGURE_STR_OFF=0 | ||
40 | |||
41 | @@ -1579,7 +1584,11 @@ QT_CONFIGURE_STRS_ALL=$QT_CONFIGURE_STRS | ||
42 | |||
43 | QT_CONFIGURE_STR_OFFSETS= | ||
44 | QT_CONFIGURE_STRS= | ||
45 | -addConfStr "$CFG_SYSROOT" | ||
46 | +if [ "$QT_CROSS_COMPILE" = "yes" ] ; then | ||
47 | + addConfStr "" | ||
48 | +else | ||
49 | + addConfStr "$CFG_SYSROOT" | ||
50 | +fi | ||
51 | addConfStr "$QT_REL_HOST_BINS" | ||
52 | addConfStr "$QT_REL_HOST_LIBS" | ||
53 | addConfStr "$QT_REL_HOST_DATA" | ||
54 | @@ -1591,6 +1600,12 @@ addConfStr "$shortspec" | ||
55 | #------------------------------------------------------------------------------- | ||
56 | [ -d "$outpath/src/corelib/global" ] || mkdir -p "$outpath/src/corelib/global" | ||
57 | |||
58 | +if [ "$QT_CROSS_COMPILE" = "yes" ] ; then | ||
59 | + QT_TARGET_PREFIX=$QT_EXT_PREFIX | ||
60 | +else | ||
61 | + QT_TARGET_PREFIX=$QT_HOST_PREFIX | ||
62 | +fi | ||
63 | + | ||
64 | cat > "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF | ||
65 | /* Installation date */ | ||
66 | static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20"; | ||
67 | @@ -1599,7 +1614,7 @@ static const char qt_configure_installation [12+11] = "qt_instdate=2 | ||
68 | static const char qt_configure_prefix_path_str [512 + 12] = "qt_prfxpath=$QT_INSTALL_PREFIX"; | ||
69 | #ifdef QT_BUILD_QMAKE | ||
70 | static const char qt_configure_ext_prefix_path_str [512 + 12] = "qt_epfxpath=$QT_EXT_PREFIX"; | ||
71 | -static const char qt_configure_host_prefix_path_str [512 + 12] = "qt_hpfxpath=$QT_HOST_PREFIX"; | ||
72 | +static const char qt_configure_host_prefix_path_str [512 + 12] = "qt_hpfxpath=$QT_TARGET_PREFIX"; | ||
73 | #endif | ||
74 | |||
75 | static const short qt_configure_str_offsets[] = { | ||
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index c9005a85..9c55997f 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -17,10 +17,8 @@ LIC_FILES_CHKSUM = " \ | |||
17 | # common for qtbase-native, qtbase-nativesdk and qtbase | 17 | # common for qtbase-native, qtbase-nativesdk and qtbase |
18 | SRC_URI += "\ | 18 | SRC_URI += "\ |
19 | file://0001-Add-linux-oe-g-platform.patch \ | 19 | file://0001-Add-linux-oe-g-platform.patch \ |
20 | file://0003-Add-external-hostbindir-option.patch \ | 20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
21 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | ||
22 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ | 21 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
23 | file://0008-configure-paths-for-target-qmake-properly.patch \ | ||
24 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ | 22 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ |
25 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 23 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
26 | " | 24 | " |
@@ -178,4 +176,4 @@ INSANE_SKIP_${PN}-mkspecs += "file-rdeps" | |||
178 | 176 | ||
179 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" | 177 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" |
180 | 178 | ||
181 | SRCREV = "49dc9aa409d727824f26b246054a22b5a7dd5980" | 179 | SRCREV = "0c50edbe84914469973a3b10e0170023ccdd66fe" |
diff --git a/recipes-qt/qt5/qtcanvas3d_git.bb b/recipes-qt/qt5/qtcanvas3d_git.bb index 3ca66472..597de8a6 100644 --- a/recipes-qt/qt5/qtcanvas3d_git.bb +++ b/recipes-qt/qt5/qtcanvas3d_git.bb | |||
@@ -10,4 +10,4 @@ LIC_FILES_CHKSUM = " \ | |||
10 | 10 | ||
11 | DEPENDS = "qtdeclarative" | 11 | DEPENDS = "qtdeclarative" |
12 | 12 | ||
13 | SRCREV = "5962967a3712ee711fd9ab58da664a3eb0acb24e" | 13 | SRCREV = "a693bff7bc33145f918e8e1f160ab26cad551042" |
diff --git a/recipes-qt/qt5/qtcharts_git.bb b/recipes-qt/qt5/qtcharts_git.bb index 1369deee..a0f9435e 100644 --- a/recipes-qt/qt5/qtcharts_git.bb +++ b/recipes-qt/qt5/qtcharts_git.bb | |||
@@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = " \ | |||
8 | 8 | ||
9 | DEPENDS += "qtbase qtdeclarative qtmultimedia" | 9 | DEPENDS += "qtbase qtdeclarative qtmultimedia" |
10 | 10 | ||
11 | SRCREV = "057b3e2d6a96b42b890a0d007a8801d260c3de48" | 11 | SRCREV = "1fea2116072f96a86daec092e54fe658651a4034" |
diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb index de7764d8..eac9ee71 100644 --- a/recipes-qt/qt5/qtconnectivity_git.bb +++ b/recipes-qt/qt5/qtconnectivity_git.bb | |||
@@ -23,4 +23,4 @@ PACKAGECONFIG[bluez] = "-feature-bluez,-no-feature-bluez,${BLUEZ}" | |||
23 | 23 | ||
24 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 24 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
25 | 25 | ||
26 | SRCREV = "1afb57ed92a25bbc000ea4c4d7662cb8b9e267ee" | 26 | SRCREV = "f128dd43319d6a7020f7ee1e018b8f0bbff499ab" |
diff --git a/recipes-qt/qt5/qtdatavis3d_git.bb b/recipes-qt/qt5/qtdatavis3d_git.bb index 7d6a51fc..58d6c8d4 100644 --- a/recipes-qt/qt5/qtdatavis3d_git.bb +++ b/recipes-qt/qt5/qtdatavis3d_git.bb | |||
@@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = " \ | |||
8 | 8 | ||
9 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtxmlpatterns" | 9 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtxmlpatterns" |
10 | 10 | ||
11 | SRCREV = "a78f8d6bef57dd4283094a52551705ee02909970" | 11 | SRCREV = "f03ed59a582d2bf689c866f195224bf659a7bc47" |
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index a620a00a..692c6402 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
@@ -32,6 +32,6 @@ do_install_append_class-nativesdk() { | |||
32 | 32 | ||
33 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}" | 33 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}" |
34 | 34 | ||
35 | SRCREV = "fffb997e192a72b4dcd66edc2fbad5473dd359f3" | 35 | SRCREV = "705a2780743a01cb9a1032fca8c1f942b50e5a0a" |
36 | 36 | ||
37 | BBCLASSEXTEND =+ "native nativesdk" | 37 | BBCLASSEXTEND =+ "native nativesdk" |
diff --git a/recipes-qt/qt5/qtgamepad_git.bb b/recipes-qt/qt5/qtgamepad_git.bb index 6abf8b77..3acccfde 100644 --- a/recipes-qt/qt5/qtgamepad_git.bb +++ b/recipes-qt/qt5/qtgamepad_git.bb | |||
@@ -14,4 +14,4 @@ PACKAGECONFIG[sdl2] = "-feature-sdl2,-no-feature-sdl2,libsdl2" | |||
14 | 14 | ||
15 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 15 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
16 | 16 | ||
17 | SRCREV = "13bbe6ea378d127b9b1d70e2858e41e86e754dc7" | 17 | SRCREV = "bada2f466aff5faeae6239038cba227ea9636d1f" |
diff --git a/recipes-qt/qt5/qtgraphicaleffects_git.bb b/recipes-qt/qt5/qtgraphicaleffects_git.bb index f4b43e75..77d65cc5 100644 --- a/recipes-qt/qt5/qtgraphicaleffects_git.bb +++ b/recipes-qt/qt5/qtgraphicaleffects_git.bb | |||
@@ -19,4 +19,4 @@ DEPENDS += "qtdeclarative" | |||
19 | 19 | ||
20 | RDEPENDS_${PN}-dev = "" | 20 | RDEPENDS_${PN}-dev = "" |
21 | 21 | ||
22 | SRCREV = "1583bb5569cfc50141d879107a46146d5ccccf28" | 22 | SRCREV = "574f6c73a967ec9ec497534e35f442ef327c25b3" |
diff --git a/recipes-qt/qt5/qtimageformats_git.bb b/recipes-qt/qt5/qtimageformats_git.bb index 3725441c..fc2540be 100644 --- a/recipes-qt/qt5/qtimageformats_git.bb +++ b/recipes-qt/qt5/qtimageformats_git.bb | |||
@@ -26,4 +26,4 @@ PACKAGECONFIG[libwebp] = ",CONFIG+=done_config_libwebp,libwebp" | |||
26 | 26 | ||
27 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 27 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
28 | 28 | ||
29 | SRCREV = "cd2de115c6216ad747cf4803e65a4ce4af220795" | 29 | SRCREV = "e349e6df7a08b4aa15a63fa5f1dcd0f36d598d53" |
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb index f25d57ef..2370f77c 100644 --- a/recipes-qt/qt5/qtlocation_git.bb +++ b/recipes-qt/qt5/qtlocation_git.bb | |||
@@ -20,4 +20,4 @@ PACKAGECONFIG[gypsy] = "-feature-gypsy,-no-feature-gypsy,gconf gypsy" | |||
20 | 20 | ||
21 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 21 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
22 | 22 | ||
23 | SRCREV = "41cc347040226d2c5c16b9df001d03f2724b87e5" | 23 | SRCREV = "93cd42ef606178261e12eeffc88cd4b7d029dbc3" |
diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index 7d3c3cc0..4884953b 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb | |||
@@ -33,4 +33,4 @@ SRC_URI += "\ | |||
33 | file://0001-qtmultimedia-fix-a-conflicting-declaration.patch \ | 33 | file://0001-qtmultimedia-fix-a-conflicting-declaration.patch \ |
34 | " | 34 | " |
35 | 35 | ||
36 | SRCREV = "544a8a4251ff9694780e563ddb6e4af1325e0115" | 36 | SRCREV = "7e48870c182e66a8408bbcb4c9469d751a777daa" |
diff --git a/recipes-qt/qt5/qtnetworkauth_git.bb b/recipes-qt/qt5/qtnetworkauth_git.bb index 5657c869..983f0a17 100644 --- a/recipes-qt/qt5/qtnetworkauth_git.bb +++ b/recipes-qt/qt5/qtnetworkauth_git.bb | |||
@@ -10,4 +10,4 @@ require qt5-git.inc | |||
10 | 10 | ||
11 | DEPENDS += "qtbase" | 11 | DEPENDS += "qtbase" |
12 | 12 | ||
13 | SRCREV = "ec7663382bc6382323f3261ab199ec2edbeb5e37" | 13 | SRCREV = "279adce9bb578749161899bfe82cfb6c8b9b6f0a" |
diff --git a/recipes-qt/qt5/qtquickcontrols2_git.bb b/recipes-qt/qt5/qtquickcontrols2_git.bb index 42acb8ad..59864b30 100644 --- a/recipes-qt/qt5/qtquickcontrols2_git.bb +++ b/recipes-qt/qt5/qtquickcontrols2_git.bb | |||
@@ -4,10 +4,10 @@ require qt5-git.inc | |||
4 | LICENSE = "GFDL-1.3 & BSD & LGPL-3.0 | GPL-3.0" | 4 | LICENSE = "GFDL-1.3 & BSD & LGPL-3.0 | GPL-3.0" |
5 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
6 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 6 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
7 | file://LICENSE.LGPLv3;md5=a37e6cd7102174853307e03e6edc5f30 \ | 7 | file://LICENSE.LGPLv3;md5=382747d0119037529ec2b98b24038eb0 \ |
8 | file://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \ | 8 | file://LICENSE.GPLv3;md5=dce746aa5261707df6d6999ab9958d8b \ |
9 | " | 9 | " |
10 | 10 | ||
11 | DEPENDS += "qtdeclarative" | 11 | DEPENDS += "qtdeclarative" |
12 | 12 | ||
13 | SRCREV = "6f7852a307c7ebbdb3b6efa00cbf7626b072bbc1" | 13 | SRCREV = "bb2a6c61777e2500fa00710c8bb752fa7b99f079" |
diff --git a/recipes-qt/qt5/qtquickcontrols_git.bb b/recipes-qt/qt5/qtquickcontrols_git.bb index 69f3d3ba..d944e674 100644 --- a/recipes-qt/qt5/qtquickcontrols_git.bb +++ b/recipes-qt/qt5/qtquickcontrols_git.bb | |||
@@ -21,4 +21,4 @@ SRC_URI += " \ | |||
21 | file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \ | 21 | file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | SRCREV = "201c86391c7ff78d570fdec6e0c0b71eb1e9aae4" | 24 | SRCREV = "ff2c10d287aa9f9726ceee91543f08ab1f9d0b9c" |
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb index 3f8b64a2..6424237d 100644 --- a/recipes-qt/qt5/qtscript_git.bb +++ b/recipes-qt/qt5/qtscript_git.bb | |||
@@ -25,4 +25,4 @@ ARM_INSTRUCTION_SET_armv5 = "arm" | |||
25 | 25 | ||
26 | DEPENDS += "qtbase" | 26 | DEPENDS += "qtbase" |
27 | 27 | ||
28 | SRCREV = "c35df2ec0ee05351912e768d298a7c627dbdd1ef" | 28 | SRCREV = "508514b50737c8b854f1b8932a933ef1a24debbc" |
diff --git a/recipes-qt/qt5/qtscxml_git.bb b/recipes-qt/qt5/qtscxml_git.bb index d69d00fe..cb669004 100644 --- a/recipes-qt/qt5/qtscxml_git.bb +++ b/recipes-qt/qt5/qtscxml_git.bb | |||
@@ -10,7 +10,7 @@ require qt5-git.inc | |||
10 | 10 | ||
11 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns qtscxml-native" | 11 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns qtscxml-native" |
12 | 12 | ||
13 | SRCREV = "4704292500b98143eee9b0fb0b6a34a858ed1253" | 13 | SRCREV = "4b4e81398bdfcda23a9e3c86a297e12b2ff1e9d9" |
14 | 14 | ||
15 | SRC_URI += "file://0001-Use-external-host-bin-path-for-cmake-file.patch" | 15 | SRC_URI += "file://0001-Use-external-host-bin-path-for-cmake-file.patch" |
16 | 16 | ||
diff --git a/recipes-qt/qt5/qtsensors_git.bb b/recipes-qt/qt5/qtsensors_git.bb index 93a09719..1e5a1ded 100644 --- a/recipes-qt/qt5/qtsensors_git.bb +++ b/recipes-qt/qt5/qtsensors_git.bb | |||
@@ -13,4 +13,4 @@ LIC_FILES_CHKSUM = " \ | |||
13 | 13 | ||
14 | DEPENDS += "qtbase qtdeclarative" | 14 | DEPENDS += "qtbase qtdeclarative" |
15 | 15 | ||
16 | SRCREV = "1220a31e6c2f91b34b4a05773621dddab8c4315a" | 16 | SRCREV = "993ab0bd1d573f0bbab6e3fcd08d25bc4f32a3d9" |
diff --git a/recipes-qt/qt5/qtserialbus_git.bb b/recipes-qt/qt5/qtserialbus_git.bb index 325d9754..83c59587 100644 --- a/recipes-qt/qt5/qtserialbus_git.bb +++ b/recipes-qt/qt5/qtserialbus_git.bb | |||
@@ -11,4 +11,4 @@ LIC_FILES_CHKSUM = " \ | |||
11 | 11 | ||
12 | DEPENDS += "qtbase qtserialport" | 12 | DEPENDS += "qtbase qtserialport" |
13 | 13 | ||
14 | SRCREV = "c8fe92ef54b2d310e8c8c143962fd6f43bf46c27" | 14 | SRCREV = "fa979925d9afa58aab29a57f4289c0b679ac03e9" |
diff --git a/recipes-qt/qt5/qtserialport_git.bb b/recipes-qt/qt5/qtserialport_git.bb index edecc041..44986dff 100644 --- a/recipes-qt/qt5/qtserialport_git.bb +++ b/recipes-qt/qt5/qtserialport_git.bb | |||
@@ -15,4 +15,4 @@ LIC_FILES_CHKSUM = " \ | |||
15 | 15 | ||
16 | DEPENDS += "qtbase" | 16 | DEPENDS += "qtbase" |
17 | 17 | ||
18 | SRCREV = "74aad2578ecb6739007449a06a54dd7abd64c85b" | 18 | SRCREV = "23902340662f1ef6f5dafe68a34b593aed6ea497" |
diff --git a/recipes-qt/qt5/qtsvg_git.bb b/recipes-qt/qt5/qtsvg_git.bb index 24a0d911..73f0db90 100644 --- a/recipes-qt/qt5/qtsvg_git.bb +++ b/recipes-qt/qt5/qtsvg_git.bb | |||
@@ -12,4 +12,4 @@ LIC_FILES_CHKSUM = " \ | |||
12 | 12 | ||
13 | DEPENDS += "qtbase" | 13 | DEPENDS += "qtbase" |
14 | 14 | ||
15 | SRCREV = "1b3a7ae14d25f1caa3f6bedad3cfeb7d83b3904e" | 15 | SRCREV = "4bd5d6ced07d2d0e643a13e7cebb228c521d2046" |
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index a2b01be9..948647ee 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
@@ -30,6 +30,6 @@ PACKAGECONFIG[qtwebkit] = ",,qtwebkit" | |||
30 | 30 | ||
31 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}" | 31 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}" |
32 | 32 | ||
33 | SRCREV = "30c10900adecca55faa1d59c2f0caac74b1f9df6" | 33 | SRCREV = "2f2b7155b5e4cb56c7dc284e203e8e15147e4b27" |
34 | 34 | ||
35 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttranslations_git.bb index 53ab1996..85665641 100644 --- a/recipes-qt/qt5/qttranslations_git.bb +++ b/recipes-qt/qt5/qttranslations_git.bb | |||
@@ -114,4 +114,4 @@ FILES_${PN}-qt = " \ | |||
114 | ${OE_QMAKE_PATH_TRANSLATIONS}/qt_*.qm \ | 114 | ${OE_QMAKE_PATH_TRANSLATIONS}/qt_*.qm \ |
115 | " | 115 | " |
116 | 116 | ||
117 | SRCREV = "c0ae29b2328922f16cb2305f8579c2a869c871b0" | 117 | SRCREV = "40e18a92fe3b704735a1fa1512f5b273dedf9102" |
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5/qtvirtualkeyboard_git.bb index 08914b19..0794aa8a 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bb +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bb | |||
@@ -49,4 +49,4 @@ FILES_${PN} += "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/lipi_toolkit" | |||
49 | 49 | ||
50 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns" | 50 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns" |
51 | 51 | ||
52 | SRCREV = "cfa4ab4cbf13971d4b71ee920353822755a3bf31" | 52 | SRCREV = "0371486a32a0e39cdc9d04f9d1245b214d269e3c" |
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb index ec41922a..5a7302e0 100644 --- a/recipes-qt/qt5/qtwayland_git.bb +++ b/recipes-qt/qt5/qtwayland_git.bb | |||
@@ -40,6 +40,6 @@ PACKAGECONFIG[libhybris-egl-server] = "-feature-libhybris-egl-server,-no-feature | |||
40 | 40 | ||
41 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | 41 | EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" |
42 | 42 | ||
43 | SRCREV = "0e2a950895805457a45abe860bc91a7cc4ba405e" | 43 | SRCREV = "e26696524ceb58f4fe0cb7202d873240b6a9478d" |
44 | 44 | ||
45 | BBCLASSEXTEND =+ "native nativesdk" | 45 | BBCLASSEXTEND =+ "native nativesdk" |
diff --git a/recipes-qt/qt5/qtwebchannel_git.bb b/recipes-qt/qt5/qtwebchannel_git.bb index d5f86850..b7827add 100644 --- a/recipes-qt/qt5/qtwebchannel_git.bb +++ b/recipes-qt/qt5/qtwebchannel_git.bb | |||
@@ -17,4 +17,4 @@ LIC_FILES_CHKSUM = " \ | |||
17 | 17 | ||
18 | DEPENDS += "qtdeclarative qtwebsockets" | 18 | DEPENDS += "qtdeclarative qtwebsockets" |
19 | 19 | ||
20 | SRCREV = "e3ddde4b26a72d57beeeed4e2d3384896e3a399d" | 20 | SRCREV = "1cbc05a6568db5e0ff094f8e09723c607ade88af" |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 5efc35d5..5a58bba9 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -115,8 +115,8 @@ SRC_URI += " \ | |||
115 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ | 115 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ |
116 | " | 116 | " |
117 | 117 | ||
118 | SRCREV_qtwebengine = "d740d6a7dbfec387752c7bc8a8b06db0e757c9dc" | 118 | SRCREV_qtwebengine = "6ec0428db1d1dda0a74ead838aa799298e7a1306" |
119 | SRCREV_chromium = "15d257fd921f37b32ef643225f21df0ea24c8302" | 119 | SRCREV_chromium = "cd3417bc8b5bae4cdc04a9dd714adadacc03b28d" |
120 | SRCREV = "${SRCREV_qtwebengine}" | 120 | SRCREV = "${SRCREV_qtwebengine}" |
121 | 121 | ||
122 | SRCREV_FORMAT = "qtwebengine_chromium" | 122 | SRCREV_FORMAT = "qtwebengine_chromium" |
diff --git a/recipes-qt/qt5/qtwebkit-examples_git.bb b/recipes-qt/qt5/qtwebkit-examples_git.bb index 84b4d0ba..3d6f5003 100644 --- a/recipes-qt/qt5/qtwebkit-examples_git.bb +++ b/recipes-qt/qt5/qtwebkit-examples_git.bb | |||
@@ -17,4 +17,4 @@ DEPENDS += "qtwebkit qtxmlpatterns" | |||
17 | RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins" | 17 | RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins" |
18 | RDEPENDS_${PN}-examples += "${@bb.utils.contains('PACKAGECONFIG_OPENSSL', 'openssl', 'ca-certificates', '', d)}" | 18 | RDEPENDS_${PN}-examples += "${@bb.utils.contains('PACKAGECONFIG_OPENSSL', 'openssl', 'ca-certificates', '', d)}" |
19 | 19 | ||
20 | SRCREV = "f0898f83abdcacc8bd3bca3479884376b0963398" | 20 | SRCREV = "c858361fb202c201f8c45e2072d913dc7f31ec8e" |
diff --git a/recipes-qt/qt5/qtwebkit/0004-Remove-unused-check-for-private_tests.patch b/recipes-qt/qt5/qtwebkit/0004-Remove-unused-check-for-private_tests.patch new file mode 100644 index 00000000..694b983a --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0004-Remove-unused-check-for-private_tests.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From fbbbd9f3bc669790ab95569ebd6052ec68bd408f Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jkt@kde.org> | ||
3 | Date: Wed, 14 Sep 2016 23:51:14 +0200 | ||
4 | Subject: [PATCH] Remove unused check for private_tests | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | It turns out that qt_developer_build is never used anyway. | ||
10 | |||
11 | I did some git archeology and it looks like it was nuked when doing the | ||
12 | 5.2 merge from upstream. The original purpose was apparently to control | ||
13 | -Werror, which is nowadays controlled by CONFIG -= production_build. | ||
14 | |||
15 | This actually fixes the build, as the QT_FOR_CONFIG += core-private which | ||
16 | would have been required for qtConfig(private_tests) is missing. | ||
17 | |||
18 | Task-number: QTBUG-55950 | ||
19 | Change-Id: Iaaaad184b29b523ce4a4ed8afec2ac527d8f93e3 | ||
20 | Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> | ||
21 | Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> | ||
22 | Reviewed-by: Jan Kundrát <jkt@kde.org> | ||
23 | --- | ||
24 | Tools/qmake/mkspecs/features/default_pre.prf | 4 ---- | ||
25 | 1 file changed, 4 deletions(-) | ||
26 | |||
27 | diff --git a/Tools/qmake/mkspecs/features/default_pre.prf b/Tools/qmake/mkspecs/features/default_pre.prf | ||
28 | index 6bb52d0..8aa806d 100644 | ||
29 | --- a/Tools/qmake/mkspecs/features/default_pre.prf | ||
30 | +++ b/Tools/qmake/mkspecs/features/default_pre.prf | ||
31 | @@ -62,10 +62,6 @@ win32-msvc*: MAKEFILE_NOOP_COMMAND = @echo >NUL | ||
32 | scratchbox: PYTHON = python2.6 | ||
33 | else: PYTHON = python | ||
34 | |||
35 | -# We use private_tests to detect developer build, since the destdir will | ||
36 | -# always be our webkit build dir. This might change as configure changes. | ||
37 | -qtConfig(private_tests): CONFIG += qt_developer_build | ||
38 | - | ||
39 | # By default we enable "production build", and build-webkit, which is | ||
40 | # used by bots and developers, will disable it, to enable warnings etc. | ||
41 | CONFIG += production_build | ||
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 657d79c8..c90d78e6 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -22,6 +22,7 @@ SRC_URI += "\ | |||
22 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ | 22 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ |
23 | file://0002-Remove-TEXTREL-tag-in-x86.patch \ | 23 | file://0002-Remove-TEXTREL-tag-in-x86.patch \ |
24 | file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ | 24 | file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ |
25 | file://0004-Remove-unused-check-for-private_tests.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \ | 28 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \ |
@@ -83,4 +84,4 @@ PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-db | |||
83 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" | 84 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" |
84 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" | 85 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" |
85 | 86 | ||
86 | SRCREV = "74ac5b0f3489f9a08d083b6c9607c9d5c2d4afd2" | 87 | SRCREV = "37f9c3ea771ce340e1d0e474930798a3c188055b" |
diff --git a/recipes-qt/qt5/qtwebsockets_git.bb b/recipes-qt/qt5/qtwebsockets_git.bb index 043b394e..87a26e13 100644 --- a/recipes-qt/qt5/qtwebsockets_git.bb +++ b/recipes-qt/qt5/qtwebsockets_git.bb | |||
@@ -11,4 +11,4 @@ LIC_FILES_CHKSUM = " \ | |||
11 | 11 | ||
12 | DEPENDS += "qtbase qtdeclarative" | 12 | DEPENDS += "qtbase qtdeclarative" |
13 | 13 | ||
14 | SRCREV = "afb3c58d035db1119666c8556c215187be4f64b8" | 14 | SRCREV = "a0aec91b676e2b79b8e66091d55d9e128bf2a1d0" |
diff --git a/recipes-qt/qt5/qtx11extras_git.bb b/recipes-qt/qt5/qtx11extras_git.bb index 81c72ec8..5058cfc4 100644 --- a/recipes-qt/qt5/qtx11extras_git.bb +++ b/recipes-qt/qt5/qtx11extras_git.bb | |||
@@ -13,4 +13,4 @@ LIC_FILES_CHKSUM = " \ | |||
13 | 13 | ||
14 | DEPENDS += "qtbase" | 14 | DEPENDS += "qtbase" |
15 | 15 | ||
16 | SRCREV = "54cc3158acfc75d12338df3b678e013909e66f60" | 16 | SRCREV = "b45429fd7eeaf598d78f76a670a892c7d0d02f11" |
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb index c7efaf3f..703dd147 100644 --- a/recipes-qt/qt5/qtxmlpatterns_git.bb +++ b/recipes-qt/qt5/qtxmlpatterns_git.bb | |||
@@ -16,6 +16,6 @@ LIC_FILES_CHKSUM = " \ | |||
16 | 16 | ||
17 | DEPENDS += "qtbase" | 17 | DEPENDS += "qtbase" |
18 | 18 | ||
19 | SRCREV = "9f7e01b582b1bd83cc6b8a854c510871335e2e74" | 19 | SRCREV = "fabf557bb8390a94ff4b5d8688a91ffe4abd17ec" |
20 | 20 | ||
21 | BBCLASSEXTEND =+ "native nativesdk" | 21 | BBCLASSEXTEND =+ "native nativesdk" |