summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2019-08-16 09:15:31 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2019-08-16 10:35:31 +0300
commitb9313110bd4ec9a30a037f2edd78b02bf57ed6eb (patch)
treeeaf467a73585a6a4971d87324897bc21d771c5ab
parent0fb09cabc2499f52113630dacbea7524402e7793 (diff)
parentf6bae656fa1b8e7ec28ecac5bf0ac70d63abd1b5 (diff)
downloadmeta-qt5-b9313110bd4ec9a30a037f2edd78b02bf57ed6eb.tar.gz
Merge remote-tracking branch 'origin/5.13' into dev
* origin/5.13: (22 commits) qt5-creator: fix bad merge qtbase: use offscreen platform plugin for tools coin: update poky and openembedded revisions qtwebengine: allow build for musl libc qt5: update submodules qt5: update to Qt 5.12.5 Add CI build instructions qt5-creator: fix build with musl ogl-runtime: fix build on musl libc qtdeclarative: Use qmlcachegen provided by OE instead of system one. qtbase-native: Always use qt provided doubleconversion library. qttools: Enable clang support when using clang qt5-creator: update to v4.9.2 maliit-framework-qt5: Fix build when ptest is enabled qtwebengine: Fix build on aarch64 qtwebengine: refresh the patches to apply qtremoteobjects: Use OE_PATH_EXTERNAL_HOST_BINS to enable cmake to find repc qt5: Upgrade to Qt 5.13.0 Allow enabling gui for native and nativesdk qt5everywheredemo: update HOMEPAGE ... Change-Id: I59c8da38833c99e3f8f24f09d04a48c9df79bbf5
-rw-r--r--.gitattributes1
-rw-r--r--coin/module_config.yaml180
-rw-r--r--recipes-devtools/gdb/gdb_%.bbappend1
-rw-r--r--recipes-qt/examples/qt5everywheredemo_1.0.bb2
-rw-r--r--recipes-qt/maliit/maliit-framework-qt5/0001-examples-plugins-Replace-obsolete-screenGeometry.patch66
-rw-r--r--recipes-qt/maliit/maliit-framework-qt5_git.bb1
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb2
-rw-r--r--recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch75
-rw-r--r--recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch34
-rw-r--r--recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch26
-rw-r--r--recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch80
-rw-r--r--recipes-qt/qt5/qt5-creator/0003-Link-with-libexecinfo-on-musl.patch20
-rw-r--r--recipes-qt/qt5/qt5-creator_git.bb14
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb3
-rw-r--r--recipes-qt/qt5/qtconnectivity_git.bb4
-rw-r--r--recipes-qt/qt5/qtdeclarative/0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch35
-rw-r--r--recipes-qt/qt5/qtdeclarative_git.bb1
-rw-r--r--recipes-qt/qt5/qtremoteobjects/0001-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch22
-rw-r--r--recipes-qt/qt5/qtremoteobjects_git.bb1
-rw-r--r--recipes-qt/qt5/qtsystems_git.bb4
-rw-r--r--recipes-qt/qt5/qttools_git.bb16
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch8
-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.patch6
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch23
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0001-chromium-workaround-for-too-long-.rps-file-name.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch)2
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0002-chromium-stack-pointer-clobber.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0004-chromium-stack-pointer-clobber.patch)2
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Exclude-CRC32-for-32bit-arm.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch)15
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch)17
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0006-chromium-aarch64-skia-build-fix.patch62
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch)6
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch)4
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-include-fcntl.h-for-loff_t.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-include-fcntl.h-for-loff_t.patch)2
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-use-off64_t-instead-of-the-internal-__.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch)18
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-linux-glibc-make-the-distinction.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-linux-glibc-make-the-distinction.patch)4
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch)6
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Use-correct-member-name-__si_fields-fr.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch)2
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch)10
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-Do-not-define-__sbrk-on-musl.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Do-not-define-__sbrk-on-musl.patch)6
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch22
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Adjust-default-pthread-stack-size.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-Adjust-default-pthread-stack-size.patch)14
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch)4
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0018-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch)2
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch91
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0019-chromium-musl-pread-pwrite.patch (renamed from recipes-qt/qt5/qtwebengine/chromium/0018-chromium-musl-pread-pwrite.patch)2
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb46
46 files changed, 539 insertions, 425 deletions
diff --git a/.gitattributes b/.gitattributes
index cb2381c0..f6a86105 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,3 @@
1/coin export-ignore
1# linguist overrides 2# linguist overrides
2recipes-*/**/*.inc linguist-language=BitBake 3recipes-*/**/*.inc linguist-language=BitBake
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
new file mode 100644
index 00000000..1da8e1ba
--- /dev/null
+++ b/coin/module_config.yaml
@@ -0,0 +1,180 @@
1version: 1
2accept_configuration:
3 condition: and
4 conditions:
5 - condition: property
6 property: host.osVersion
7 equals_value: Ubuntu_18_04
8 - condition: property
9 property: target.osVersion
10 equals_value: QEMU
11 - condition: property
12 property: target.arch
13 in_values: [ARMv7, ARM64]
14
15environment: &environment
16 type: Group
17 instructions:
18 - type: EnvironmentVariable
19 variableName: POKY_SHA1
20 variableValue: 835f7eac0610325e906591cd81890bebe8627580
21 - type: EnvironmentVariable
22 variableName: OE_SHA1
23 variableValue: 4e0538516b1e0ef42dc79bd08f7895f0052063ac
24 - type: EnvironmentVariable
25 variableName: MACHINE
26 variableValue: qemuarm64
27 enable_if:
28 condition: property
29 property: target.arch
30 equals_value: ARM64
31 - type: EnvironmentVariable
32 variableName: MACHINE
33 variableValue: qemux86
34 enable_if:
35 condition: property
36 property: target.arch
37 equals_value: ARMv7
38
39build_instructions:
40 - *environment
41 - type: SetBuildDirectory
42 directory: "{{.AgentWorkingDir}}/build"
43 - type: MakeDirectory
44 directory: "{{.BuildDir}}"
45 - type: ChangeDirectory
46 directory: "{{.BuildDir}}"
47 - type: ExecuteCommand
48 command: ["sudo", "mkdir", "-p", "/mnt/yocto-cache"]
49 userMessageOnFailure: "Could not create '/mnt/yocto-cache' directory"
50 - type: ExecuteCommand
51 command: ["sudo", "mount", "yocto-cache.intra.qt.io:/srv/yocto-cache", "/mnt/yocto-cache"]
52 userMessageOnFailure: "Could not mount yocto cache."
53 - type: WriteFile
54 fileContents: |
55 # https://github.com/shr-project/jenkins-jobs/blob/master/jenkins-job.sh
56 INHERIT += "reproducible_build_simple"
57 # We want musl and glibc to share the same tmpfs, so instead of appending default "-${TCLIBC}" we append "fs"
58 TCLIBCAPPEND = "fs"
59 PREFERRED_PROVIDER_udev = "systemd"
60 PREFERRED_PROVIDER_virtual/fftw = "fftw"
61 # use gold
62 DISTRO_FEATURES_append = " ld-is-gold"
63 # use ptest
64 DISTRO_FEATURES_append = " ptest"
65 # use systemd
66 DISTRO_FEATURES_append = " systemd"
67 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
68 VIRTUAL-RUNTIME_init_manager = "systemd"
69 VIRTUAL-RUNTIME_initscripts = ""
70 # use opengl
71 DISTRO_FEATURES_append = " opengl"
72 # use wayland to fix building weston and qtwayland
73 DISTRO_FEATURES_append = " wayland"
74 PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
75 PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
76 PREFERRED_PROVIDER_gpsd = "gpsd"
77 PREFERRED_PROVIDER_e-wm-sysactions = "e-wm"
78 ESYSACTIONS = "e-wm-sysactions"
79 # don't pull libhybris unless explicitly asked for
80 PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
81 PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
82 PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
83 PREFERRED_PROVIDER_virtual/egl ?= "mesa"
84 # to fix fsoaudiod, alsa-state conflict in shr-image-all
85 VIRTUAL-RUNTIME_alsa-state = ""
86 # to prevent alsa-state being pulled into -dev or -dbg images
87 RDEPENDS_${PN}-dev_pn-alsa-state = ""
88 RDEPENDS_${PN}-dbg_pn-alsa-state = ""
89 # to fix dependency on conflicting x11-common from packagegroup-core-x11
90 VIRTUAL-RUNTIME_xserver_common ?= "xserver-common"
91 RDEPENDS_${PN}-dev_pn-x11-common = ""
92 RDEPENDS_${PN}-dbg_pn-x11-common = ""
93 # to fix apm, fso-apm conflict in shr-image-all
94 VIRTUAL-RUNTIME_apm = "fso-apm"
95 # require conf/distro/include/qt5-versions.inc
96 # QT5_VERSION = "5.4.0+git%"
97 # for qtwebkit etc
98 # see https://bugzilla.yoctoproject.org/show_bug.cgi?id=5013
99 # DEPENDS_append_pn-qtbase = " mesa"
100 PACKAGECONFIG_append_pn-qtbase = " icu gl accessibility freetype fontconfig"
101 # qtwayland doesn't like egl and xcomposite-glx enabled at the same time
102 # http://lists.openembedded.org/pipermail/openembedded-devel/2016-December/110444.html
103 PACKAGECONFIG_remove_pn-qtwayland = "xcomposite-egl xcomposite-glx"
104 # for webkit-efl
105 PACKAGECONFIG_append_pn-harfbuzz = " icu"
106 inherit blacklist
107 # PNBLACKLIST[samsung-rfs-mgr] = "needs newer libsamsung-ipc with negative D_P: Requested 'samsung-ipc-1.0 >= 0.2' but version of libsamsung-ipc is 0.1.0"
108 PNBLACKLIST[android-system] = "depends on lxc from meta-virtualiazation which isn't included in my world builds"
109 PNBLACKLIST[bigbuckbunny-1080p] = "big and doesn't really need to be tested so much"
110 PNBLACKLIST[bigbuckbunny-480p] = "big and doesn't really need to be tested so much"
111 PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so much"
112 PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be tested so much"
113 PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be tested so much"
114 PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/"
115 # enable reporting
116 # needs http://patchwork.openembedded.org/patch/68735/
117 #ERR_REPORT_SERVER = "errors.yoctoproject.org"
118 #ERR_REPORT_PORT = "80"
119 #ERR_REPORT_USERNAME = "Martin Jansa"
120 #ERR_REPORT_EMAIL = "Martin.Jansa@gmail.com"
121 #ERR_REPORT_UPLOAD_FAILURES = "1"
122 #INHERIT += "report-error"
123 # needs patch with buildstats-summary.bbclass
124 INHERIT += "buildstats buildstats-summary"
125 # be more strict with QA warnings, turn them all to errors:
126 ERROR_QA_append = " ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi textrel already-stripped incompatible-license files-invalid installed-vs-shipped compile-host-path install-host-path pn-overrides infodir build-deps unknown-configure-option symlink-to-sysroot multilib invalid-packageconfig host-user-contaminated uppercase-pn"
127 WARN_QA_remove = " ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi textrel already-stripped incompatible-license files-invalid installed-vs-shipped compile-host-path install-host-path pn-overrides infodir build-deps unknown-configure-option symlink-to-sysroot multilib invalid-packageconfig host-user-contaminated uppercase-pn"
128 # enable thumb for broader test coverage (oe-core autobuilder doesn't have thumb enabled)
129 PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
130 ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
131 # use musl for qemux86 and qemux86copy
132 TCLIBC_qemux86 = "musl"
133 TCLIBC_qemux86copy = "musl"
134 # limit parallel make to avoid OOM
135 PARALLEL_MAKE_pn-qtwebkit = "-j 8"
136 filename: "{{.BuildDir}}/world_fixes.inc"
137 fileMode: 420
138 - type: WriteFile
139 fileContents: |
140 #!/bin/bash -xe
141 git clone git://git.yoctoproject.org/poky --reference /mnt/yocto-cache/mirror/poky.git
142 (cd poky; git checkout ${POKY_SHA1})
143 git clone git://github.com/openembedded/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git
144 (cd meta-openembedded; git checkout ${OE_SHA1})
145
146 source ./poky/oe-init-build-env
147 export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR"
148 export DL_DIR=/mnt/yocto-cache/downloads
149 export BB_GENERATE_MIRROR_TARBALLS=1
150 export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../poky/meta-*/conf/distro/poky.conf)
151 bitbake-layers add-layer ../meta-openembedded/meta-oe
152 bitbake-layers add-layer ${SOURCE_DIR}
153
154 echo 'require ../world_fixes.inc' >> conf/local.conf
155
156 # EXCLUDE_FROM_WORLD
157 rm -f ${SOURCE_DIR}/recipes-qt/examples/qt5-opengles2-test_git.bb
158
159 bitbake $(find ${SOURCE_DIR} -name *.bb | xargs -n1 basename | sed -e 's/\([^._]*\).*/\1/')
160 filename: "{{.BuildDir}}/start-build"
161 fileMode: 420
162 - type: ExecuteCommand
163 command: ["chmod", "+x", "{{.BuildDir}}/start-build"]
164 userMessageOnFailure: "Could not add execution right to the start-build."
165 - type: EnvironmentVariable
166 variableName: DL_DIR
167 variableValue: "/mnt/yocto-cache/downloads"
168 - type: EnvironmentVariable
169 variableName: SOURCE_DIR
170 variableValue: "{{.SourceDir}}"
171 - type: ExecuteCommand
172 command: ["{{.BuildDir}}/start-build"]
173 maxTimeInSeconds: 28800
174 maxTimeBetweenOutput: 28800
175 userMessageOnFailure: "Build failed."
176 - type: ExecuteCommand
177 command: ["sudo", "umount", "/mnt/yocto-cache"]
178 userMessageOnFailure: "Unmounting cache failed."
179
180test_instructions: []
diff --git a/recipes-devtools/gdb/gdb_%.bbappend b/recipes-devtools/gdb/gdb_%.bbappend
index 3e663e71..fa2b06ab 100644
--- a/recipes-devtools/gdb/gdb_%.bbappend
+++ b/recipes-devtools/gdb/gdb_%.bbappend
@@ -1 +1,2 @@
1# Just a comment line to avoid PAK archive (application/x-pak)
1PACKAGECONFIG ??= "readline python" 2PACKAGECONFIG ??= "readline python"
diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb b/recipes-qt/examples/qt5everywheredemo_1.0.bb
index 4d1d140a..44e5a84f 100644
--- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
+++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Qt5 everywhere demo" 1SUMMARY = "Qt5 everywhere demo"
2DESCRIPTION = "Quick tour of Qt 5.0, primarily focusing on its graphical capabilities." 2DESCRIPTION = "Quick tour of Qt 5.0, primarily focusing on its graphical capabilities."
3LICENSE = "BSD" 3LICENSE = "BSD"
4HOMEPAGE = "https://qt.gitorious.org/qt-labs" 4HOMEPAGE = "https://code.qt.io/cgit/qt-labs"
5LIC_FILES_CHKSUM = "file://qml/QtDemo/main.qml;endline=39;md5=7d80863906a4bc8ffca77fd869e335a9" 5LIC_FILES_CHKSUM = "file://qml/QtDemo/main.qml;endline=39;md5=7d80863906a4bc8ffca77fd869e335a9"
6 6
7DEPENDS = "qtdeclarative qtgraphicaleffects qtsvg qtmultimedia qtxmlpatterns" 7DEPENDS = "qtdeclarative qtgraphicaleffects qtsvg qtmultimedia qtxmlpatterns"
diff --git a/recipes-qt/maliit/maliit-framework-qt5/0001-examples-plugins-Replace-obsolete-screenGeometry.patch b/recipes-qt/maliit/maliit-framework-qt5/0001-examples-plugins-Replace-obsolete-screenGeometry.patch
new file mode 100644
index 00000000..84c8aeac
--- /dev/null
+++ b/recipes-qt/maliit/maliit-framework-qt5/0001-examples-plugins-Replace-obsolete-screenGeometry.patch
@@ -0,0 +1,66 @@
1From 604761d49aa1d93ef5cc6d13259dc53dce7f04c4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 16 Jul 2019 17:52:04 -0700
4Subject: [PATCH] examples/plugins: Replace obsolete screenGeometry
5
6Fixes errors like
7helloworldinputmethod.cpp:93:55: error: 'screenGeometry' is deprecated: Use QGuiApplication::screens() [-Werror,-Wdeprecated-declarations]
8 const QSize screenSize = QApplication::desktop()->screenGeometry().size();
9
10Upstream-Status: Pending
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 examples/plugins/cxx/helloworld/helloworldinputmethod.cpp | 5 +++--
15 examples/plugins/cxx/override/overrideinputmethod.cpp | 5 +++--
16 2 files changed, 6 insertions(+), 4 deletions(-)
17
18diff --git a/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp b/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp
19index eb470a1f..e5e5911d 100644
20--- a/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp
21+++ b/examples/plugins/cxx/helloworld/helloworldinputmethod.cpp
22@@ -18,7 +18,7 @@
23
24 #include <QDebug>
25 #include <QApplication>
26-#include <QDesktopWidget>
27+#include <QScreen>
28
29 namespace {
30
31@@ -90,7 +90,8 @@ void HelloWorldInputMethod::show()
32 }
33
34 // Set size of our container to screen size
35- const QSize screenSize = QApplication::desktop()->screenGeometry().size();
36+ QScreen *screen = QApplication::primaryScreen();
37+ const QSize screenSize = screen->availableSize();
38 mainWidget->parentWidget()->resize(screenSize);
39
40 // Set size of the input method
41diff --git a/examples/plugins/cxx/override/overrideinputmethod.cpp b/examples/plugins/cxx/override/overrideinputmethod.cpp
42index c00160e4..f2f30e1d 100644
43--- a/examples/plugins/cxx/override/overrideinputmethod.cpp
44+++ b/examples/plugins/cxx/override/overrideinputmethod.cpp
45@@ -18,7 +18,7 @@
46
47 #include <QDebug>
48 #include <QApplication>
49-#include <QDesktopWidget>
50+#include <QScreen>
51 #include <QKeyEvent>
52
53 namespace {
54@@ -82,7 +82,8 @@ void OverrideInputMethod::show()
55 }
56
57 // Set size of the input method
58- const QSize &screenSize = QApplication::desktop()->screenGeometry().size();
59+ QScreen *screen = QApplication::primaryScreen();
60+ const QSize screenSize = screen->availableSize();
61 const QSize size(screenSize.width() - 200, 200);
62
63 surface->setGeometry(QRect(QPoint((screenSize.width() - size.width()) / 2,
64--
652.22.0
66
diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb
index 308f3d02..c767d2a1 100644
--- a/recipes-qt/maliit/maliit-framework-qt5_git.bb
+++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb
@@ -11,6 +11,7 @@ SRC_URI = "git://github.com/maliit/framework.git;branch=master \
11 file://maliit-server.desktop \ 11 file://maliit-server.desktop \
12 file://0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch \ 12 file://0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch \
13 file://0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch \ 13 file://0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch \
14 file://0001-examples-plugins-Replace-obsolete-screenGeometry.patch \
14 " 15 "
15 16
16SRCREV = "60b1b10de14f932420313c547ab801daf522d539" 17SRCREV = "60b1b10de14f932420313c547ab801daf522d539"
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index dc69f4ec..321b3067 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -75,7 +75,7 @@ FILES_${PN} += " \
75DEBIAN_NOAUTONAME_${PN} = "1" 75DEBIAN_NOAUTONAME_${PN} = "1"
76 76
77PACKAGECONFIG ?= "" 77PACKAGECONFIG ?= ""
78PACKAGECONFIG[gui] = "-gui -qpa minimal,-no-gui," 78PACKAGECONFIG[gui] = "-gui -qpa offscreen,-no-gui,"
79PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif," 79PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif,"
80 80
81QT_CONFIG_FLAGS += " \ 81QT_CONFIG_FLAGS += " \
diff --git a/recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch b/recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch
deleted file mode 100644
index fcf6915d..00000000
--- a/recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch
+++ /dev/null
@@ -1,75 +0,0 @@
1From c80b588cc3e11a80ffedd778fab3f19c686552f7 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Mon, 5 Aug 2019 14:24:44 +0300
4Subject: [PATCH] Fix format-security issues
5
6format not a string literal and no format arguments [-Wformat-security]
7
8Change-Id: I04c1d1598948b664b9d85036030c6f89fcf3c8b7
9---
10 src/render/backends/gl/Q3DSRenderBackendGLES2.cpp | 4 ++--
11 src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp | 8 ++++----
12 2 files changed, 6 insertions(+), 6 deletions(-)
13
14diff --git a/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp b/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp
15index ac5b992..02046ac 100644
16--- a/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp
17+++ b/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp
18@@ -663,7 +663,7 @@ NVRenderBackendGLES2Impl::CreateRenderbuffer(NVRenderRenderBufferFormats::Enum s
19 // check for error
20 GLenum error = m_glFunctions->glGetError();
21 if (error != GL_NO_ERROR) {
22- qCCritical(GL_ERROR, GLConversion::processGLError(error));
23+ qCCritical(GL_ERROR) << GLConversion::processGLError(error);
24 QT3DS_ASSERT(false);
25 GL_CALL_EXTRA_FUNCTION(glDeleteRenderbuffers(1, &bufID));
26 bufID = 0;
27@@ -699,7 +699,7 @@ bool NVRenderBackendGLES2Impl::ResizeRenderbuffer(NVRenderBackendRenderbufferObj
28 // check for error
29 GLenum error = m_glFunctions->glGetError();
30 if (error != GL_NO_ERROR) {
31- qCCritical(GL_ERROR, GLConversion::processGLError(error));
32+ qCCritical(GL_ERROR) << GLConversion::processGLError(error);
33 QT3DS_ASSERT(false);
34 success = false;
35 }
36diff --git a/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp b/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp
37index 0fe6e0f..5dfe9d1 100644
38--- a/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp
39+++ b/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp
40@@ -604,7 +604,7 @@ NVRenderBackendGLBase::CreateBuffer(size_t size, NVRenderBufferBindFlags bindFla
41 } else {
42 GL_CALL_FUNCTION(glDeleteBuffers(1, &bufID));
43 bufID = 0;
44- qCCritical(GL_ERROR, GLConversion::processGLError(target));
45+ qCCritical(GL_ERROR) << GLConversion::processGLError(target);
46 }
47 }
48
49@@ -832,7 +832,7 @@ NVRenderBackendGLBase::CreateRenderbuffer(NVRenderRenderBufferFormats::Enum stor
50 // check for error
51 GLenum error = m_glFunctions->glGetError();
52 if (error != GL_NO_ERROR) {
53- qCCritical(GL_ERROR, GLConversion::processGLError(error));
54+ qCCritical(GL_ERROR) << GLConversion::processGLError(error);
55 QT3DS_ASSERT(false);
56 GL_CALL_FUNCTION(glDeleteRenderbuffers(1, &bufID));
57 bufID = 0;
58@@ -869,7 +869,7 @@ bool NVRenderBackendGLBase::ResizeRenderbuffer(NVRenderBackendRenderbufferObject
59 // check for error
60 GLenum error = m_glFunctions->glGetError();
61 if (error != GL_NO_ERROR) {
62- qCCritical(GL_ERROR, GLConversion::processGLError(error));
63+ qCCritical(GL_ERROR) << GLConversion::processGLError(error);
64 QT3DS_ASSERT(false);
65 success = false;
66 }
67@@ -1306,7 +1306,7 @@ bool NVRenderBackendGLBase::compileSource(GLuint shaderID, NVConstDataRef<QT3DSI
68 GLenum binaryError = m_glFunctions->glGetError();
69 if (binaryError != GL_NO_ERROR) {
70 shaderStatus = GL_FALSE;
71- qCCritical(GL_ERROR, GLConversion::processGLError(binaryError));
72+ qCCritical(GL_ERROR) << GLConversion::processGLError(binaryError);
73 }
74 }
75
diff --git a/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch
new file mode 100644
index 00000000..d17f60b4
--- /dev/null
+++ b/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch
@@ -0,0 +1,34 @@
1From ec7aec2f6c56889c96dc12af46059a7f3d4c3a37 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 16 Jan 2018 13:26:57 +0000
4Subject: [PATCH] Link with libexecinfo on musl
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8---
9 src/plugins/debugger/debugger.pro | 1 +
10 src/plugins/qmldesigner/designercore/designercore-lib.pri | 2 ++
11 2 files changed, 3 insertions(+)
12
13diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro
14index f5a34aa0d5..4a1359dd5c 100644
15--- a/src/plugins/debugger/debugger.pro
16+++ b/src/plugins/debugger/debugger.pro
17@@ -141,3 +141,4 @@ include(console/console.pri)
18 include(analyzer/analyzer.pri)
19
20 include(shared/shared.pri)
21+LIBS *= -lexecinfo
22diff --git a/src/plugins/qmldesigner/designercore/designercore-lib.pri b/src/plugins/qmldesigner/designercore/designercore-lib.pri
23index 935b29728e..31527267fd 100644
24--- a/src/plugins/qmldesigner/designercore/designercore-lib.pri
25+++ b/src/plugins/qmldesigner/designercore/designercore-lib.pri
26@@ -2,6 +2,8 @@ include($$PWD/filemanager/filemanager.pri)
27
28 QT += network
29
30+LIBS *= -lexecinfo
31+
32 DEFINES += TEST_EXPORTS
33 DEFINES += DESIGNER_CORE_LIBRARY
34 INCLUDEPATH += $$PWD \
diff --git a/recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch b/recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch
deleted file mode 100644
index eebda742..00000000
--- a/recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 766e5b37a42b440b66823262eb553f9981940115 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 27 Sep 2018 20:48:17 -0700
4Subject: [PATCH] botan: Always define BOTAN_ARCH_SWITCH when cross-building
5
6this helps in compiling botan for non-x86 architectures
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 src/libs/botan/botan.pro | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/src/libs/botan/botan.pro b/src/libs/botan/botan.pro
14index 0c939b2a30..6e1a85fe84 100644
15--- a/src/libs/botan/botan.pro
16+++ b/src/libs/botan/botan.pro
17@@ -18,6 +18,7 @@ else: clang: BOTAN_CC_TYPE = clang
18 else: BOTAN_CC_TYPE = gcc
19 contains(QT_ARCH, i386): BOTAN_ARCH_SWITCH = "--cpu=x86"
20 else: contains(QT_ARCH, x86_64): BOTAN_ARCH_SWITCH = "--cpu=x86_64"
21+else: BOTAN_ARCH_SWITCH = --cpu=$$QT_ARCH
22 BOTAN_MODULES = aes aes_ssse3 auto_rng bigint block cbc ctr des dh dsa ec_group ecdh ecdsa entropy \
23 filters hmac mode_pad pubkey rsa sha1 sha1_sse2 sha1_x86 sha2_32 sha2_32_x86 \
24 sha2_64 simd system_rng,emsa_pkcs1,pbes2,pbkdf2
25-- 2.19.0
26
diff --git a/recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch b/recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch
deleted file mode 100644
index 26262299..00000000
--- a/recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch
+++ /dev/null
@@ -1,80 +0,0 @@
1From cd006f4a79b3c1435a8a8321b5af9191f104bbb3 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 26 Sep 2018 21:14:06 +0000
4Subject: [PATCH] botan.pro: pass QMAKE_AR
5
6* otherwise AR from environment sets it with cqs params, e.g.:
7 x86_64-oe-linux-ar cqs
8 from QMAKE_AR = ${OE_QMAKE_AR} cqs
9
10 but then botan's Makefile will add "crs" after it causing:
11 http://errors.yoctoproject.org/Errors/Details/194653/
12
13 x86_64-oe-linux-ar cqs crs libbotan-2.a build/obj/lib/botan_all.o build/obj/lib/botan_all_ssse3.o
14 x86_64-oe-linux-ar: libbotan-2.a: No such file or directory
15 Makefile:79: recipe for target 'libbotan-2.a' failed
16 make[4]: *** [libbotan-2.a] Error 1
17
18* add --ar-options parameter to botan configure and respect the
19 value when set (before cc.ar_options and osinfo.ar_options)
20 then use this to pass empty ar_options as we already include
21 the options in ar_command
22
23Upstream-Status: Pending
24
25Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
26---
27 src/libs/3rdparty/botan/configure.py | 13 ++++++++++++-
28 src/libs/botan/botan.pro | 1 +
29 2 files changed, 13 insertions(+), 1 deletion(-)
30
31diff --git a/src/libs/3rdparty/botan/configure.py b/src/libs/3rdparty/botan/configure.py
32index b09f07bb5e..2b5b9c6417 100755
33--- a/src/libs/3rdparty/botan/configure.py
34+++ b/src/libs/3rdparty/botan/configure.py
35@@ -321,6 +321,9 @@ def process_command_line(args): # pylint: disable=too-many-locals
36 target_group.add_option('--ar-command', dest='ar_command', metavar='AR', default=None,
37 help='set path to static archive creator')
38
39+ target_group.add_option('--ar-options', dest='ar_options', metavar='crs', default='crs',
40+ help='set options for static archive creator')
41+
42 target_group.add_option('--msvc-runtime', metavar='RT', default=None,
43 help='specify MSVC runtime (MT, MD, MTd, MDd)')
44
45@@ -1786,6 +1789,14 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch,
46
47 return osinfo.ar_command
48
49+ def ar_options():
50+ if options.ar_options:
51+ return options.ar_options
52+ if cc.ar_options:
53+ return cc.ar_options
54+
55+ return osinfo.ar_options
56+
57 def choose_endian(arch_info, options):
58 if options.with_endian != None:
59 return options.with_endian
60@@ -1938,7 +1949,7 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch,
61 'post_link_cmd': '',
62
63 'ar_command': ar_command(),
64- 'ar_options': cc.ar_options or osinfo.ar_options,
65+ 'ar_options': ar_options(),
66 'ar_output_to': cc.ar_output_to,
67
68 'link_to': ' '.join(
69diff --git a/src/libs/botan/botan.pro b/src/libs/botan/botan.pro
70index 0c939b2a30..e8082c4bbb 100644
71--- a/src/libs/botan/botan.pro
72+++ b/src/libs/botan/botan.pro
73@@ -46,6 +46,7 @@ configure.variable_out = BOTAN_MAKEFILE
74 configure.commands = cd $$BOTAN_BUILD_DIR_FOR_SHELL && \
75 python $$CONFIGURE_FILE_PATH_FOR_SHELL \
76 --cc=$$BOTAN_CC_TYPE --cc-bin=$$shell_quote($$QMAKE_CXX) \
77+ --ar-command=$$shell_quote($$QMAKE_AR) --ar-options=$$shell_quote(' ') \
78 $$BOTAN_ARCH_SWITCH $$BOTAN_OS_SWITCH $$OTHER_FLAGS
79 QMAKE_EXTRA_COMPILERS += configure
80
diff --git a/recipes-qt/qt5/qt5-creator/0003-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0003-Link-with-libexecinfo-on-musl.patch
deleted file mode 100644
index 9b225a57..00000000
--- a/recipes-qt/qt5/qt5-creator/0003-Link-with-libexecinfo-on-musl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1From 88afa7173c7d0c97e15d9ee9c58e8c0364799bb7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 16 Jan 2018 13:26:57 +0000
4Subject: [PATCH] Link with libexecinfo on musl
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8---
9 src/plugins/debugger/debugger.pro | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro
13index f5a34aa0d5..4a1359dd5c 100644
14--- a/src/plugins/debugger/debugger.pro
15+++ b/src/plugins/debugger/debugger.pro
16@@ -141,3 +141,4 @@ include(console/console.pri)
17 include(analyzer/analyzer.pri)
18
19 include(shared/shared.pri)
20+LIBS *= -lexecinfo
diff --git a/recipes-qt/qt5/qt5-creator_git.bb b/recipes-qt/qt5/qt5-creator_git.bb
index 6a8887ed..107fee53 100644
--- a/recipes-qt/qt5/qt5-creator_git.bb
+++ b/recipes-qt/qt5/qt5-creator_git.bb
@@ -18,17 +18,15 @@ DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qtto
18DEPENDS_append_toolchain-clang = " clang llvm-common" 18DEPENDS_append_toolchain-clang = " clang llvm-common"
19DEPENDS_append_libc-musl = " libexecinfo" 19DEPENDS_append_libc-musl = " libexecinfo"
20 20
21SRCREV = "8768e39d3c8e74e583eca3897cc6de53a99c3dde" 21SRCREV = "8181363fa90eb651591bf71e1a840e1c998429f4"
22PV = "4.7.1+git${SRCPV}" 22PV = "4.9.2+git${SRCPV}"
23 23
24# Patches from https://github.com/meta-qt5/qtcreator/commits/b4.7.1 24# Patches from https://github.com/meta-qt5/qtcreator/commits/b4.9.2
25# 4.7.1.meta-qt5.1 25# 4.9.2.meta-qt5.1
26SRC_URI = " \ 26SRC_URI = " \
27 git://code.qt.io/qt-creator/qt-creator.git;branch=4.7 \ 27 git://code.qt.io/qt-creator/qt-creator.git;branch=4.9 \
28 file://0002-botan.pro-pass-QMAKE_AR.patch \
29 file://0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch \
30" 28"
31SRC_URI_append_libc-musl = " file://0003-Link-with-libexecinfo-on-musl.patch" 29SRC_URI_append_libc-musl = " file://0001-Link-with-libexecinfo-on-musl.patch"
32 30
33S = "${WORKDIR}/git" 31S = "${WORKDIR}/git"
34 32
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index d6ceb064..6849c683 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -57,7 +57,7 @@ XPLATFORM_toolchain-clang = "linux-oe-clang"
57XPLATFORM ?= "linux-oe-g++" 57XPLATFORM ?= "linux-oe-g++"
58 58
59PACKAGECONFIG ?= "" 59PACKAGECONFIG ?= ""
60PACKAGECONFIG[gui] = "-gui -qpa minimal,-no-gui," 60PACKAGECONFIG[gui] = "-gui -qpa offscreen,-no-gui,"
61PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif," 61PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif,"
62 62
63QT_CONFIG_FLAGS = " \ 63QT_CONFIG_FLAGS = " \
@@ -66,6 +66,7 @@ QT_CONFIG_FLAGS = " \
66 -no-gcc-sysroot \ 66 -no-gcc-sysroot \
67 -system-zlib \ 67 -system-zlib \
68 -qt-pcre \ 68 -qt-pcre \
69 -qt-doubleconversion \
69 -no-accessibility \ 70 -no-accessibility \
70 -no-cups \ 71 -no-cups \
71 -no-sql-mysql \ 72 -no-sql-mysql \
diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb
index db48c255..403d86c7 100644
--- a/recipes-qt/qt5/qtconnectivity_git.bb
+++ b/recipes-qt/qt5/qtconnectivity_git.bb
@@ -14,10 +14,8 @@ SRC_URI += "file://0001-Add-missing-header-for-errno.patch"
14 14
15DEPENDS += "qtbase qtdeclarative" 15DEPENDS += "qtbase qtdeclarative"
16 16
17inherit bluetooth
18
19PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}" 17PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
20PACKAGECONFIG[bluez] = "-feature-bluez,-no-feature-bluez,${BLUEZ}" 18PACKAGECONFIG[bluez] = "-feature-bluez,-no-feature-bluez,bluez5"
21 19
22EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" 20EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}"
23 21
diff --git a/recipes-qt/qt5/qtdeclarative/0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch b/recipes-qt/qt5/qtdeclarative/0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch
new file mode 100644
index 00000000..0152574a
--- /dev/null
+++ b/recipes-qt/qt5/qtdeclarative/0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch
@@ -0,0 +1,35 @@
1From 793ddd0d9fc0d86425a0aa43709445c5ff12a464 Mon Sep 17 00:00:00 2001
2From: Piotr Tworek <tworaz@tworaz.net>
3Date: Wed, 3 Jul 2019 01:13:40 +0200
4Subject: [PATCH] Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to locate qmlcachegen
5
6Without this cmake will end up using host qmlcachegen instead of
7recipe-sysroot-native one.
8
9Upstream-Status: Inappropriate [OE specific]
10
11Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
12---
13 tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | 6 +-----
14 1 file changed, 1 insertion(+), 5 deletions(-)
15
16diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in
17index 75fbb0fcf3..1e949cd40c 100644
18--- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in
19+++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in
20@@ -18,11 +18,7 @@ function(QTQUICK_COMPILER_ADD_RESOURCES outfiles)
21
22 find_package(Qt5 COMPONENTS Qml Core)
23
24-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
25- set(compiler_path \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmlcachegen$$CMAKE_BIN_SUFFIX\")
26-!!ELSE
27- set(compiler_path \"$${CMAKE_BIN_DIR}qmlcachegen$$CMAKE_BIN_SUFFIX\")
28-!!ENDIF
29+ set(compiler_path \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qmlcachegen${OE_QMAKE_BIN_SUFFIX}\")
30 if(NOT EXISTS \"${compiler_path}\" )
31 message(FATAL_ERROR \"The package \\\"Qt5QuickCompilerConfig\\\" references the file
32 \\\"${compiler_path}\\\"
33--
342.21.0
35
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb
index b27d63ab..4906272d 100644
--- a/recipes-qt/qt5/qtdeclarative_git.bb
+++ b/recipes-qt/qt5/qtdeclarative_git.bb
@@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = " \
15DEPENDS += "qtbase" 15DEPENDS += "qtbase"
16 16
17SRC_URI += "\ 17SRC_URI += "\
18 file://0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch \
18 file://0001-Revert-Yield-error-if-qtquickcompiler-is-used-in-non.patch \ 19 file://0001-Revert-Yield-error-if-qtquickcompiler-is-used-in-non.patch \
19 file://0002-scenegraph-fix-error-QOffscreenSurface-does-not-name.patch \ 20 file://0002-scenegraph-fix-error-QOffscreenSurface-does-not-name.patch \
20" 21"
diff --git a/recipes-qt/qt5/qtremoteobjects/0001-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch b/recipes-qt/qt5/qtremoteobjects/0001-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch
new file mode 100644
index 00000000..caf08de4
--- /dev/null
+++ b/recipes-qt/qt5/qtremoteobjects/0001-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch
@@ -0,0 +1,22 @@
1From 30d1467553f75ba94baa4569c0222c5d407f275c Mon Sep 17 00:00:00 2001
2From: ibinderwolf <daniel@bluepattern.net>
3Date: Wed, 26 Jun 2019 09:46:48 +0200
4Subject: [PATCH] cmake Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS
5
6---
7 src/remoteobjects/Qt5RemoteObjectsConfigExtras.cmake.in | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/remoteobjects/Qt5RemoteObjectsConfigExtras.cmake.in b/src/remoteobjects/Qt5RemoteObjectsConfigExtras.cmake.in
11index 4907ded..34729da 100644
12--- a/src/remoteobjects/Qt5RemoteObjectsConfigExtras.cmake.in
13+++ b/src/remoteobjects/Qt5RemoteObjectsConfigExtras.cmake.in
14@@ -40,7 +40,7 @@ if (NOT TARGET Qt5::repc)
15 !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
16 set(imported_location \"${_qt5RemoteObjects_install_prefix}/$${CMAKE_BIN_DIR}repc$$CMAKE_BIN_SUFFIX\")
17 !!ELSE
18- set(imported_location \"$${CMAKE_BIN_DIR}repc$$CMAKE_BIN_SUFFIX\")
19+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/repc${OE_QMAKE_BIN_SUFFIX}\")
20 !!ENDIF
21 _qt5_RemoteObjects_check_file_exists(${imported_location})
22
diff --git a/recipes-qt/qt5/qtremoteobjects_git.bb b/recipes-qt/qt5/qtremoteobjects_git.bb
index 42d86b7a..8d22d0b5 100644
--- a/recipes-qt/qt5/qtremoteobjects_git.bb
+++ b/recipes-qt/qt5/qtremoteobjects_git.bb
@@ -15,6 +15,7 @@ DEPENDS += "qtbase qtdeclarative qtremoteobjects-native"
15# 5.12.meta-qt5.2 15# 5.12.meta-qt5.2
16SRC_URI += " \ 16SRC_URI += " \
17 file://0001-Allow-a-tools-only-build.patch \ 17 file://0001-Allow-a-tools-only-build.patch \
18 file://0001-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \
18" 19"
19 20
20PACKAGECONFIG ??= "" 21PACKAGECONFIG ??= ""
diff --git a/recipes-qt/qt5/qtsystems_git.bb b/recipes-qt/qt5/qtsystems_git.bb
index 05741de7..5f5e1ad8 100644
--- a/recipes-qt/qt5/qtsystems_git.bb
+++ b/recipes-qt/qt5/qtsystems_git.bb
@@ -12,10 +12,8 @@ LIC_FILES_CHKSUM = " \
12 12
13DEPENDS += "qtbase qtdeclarative udev gconf" 13DEPENDS += "qtbase qtdeclarative udev gconf"
14 14
15inherit bluetooth
16
17PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}" 15PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
18PACKAGECONFIG[bluez] = "CONFIG+=OE_BLUEZ_ENABLED,,${BLUEZ}" 16PACKAGECONFIG[bluez] = "CONFIG+=OE_BLUEZ_ENABLED,,bluez5"
19 17
20EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" 18EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}"
21 19
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb
index a4ad0ff6..b44f874b 100644
--- a/recipes-qt/qt5/qttools_git.bb
+++ b/recipes-qt/qt5/qttools_git.bb
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = " \
12 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ 12 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
13" 13"
14 14
15DEPENDS += "qtbase qtdeclarative qtxmlpatterns" 15DEPENDS += "qtbase qtdeclarative qtxmlpatterns chrpath-replacement-native"
16 16EXTRANATIVEPATH += "chrpath-native"
17# Patches from https://github.com/meta-qt5/qttools/commits/b5.12 17# Patches from https://github.com/meta-qt5/qttools/commits/b5.12
18# 5.12.meta-qt5.2 18# 5.12.meta-qt5.2
19SRC_URI += " \ 19SRC_URI += " \
@@ -25,12 +25,19 @@ FILES_${PN}-tools += "${datadir}${QT_DIR_NAME}/phrasebooks"
25FILES_${PN}-examples = "${datadir}${QT_DIR_NAME}/examples" 25FILES_${PN}-examples = "${datadir}${QT_DIR_NAME}/examples"
26 26
27PACKAGECONFIG ??= "" 27PACKAGECONFIG ??= ""
28PACKAGECONFIG_append_toolchain-clang = " clang"
29
28PACKAGECONFIG[qtwebkit] = ",,qtwebkit" 30PACKAGECONFIG[qtwebkit] = ",,qtwebkit"
31PACKAGECONFIG[clang] = ",,clang"
29 32
30EXTRA_QMAKEVARS_PRE += " \ 33EXTRA_QMAKEVARS_PRE += " \
31 CONFIG-=config_clang \
32 ${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)} \ 34 ${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)} \
33" 35"
36EXTRA_QMAKEVARS_PRE_append_class-native = " CONFIG-=config_clang"
37EXTRA_QMAKEVARS_PRE_append_class-nativesdk = " CONFIG-=config_clang"
38EXTRA_QMAKEVARS_PRE_append_class-target = "\
39 ${@bb.utils.contains('PACKAGECONFIG', 'clang', 'CONFIG+=config_clang', 'CONFIG-=config_clang', d)} \
40"
34 41
35SRCREV = "61c0d8017044263dde21f1db57383f6d19f9eb03" 42SRCREV = "61c0d8017044263dde21f1db57383f6d19f9eb03"
36 43
@@ -41,3 +48,6 @@ do_install_ptest() {
41 t=${D}${PTEST_PATH} 48 t=${D}${PTEST_PATH}
42 cp ${B}/tests/auto/qtdiag/tst_tdiag $t 49 cp ${B}/tests/auto/qtdiag/tst_tdiag $t
43} 50}
51do_install_append_toolchain-clang() {
52 chrpath --delete ${D}${bindir}/qdoc
53}
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 d15af51e..610b703f 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 eb0b90b8809a8d8bd76999056d74d433a6c23184 Mon Sep 17 00:00:00 2001 1From 468ed461a955cc1ab3d890178546b79b9d001de9 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
@@ -58,7 +58,7 @@ index dd0d3e32..6312c867 100644
58 " nm = \"$$which(nm)\" " \ 58 " nm = \"$$which(nm)\" " \
59 " toolchain_args = { " \ 59 " toolchain_args = { " \
60diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro 60diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro
61index b6bf9cf..ae419b1 100644 61index b6bf9cfc..ae419b1a 100644
62--- a/src/buildtools/gn.pro 62--- a/src/buildtools/gn.pro
63+++ b/src/buildtools/gn.pro 63+++ b/src/buildtools/gn.pro
64@@ -19,8 +19,8 @@ build_pass|!debug_and_release { 64@@ -19,8 +19,8 @@ build_pass|!debug_and_release {
@@ -73,10 +73,10 @@ index b6bf9cf..ae419b1 100644
73 msvc:!clang_cl: gn_gen_args += --use-lto 73 msvc:!clang_cl: gn_gen_args += --use-lto
74 74
75diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri 75diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri
76index 95b7a4b..db0658e 100644 76index fcce4c31..e3384e58 100644
77--- a/src/core/config/linux.pri 77--- a/src/core/config/linux.pri
78+++ b/src/core/config/linux.pri 78+++ b/src/core/config/linux.pri
79@@ -116,7 +116,7 @@ contains(QT_ARCH, "mips") { 79@@ -117,7 +117,7 @@ contains(QT_ARCH, "mips") {
80 80
81 host_build { 81 host_build {
82 gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" 82 gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\"
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 07092012..96c9d101 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 b3125c1b3f32915aa80acf58a9d1eeab4e260b17 Mon Sep 17 00:00:00 2001 1From cdebd3f7775cfae7ac797774c63478d55d5b60ea 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 6dc7f0cb..e3d3c9bb 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 983ba7f8f80165ade5347544f1e975bd6b67549e Mon Sep 17 00:00:00 2001 1From 7b2e6cae9afa28571ccdc2a9224fb86caa88cd29 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
@@ -10,10 +10,10 @@ Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/src/core/core_module.pro b/src/core/core_module.pro 12diff --git a/src/core/core_module.pro b/src/core/core_module.pro
13index 3b5d37f2..0882d5fd 100644 13index 2bfbc65b..7134a5d7 100644
14--- a/src/core/core_module.pro 14--- a/src/core/core_module.pro
15+++ b/src/core/core_module.pro 15+++ b/src/core/core_module.pro
16@@ -51,7 +51,7 @@ linux { 16@@ -52,7 +52,7 @@ linux {
17 POST_TARGETDEPS += $$NINJA_TARGETDEPS 17 POST_TARGETDEPS += $$NINJA_TARGETDEPS
18 18
19 19
diff --git a/recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch b/recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch
new file mode 100644
index 00000000..3047230c
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch
@@ -0,0 +1,23 @@
1From a1c248259f3d8561d6e2c75a56edf4a72c393843 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 15 Aug 2019 07:52:53 +0300
4Subject: [PATCH] musl: allow build without glibc
5
6Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
7---
8 mkspecs/features/configure.prf | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
12index cc84182b..f1310f75 100644
13--- a/mkspecs/features/configure.prf
14+++ b/mkspecs/features/configure.prf
15@@ -75,7 +75,7 @@ defineTest(runConfigure) {
16 return(false)
17 }
18
19- !qtConfig(webengine-system-glibc) {
20+ false:!qtConfig(webengine-system-glibc) {
21 skipBuild("A suitable version >= 2.27 of libc could not be found.")
22 return(false)
23 }
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch b/recipes-qt/qt5/qtwebengine/chromium/0001-chromium-workaround-for-too-long-.rps-file-name.patch
index 0b4c1a33..97b09e70 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0001-chromium-workaround-for-too-long-.rps-file-name.patch
@@ -1,4 +1,4 @@
1From 0bf810937f9340c19d1a085eed04d4a209c17d23 Mon Sep 17 00:00:00 2001 1From f3345ad713ae81e4f914084b089ca7983bb76581 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 30 Mar 2017 11:37:24 +0300 3Date: Thu, 30 Mar 2017 11:37:24 +0300
4Subject: [PATCH] chromium: workaround for too long .rps file name 4Subject: [PATCH] chromium: workaround for too long .rps file name
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-stack-pointer-clobber.patch b/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-stack-pointer-clobber.patch
index 8490ed7c..295b18e0 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-stack-pointer-clobber.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-stack-pointer-clobber.patch
@@ -1,4 +1,4 @@
1From a355be3c293984932bd6d858b5773e511a18fcf4 Mon Sep 17 00:00:00 2001 1From 079403c8f4e9fc5e1ea81dcd7fa126b351c91094 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 23 Dec 2018 16:58:04 -0800 3Date: Sun, 23 Dec 2018 16:58:04 -0800
4Subject: [PATCH] chromium: stack pointer clobber 4Subject: [PATCH] chromium: stack pointer clobber
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch b/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Exclude-CRC32-for-32bit-arm.patch
index 7730e712..4eba389f 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Exclude-CRC32-for-32bit-arm.patch
@@ -1,4 +1,4 @@
1From ffb83a8c687c18ec05bcf3397f08f6387b4c1ac2 Mon Sep 17 00:00:00 2001 1From 07161d6cffe2f38f8de1d176047548ea448c0b8f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 5 Feb 2019 14:32:20 -0800 3Date: Tue, 5 Feb 2019 14:32:20 -0800
4Subject: [PATCH] chromium: Exclude CRC32 for 32bit arm 4Subject: [PATCH] chromium: Exclude CRC32 for 32bit arm
@@ -11,24 +11,23 @@ src/3rdparty/chromium/third_party/zlib/crc32_simd.c:184: undefined reference to
11Upstream-Status: Pending 11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 13---
14 chromium/third_party/zlib/BUILD.gn | 6 ++++-- 14 chromium/third_party/zlib/BUILD.gn | 5 ++++-
15 1 file changed, 4 insertions(+), 2 deletions(-) 15 1 file changed, 4 insertions(+), 1 deletion(-)
16 16
17diff --git a/chromium/third_party/zlib/BUILD.gn b/chromium/third_party/zlib/BUILD.gn 17diff --git a/chromium/third_party/zlib/BUILD.gn b/chromium/third_party/zlib/BUILD.gn
18index b9f1bba..e8a5c58 100644 18index b9f1bba6062..354bd444482 100644
19--- a/chromium/third_party/zlib/BUILD.gn 19--- a/chromium/third_party/zlib/BUILD.gn
20+++ b/chromium/third_party/zlib/BUILD.gn 20+++ b/chromium/third_party/zlib/BUILD.gn
21@@ -77,9 +77,11 @@ if (use_arm_neon_optimizations) { 21@@ -77,8 +77,11 @@ if (use_arm_neon_optimizations) {
22 # Disabled for iPhone, as described in DDI0487C_a_armv8_arm: 22 # Disabled for iPhone, as described in DDI0487C_a_armv8_arm:
23 # "All implementations of the ARMv8.1 architecture are required to 23 # "All implementations of the ARMv8.1 architecture are required to
24 # implement the CRC32* instructions. These are optional in ARMv8.0." 24 # implement the CRC32* instructions. These are optional in ARMv8.0."
25+ defines = [] 25+ defines = []
26 if (is_clang && !is_ios) { 26 if (is_clang && !is_ios) {
27- defines = [ "CRC32_ARMV8_CRC32" ] 27- defines = [ "CRC32_ARMV8_CRC32" ]
28- if (is_android) {
29+ if (current_cpu == "arm64") { 28+ if (current_cpu == "arm64") {
30+ defines += [ "CRC32_ARMV8_CRC32" ] 29+ defines += [ "CRC32_ARMV8_CRC32" ]
31+ } if (is_android) { 30+ }
31 if (is_android) {
32 defines += [ "ARMV8_OS_ANDROID" ] 32 defines += [ "ARMV8_OS_ANDROID" ]
33 } else if (is_linux || is_chromeos) { 33 } else if (is_linux || is_chromeos) {
34 defines += [ "ARMV8_OS_LINUX" ]
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/0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch
index 1e3f2c15..5f7901e8 100644
--- 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/0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch
@@ -1,7 +1,7 @@
1From 058158c568698f79c905c19e5ef32ca714f8223e Mon Sep 17 00:00:00 2001 1From f49c5d488951027f1577f79681d448c3f30f6ae3 Mon Sep 17 00:00:00 2001
2From: Johannes Pointner <johannes.pointner@br-automation.com> 2From: Johannes Pointner <johannes.pointner@br-automation.com>
3Date: Fri, 3 May 2019 09:12:38 +0200 3Date: Fri, 3 May 2019 09:12:38 +0200
4Subject: [PATCH 1/1] chromium: Do not try to set the guessed values for 4Subject: [PATCH] chromium: Do not try to set the guessed values for
5 march/mtune/float-abi OE config machinary has computed these values already 5 march/mtune/float-abi OE config machinary has computed these values already
6 and fed it via compiler cmdline to chromium build 6 and fed it via compiler cmdline to chromium build
7 7
@@ -17,12 +17,12 @@ Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
17 1 file changed, 9 deletions(-) 17 1 file changed, 9 deletions(-)
18 18
19diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn 19diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn
20index 1c42c49ea4..e919e157d7 100644 20index 127d0c444bd..b653e933d6f 100644
21--- a/chromium/build/config/compiler/BUILD.gn 21--- a/chromium/build/config/compiler/BUILD.gn
22+++ b/chromium/build/config/compiler/BUILD.gn 22+++ b/chromium/build/config/compiler/BUILD.gn
23@@ -742,15 +742,6 @@ config("compiler_cpu_abi") { 23@@ -749,15 +749,6 @@ config("compiler_cpu_abi") {
24 } else if (current_cpu == "arm") { 24 cflags += [ "--target=arm-linux-gnueabihf" ]
25 if (is_clang && !is_android && !is_nacl) { 25 ldflags += [ "--target=arm-linux-gnueabihf" ]
26 } 26 }
27- if (!is_nacl) { 27- if (!is_nacl) {
28- cflags += [ 28- cflags += [
@@ -35,7 +35,4 @@ index 1c42c49ea4..e919e157d7 100644
35- } 35- }
36 } else if (current_cpu == "arm64") { 36 } else if (current_cpu == "arm64") {
37 if (is_clang && !is_android && !is_nacl && !is_fuchsia) { 37 if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
38 } 38 cflags += [ "--target=aarch64-linux-gnu" ]
39--
402.21.0
41
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-aarch64-skia-build-fix.patch b/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-aarch64-skia-build-fix.patch
new file mode 100644
index 00000000..b97b2dca
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-aarch64-skia-build-fix.patch
@@ -0,0 +1,62 @@
1From 564eb25c70160f6b3f20a6eb5727427efc78b695 Mon Sep 17 00:00:00 2001
2From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
3Date: Thu, 8 Mar 2018 15:39:55 +0100
4Subject: [PATCH] chromium: aarch64 skia build fix
5
6Upstream-Status: Inappropriate
7
8GCC (tested rocko's 7.3.0) cannot find these intrinsics and the build fails:
9
10../../third_party/skia/src/opts/SkRasterPipeline_opts.h: In function 'neon::F neon::from_half(neon::U16)':
11../../third_party/skia/src/opts/SkRasterPipeline_opts.h:657:26: error: cannot convert 'neon::U16 {aka short unsigned int}' to 'float16x4_ t {aka __vector(4) __ fp16}' for argument '1' to '
12float32x4_t vcvt_f32_f16(float16x4_t)'
13 return vcvt_f32_f16(h);
14 ^
15../../third_party/skia/src/opts/SkRasterPipeline_opts.h: In function 'neon::U16 neon::to_half(neon::F)':
16../../third_party/skia/src/opts/SkRasterPipeline_opts.h:677:26: error: cannot convert 'neon::F {aka float}' to 'float32x4_t {aka __vector (4) float}' for argum ent '1' to 'float16x4_t vcvt
17_f16_f32(float32x4_t)'
18 return vcvt_f16_f32(f);
19 ^
20
21Upstream seems to have had similar issues according to
22https://skia-review.googlesource.com/c/skia/+/84222, but there is no fix at the
23moment.
24
25Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
26---
27 .../skia/src/opts/SkRasterPipeline_opts.h | 15 ++-------------
28 1 file changed, 2 insertions(+), 13 deletions(-)
29
30diff --git a/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h b/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h
31index de14e65b94e..b8be7852086 100644
32--- a/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h
33+++ b/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h
34@@ -729,12 +729,7 @@ SI F approx_powf(F x, F y) {
35 }
36
37 SI F from_half(U16 h) {
38-#if defined(SK_CPU_ARM64) && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
39- __fp16 fp16;
40- memcpy(&fp16, &h, sizeof(U16));
41- return float(fp16);
42-
43-#elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
44+#if defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
45 return _mm256_cvtph_ps(h);
46
47 #else
48@@ -751,13 +746,7 @@ SI F from_half(U16 h) {
49 }
50
51 SI U16 to_half(F f) {
52-#if defined(SK_CPU_ARM64) && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
53- __fp16 fp16 = __fp16(f);
54- U16 u16;
55- memcpy(&u16, &fp16, sizeof(U16));
56- return u16;
57-
58-#elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
59+#if defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
60 return _mm256_cvtps_ph(f, _MM_FROUND_CUR_DIRECTION);
61
62 #else
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch
index 3389d69b..c040504a 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch
@@ -1,4 +1,4 @@
1From 2297089fdb32aca352802b1c7b044d0441f54165 Mon Sep 17 00:00:00 2001 1From 34ab4deee6cffc8e6876e991ceabe6baf7308b6f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 14:01:12 -0700 3Date: Fri, 7 Jul 2017 14:01:12 -0700
4Subject: [PATCH] chromium: musl: sandbox: Define TEMP_FAILURE_RETRY if not 4Subject: [PATCH] chromium: musl: sandbox: Define TEMP_FAILURE_RETRY if not
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 1 file changed, 9 insertions(+) 12 1 file changed, 9 insertions(+)
13 13
14diff --git a/chromium/sandbox/linux/suid/sandbox.c b/chromium/sandbox/linux/suid/sandbox.c 14diff --git a/chromium/sandbox/linux/suid/sandbox.c b/chromium/sandbox/linux/suid/sandbox.c
15index 66f68ef1387..9284d0d4fc5 100644 15index 854819bfbb4..a99d32741d0 100644
16--- a/chromium/sandbox/linux/suid/sandbox.c 16--- a/chromium/sandbox/linux/suid/sandbox.c
17+++ b/chromium/sandbox/linux/suid/sandbox.c 17+++ b/chromium/sandbox/linux/suid/sandbox.c
18@@ -44,6 +44,15 @@ static bool DropRoot(); 18@@ -46,6 +46,15 @@ static bool DropRoot();
19 19
20 #define HANDLE_EINTR(x) TEMP_FAILURE_RETRY(x) 20 #define HANDLE_EINTR(x) TEMP_FAILURE_RETRY(x)
21 21
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch b/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch
index 45c8c8d0..14b469e1 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch
@@ -1,4 +1,4 @@
1From 80cf8eb756140011f358522378d640587600976a Mon Sep 17 00:00:00 2001 1From 6eec3f3105b0f6b37fdb52efbb4b3820e1d25846 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 14:09:06 -0700 3Date: Fri, 7 Jul 2017 14:09:06 -0700
4Subject: [PATCH] chromium: musl: Avoid mallinfo() APIs on non-glibc/linux 4Subject: [PATCH] chromium: musl: Avoid mallinfo() APIs on non-glibc/linux
@@ -31,7 +31,7 @@ index a09bbf2c56e..b309f6b694e 100644
31 return 0; 31 return 0;
32 #endif 32 #endif
33diff --git a/chromium/base/trace_event/malloc_dump_provider.cc b/chromium/base/trace_event/malloc_dump_provider.cc 33diff --git a/chromium/base/trace_event/malloc_dump_provider.cc b/chromium/base/trace_event/malloc_dump_provider.cc
34index 46fdb3e2146..27936e6b200 100644 34index 0077d8b0aec..c69f893f4e9 100644
35--- a/chromium/base/trace_event/malloc_dump_provider.cc 35--- a/chromium/base/trace_event/malloc_dump_provider.cc
36+++ b/chromium/base/trace_event/malloc_dump_provider.cc 36+++ b/chromium/base/trace_event/malloc_dump_provider.cc
37@@ -77,6 +77,7 @@ MallocDumpProvider::~MallocDumpProvider() = default; 37@@ -77,6 +77,7 @@ MallocDumpProvider::~MallocDumpProvider() = default;
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-include-fcntl.h-for-loff_t.patch b/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-include-fcntl.h-for-loff_t.patch
index 557aa1ee..f6c23b0e 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-include-fcntl.h-for-loff_t.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-include-fcntl.h-for-loff_t.patch
@@ -1,4 +1,4 @@
1From 479ba4a1be5e24b1b2292554d5a9cbc519b41759 Mon Sep 17 00:00:00 2001 1From 87a8cb561129701c8ba94dc927c45cbbb9f5c75b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 14:37:49 -0700 3Date: Fri, 7 Jul 2017 14:37:49 -0700
4Subject: [PATCH] chromium: musl: include fcntl.h for loff_t 4Subject: [PATCH] chromium: musl: include fcntl.h for loff_t
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch b/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-use-off64_t-instead-of-the-internal-__.patch
index 7fef5e0f..ca31a456 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-use-off64_t-instead-of-the-internal-__.patch
@@ -1,4 +1,4 @@
1From d4869cfc2ab0acdd81926346c1aa4fb067063ad3 Mon Sep 17 00:00:00 2001 1From bf780e32b4de82b55368967642bc8f975a93d619 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 14:38:37 -0700 3Date: Fri, 7 Jul 2017 14:38:37 -0700
4Subject: [PATCH] chromium: musl: use off64_t instead of the internal __off64_t 4Subject: [PATCH] chromium: musl: use off64_t instead of the internal __off64_t
@@ -12,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 1 file changed, 5 insertions(+), 5 deletions(-) 12 1 file changed, 5 insertions(+), 5 deletions(-)
13 13
14diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h 14diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
15index 2f6116fa45c..7486a05a272 100755 15index 17415aaf538..59c1b6fb5f6 100644
16--- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h 16--- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
17+++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h 17+++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
18@@ -60,7 +60,7 @@ 18@@ -60,7 +60,7 @@
@@ -21,10 +21,10 @@ index 2f6116fa45c..7486a05a272 100755
21 int prot, int flags, 21 int prot, int flags,
22- int fd, __off64_t offset) __THROW { 22- int fd, __off64_t offset) __THROW {
23+ int fd, off64_t offset) __THROW { 23+ int fd, off64_t offset) __THROW {
24 return sys_mmap(start, length, prot, flags, fd, offset); 24 // The original gperftools uses sys_mmap() here. But, it is not allowed by
25 } 25 // Chromium's sandbox.
26 26 return (void*)syscall(SYS_mmap, start, length, prot, flags, fd, offset);
27@@ -71,7 +71,7 @@ static inline void* do_mmap64(void *start, size_t length, 27@@ -73,7 +73,7 @@ static inline void* do_mmap64(void *start, size_t length,
28 28
29 static inline void* do_mmap64(void *start, size_t length, 29 static inline void* do_mmap64(void *start, size_t length,
30 int prot, int flags, 30 int prot, int flags,
@@ -33,7 +33,7 @@ index 2f6116fa45c..7486a05a272 100755
33 void *result; 33 void *result;
34 34
35 // Try mmap2() unless it's not supported 35 // Try mmap2() unless it's not supported
36@@ -142,7 +142,7 @@ static inline void* do_mmap64(void *start, size_t length, 36@@ -144,7 +144,7 @@ static inline void* do_mmap64(void *start, size_t length,
37 37
38 extern "C" { 38 extern "C" {
39 void* mmap64(void *start, size_t length, int prot, int flags, 39 void* mmap64(void *start, size_t length, int prot, int flags,
@@ -42,7 +42,7 @@ index 2f6116fa45c..7486a05a272 100755
42 ATTRIBUTE_SECTION(malloc_hook); 42 ATTRIBUTE_SECTION(malloc_hook);
43 void* mmap(void *start, size_t length,int prot, int flags, 43 void* mmap(void *start, size_t length,int prot, int flags,
44 int fd, off_t offset) __THROW 44 int fd, off_t offset) __THROW
45@@ -157,7 +157,7 @@ extern "C" { 45@@ -159,7 +159,7 @@ extern "C" {
46 } 46 }
47 47
48 extern "C" void* mmap64(void *start, size_t length, int prot, int flags, 48 extern "C" void* mmap64(void *start, size_t length, int prot, int flags,
@@ -51,7 +51,7 @@ index 2f6116fa45c..7486a05a272 100755
51 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 51 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset);
52 void *result; 52 void *result;
53 if (!MallocHook::InvokeMmapReplacement( 53 if (!MallocHook::InvokeMmapReplacement(
54@@ -168,7 +168,7 @@ extern "C" void* mmap64(void *start, size_t length, int prot, int flags, 54@@ -170,7 +170,7 @@ extern "C" void* mmap64(void *start, size_t length, int prot, int flags,
55 return result; 55 return result;
56 } 56 }
57 57
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-linux-glibc-make-the-distinction.patch b/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-linux-glibc-make-the-distinction.patch
index ff414d58..8ca842eb 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-linux-glibc-make-the-distinction.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-linux-glibc-make-the-distinction.patch
@@ -1,4 +1,4 @@
1From bc9f2d7094ad59da25d0ca58a170ef4a8e448559 Mon Sep 17 00:00:00 2001 1From 0dbb65a8a1633a8fe1704ddc0f299799998cc9b0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 14:54:38 -0700 3Date: Fri, 7 Jul 2017 14:54:38 -0700
4Subject: [PATCH] chromium: musl: linux != glibc, make the distinction 4Subject: [PATCH] chromium: musl: linux != glibc, make the distinction
@@ -9,7 +9,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 1 file changed, 1 insertion(+), 1 deletion(-) 9 1 file changed, 1 insertion(+), 1 deletion(-)
10 10
11diff --git a/chromium/base/allocator/allocator_check.cc b/chromium/base/allocator/allocator_check.cc 11diff --git a/chromium/base/allocator/allocator_check.cc b/chromium/base/allocator/allocator_check.cc
12index a17ff217331..9f6175ad1de 100644 12index 5fb86467dde..9864858eb67 100644
13--- a/chromium/base/allocator/allocator_check.cc 13--- a/chromium/base/allocator/allocator_check.cc
14+++ b/chromium/base/allocator/allocator_check.cc 14+++ b/chromium/base/allocator/allocator_check.cc
15@@ -27,7 +27,7 @@ bool IsAllocatorInitialized() { 15@@ -27,7 +27,7 @@ bool IsAllocatorInitialized() {
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch b/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch
index 705d0d75..f995676a 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch
@@ -1,4 +1,4 @@
1From ea19d6ef223ed875c5db4e71167fc7a5349105aa Mon Sep 17 00:00:00 2001 1From a74e3dd8323dedb012bce6cf5995ae2a78efd5de Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 15:09:02 -0700 3Date: Fri, 7 Jul 2017 15:09:02 -0700
4Subject: [PATCH] chromium: musl: allocator: Do not include glibc_weak_symbols 4Subject: [PATCH] chromium: musl: allocator: Do not include glibc_weak_symbols
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/chromium/base/allocator/allocator_shim.cc b/chromium/base/allocator/allocator_shim.cc 12diff --git a/chromium/base/allocator/allocator_shim.cc b/chromium/base/allocator/allocator_shim.cc
13index e919f094c37..414a21d32ad 100644 13index 1233ae2a8aa..6f1b3e87224 100644
14--- a/chromium/base/allocator/allocator_shim.cc 14--- a/chromium/base/allocator/allocator_shim.cc
15+++ b/chromium/base/allocator/allocator_shim.cc 15+++ b/chromium/base/allocator/allocator_shim.cc
16@@ -302,7 +302,7 @@ ALWAYS_INLINE void ShimFreeDefiniteSize(void* ptr, size_t size, void* context) { 16@@ -351,7 +351,7 @@ ALWAYS_INLINE void ShimAlignedFree(void* address, void* context) {
17 // In the case of tcmalloc we also want to plumb into the glibc hooks 17 // In the case of tcmalloc we also want to plumb into the glibc hooks
18 // to avoid that allocations made in glibc itself (e.g., strdup()) get 18 // to avoid that allocations made in glibc itself (e.g., strdup()) get
19 // accidentally performed on the glibc heap instead of the tcmalloc one. 19 // accidentally performed on the glibc heap instead of the tcmalloc one.
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch b/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Use-correct-member-name-__si_fields-fr.patch
index be1cbeb9..c4e6ce02 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Use-correct-member-name-__si_fields-fr.patch
@@ -1,4 +1,4 @@
1From 4070d0bee442e479c90f932162c3398c8f9e2328 Mon Sep 17 00:00:00 2001 1From 1a11d644434ace1eaf72d2cc8bb3dec350655db5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 15:12:39 -0700 3Date: Fri, 7 Jul 2017 15:12:39 -0700
4Subject: [PATCH] chromium: musl: Use correct member name __si_fields from 4Subject: [PATCH] chromium: musl: Use correct member name __si_fields from
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch b/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch
index 984ceeed..9f1f2b10 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch
@@ -1,4 +1,4 @@
1From 399c5fee7c38d80c43211fc75dc4486527097fa2 Mon Sep 17 00:00:00 2001 1From 319b50c1cb9ab3beaf52d5119feb9ba2283aaa13 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 15:27:50 -0700 3Date: Fri, 7 Jul 2017 15:27:50 -0700
4Subject: [PATCH] chromium: musl: Define res_ninit and res_nclose for non-glibc 4Subject: [PATCH] chromium: musl: Define res_ninit and res_nclose for non-glibc
@@ -13,11 +13,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 create mode 100644 chromium/net/dns/resolv_compat.h 13 create mode 100644 chromium/net/dns/resolv_compat.h
14 14
15diff --git a/chromium/net/dns/dns_config_service_posix.cc b/chromium/net/dns/dns_config_service_posix.cc 15diff --git a/chromium/net/dns/dns_config_service_posix.cc b/chromium/net/dns/dns_config_service_posix.cc
16index 06e9d7969c0..8e18a297a96 100644 16index 31c564faeee..222ff65b6e1 100644
17--- a/chromium/net/dns/dns_config_service_posix.cc 17--- a/chromium/net/dns/dns_config_service_posix.cc
18+++ b/chromium/net/dns/dns_config_service_posix.cc 18+++ b/chromium/net/dns/dns_config_service_posix.cc
19@@ -27,6 +27,10 @@ 19@@ -29,6 +29,10 @@
20 #include "net/dns/notify_watcher_mac.h" 20 #include "net/dns/public/dns_protocol.h"
21 #include "net/dns/serial_worker.h" 21 #include "net/dns/serial_worker.h"
22 22
23+#if defined(OS_LINUX) && !defined(__GLIBC__) 23+#if defined(OS_LINUX) && !defined(__GLIBC__)
@@ -28,7 +28,7 @@ index 06e9d7969c0..8e18a297a96 100644
28 #include "net/dns/dns_config_watcher_mac.h" 28 #include "net/dns/dns_config_watcher_mac.h"
29 #endif 29 #endif
30diff --git a/chromium/net/dns/dns_reloader.cc b/chromium/net/dns/dns_reloader.cc 30diff --git a/chromium/net/dns/dns_reloader.cc b/chromium/net/dns/dns_reloader.cc
31index ad96f681ccd..334ff59ad75 100644 31index 03e248c9878..9ccda82c7e9 100644
32--- a/chromium/net/dns/dns_reloader.cc 32--- a/chromium/net/dns/dns_reloader.cc
33+++ b/chromium/net/dns/dns_reloader.cc 33+++ b/chromium/net/dns/dns_reloader.cc
34@@ -9,6 +9,10 @@ 34@@ -9,6 +9,10 @@
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Do-not-define-__sbrk-on-musl.patch b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-Do-not-define-__sbrk-on-musl.patch
index 497382cc..2bb6d115 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Do-not-define-__sbrk-on-musl.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-Do-not-define-__sbrk-on-musl.patch
@@ -1,4 +1,4 @@
1From cb81d0f57b4ceb0f3ff0600fb72f4b53360c11f2 Mon Sep 17 00:00:00 2001 1From da261d4402fac21694aeca82247974f4043934bc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 15:39:57 -0700 3Date: Fri, 7 Jul 2017 15:39:57 -0700
4Subject: [PATCH] chromium: musl: Do not define __sbrk on musl 4Subject: [PATCH] chromium: musl: Do not define __sbrk on musl
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
13 13
14diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h 14diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
15index 7486a05a272..610a10b659a 100755 15index 59c1b6fb5f6..10f0786d829 100644
16--- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h 16--- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
17+++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h 17+++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
18@@ -206,7 +206,7 @@ extern "C" void* mremap(void* old_addr, size_t old_size, size_t new_size, 18@@ -213,7 +213,7 @@ extern "C" void* mremap(void* old_addr, size_t old_size, size_t new_size,
19 return result; 19 return result;
20 } 20 }
21 21
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch
deleted file mode 100644
index c2127809..00000000
--- a/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1From 57200f491a8a103fc6c33d1041cc6d12180b0a24 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 17:15:34 -0700
4Subject: [PATCH] chromium: musl: include asm-generic/ioctl.h for TCGETS2
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 chromium/device/serial/serial_io_handler_posix.cc | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/chromium/device/serial/serial_io_handler_posix.cc b/chromium/device/serial/serial_io_handler_posix.cc
12index d6ed5e1f889..b550f895ef5 100644
13--- a/chromium/device/serial/serial_io_handler_posix.cc
14+++ b/chromium/device/serial/serial_io_handler_posix.cc
15@@ -6,6 +6,7 @@
16
17 #include <sys/ioctl.h>
18 #include <termios.h>
19+#include <asm-generic/ioctls.h>
20
21 #include "base/files/file_util.h"
22 #include "base/posix/eintr_wrapper.h"
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-Adjust-default-pthread-stack-size.patch b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Adjust-default-pthread-stack-size.patch
index 4124f656..96eedc5f 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-Adjust-default-pthread-stack-size.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Adjust-default-pthread-stack-size.patch
@@ -1,4 +1,4 @@
1From 51a9cff6d78c2a744b6cbf77678aebb8dde7540c Mon Sep 17 00:00:00 2001 1From 22793b4cab2ceaf7301136fa2df06947c9cb424c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 16:41:23 -0700 3Date: Fri, 7 Jul 2017 16:41:23 -0700
4Subject: [PATCH] chromium: musl: Adjust default pthread stack size 4Subject: [PATCH] chromium: musl: Adjust default pthread stack size
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 2 files changed, 4 insertions(+), 3 deletions(-) 10 2 files changed, 4 insertions(+), 3 deletions(-)
11 11
12diff --git a/chromium/base/threading/platform_thread_linux.cc b/chromium/base/threading/platform_thread_linux.cc 12diff --git a/chromium/base/threading/platform_thread_linux.cc b/chromium/base/threading/platform_thread_linux.cc
13index 190acedf7c5..343e1a8c61d 100644 13index 095c49b8dc0..d1479b54d48 100644
14--- a/chromium/base/threading/platform_thread_linux.cc 14--- a/chromium/base/threading/platform_thread_linux.cc
15+++ b/chromium/base/threading/platform_thread_linux.cc 15+++ b/chromium/base/threading/platform_thread_linux.cc
16@@ -173,7 +173,8 @@ void TerminateOnThread() {} 16@@ -186,7 +186,8 @@ void TerminateOnThread() {}
17 17
18 size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) { 18 size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) {
19 #if !defined(THREAD_SANITIZER) 19 #if !defined(THREAD_SANITIZER)
@@ -24,10 +24,10 @@ index 190acedf7c5..343e1a8c61d 100644
24 // ThreadSanitizer bloats the stack heavily. Evidence has been that the 24 // ThreadSanitizer bloats the stack heavily. Evidence has been that the
25 // default stack size isn't enough for some browser tests. 25 // default stack size isn't enough for some browser tests.
26diff --git a/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc b/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc 26diff --git a/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc b/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc
27index 10f1c0df11f..8e86a2eb1e9 100644 27index b2421649ff3..a31b96e90e6 100644
28--- a/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc 28--- a/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc
29+++ b/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc 29+++ b/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc
30@@ -28,7 +28,7 @@ size_t GetUnderestimatedStackSize() { 30@@ -29,7 +29,7 @@ size_t GetUnderestimatedStackSize() {
31 // FIXME: On Mac OSX and Linux, this method cannot estimate stack size 31 // FIXME: On Mac OSX and Linux, this method cannot estimate stack size
32 // correctly for the main thread. 32 // correctly for the main thread.
33 33
@@ -35,8 +35,8 @@ index 10f1c0df11f..8e86a2eb1e9 100644
35+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \ 35+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_FREEBSD) || \
36 defined(OS_FUCHSIA) 36 defined(OS_FUCHSIA)
37 // pthread_getattr_np() can fail if the thread is not invoked by 37 // pthread_getattr_np() can fail if the thread is not invoked by
38 // pthread_create() (e.g., the main thread of webkit_unit_tests). 38 // pthread_create() (e.g., the main thread of blink_unittests).
39@@ -96,7 +96,7 @@ size_t GetUnderestimatedStackSize() { 39@@ -97,7 +97,7 @@ return Threading::ThreadStackSize();
40 } 40 }
41 41
42 void* GetStackStart() { 42 void* GetStackStart() {
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch b/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch
index d84bacab..16c958c9 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch
@@ -1,4 +1,4 @@
1From 40e96bb47b906ba3bd9a8b554124c8c3c6bebf86 Mon Sep 17 00:00:00 2001 1From 295afaa918bafc70df23c2c6740e0ef3cc3a7ba5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Sep 2018 12:35:07 -0700 3Date: Tue, 25 Sep 2018 12:35:07 -0700
4Subject: [PATCH] chromium: musl: Use _fpstate instead of _libc_fpstate on 4Subject: [PATCH] chromium: musl: Use _fpstate instead of _libc_fpstate on
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 3 files changed, 4 insertions(+), 4 deletions(-) 14 3 files changed, 4 insertions(+), 4 deletions(-)
15 15
16diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc 16diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
17index 052ce37cb44..95b0fb44e12 100644 17index 6ee6cc1e4cd..a8f9ccc72ac 100644
18--- a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc 18--- a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
19+++ b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc 19+++ b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
20@@ -49,7 +49,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { 20@@ -49,7 +49,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) {
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch b/recipes-qt/qt5/qtwebengine/chromium/0018-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch
index 87849bc4..287ef7e6 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0018-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch
@@ -1,4 +1,4 @@
1From 1cc81d323479a164f5f64033b284658ef9c49e0b Mon Sep 17 00:00:00 2001 1From 73406a38f36c4d5a408b575efdf30f52bf38f75e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Sep 2018 12:59:05 -0700 3Date: Tue, 25 Sep 2018 12:59:05 -0700
4Subject: [PATCH] chromium: musl: elf_reader.cc: include <sys/reg.h> to get 4Subject: [PATCH] chromium: musl: elf_reader.cc: include <sys/reg.h> to get
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch b/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch
deleted file mode 100644
index 8000969b..00000000
--- a/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch
+++ /dev/null
@@ -1,91 +0,0 @@
1From a26e5b6c8cf6fccbd473ca61b2d0038703bb0b99 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Feb 2019 19:28:59 -0800
4Subject: [PATCH] chromium: fix build with clang
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 chromium/build/config/compiler/BUILD.gn | 27 ++-------------------------
10 1 file changed, 2 insertions(+), 25 deletions(-)
11
12diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn
13index 127d0c4..eca0ce1 100644
14--- a/chromium/build/config/compiler/BUILD.gn
15+++ b/chromium/build/config/compiler/BUILD.gn
16@@ -746,8 +746,6 @@ config("compiler_cpu_abi") {
17 }
18 } else if (current_cpu == "arm") {
19 if (is_clang && !is_android && !is_nacl) {
20- cflags += [ "--target=arm-linux-gnueabihf" ]
21- ldflags += [ "--target=arm-linux-gnueabihf" ]
22 }
23 if (!is_nacl) {
24 cflags += [
25@@ -760,8 +758,6 @@ config("compiler_cpu_abi") {
26 }
27 } else if (current_cpu == "arm64") {
28 if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
29- cflags += [ "--target=aarch64-linux-gnu" ]
30- ldflags += [ "--target=aarch64-linux-gnu" ]
31 }
32 } else if (current_cpu == "mipsel" && !is_nacl) {
33 ldflags += [ "-Wl,--hash-style=sysv" ]
34@@ -770,9 +766,6 @@ config("compiler_cpu_abi") {
35 if (is_android) {
36 cflags += [ "--target=mipsel-linux-android" ]
37 ldflags += [ "--target=mipsel-linux-android" ]
38- } else {
39- cflags += [ "--target=mipsel-linux-gnu" ]
40- ldflags += [ "--target=mipsel-linux-gnu" ]
41 }
42 } else {
43 cflags += [ "-EL" ]
44@@ -851,10 +844,7 @@ config("compiler_cpu_abi") {
45 } else if (current_cpu == "mips" && !is_nacl) {
46 ldflags += [ "-Wl,--hash-style=sysv" ]
47 if (custom_toolchain == "") {
48- if (is_clang) {
49- cflags += [ "--target=mips-linux-gnu" ]
50- ldflags += [ "--target=mips-linux-gnu" ]
51- } else {
52+ if (!is_clang) {
53 cflags += [ "-EB" ]
54 ldflags += [ "-EB" ]
55 }
56@@ -901,9 +891,6 @@ config("compiler_cpu_abi") {
57 if (is_android) {
58 cflags += [ "--target=mips64el-linux-android" ]
59 ldflags += [ "--target=mips64el-linux-android" ]
60- } else {
61- cflags += [ "--target=mips64el-linux-gnuabi64" ]
62- ldflags += [ "--target=mips64el-linux-gnuabi64" ]
63 }
64 } else {
65 cflags += [
66@@ -960,10 +947,7 @@ config("compiler_cpu_abi") {
67 } else if (current_cpu == "mips64") {
68 ldflags += [ "-Wl,--hash-style=sysv" ]
69 if (custom_toolchain == "") {
70- if (is_clang) {
71- cflags += [ "--target=mips64-linux-gnuabi64" ]
72- ldflags += [ "--target=mips64-linux-gnuabi64" ]
73- } else {
74+ if (!is_clang) {
75 cflags += [
76 "-EB",
77 "-mabi=64",
78@@ -1137,13 +1121,6 @@ config("compiler_deterministic") {
79 }
80 }
81 }
82-
83- # Tells the compiler not to use absolute paths when passing the default
84- # paths to the tools it invokes. We don't want this because we don't
85- # really need it and it can mess up the goma cache entries.
86- if (is_clang && !is_nacl) {
87- cflags += [ "-no-canonical-prefixes" ]
88- }
89 }
90
91 config("clang_revision") {
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0018-chromium-musl-pread-pwrite.patch b/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-musl-pread-pwrite.patch
index 4483ab1c..71d76413 100644
--- a/recipes-qt/qt5/qtwebengine/chromium/0018-chromium-musl-pread-pwrite.patch
+++ b/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-musl-pread-pwrite.patch
@@ -1,4 +1,4 @@
1From d32ababfc7cfe3783c7600474487fba1ba4b805e Mon Sep 17 00:00:00 2001 1From 43c53d6afde5183bc2da3b5b698314d050b2ff5d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 23 Dec 2018 16:58:04 -0800 3Date: Sun, 23 Dec 2018 16:58:04 -0800
4Subject: [PATCH] chromium: musl: pread pwrite 4Subject: [PATCH] chromium: musl: pread pwrite
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index 5ffabdc6..bad5d45e 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -134,8 +134,8 @@ RDEPENDS_${PN}-examples += " \
134 134
135QT_MODULE_BRANCH_CHROMIUM = "75-based" 135QT_MODULE_BRANCH_CHROMIUM = "75-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.13
138# 5.12.meta-qt5.4 138# 5.13.meta-qt5.1
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 \
@@ -143,33 +143,33 @@ SRC_URI += " \
143SRC_URI_append_libc-musl = "\ 143SRC_URI_append_libc-musl = "\
144 file://0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ 144 file://0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \
145 file://0003-musl-link-against-libexecinfo.patch \ 145 file://0003-musl-link-against-libexecinfo.patch \
146 file://0004-musl-allow-build-without-glibc.patch \
146" 147"
147 148
148# Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/69-based 149# Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/73-based
149# 69-based.meta-qt5.4 150# 73-based.meta-qt5.2
150SRC_URI += " \ 151SRC_URI += " \
151 file://chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \ 152 file://chromium/0001-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \
152 file://chromium/0004-chromium-stack-pointer-clobber.patch;patchdir=src/3rdparty \ 153 file://chromium/0002-chromium-stack-pointer-clobber.patch;patchdir=src/3rdparty \
153 file://chromium/0019-chromium-fix-build-with-clang.patch;patchdir=src/3rdparty \ 154 file://chromium/0004-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/0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch;patchdir=src/3rdparty \
155 file://chromium/0022-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch;patchdir=src/3rdparty \ 156 file://chromium/0006-chromium-aarch64-skia-build-fix.patch;patchdir=src/3rdparty \
156" 157"
157 158
158SRC_URI_append_libc-musl = "\ 159SRC_URI_append_libc-musl = "\
159 file://chromium/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ 160 file://chromium/0007-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \
160 file://chromium/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ 161 file://chromium/0008-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \
161 file://chromium/0007-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ 162 file://chromium/0009-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \
162 file://chromium/0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch;patchdir=src/3rdparty \ 163 file://chromium/0010-chromium-musl-use-off64_t-instead-of-the-internal-__.patch;patchdir=src/3rdparty \
163 file://chromium/0009-chromium-musl-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty \ 164 file://chromium/0011-chromium-musl-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty \
164 file://chromium/0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch;patchdir=src/3rdparty \ 165 file://chromium/0012-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch;patchdir=src/3rdparty \
165 file://chromium/0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch;patchdir=src/3rdparty \ 166 file://chromium/0013-chromium-musl-Use-correct-member-name-__si_fields-fr.patch;patchdir=src/3rdparty \
166 file://chromium/0012-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch;patchdir=src/3rdparty \ 167 file://chromium/0014-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch;patchdir=src/3rdparty \
167 file://chromium/0013-chromium-musl-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty \ 168 file://chromium/0015-chromium-musl-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty \
168 file://chromium/0014-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ 169 file://chromium/0016-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \
169 file://chromium/0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ 170 file://chromium/0017-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch;patchdir=src/3rdparty \
170 file://chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-.patch;patchdir=src/3rdparty \ 171 file://chromium/0018-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch;patchdir=src/3rdparty \
171 file://chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get.patch;patchdir=src/3rdparty \ 172 file://chromium/0019-chromium-musl-pread-pwrite.patch;patchdir=src/3rdparty \
172 file://chromium/0018-chromium-musl-pread-pwrite.patch;patchdir=src/3rdparty \
173" 173"
174 174
175SRCREV_qtwebengine = "33a2c9aed3ee621c91853570087b500c830792e0" 175SRCREV_qtwebengine = "33a2c9aed3ee621c91853570087b500c830792e0"