summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2019-05-24 13:29:44 +0300
committerMikko Gronoff <mikko.gronoff@qt.io>2019-05-24 13:31:15 +0300
commit2e8d5570e5ba1e705a45085d7c6cb81629de709a (patch)
tree2b8c43a6c496103c91c964aef58cbfd3db4d00ab /recipes-qt/qt5
parent5bbb8d27ca10c38300bfc0c31c68470eb32b7711 (diff)
parentbaf9b8e6918c76d7f58d557d9a102b5b5d1727c0 (diff)
downloadmeta-qt5-2e8d5570e5ba1e705a45085d7c6cb81629de709a.tar.gz
Merge remote-tracking branch 'qtyocto/5.12' into 5.13
* qtyocto/5.12: baf9b8e Merge remote-tracking branch 'qtyocto/upstream/warrior' into 5.12 60e61ea qt3d-runtime: update to v2.3 cad5f8c qtbase: add no-opengl to PACKAGECONFIG_GL when opengl isn't in DISTRO_FEATURES 44aab3a qtbase: add accessibility from PACKAGECONFIG_KDE to PACKAGECONFIG_DEFAULT 000e298 qtbase: add libxext dependency for xcb PACKAGECONFIG ba08444 python-pyqt5: Update to version 5.12.1. 6a1a387 python-pyqt: Fix annoying problems. c7e0ba5 qtwebengine: arm: use OE specified -mcpu option 9c62c01 qtbase-tools: Fix error during pkg_postinst f4531ec qtwebengine: restore the fix for build with clang/libc++ on aarch64/arm Change-Id: I1e4d574975d80b0213d9f41cd1c060113429493b
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r--recipes-qt/qt5/qtbase_git.bb8
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch16
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch2
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-musl-link-against-libexecinfo.patch2
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch41
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb3
6 files changed, 57 insertions, 15 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 9161af0d..bd5b67ee 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -38,10 +38,10 @@ SRC_URI += "\
38RDEPENDS_${PN}-tools += "perl" 38RDEPENDS_${PN}-tools += "perl"
39 39
40# separate some parts of PACKAGECONFIG which are often changed 40# separate some parts of PACKAGECONFIG which are often changed
41PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}" 41PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)}"
42PACKAGECONFIG_FB ?= "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" 42PACKAGECONFIG_FB ?= "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
43PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb xcb-xinput glib xkb xkbcommon', '', d)}" 43PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb xcb-xinput glib xkb xkbcommon', '', d)}"
44PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite accessibility openssl', '', d)}" 44PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite openssl', '', d)}"
45PACKAGECONFIG_FONTS ?= "" 45PACKAGECONFIG_FONTS ?= ""
46PACKAGECONFIG_SYSTEM ?= "jpeg libpng zlib" 46PACKAGECONFIG_SYSTEM ?= "jpeg libpng zlib"
47PACKAGECONFIG_DISTRO ?= "" 47PACKAGECONFIG_DISTRO ?= ""
@@ -49,7 +49,7 @@ PACKAGECONFIG_DISTRO ?= ""
49PACKAGECONFIG_RELEASE ?= "release" 49PACKAGECONFIG_RELEASE ?= "release"
50# This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency 50# This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency
51# PACKAGECONFIG_OPENSSL ?= "openssl" 51# PACKAGECONFIG_OPENSSL ?= "openssl"
52PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs freetype tests \ 52PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev evdev widgets tools libs freetype tests \
53 ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \ 53 ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
54 ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)} \ 54 ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)} \
55" 55"
@@ -103,7 +103,7 @@ PACKAGECONFIG[no-opengl] = "-no-opengl"
103PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib" 103PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib"
104PACKAGECONFIG[cups] = "-cups,-no-cups,cups" 104PACKAGECONFIG[cups] = "-cups,-no-cups,cups"
105PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" 105PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus"
106PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil" 106PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil libxext"
107PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase" 107PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"
108PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config ${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5" 108PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config ${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5"
109PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" 109PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql"
diff --git a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
index 9e3eeed0..d15af51e 100644
--- a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
@@ -1,4 +1,4 @@
1From a35a1ee7e93610d049da6eb0931f69f2647a93dc Mon Sep 17 00:00:00 2001 1From eb0b90b8809a8d8bd76999056d74d433a6c23184 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 15 Mar 2017 13:53:28 +0200 3Date: Wed, 15 Mar 2017 13:53:28 +0200
4Subject: [PATCH] Force host toolchain configuration 4Subject: [PATCH] Force host toolchain configuration
@@ -19,7 +19,7 @@ Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
19 3 files changed, 10 insertions(+), 10 deletions(-) 19 3 files changed, 10 insertions(+), 10 deletions(-)
20 20
21diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro 21diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro
22index dd0d3e3..70161c8 100644 22index dd0d3e32..6312c867 100644
23--- a/src/buildtools/configure_host.pro 23--- a/src/buildtools/configure_host.pro
24+++ b/src/buildtools/configure_host.pro 24+++ b/src/buildtools/configure_host.pro
25@@ -4,7 +4,7 @@ TEMPLATE = aux 25@@ -4,7 +4,7 @@ TEMPLATE = aux
@@ -38,9 +38,9 @@ index dd0d3e3..70161c8 100644
38-" cc = \"$$which($$QMAKE_CC)\" " \ 38-" cc = \"$$which($$QMAKE_CC)\" " \
39-" cxx = \"$$which($$QMAKE_CXX)\" " \ 39-" cxx = \"$$which($$QMAKE_CXX)\" " \
40-" ld = \"$$which($$QMAKE_LINK)\" " \ 40-" ld = \"$$which($$QMAKE_LINK)\" " \
41+" cc = \"$$which(gcc)\" " \ 41+" cc = \"$$which($$CC_host)\" " \
42+" cxx = \"$$which(g++)\" " \ 42+" cxx = \"$$which($$CXX_host)\" " \
43+" ld = \"$$which(g++)\" " \ 43+" ld = \"$$which($$CXX_host)\" " \
44 " ar = \"$$which(ar)\" " \ 44 " ar = \"$$which(ar)\" " \
45 " nm = \"$$which(nm)\" " \ 45 " nm = \"$$which(nm)\" " \
46 " extra_cppflags = \"$$GN_HOST_EXTRA_CPPFLAGS\" " \ 46 " extra_cppflags = \"$$GN_HOST_EXTRA_CPPFLAGS\" " \
@@ -51,9 +51,9 @@ index dd0d3e3..70161c8 100644
51-" cc = \"$$which($$QMAKE_CC)\" " \ 51-" cc = \"$$which($$QMAKE_CC)\" " \
52-" cxx = \"$$which($$QMAKE_CXX)\" " \ 52-" cxx = \"$$which($$QMAKE_CXX)\" " \
53-" ld = \"$$which($$QMAKE_LINK)\" " \ 53-" ld = \"$$which($$QMAKE_LINK)\" " \
54+" cc = \"$$which(gcc)\" " \ 54+" cc = \"$$which($$CC_host)\" " \
55+" cxx = \"$$which(g++)\" " \ 55+" cxx = \"$$which($$CXX_host)\" " \
56+" ld = \"$$which(g++)\" " \ 56+" ld = \"$$which($$CXX_host)\" " \
57 " ar = \"$$which(ar)\" " \ 57 " ar = \"$$which(ar)\" " \
58 " nm = \"$$which(nm)\" " \ 58 " nm = \"$$which(nm)\" " \
59 " toolchain_args = { " \ 59 " toolchain_args = { " \
diff --git a/recipes-qt/qt5/qtwebengine/0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch b/recipes-qt/qt5/qtwebengine/0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch
index c244a864..07092012 100644
--- a/recipes-qt/qt5/qtwebengine/0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch
+++ b/recipes-qt/qt5/qtwebengine/0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch
@@ -1,4 +1,4 @@
1From 9409b83e634b53eb59cc0935424ea6fca1f50491 Mon Sep 17 00:00:00 2001 1From b3125c1b3f32915aa80acf58a9d1eeab4e260b17 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Tue, 12 Dec 2017 16:06:14 +0200 3Date: Tue, 12 Dec 2017 16:06:14 +0200
4Subject: [PATCH] musl: don't use pvalloc as it's not available on musl 4Subject: [PATCH] musl: don't use pvalloc as it's not available on musl
diff --git a/recipes-qt/qt5/qtwebengine/0003-musl-link-against-libexecinfo.patch b/recipes-qt/qt5/qtwebengine/0003-musl-link-against-libexecinfo.patch
index 6b78f4ef..6dc7f0cb 100644
--- a/recipes-qt/qt5/qtwebengine/0003-musl-link-against-libexecinfo.patch
+++ b/recipes-qt/qt5/qtwebengine/0003-musl-link-against-libexecinfo.patch
@@ -1,4 +1,4 @@
1From a24cb0ef3b7311719ec248f4f1771f192c7cf4a0 Mon Sep 17 00:00:00 2001 1From 983ba7f8f80165ade5347544f1e975bd6b67549e Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 14 Dec 2017 11:28:10 +0200 3Date: Thu, 14 Dec 2017 11:28:10 +0200
4Subject: [PATCH] musl: link against libexecinfo 4Subject: [PATCH] musl: link against libexecinfo
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch b/recipes-qt/qt5/qtwebengine/chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch
new file mode 100644
index 00000000..1e3f2c15
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch
@@ -0,0 +1,41 @@
1From 058158c568698f79c905c19e5ef32ca714f8223e Mon Sep 17 00:00:00 2001
2From: Johannes Pointner <johannes.pointner@br-automation.com>
3Date: Fri, 3 May 2019 09:12:38 +0200
4Subject: [PATCH 1/1] chromium: Do not try to set the guessed values for
5 march/mtune/float-abi OE config machinary has computed these values already
6 and fed it via compiler cmdline to chromium build
7
8I think upstream should check for the values on compiler cmdline
9before overriding these
10
11Upstream-Status: Inappropriate [OE-Specific]
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
15---
16 chromium/build/config/compiler/BUILD.gn | 9 ---------
17 1 file changed, 9 deletions(-)
18
19diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn
20index 1c42c49ea4..e919e157d7 100644
21--- a/chromium/build/config/compiler/BUILD.gn
22+++ b/chromium/build/config/compiler/BUILD.gn
23@@ -742,15 +742,6 @@ config("compiler_cpu_abi") {
24 } else if (current_cpu == "arm") {
25 if (is_clang && !is_android && !is_nacl) {
26 }
27- if (!is_nacl) {
28- cflags += [
29- "-march=$arm_arch",
30- "-mfloat-abi=$arm_float_abi",
31- ]
32- }
33- if (arm_tune != "") {
34- cflags += [ "-mtune=$arm_tune" ]
35- }
36 } else if (current_cpu == "arm64") {
37 if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
38 }
39--
402.21.0
41
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index afbe1de6..6d1bd8e9 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -135,7 +135,7 @@ RDEPENDS_${PN}-examples += " \
135QT_MODULE_BRANCH_CHROMIUM = "73-based" 135QT_MODULE_BRANCH_CHROMIUM = "73-based"
136 136
137# Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.12 137# Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.12
138# 5.12.meta-qt5.3 138# 5.12.meta-qt5.4
139SRC_URI += " \ 139SRC_URI += " \
140 ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ 140 ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \
141 file://0001-Force-host-toolchain-configuration.patch \ 141 file://0001-Force-host-toolchain-configuration.patch \
@@ -152,6 +152,7 @@ SRC_URI += " \
152 file://chromium/0004-chromium-stack-pointer-clobber.patch;patchdir=src/3rdparty \ 152 file://chromium/0004-chromium-stack-pointer-clobber.patch;patchdir=src/3rdparty \
153 file://chromium/0019-chromium-fix-build-with-clang.patch;patchdir=src/3rdparty \ 153 file://chromium/0019-chromium-fix-build-with-clang.patch;patchdir=src/3rdparty \
154 file://chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch;patchdir=src/3rdparty \ 154 file://chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch;patchdir=src/3rdparty \
155 file://chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch;patchdir=src/3rdparty \
155" 156"
156 157
157SRC_URI_append_libc-musl = "\ 158SRC_URI_append_libc-musl = "\