summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2020-01-12 20:25:55 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2020-01-12 20:26:34 +0200
commit5b2109a88ee8e8a769190e640661434d98b62548 (patch)
tree13ec544f89bf10755025c683470a42f29f0f186d
parente4e2acba9fe7e6c5903770b26ae374b74051d91c (diff)
parent25039161c1646ce1b6cc30303d4588e43b9b714a (diff)
downloadmeta-qt5-5b2109a88ee8e8a769190e640661434d98b62548.tar.gz
Merge remote-tracking branch 'qt/upstream/master' into 5.14
Notes: - Patch already present in 5.14 branch for qtwebengine musl build kept and upstream one (1a4ee018 qtwebengine: Fix musl build) discarded as that does not work with present content - Patch for time_t in qtbase (f6ad80f9 qtbase: Fix build on 32bit arches with 64bit time_t) is faulty, fixed in next commit * qt/upstream/master: 25039161 qtwebengine: Fix build with 64bit time_t on 32bit architectures 4f3ed3ed qtwebkit: add missing flex-native dep 456ec4ac qt5-creator, qtbase: Replace python with python3 f264e5dd qtdeclarative: Ask for python3 explicitly f6ad80f9 qtbase: Fix build on 32bit arches with 64bit time_t b7f4bd20 recipes: Use features_check instead of distro_features_check 1a4ee018 qtwebengine: Fix musl build 02715fff pyqt5: Upgrade to 5.13.2 Conflicts: recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtwebengine_git.bb Change-Id: I650cc667ede8f68f85164f52835b5e9f8db213f5
-rw-r--r--recipes-python/pyqt5/python-pyqt5.inc9
-rw-r--r--recipes-python/pyqt5/python-pyqt5_5.13.2.bb (renamed from recipes-python/pyqt5/python-pyqt5_5.12.1.bb)1
-rw-r--r--recipes-python/pyqt5/python3-pyqt5_5.13.2.bb (renamed from recipes-python/pyqt5/python3-pyqt5_5.12.1.bb)0
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb1
-rw-r--r--recipes-qt/qt5/qt5-creator_git.bb2
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb1
-rw-r--r--recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch62
-rw-r--r--recipes-qt/qt5/qtbase_git.bb5
-rw-r--r--recipes-qt/qt5/qtdeclarative/0001-Use-python3-explicitly.patch60
-rw-r--r--recipes-qt/qt5/qtdeclarative_git.bb5
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-mkspecs-Allow-builds-with-libc-glibc.patch29
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Fix-build-on-32bit-arches-with-64bit-time_t.patch70
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb1
-rw-r--r--recipes-qt/qt5/qtwebkit_git.bb2
14 files changed, 238 insertions, 10 deletions
diff --git a/recipes-python/pyqt5/python-pyqt5.inc b/recipes-python/pyqt5/python-pyqt5.inc
index bbeb75af..b830c9a9 100644
--- a/recipes-python/pyqt5/python-pyqt5.inc
+++ b/recipes-python/pyqt5/python-pyqt5.inc
@@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "\
7 file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \ 7 file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \
8" 8"
9SRC_URI = "\ 9SRC_URI = "\
10 https://www.riverbankcomputing.com/static/Downloads/PyQt5/${PV}/PyQt5_gpl-${PV}.tar.gz \ 10 https://www.riverbankcomputing.com/static/Downloads/PyQt5/${PV}/PyQt5-${PV}.tar.gz \
11" 11"
12SRC_URI[md5sum] = "67508b652098d2e05c4c2b5baeb170cc" 12SRC_URI[md5sum] = "c1023cb9c3d29a89fc109b163a0175c0"
13SRC_URI[sha256sum] = "3718ce847d824090fd5f95ff3f13847ee75c2507368d4cbaeb48338f506e59bf" 13SRC_URI[sha256sum] = "adc17c077bf233987b8e43ada87d1e0deca9bd71a13e5fd5fc377482ed69c827"
14S = "${WORKDIR}/PyQt5_gpl-${PV}" 14
15S = "${WORKDIR}/PyQt5-${PV}"
15 16
16inherit qmake5 17inherit qmake5
17DEPENDS = "qtbase qtdeclarative qtquickcontrols2" 18DEPENDS = "qtbase qtdeclarative qtquickcontrols2"
diff --git a/recipes-python/pyqt5/python-pyqt5_5.12.1.bb b/recipes-python/pyqt5/python-pyqt5_5.13.2.bb
index 6b1b5701..b8b1d086 100644
--- a/recipes-python/pyqt5/python-pyqt5_5.12.1.bb
+++ b/recipes-python/pyqt5/python-pyqt5_5.13.2.bb
@@ -6,3 +6,4 @@ DEPENDS += "sip sip-native python"
6 6
7RDEPENDS_${PN} += "python-core python-sip" 7RDEPENDS_${PN} += "python-core python-sip"
8 8
9PNBLACKLIST[python-pyqt5] = "Sip fails in do_configure sip: QOpenGLFramebufferObject is undefined"
diff --git a/recipes-python/pyqt5/python3-pyqt5_5.12.1.bb b/recipes-python/pyqt5/python3-pyqt5_5.13.2.bb
index 200a8154..200a8154 100644
--- a/recipes-python/pyqt5/python3-pyqt5_5.12.1.bb
+++ b/recipes-python/pyqt5/python3-pyqt5_5.13.2.bb
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 461f0d75..34349570 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -42,6 +42,7 @@ SRC_URI += "\
42 file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \ 42 file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \
43 file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ 43 file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \
44 file://0017-qfloat16-check-for-__ARM_FP-2.patch \ 44 file://0017-qfloat16-check-for-__ARM_FP-2.patch \
45 file://0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch \
45" 46"
46 47
47# common for qtbase-native and nativesdk-qtbase 48# common for qtbase-native and nativesdk-qtbase
diff --git a/recipes-qt/qt5/qt5-creator_git.bb b/recipes-qt/qt5/qt5-creator_git.bb
index a3960042..a2717ee6 100644
--- a/recipes-qt/qt5/qt5-creator_git.bb
+++ b/recipes-qt/qt5/qt5-creator_git.bb
@@ -66,7 +66,7 @@ FILES_${PN}-dev += " \
66 ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ 66 ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \
67" 67"
68 68
69RDEPENDS_${PN} += "perl python" 69RDEPENDS_${PN} += "perl python3"
70RCONFLICTS_${PN} = "qt-creator" 70RCONFLICTS_${PN} = "qt-creator"
71 71
72# To give best user experience out of the box.. 72# To give best user experience out of the box..
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index ae1afbfc..a88fde1b 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -37,6 +37,7 @@ SRC_URI += "\
37 file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \ 37 file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \
38 file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ 38 file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \
39 file://0017-qfloat16-check-for-__ARM_FP-2.patch \ 39 file://0017-qfloat16-check-for-__ARM_FP-2.patch \
40 file://0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch \
40" 41"
41 42
42# common for qtbase-native and nativesdk-qtbase 43# common for qtbase-native and nativesdk-qtbase
diff --git a/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch b/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
new file mode 100644
index 00000000..76b4671c
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch
@@ -0,0 +1,62 @@
1From e06ac2e26c8490a7b8702e9462d1f38244ac3f0f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 25 Nov 2019 08:27:39 -0800
4Subject: [PATCH] input: Make use of timeval portable for 64bit time_t
5
6This patch avoids using time field of input_event structure which is not available
7on 32bit arches supporting 64bit time_t structs, Patch makes it compatible with new
8and keeps old input.h implementation functional as well.
9
10See https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
11
12Upstream-Status: Submitted [https://codereview.qt-project.org/c/qt/qtbase/+/282610]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 .../input/evdevkeyboard/qevdevkeyboardhandler.cpp | 10 +++++++++-
16 .../input/evdevtouch/qevdevtouchhandler.cpp | 2 +-
17 2 files changed, 10 insertions(+), 2 deletions(-)
18
19diff --git a/src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp b/src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp
20index 666613f09d..0e3e0ea0de 100644
21--- a/src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp
22+++ b/src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp
23@@ -58,6 +58,11 @@
24 #include <linux/input.h>
25 #endif
26
27+#ifndef input_event_sec
28+#define input_event_sec time.tv_sec
29+#define input_event_usec time.tv_usec
30+#endif
31+
32 QT_BEGIN_NAMESPACE
33
34 Q_LOGGING_CATEGORY(qLcEvdevKey, "qt.qpa.input")
35@@ -149,7 +154,10 @@ void QEvdevKeyboardHandler::switchLed(int led, bool state)
36 qCDebug(qLcEvdevKey) << "switchLed" << led << state;
37
38 struct ::input_event led_ie;
39- ::gettimeofday(&led_ie.time, 0);
40+ struct timeval tval;
41+ ::gettimeofday(&tval, 0);
42+ led_ie.input_event_sec = tval.tv_sec;
43+ led_ie.input_event_usec = tval.tv_usec;
44 led_ie.type = EV_LED;
45 led_ie.code = led;
46 led_ie.value = state;
47diff --git a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
48index f86f80785e..3914698f2a 100644
49--- a/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
50+++ b/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
51@@ -568,7 +568,7 @@ void QEvdevTouchScreenData::processInputEvent(input_event *data)
52
53 // update timestamps
54 m_lastTimeStamp = m_timeStamp;
55- m_timeStamp = data->time.tv_sec + data->time.tv_usec / 1000000.0;
56+ m_timeStamp = data->input_event_sec + data->input_event_usec / 1000000.0;
57
58 m_lastTouchPoints = m_touchPoints;
59 m_touchPoints.clear();
60--
612.24.0
62
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 4211c59b..650fdeef 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -33,6 +33,7 @@ SRC_URI += "\
33 file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \ 33 file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \
34 file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ 34 file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \
35 file://0017-qfloat16-check-for-__ARM_FP-2.patch \ 35 file://0017-qfloat16-check-for-__ARM_FP-2.patch \
36 file://0018-input-Make-use-of-timeval-portable-for-64bit-time_t.patch \
36" 37"
37 38
38# for syncqt 39# for syncqt
@@ -267,8 +268,8 @@ do_install_append() {
267 268
268 generate_target_qt_config_file ${D}${OE_QMAKE_PATH_BINS}/qt.conf 269 generate_target_qt_config_file ${D}${OE_QMAKE_PATH_BINS}/qt.conf
269 270
270 # Fix up absolute paths in scripts 271 # Fix up absolute paths in scripts and use python3 instead of python
271 sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \ 272 sed -i -e '1s,#!/usr/bin/python$,#! ${USRBINPATH}/env python3,' \
272 ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py 273 ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py
273} 274}
274 275
diff --git a/recipes-qt/qt5/qtdeclarative/0001-Use-python3-explicitly.patch b/recipes-qt/qt5/qtdeclarative/0001-Use-python3-explicitly.patch
new file mode 100644
index 00000000..e1067016
--- /dev/null
+++ b/recipes-qt/qt5/qtdeclarative/0001-Use-python3-explicitly.patch
@@ -0,0 +1,60 @@
1From dc94032e6132b41bd6927357e4a57c31436294eb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 26 Nov 2019 21:10:03 -0800
4Subject: [PATCH] Use python3 explicitly
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 qtdeclarative.pro | 2 +-
9 src/3rdparty/masm/masm.pri | 4 ++--
10 tests/auto/qml/ecmascripttests/test262.py | 2 +-
11 3 files changed, 4 insertions(+), 4 deletions(-)
12
13diff --git a/qtdeclarative.pro b/qtdeclarative.pro
14index 5b94da9b6..0e3496ce8 100644
15--- a/qtdeclarative.pro
16+++ b/qtdeclarative.pro
17@@ -2,7 +2,7 @@ CONFIG += tests_need_tools examples_need_tools
18 load(qt_parts)
19
20 !python_available {
21- py_out = $$system('python -c "print(1)"')
22+ py_out = $$system('python3 -c "print(1)"')
23 !equals(py_out, 1): error("Building QtQml requires Python.")
24 tmp = python_available
25 CONFIG += $$tmp
26diff --git a/src/3rdparty/masm/masm.pri b/src/3rdparty/masm/masm.pri
27index 0e63ac2ce..7a30ab64e 100644
28--- a/src/3rdparty/masm/masm.pri
29+++ b/src/3rdparty/masm/masm.pri
30@@ -58,7 +58,7 @@ contains(DEFINES, WTF_USE_UDIS86=1) {
31 udis86.output = udis86_itab.h
32 udis86.input = ITAB
33 udis86.CONFIG += no_link
34- udis86.commands = python $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN}
35+ udis86.commands = python3 $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN}
36 QMAKE_EXTRA_COMPILERS += udis86
37
38 udis86_tab_cfile.target = $$OUT_PWD/udis86_itab.c
39@@ -113,7 +113,7 @@ retgen.output = $$GENERATEDDIR/RegExpJitTables.h
40 retgen.script = $$PWD/yarr/create_regex_tables
41 retgen.input = retgen.script
42 retgen.CONFIG += no_link
43-retgen.commands = python $$retgen.script > ${QMAKE_FILE_OUT}
44+retgen.commands = python3 $$retgen.script > ${QMAKE_FILE_OUT}
45 QMAKE_EXTRA_COMPILERS += retgen
46
47 # Taken from WebKit/Tools/qmake/mkspecs/features/unix/default_post.prf
48diff --git a/tests/auto/qml/ecmascripttests/test262.py b/tests/auto/qml/ecmascripttests/test262.py
49index 19551e3ba..bf3f79a45 100755
50--- a/tests/auto/qml/ecmascripttests/test262.py
51+++ b/tests/auto/qml/ecmascripttests/test262.py
52@@ -1,4 +1,4 @@
53-#!/usr/bin/env python
54+#!/usr/bin/env python3
55 #############################################################################
56 ##
57 ## Copyright (C) 2017 The Qt Company Ltd.
58--
592.24.0
60
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb
index 18c612fb..037c0991 100644
--- a/recipes-qt/qt5/qtdeclarative_git.bb
+++ b/recipes-qt/qt5/qtdeclarative_git.bb
@@ -12,12 +12,13 @@ LIC_FILES_CHKSUM = " \
12 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ 12 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
13" 13"
14 14
15DEPENDS += "qtbase"
16
17SRC_URI += "\ 15SRC_URI += "\
18 file://0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch \ 16 file://0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch \
17 file://0001-Use-python3-explicitly.patch \
19" 18"
20 19
20DEPENDS += "qtbase"
21
21PACKAGECONFIG ??= "qml-debug qml-network ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}" 22PACKAGECONFIG ??= "qml-debug qml-network ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}"
22PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug" 23PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug"
23PACKAGECONFIG[qml-network] = "-qml-network, -no-qml-network" 24PACKAGECONFIG[qml-network] = "-qml-network, -no-qml-network"
diff --git a/recipes-qt/qt5/qtwebengine/0004-mkspecs-Allow-builds-with-libc-glibc.patch b/recipes-qt/qt5/qtwebengine/0004-mkspecs-Allow-builds-with-libc-glibc.patch
new file mode 100644
index 00000000..73ef469f
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0004-mkspecs-Allow-builds-with-libc-glibc.patch
@@ -0,0 +1,29 @@
1From a5c8d833ffb8b54626b7b670b2782a6cf9a45075 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 12 Nov 2019 19:53:59 -0800
4Subject: [PATCH] mkspecs: Allow builds with libc != glibc
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 mkspecs/features/configure.prf | 5 -----
9 1 file changed, 5 deletions(-)
10
11diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
12index cc84182b..c278ffae 100644
13--- a/mkspecs/features/configure.prf
14+++ b/mkspecs/features/configure.prf
15@@ -75,11 +75,6 @@ defineTest(runConfigure) {
16 return(false)
17 }
18
19- !qtConfig(webengine-system-glibc) {
20- skipBuild("A suitable version >= 2.27 of libc could not be found.")
21- return(false)
22- }
23-
24 QT_FOR_CONFIG += gui-private
25
26 !qtConfig(webengine-system-khr) {
27--
282.24.0
29
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Fix-build-on-32bit-arches-with-64bit-time_t.patch b/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Fix-build-on-32bit-arches-with-64bit-time_t.patch
new file mode 100644
index 00000000..ac16068c
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -0,0 +1,70 @@
1From 6ae9112ffea9a5b7d41a06c3d33e55e4f32d8b5a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Nov 2019 10:07:43 -0800
4Subject: [PATCH] Fix build on 32bit arches with 64bit time_t
5
6time element is deprecated on new input_event structure in kernel's
7input.h [1]
8
9[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 chromium/ui/events/ozone/evdev/event_converter_evdev.cc | 4 ++--
14 chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.cc | 6 +++---
15 chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.h | 5 +++++
16 3 files changed, 10 insertions(+), 5 deletions(-)
17
18diff --git a/chromium/ui/events/ozone/evdev/event_converter_evdev.cc b/chromium/ui/events/ozone/evdev/event_converter_evdev.cc
19index 684514ff011..e2f2ae0b633 100644
20--- a/chromium/ui/events/ozone/evdev/event_converter_evdev.cc
21+++ b/chromium/ui/events/ozone/evdev/event_converter_evdev.cc
22@@ -168,8 +168,8 @@ void EventConverterEvdev::SetPalmSuppressionCallback(
23 base::TimeTicks EventConverterEvdev::TimeTicksFromInputEvent(
24 const input_event& event) {
25 base::TimeTicks timestamp =
26- ui::EventTimeStampFromSeconds(event.time.tv_sec) +
27- base::TimeDelta::FromMicroseconds(event.time.tv_usec);
28+ ui::EventTimeStampFromSeconds(event.input_event_sec) +
29+ base::TimeDelta::FromMicroseconds(event.input_event_usec);
30 ValidateEventTimeClock(&timestamp);
31 return timestamp;
32 }
33diff --git a/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.cc b/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.cc
34index 363c3183e05..4fccfd62f84 100644
35--- a/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.cc
36+++ b/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.cc
37@@ -59,11 +59,11 @@ void TouchEventLogEvdev::DumpLog(const char* filename) {
38 for (int i = 0; i < kDebugBufferSize; ++i) {
39 struct TouchEvent* te =
40 &logged_events_[(debug_buffer_tail_ + i) % kDebugBufferSize];
41- if (te->ev.time.tv_sec == 0 && te->ev.time.tv_usec == 0)
42+ if (te->ev.input_event_sec == 0 && te->ev.input_event_usec == 0)
43 continue;
44 std::string event_string = base::StringPrintf(
45- "E: %ld.%06ld %04x %04x %d %d\n", te->ev.time.tv_sec,
46- te->ev.time.tv_usec, te->ev.type, te->ev.code, te->ev.value, te->slot);
47+ "E: %ld.%06ld %04x %04x %d %d\n", te->ev.input_event_sec,
48+ te->ev.input_event_usec, te->ev.type, te->ev.code, te->ev.value, te->slot);
49 report_content += event_string;
50 }
51 file.Write(0, report_content.c_str(), report_content.length());
52diff --git a/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.h b/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.h
53index ccd3a499a38..5a2da89d09a 100644
54--- a/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.h
55+++ b/chromium/ui/events/ozone/evdev/touch_evdev_debug_buffer.h
56@@ -14,6 +14,11 @@
57
58 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
59
60+#ifndef input_event_sec
61+#define input_event_sec time.tv_sec
62+#define input_event_usec time.tv_usec
63+#endif
64+
65 namespace ui {
66
67 class EventDeviceInfo;
68--
692.24.0
70
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index dca7507b..8eec4783 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -159,6 +159,7 @@ SRC_URI += " \
159 file://chromium/0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch;patchdir=src/3rdparty \ 159 file://chromium/0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch;patchdir=src/3rdparty \
160 file://chromium/0006-chromium-aarch64-skia-build-fix.patch;patchdir=src/3rdparty \ 160 file://chromium/0006-chromium-aarch64-skia-build-fix.patch;patchdir=src/3rdparty \
161 file://chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch;patchdir=src/3rdparty \ 161 file://chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch;patchdir=src/3rdparty \
162 file://chromium/0021-chromium-Fix-build-on-32bit-arches-with-64bit-time_t.patch;patchdir=src/3rdparty \
162" 163"
163 164
164SRC_URI_append_libc-musl = "\ 165SRC_URI_append_libc-musl = "\
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index 5138e99f..abf63097 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
7 file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee \ 7 file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee \
8" 8"
9 9
10DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native" 10DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native flex-native"
11 11
12# Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.13 12# Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.13
13# 5.13.meta-qt5.1 13# 5.13.meta-qt5.1