diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2016-10-20 14:22:57 +0300 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-10-27 12:46:53 +0000 |
| commit | f3f7d8ef1ee02d3a2e691657a0ac26cb0261eda6 (patch) | |
| tree | cf92f4b22809a47415e30a9d405d232cd7214ddc /recipes-qt | |
| parent | 429a8e9a0b720b2ca1e66fff921888bbdef3e378 (diff) | |
| download | meta-qt5-f3f7d8ef1ee02d3a2e691657a0ac26cb0261eda6.tar.gz | |
qt5: update submodules
Add more PACKAGECONFIGs for qtbase. Merge the two qtwayland recipes to
one that supports all three targets (target, native, nativesdk).
Previous workaround removed and new ones added for: QTBUG-56656, QTBUG-56666
Reduce number of patches applied to qtbase.
Change-Id: I6b82fd46aaade4f14cf61e29adb7fc984070333b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes-qt')
33 files changed, 156 insertions, 443 deletions
diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb index 25bc5304..1521dbfa 100755 --- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb +++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb | |||
| @@ -53,7 +53,6 @@ RDEPENDS_${PN} += " \ | |||
| 53 | qttranslations-qtconnectivity \ | 53 | qttranslations-qtconnectivity \ |
| 54 | qtdeclarative-dev \ | 54 | qtdeclarative-dev \ |
| 55 | qtdeclarative-mkspecs \ | 55 | qtdeclarative-mkspecs \ |
| 56 | qtdeclarative-plugins \ | ||
| 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdeclarative-qmlplugins', '', d)} \ | 56 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdeclarative-qmlplugins', '', d)} \ |
| 58 | qtdeclarative-tools \ | 57 | qtdeclarative-tools \ |
| 59 | qtdeclarative-staticdev \ | 58 | qtdeclarative-staticdev \ |
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index b655a7e1..f7504f25 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
| @@ -32,15 +32,14 @@ SRC_URI += "\ | |||
| 32 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 32 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
| 33 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ | 33 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
| 34 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ | 34 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ |
| 35 | file://0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \ | ||
| 36 | file://0008-configure-paths-for-target-qmake-properly.patch \ | 35 | file://0008-configure-paths-for-target-qmake-properly.patch \ |
| 36 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ | ||
| 37 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 37 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
| 38 | " | 38 | " |
| 39 | 39 | ||
| 40 | # common for qtbase-native and nativesdk-qtbase | 40 | # common for qtbase-native and nativesdk-qtbase |
| 41 | SRC_URI += " \ | 41 | SRC_URI += " \ |
| 42 | file://0011-Always-build-uic.patch \ | 42 | file://0011-Always-build-uic.patch \ |
| 43 | file://0012-Add-external-hostbindir-option-for-native-sdk.patch \ | ||
| 44 | " | 43 | " |
| 45 | 44 | ||
| 46 | # CMake's toolchain configuration of nativesdk-qtbase | 45 | # CMake's toolchain configuration of nativesdk-qtbase |
| @@ -190,4 +189,4 @@ fakeroot do_generate_qt_environment_file() { | |||
| 190 | 189 | ||
| 191 | addtask generate_qt_environment_file after do_install before do_package | 190 | addtask generate_qt_environment_file after do_install before do_package |
| 192 | 191 | ||
| 193 | SRCREV = "e395e79145ff861b2dd87e404d229d769a19ab7e" | 192 | SRCREV = "016b5bc949b6dfb2f76db2e8b40a40e7eaee6828" |
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index 2d8fe45c..2922173d 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb | |||
| @@ -27,6 +27,6 @@ FILES_${PN}-qmlplugins += " \ | |||
| 27 | ${OE_QMAKE_PATH_QML}/*/*/*.obj \ | 27 | ${OE_QMAKE_PATH_QML}/*/*/*.obj \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | SRCREV = "52121396c55e6100316f006c87b4fdaa8b5a0719" | 30 | SRCREV = "6e8e228852f0930638b0e0272509809a0fb9ab42" |
| 31 | 31 | ||
| 32 | BBCLASSEXTEND += "native nativesdk" | 32 | BBCLASSEXTEND += "native nativesdk" |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 332871aa..7f41c8df 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
| @@ -26,15 +26,14 @@ SRC_URI += "\ | |||
| 26 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 26 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
| 27 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ | 27 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
| 28 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ | 28 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ |
| 29 | file://0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \ | ||
| 30 | file://0008-configure-paths-for-target-qmake-properly.patch \ | 29 | file://0008-configure-paths-for-target-qmake-properly.patch \ |
| 30 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ | ||
| 31 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 31 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
| 32 | " | 32 | " |
| 33 | 33 | ||
| 34 | # common for qtbase-native and nativesdk-qtbase | 34 | # common for qtbase-native and nativesdk-qtbase |
| 35 | SRC_URI += " \ | 35 | SRC_URI += " \ |
| 36 | file://0011-Always-build-uic.patch \ | 36 | file://0011-Always-build-uic.patch \ |
| 37 | file://0012-Add-external-hostbindir-option-for-native-sdk.patch \ | ||
| 38 | " | 37 | " |
| 39 | 38 | ||
| 40 | CLEANBROKEN = "1" | 39 | CLEANBROKEN = "1" |
| @@ -106,4 +105,4 @@ do_install() { | |||
| 106 | ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt | 105 | ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt |
| 107 | } | 106 | } |
| 108 | 107 | ||
| 109 | SRCREV = "e395e79145ff861b2dd87e404d229d769a19ab7e" | 108 | SRCREV = "016b5bc949b6dfb2f76db2e8b40a40e7eaee6828" |
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch index 5f703dac..df2016e1 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 93c50c089f2f6d7aa1cd947386813e368100c3c6 Mon Sep 17 00:00:00 2001 | 1 | From 2784921c40d0b523c75e613e48b7fd1e90ba3ef1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
| 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
| 4 | Subject: [PATCH] Add linux-oe-g++ platform | 4 | Subject: [PATCH] Add linux-oe-g++ platform |
| @@ -20,19 +20,17 @@ Upstream-Status: Inappropriate [embedded specific] | |||
| 20 | Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c | 20 | Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c |
| 21 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 21 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 22 | --- | 22 | --- |
| 23 | configure | 2 +- | 23 | configure | 2 +- |
| 24 | mkspecs/features/configure.prf | 4 +- | 24 | mkspecs/features/configure.prf | 4 ++-- |
| 25 | mkspecs/features/qt_functions.prf | 2 +- | 25 | mkspecs/features/qt_functions.prf | 2 +- |
| 26 | mkspecs/linux-oe-g++/qmake.conf | 43 +++++++++++++++ | 26 | mkspecs/linux-oe-g++/qmake.conf | 43 ++++++++++++++++++++++++++++++++++++ |
| 27 | mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++ | 27 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + |
| 28 | mkspecs/oe-device-extra.pri | 0 | 28 | 5 files changed, 48 insertions(+), 4 deletions(-) |
| 29 | 6 files changed, 147 insertions(+), 4 deletions(-) | ||
| 30 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf | 29 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf |
| 31 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 30 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
| 32 | create mode 100644 mkspecs/oe-device-extra.pri | ||
| 33 | 31 | ||
| 34 | diff --git a/configure b/configure | 32 | diff --git a/configure b/configure |
| 35 | index 789ba4c..269f69d 100755 | 33 | index 789ba4c..59cce01 100755 |
| 36 | --- a/configure | 34 | --- a/configure |
| 37 | +++ b/configure | 35 | +++ b/configure |
| 38 | @@ -1624,7 +1624,7 @@ fi | 36 | @@ -1624,7 +1624,7 @@ fi |
| @@ -66,7 +64,7 @@ index f275e3a..5aa15f5 100644 | |||
| 66 | msg = "test $$1 succeeded" | 64 | msg = "test $$1 succeeded" |
| 67 | write_file($$QMAKE_CONFIG_LOG, msg, append) | 65 | write_file($$QMAKE_CONFIG_LOG, msg, append) |
| 68 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 66 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
| 69 | index efbf2fa..78b453c 100644 | 67 | index 708815d..097ac49 100644 |
| 70 | --- a/mkspecs/features/qt_functions.prf | 68 | --- a/mkspecs/features/qt_functions.prf |
| 71 | +++ b/mkspecs/features/qt_functions.prf | 69 | +++ b/mkspecs/features/qt_functions.prf |
| 72 | @@ -67,7 +67,7 @@ defineTest(qtHaveModule) { | 70 | @@ -67,7 +67,7 @@ defineTest(qtHaveModule) { |
| @@ -80,7 +78,7 @@ index efbf2fa..78b453c 100644 | |||
| 80 | cmd = perl -w $$system_path($${cmd}.pl) | 78 | cmd = perl -w $$system_path($${cmd}.pl) |
| 81 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf | 79 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf |
| 82 | new file mode 100644 | 80 | new file mode 100644 |
| 83 | index 0000000..dd8d5c2 | 81 | index 0000000..c1837e6 |
| 84 | --- /dev/null | 82 | --- /dev/null |
| 85 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 83 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
| 86 | @@ -0,0 +1,43 @@ | 84 | @@ -0,0 +1,43 @@ |
| @@ -88,7 +86,7 @@ index 0000000..dd8d5c2 | |||
| 88 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | 86 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded |
| 89 | +# | 87 | +# |
| 90 | + | 88 | + |
| 91 | +MAKEFILE_GENERATOR = UNIX | 89 | +MAKEFILE_GENERATOR = UNIX |
| 92 | +CONFIG += incremental | 90 | +CONFIG += incremental |
| 93 | +QMAKE_INCREMENTAL_STYLE = sublib | 91 | +QMAKE_INCREMENTAL_STYLE = sublib |
| 94 | + | 92 | + |
| @@ -129,110 +127,8 @@ index 0000000..dd8d5c2 | |||
| 129 | +load(qt_config) | 127 | +load(qt_config) |
| 130 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h | 128 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h |
| 131 | new file mode 100644 | 129 | new file mode 100644 |
| 132 | index 0000000..dd12003 | 130 | index 0000000..5d22fb4 |
| 133 | --- /dev/null | 131 | --- /dev/null |
| 134 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h | 132 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h |
| 135 | @@ -0,0 +1,100 @@ | 133 | @@ -0,0 +1 @@ |
| 136 | +/**************************************************************************** | 134 | +#include "../linux-g++/qplatformdefs.h" |
| 137 | +** | ||
| 138 | +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). | ||
| 139 | +** Contact: http://www.qt-project.org/legal | ||
| 140 | +** | ||
| 141 | +** This file is part of the qmake spec of the Qt Toolkit. | ||
| 142 | +** | ||
| 143 | +** $QT_BEGIN_LICENSE:LGPL$ | ||
| 144 | +** Commercial License Usage | ||
| 145 | +** Licensees holding valid commercial Qt licenses may use this file in | ||
| 146 | +** accordance with the commercial license agreement provided with the | ||
| 147 | +** Software or, alternatively, in accordance with the terms contained in | ||
| 148 | +** a written agreement between you and Digia. For licensing terms and | ||
| 149 | +** conditions see http://qt.digia.com/licensing. For further information | ||
| 150 | +** use the contact form at http://qt.digia.com/contact-us. | ||
| 151 | +** | ||
| 152 | +** GNU Lesser General Public License Usage | ||
| 153 | +** Alternatively, this file may be used under the terms of the GNU Lesser | ||
| 154 | +** General Public License version 2.1 as published by the Free Software | ||
| 155 | +** Foundation and appearing in the file LICENSE.LGPL included in the | ||
| 156 | +** packaging of this file. Please review the following information to | ||
| 157 | +** ensure the GNU Lesser General Public License version 2.1 requirements | ||
| 158 | +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. | ||
| 159 | +** | ||
| 160 | +** In addition, as a special exception, Digia gives you certain additional | ||
| 161 | +** rights. These rights are described in the Digia Qt LGPL Exception | ||
| 162 | +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. | ||
| 163 | +** | ||
| 164 | +** GNU General Public License Usage | ||
| 165 | +** Alternatively, this file may be used under the terms of the GNU | ||
| 166 | +** General Public License version 3.0 as published by the Free Software | ||
| 167 | +** Foundation and appearing in the file LICENSE.GPL included in the | ||
| 168 | +** packaging of this file. Please review the following information to | ||
| 169 | +** ensure the GNU General Public License version 3.0 requirements will be | ||
| 170 | +** met: http://www.gnu.org/copyleft/gpl.html. | ||
| 171 | +** | ||
| 172 | +** | ||
| 173 | +** $QT_END_LICENSE$ | ||
| 174 | +** | ||
| 175 | +****************************************************************************/ | ||
| 176 | + | ||
| 177 | +#ifndef QPLATFORMDEFS_H | ||
| 178 | +#define QPLATFORMDEFS_H | ||
| 179 | + | ||
| 180 | +// Get Qt defines/settings | ||
| 181 | + | ||
| 182 | +#include "qglobal.h" | ||
| 183 | + | ||
| 184 | +// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs | ||
| 185 | + | ||
| 186 | +// 1) need to reset default environment if _BSD_SOURCE is defined | ||
| 187 | +// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0 | ||
| 188 | +// 3) it seems older glibc need this to include the X/Open stuff | ||
| 189 | +#ifndef _GNU_SOURCE | ||
| 190 | +# define _GNU_SOURCE | ||
| 191 | +#endif | ||
| 192 | + | ||
| 193 | +#include <unistd.h> | ||
| 194 | + | ||
| 195 | + | ||
| 196 | +// We are hot - unistd.h should have turned on the specific APIs we requested | ||
| 197 | + | ||
| 198 | +#include <features.h> | ||
| 199 | +#include <pthread.h> | ||
| 200 | +#include <dirent.h> | ||
| 201 | +#include <fcntl.h> | ||
| 202 | +#include <grp.h> | ||
| 203 | +#include <pwd.h> | ||
| 204 | +#include <signal.h> | ||
| 205 | + | ||
| 206 | +#include <sys/types.h> | ||
| 207 | +#include <sys/ioctl.h> | ||
| 208 | +#include <sys/ipc.h> | ||
| 209 | +#include <sys/time.h> | ||
| 210 | +#include <sys/shm.h> | ||
| 211 | +#include <sys/socket.h> | ||
| 212 | +#include <sys/stat.h> | ||
| 213 | +#include <sys/wait.h> | ||
| 214 | +#include <netinet/in.h> | ||
| 215 | +#ifndef QT_NO_IPV6IFNAME | ||
| 216 | +#include <net/if.h> | ||
| 217 | +#endif | ||
| 218 | + | ||
| 219 | +#define QT_USE_XOPEN_LFS_EXTENSIONS | ||
| 220 | +#include "../common/posix/qplatformdefs.h" | ||
| 221 | + | ||
| 222 | +#undef QT_SOCKLEN_T | ||
| 223 | + | ||
| 224 | +#if defined(__GLIBC__) && (__GLIBC__ >= 2) | ||
| 225 | +#define QT_SOCKLEN_T socklen_t | ||
| 226 | +#else | ||
| 227 | +#define QT_SOCKLEN_T int | ||
| 228 | +#endif | ||
| 229 | + | ||
| 230 | +#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) | ||
| 231 | +#define QT_SNPRINTF ::snprintf | ||
| 232 | +#define QT_VSNPRINTF ::vsnprintf | ||
| 233 | +#endif | ||
| 234 | + | ||
| 235 | +#endif // QPLATFORMDEFS_H | ||
| 236 | diff --git a/mkspecs/oe-device-extra.pri b/mkspecs/oe-device-extra.pri | ||
| 237 | new file mode 100644 | ||
| 238 | index 0000000..e69de29 | ||
diff --git a/recipes-qt/qt5/qtbase/0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch b/recipes-qt/qt5/qtbase/0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch deleted file mode 100644 index 4ea4061a..00000000 --- a/recipes-qt/qt5/qtbase/0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From 7ab6ff7ba20a3173c10a76814d3c9ed312c80627 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 8 Jun 2015 13:59:25 -0700 | ||
| 4 | Subject: [PATCH] linux-oe-g++: Invert conditional for defining QT_SOCKLEN_T | ||
| 5 | |||
| 6 | This helps to make sure that QT_SOCKLEN_T is defined to be 'int' | ||
| 7 | only when its glibc < 2 and not also for the libraries which may define | ||
| 8 | it as per standards but are not glibc, e.g. musl | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | mkspecs/linux-oe-g++/qplatformdefs.h | 6 +++--- | ||
| 13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h | ||
| 16 | index dd12003..8623651 100644 | ||
| 17 | --- a/mkspecs/linux-oe-g++/qplatformdefs.h | ||
| 18 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h | ||
| 19 | @@ -86,10 +86,10 @@ | ||
| 20 | |||
| 21 | #undef QT_SOCKLEN_T | ||
| 22 | |||
| 23 | -#if defined(__GLIBC__) && (__GLIBC__ >= 2) | ||
| 24 | -#define QT_SOCKLEN_T socklen_t | ||
| 25 | -#else | ||
| 26 | +#if defined(__GLIBC__) && (__GLIBC__ < 2) | ||
| 27 | #define QT_SOCKLEN_T int | ||
| 28 | +#else | ||
| 29 | +#define QT_SOCKLEN_T socklen_t | ||
| 30 | #endif | ||
| 31 | |||
| 32 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) | ||
diff --git a/recipes-qt/qt5/qtbase/0009-Disable-all-unknown-features-instead-of-erroring-out.patch b/recipes-qt/qt5/qtbase/0009-Disable-all-unknown-features-instead-of-erroring-out.patch new file mode 100644 index 00000000..cb9de793 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0009-Disable-all-unknown-features-instead-of-erroring-out.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 9eb81e3bdeda4f90e5f2942400aef38b51a356bd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
| 3 | Date: Mon, 24 Oct 2016 09:45:18 +0300 | ||
| 4 | Subject: [PATCH] Disable all unknown features instead of erroring out | ||
| 5 | |||
| 6 | Task-number: QTBUG-56656 | ||
| 7 | Change-Id: Ib884fe33cac74439f9592b145937f6b75ced8447 | ||
| 8 | --- | ||
| 9 | mkspecs/features/qt_configure.prf | 3 ++- | ||
| 10 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf | ||
| 13 | index e8fa0c6..0ca5670 100644 | ||
| 14 | --- a/mkspecs/features/qt_configure.prf | ||
| 15 | +++ b/mkspecs/features/qt_configure.prf | ||
| 16 | @@ -1009,7 +1009,8 @@ defineReplace(qtConfEvaluateSingleExpression) { | ||
| 17 | error("Expression '$$1' is accessing field '$$var' of non-local feature $${feature}.") | ||
| 18 | return($$result) | ||
| 19 | } | ||
| 20 | - error("Unknown feature object $${feature} in expression '$${1}'.") | ||
| 21 | + warning("Unknown feature object $${feature} in expression '$${1}'.") | ||
| 22 | + result = false | ||
| 23 | } | ||
| 24 | !qtConfCheckFeature($$feature): \ | ||
| 25 | error("Expression '$$1' is accessing non-emitted feature $${feature}.") | ||
| 26 | -- | ||
| 27 | 1.9.1 | ||
| 28 | |||
diff --git a/recipes-qt/qt5/qtbase/0012-Add-external-hostbindir-option-for-native-sdk.patch b/recipes-qt/qt5/qtbase/0012-Add-external-hostbindir-option-for-native-sdk.patch deleted file mode 100644 index 1ab8abef..00000000 --- a/recipes-qt/qt5/qtbase/0012-Add-external-hostbindir-option-for-native-sdk.patch +++ /dev/null | |||
| @@ -1,131 +0,0 @@ | |||
| 1 | From cb66a3193b1b1b8b402548b615c3675c4adcf13a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 | ||
| 4 | Subject: [PATCH] Add -external-hostbindir option for native(sdk) | ||
| 5 | |||
| 6 | * when cross-compiling it's sometimes useful to use existing tools from machine | ||
| 7 | (or in OpenEmbedded built with separate native recipe) when building for target | ||
| 8 | |||
| 9 | * this way we can skip bootstraping tools we already have | ||
| 10 | |||
| 11 | * qt_functions: temporary remove isEmpty check | ||
| 12 | * now we assume that every build will provide QT_EXTERNAL_HOST_BINS value | ||
| 13 | * isEmpty works correctly only with qmake variables (e.g. $$FOO - | ||
| 14 | isEmpty(FOO)), but doesn't work with system properties like $$[FOO]. | ||
| 15 | |||
| 16 | * cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to determine path to host binaries | ||
| 17 | |||
| 18 | Upstream-Status: Pending | ||
| 19 | is a lot better for upstreaming (and it was already sort of approved by | ||
| 20 | Oswald) but in 5.2.0 I've noticed that he added something similar for | ||
| 21 | android builds | ||
| 22 | |||
| 23 | Change-Id: I4f6e634bf0b2cb96065ee5c38b9cd8a224c3bd37 | ||
| 24 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 25 | Signed-off-by: Simon Busch <morphis@gravedo.de> | ||
| 26 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
| 27 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 28 | |||
| 29 | Conflicts: | ||
| 30 | tools/configure/configureapp.cpp | ||
| 31 | --- | ||
| 32 | configure | 1 + | ||
| 33 | qmake/property.cpp | 1 + | ||
| 34 | src/corelib/global/qlibraryinfo.cpp | 3 ++- | ||
| 35 | src/corelib/global/qlibraryinfo.h | 1 + | ||
| 36 | tools/configure/configureapp.cpp | 11 +++++++++++ | ||
| 37 | 5 files changed, 16 insertions(+), 1 deletion(-) | ||
| 38 | |||
| 39 | diff --git a/configure b/configure | ||
| 40 | index 14f348c..61f22e8 100755 | ||
| 41 | --- a/configure | ||
| 42 | +++ b/configure | ||
| 43 | @@ -3839,6 +3839,7 @@ fi | ||
| 44 | addConfStr "$QT_REL_HOST_BINS" | ||
| 45 | addConfStr "$QT_REL_HOST_LIBS" | ||
| 46 | addConfStr "$QT_REL_HOST_DATA" | ||
| 47 | +addConfStr "$QT_EXTERNAL_HOST_BINS" | ||
| 48 | addConfStr "$shortxspec" | ||
| 49 | addConfStr "$shortspec" | ||
| 50 | |||
| 51 | diff --git a/qmake/property.cpp b/qmake/property.cpp | ||
| 52 | index 9ee08f4..e6ecf92 100644 | ||
| 53 | --- a/qmake/property.cpp | ||
| 54 | +++ b/qmake/property.cpp | ||
| 55 | @@ -63,6 +63,7 @@ static const struct { | ||
| 56 | { "QT_HOST_DATA", QLibraryInfo::HostDataPath, true }, | ||
| 57 | { "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true }, | ||
| 58 | { "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true }, | ||
| 59 | + { "QT_EXTERNAL_HOST_BINS", QLibraryInfo::ExternalHostBinariesPath, true }, | ||
| 60 | { "QMAKE_SPEC", QLibraryInfo::HostSpecPath, true }, | ||
| 61 | { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, | ||
| 62 | }; | ||
| 63 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | ||
| 64 | index ff65ef9..3726831 100644 | ||
| 65 | --- a/src/corelib/global/qlibraryinfo.cpp | ||
| 66 | +++ b/src/corelib/global/qlibraryinfo.cpp | ||
| 67 | @@ -381,7 +381,7 @@ QLibraryInfo::isDebugBuild() | ||
| 68 | */ | ||
| 69 | |||
| 70 | static const struct { | ||
| 71 | - char key[19], value[13]; | ||
| 72 | + char key[21], value[13]; | ||
| 73 | } qtConfEntries[] = { | ||
| 74 | { "Prefix", "." }, | ||
| 75 | { "Documentation", "doc" }, // should be ${Data}/doc | ||
| 76 | @@ -406,6 +406,7 @@ static const struct { | ||
| 77 | { "HostBinaries", "bin" }, | ||
| 78 | { "HostLibraries", "lib" }, | ||
| 79 | { "HostData", "." }, | ||
| 80 | + { "ExternalHostBinaries", "" }, | ||
| 81 | { "TargetSpec", "" }, | ||
| 82 | { "HostSpec", "" }, | ||
| 83 | { "HostPrefix", "" }, | ||
| 84 | diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h | ||
| 85 | index 362d47d..a2326e2 100644 | ||
| 86 | --- a/src/corelib/global/qlibraryinfo.h | ||
| 87 | +++ b/src/corelib/global/qlibraryinfo.h | ||
| 88 | @@ -87,6 +87,7 @@ public: | ||
| 89 | HostBinariesPath, | ||
| 90 | HostLibrariesPath, | ||
| 91 | HostDataPath, | ||
| 92 | + ExternalHostBinariesPath, | ||
| 93 | TargetSpecPath, | ||
| 94 | HostSpecPath, | ||
| 95 | HostPrefixPath, | ||
| 96 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp | ||
| 97 | index 0fa205b..2921e2b 100644 | ||
| 98 | --- a/tools/configure/configureapp.cpp | ||
| 99 | +++ b/tools/configure/configureapp.cpp | ||
| 100 | @@ -1219,6 +1219,13 @@ void Configure::parseCmdLine() | ||
| 101 | dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); | ||
| 102 | } | ||
| 103 | |||
| 104 | + else if (configCmdLine.at(i) == "-external-hostbindir") { | ||
| 105 | + ++i; | ||
| 106 | + if (i == argCount) | ||
| 107 | + break; | ||
| 108 | + dictionary[ "QT_EXTERNAL_HOST_BINS" ] = configCmdLine.at(i); | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | else if (configCmdLine.at(i) == "-make-tool") { | ||
| 112 | ++i; | ||
| 113 | if (i == argCount) | ||
| 114 | @@ -4171,6 +4178,9 @@ void Configure::generateQConfigCpp() | ||
| 115 | |||
| 116 | if (dictionary["QT_REL_HOST_DATA"].isEmpty()) | ||
| 117 | dictionary["QT_REL_HOST_DATA"] = haveHpx ? "." : dictionary["QT_REL_INSTALL_ARCHDATA"]; | ||
| 118 | + | ||
| 119 | + if (dictionary["QT_EXTERNAL_HOST_BINS"].isEmpty()) | ||
| 120 | + dictionary["QT_EXTERNAL_HOST_BINS"] = haveHpx ? "bin" : dictionary["QT_REL_INSTALL_BINS"]; | ||
| 121 | |||
| 122 | confStringOff = 0; | ||
| 123 | addConfStr(0, dictionary["QT_REL_INSTALL_DOCS"]); | ||
| 124 | @@ -4190,6 +4200,7 @@ void Configure::generateQConfigCpp() | ||
| 125 | addConfStr(1, dictionary["QT_REL_HOST_BINS"]); | ||
| 126 | addConfStr(1, dictionary["QT_REL_HOST_LIBS"]); | ||
| 127 | addConfStr(1, dictionary["QT_REL_HOST_DATA"]); | ||
| 128 | + addConfStr(1, dictionary["QT_EXTERNAL_HOST_BINS"]); | ||
| 129 | addConfStr(1, targSpec); | ||
| 130 | addConfStr(1, hostSpec); | ||
| 131 | |||
diff --git a/recipes-qt/qt5/qtbase/0013-Use-pkgconfig-to-configure-freetype2.patch b/recipes-qt/qt5/qtbase/0013-Use-pkgconfig-to-configure-freetype2.patch deleted file mode 100644 index 453a1f3a..00000000 --- a/recipes-qt/qt5/qtbase/0013-Use-pkgconfig-to-configure-freetype2.patch +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | From 3f88cd7cfb1ad2ebcd29ff736282fa993038036c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
| 3 | Date: Fri, 23 Sep 2016 11:32:52 +0300 | ||
| 4 | Subject: [PATCH] Use pkgconfig to configure freetype2 | ||
| 5 | |||
| 6 | Change-Id: I0f94ac981f3283bd8410c0bb9c8732aeabce3148 | ||
| 7 | --- | ||
| 8 | src/gui/configure.json | 1 + | ||
| 9 | 1 file changed, 1 insertion(+) | ||
| 10 | |||
| 11 | diff --git a/src/gui/configure.json b/src/gui/configure.json | ||
| 12 | index 376359b..0554a08 100644 | ||
| 13 | --- a/src/gui/configure.json | ||
| 14 | +++ b/src/gui/configure.json | ||
| 15 | @@ -90,6 +90,7 @@ | ||
| 16 | "export": "", | ||
| 17 | "test": "unix/freetype", | ||
| 18 | "sources": [ | ||
| 19 | + { "type": "pkgConfig", "args": "freetype2" }, | ||
| 20 | "-lfreetype" | ||
| 21 | ] | ||
| 22 | }, | ||
| 23 | -- | ||
| 24 | 1.9.1 | ||
| 25 | |||
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index bb56a15b..db2dbe7a 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
| @@ -22,10 +22,9 @@ SRC_URI += "\ | |||
| 22 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 22 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
| 23 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ | 23 | file://0005-configure-bump-path-length-from-256-to-512-character.patch \ |
| 24 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ | 24 | file://0006-QOpenGLPaintDevice-sub-area-support.patch \ |
| 25 | file://0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \ | ||
| 26 | file://0008-configure-paths-for-target-qmake-properly.patch \ | 25 | file://0008-configure-paths-for-target-qmake-properly.patch \ |
| 26 | file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \ | ||
| 27 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 27 | file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
| 28 | file://0013-Use-pkgconfig-to-configure-freetype2.patch \ | ||
| 29 | " | 28 | " |
| 30 | 29 | ||
| 31 | DEPENDS += "qtbase-native" | 30 | DEPENDS += "qtbase-native" |
| @@ -51,7 +50,7 @@ PACKAGECONFIG_DISTRO ?= "" | |||
| 51 | PACKAGECONFIG_RELEASE ?= "release" | 50 | PACKAGECONFIG_RELEASE ?= "release" |
| 52 | # This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency | 51 | # This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency |
| 53 | # PACKAGECONFIG_OPENSSL ?= "openssl" | 52 | # PACKAGECONFIG_OPENSSL ?= "openssl" |
| 54 | PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs" | 53 | PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs freetype" |
| 55 | 54 | ||
| 56 | PACKAGECONFIG ?= " \ | 55 | PACKAGECONFIG ?= " \ |
| 57 | ${PACKAGECONFIG_RELEASE} \ | 56 | ${PACKAGECONFIG_RELEASE} \ |
| @@ -69,6 +68,7 @@ PACKAGECONFIG ?= " \ | |||
| 69 | PACKAGECONFIG[release] = "-release,-debug" | 68 | PACKAGECONFIG[release] = "-release,-debug" |
| 70 | PACKAGECONFIG[debug] = "" | 69 | PACKAGECONFIG[debug] = "" |
| 71 | PACKAGECONFIG[developer] = "-developer-build" | 70 | PACKAGECONFIG[developer] = "-developer-build" |
| 71 | PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug" | ||
| 72 | PACKAGECONFIG[sm] = "-sm,-no-sm" | 72 | PACKAGECONFIG[sm] = "-sm,-no-sm" |
| 73 | PACKAGECONFIG[tests] = "-make tests,-nomake tests" | 73 | PACKAGECONFIG[tests] = "-make tests,-nomake tests" |
| 74 | PACKAGECONFIG[examples] = "-make examples -compile-examples,-nomake examples" | 74 | PACKAGECONFIG[examples] = "-make examples -compile-examples,-nomake examples" |
| @@ -85,6 +85,8 @@ PACKAGECONFIG[freetype] = "-system-freetype,-qt-freetype,freetype" | |||
| 85 | PACKAGECONFIG[harfbuzz] = "-system-harfbuzz,-no-harfbuzz,harfbuzz" | 85 | PACKAGECONFIG[harfbuzz] = "-system-harfbuzz,-no-harfbuzz,harfbuzz" |
| 86 | PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg" | 86 | PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg" |
| 87 | PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" | 87 | PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" |
| 88 | PACKAGECONFIG[gif] = "-gif,-no-gif" | ||
| 89 | PACKAGECONFIG[ico] = "-ico,-no-ico" | ||
| 88 | PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib" | 90 | PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib" |
| 89 | PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre" | 91 | PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre" |
| 90 | PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs,drm" | 92 | PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs,drm" |
| @@ -116,6 +118,7 @@ PACKAGECONFIG[gtk] = "-gtk,-no-gtk,gtk+" | |||
| 116 | PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb" | 118 | PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb" |
| 117 | PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" | 119 | PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" |
| 118 | PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl" | 120 | PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl" |
| 121 | PACKAGECONFIG[gbm] = "-gbm,-no-gbm,gbm" | ||
| 119 | # needed for qtwebkit | 122 | # needed for qtwebkit |
| 120 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" | 123 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" |
| 121 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" | 124 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" |
| @@ -180,4 +183,4 @@ INSANE_SKIP_${PN}-mkspecs += "file-rdeps" | |||
| 180 | 183 | ||
| 181 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" | 184 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" |
| 182 | 185 | ||
| 183 | SRCREV = "e395e79145ff861b2dd87e404d229d769a19ab7e" | 186 | SRCREV = "016b5bc949b6dfb2f76db2e8b40a40e7eaee6828" |
diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb index 71c60af2..5fad9844 100644 --- a/recipes-qt/qt5/qtconnectivity_git.bb +++ b/recipes-qt/qt5/qtconnectivity_git.bb | |||
| @@ -28,4 +28,4 @@ do_configure_prepend() { | |||
| 28 | sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro | 28 | sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | SRCREV = "9d22c12fe4bc6b19c83aa6cf421b90dbeae5f045" | 31 | SRCREV = "515ff5b0f9a2245a13cec6f2d37edd1715cdae8c" |
diff --git a/recipes-qt/qt5/qtdatavis3d_git.bb b/recipes-qt/qt5/qtdatavis3d_git.bb index 741626a4..8eb56ae0 100644 --- a/recipes-qt/qt5/qtdatavis3d_git.bb +++ b/recipes-qt/qt5/qtdatavis3d_git.bb | |||
| @@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 8 | 8 | ||
| 9 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtxmlpatterns" | 9 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtxmlpatterns" |
| 10 | 10 | ||
| 11 | SRCREV = "b6c5569f2158e2f211b90bf36ea964fda7bf6ccc" | 11 | SRCREV = "96086b01a3e732cfb58cfd6e15a8dfc53550eb13" |
diff --git a/recipes-qt/qt5/qtdeclarative/0003-Workaround-crashes-in-QtQml-code-related-to-dead-sto.patch b/recipes-qt/qt5/qtdeclarative/0003-Workaround-crashes-in-QtQml-code-related-to-dead-sto.patch deleted file mode 100644 index d3ee42ef..00000000 --- a/recipes-qt/qt5/qtdeclarative/0003-Workaround-crashes-in-QtQml-code-related-to-dead-sto.patch +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | From fcc2c95421710f98c7b2dec73e2c8b0d9164bc9b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jonathan Liu <net147@gmail.com> | ||
| 3 | Date: Wed, 24 Aug 2016 11:18:37 +1000 | ||
| 4 | Subject: [PATCH] Workaround crashes in QtQml code related to dead-store | ||
| 5 | elimination | ||
| 6 | |||
| 7 | When compiled in release mode with GCC 6, QtQml may crash. | ||
| 8 | This is because the C++ compiler is more aggressive about dead-store | ||
| 9 | elimination in situations where a memory store to a location precedes | ||
| 10 | the construction of an object at that memory location. | ||
| 11 | |||
| 12 | The QV4::MemoryManager::allocate{Managed,Object} functions allocate | ||
| 13 | memory and write to it before the caller does a placement new to | ||
| 14 | construct an object in the same memory. The compiler considers these | ||
| 15 | writes before the constructor as "dead stores" and eliminates them. | ||
| 16 | |||
| 17 | The -fno-lifetime-dse compiler flag is added to disable this more | ||
| 18 | aggressive dead-store eliminiation optimization. | ||
| 19 | |||
| 20 | This is a temporary workaround until a proper solution is found. | ||
| 21 | |||
| 22 | Upstream-Status: Accepted | ||
| 23 | |||
| 24 | Task-number: QTBUG-55482 | ||
| 25 | Change-Id: I7dbae6e9e613e53ce5fb25957c449bc6657803b5 | ||
| 26 | Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | ||
| 27 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
| 28 | --- | ||
| 29 | src/qml/qml.pro | 2 +- | ||
| 30 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 31 | |||
| 32 | diff --git a/src/qml/qml.pro b/src/qml/qml.pro | ||
| 33 | index f4862a1..651afa6 100644 | ||
| 34 | --- a/src/qml/qml.pro | ||
| 35 | +++ b/src/qml/qml.pro | ||
| 36 | @@ -18,7 +18,7 @@ exists("qqml_enable_gcov") { | ||
| 37 | |||
| 38 | greaterThan(QT_GCC_MAJOR_VERSION, 5) { | ||
| 39 | # Our code is bad. Temporary workaround. | ||
| 40 | - QMAKE_CXXFLAGS += -fno-delete-null-pointer-checks | ||
| 41 | + QMAKE_CXXFLAGS += -fno-delete-null-pointer-checks -fno-lifetime-dse | ||
| 42 | } | ||
| 43 | |||
| 44 | QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf | ||
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index 323adefe..f4e49235 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
| @@ -19,7 +19,6 @@ DEPENDS += "qtbase" | |||
| 19 | SRC_URI += " \ | 19 | SRC_URI += " \ |
| 20 | file://0001-qmltestexample-fix-link.patch \ | 20 | file://0001-qmltestexample-fix-link.patch \ |
| 21 | file://0002-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch \ | 21 | file://0002-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch \ |
| 22 | file://0003-Workaround-crashes-in-QtQml-code-related-to-dead-sto.patch \ | ||
| 23 | " | 22 | " |
| 24 | 23 | ||
| 25 | EXTRA_OEMAKE += "QMAKE_SYNCQT=${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/syncqt" | 24 | EXTRA_OEMAKE += "QMAKE_SYNCQT=${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/syncqt" |
| @@ -43,6 +42,6 @@ do_install_append_class-nativesdk() { | |||
| 43 | 42 | ||
| 44 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}" | 43 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}" |
| 45 | 44 | ||
| 46 | SRCREV = "16914894f035963ace51c92de13aad11a53c3cf8" | 45 | SRCREV = "210a4584b87add2061f805ae50eb5079eec48cf5" |
| 47 | 46 | ||
| 48 | BBCLASSEXTEND =+ "native nativesdk" | 47 | BBCLASSEXTEND =+ "native nativesdk" |
diff --git a/recipes-qt/qt5/qtimageformats_git.bb b/recipes-qt/qt5/qtimageformats_git.bb index 5795cbb6..88ca6840 100644 --- a/recipes-qt/qt5/qtimageformats_git.bb +++ b/recipes-qt/qt5/qtimageformats_git.bb | |||
| @@ -32,4 +32,4 @@ EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'jasper', 'CONFIG+ | |||
| 32 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}" | 32 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}" |
| 33 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'libwebp', 'CONFIG+=OE_LIBWEBP_ENABLED', '', d)}" | 33 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'libwebp', 'CONFIG+=OE_LIBWEBP_ENABLED', '', d)}" |
| 34 | 34 | ||
| 35 | SRCREV = "7795bb6c194692abbca31a9734c83a78362c8063" | 35 | SRCREV = "99d9e0c527ad91f186628ece1c8b3a5ec07f7add" |
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb index 46354ba2..7e77cd0d 100644 --- a/recipes-qt/qt5/qtlocation_git.bb +++ b/recipes-qt/qt5/qtlocation_git.bb | |||
| @@ -29,4 +29,4 @@ do_configure_prepend() { | |||
| 29 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'geoclue', 'CONFIG+=OE_GEOCLUE_ENABLED', '', d)}" | 29 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'geoclue', 'CONFIG+=OE_GEOCLUE_ENABLED', '', d)}" |
| 30 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'gypsy', 'CONFIG+=OE_GYPSY_ENABLED', '', d)}" | 30 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'gypsy', 'CONFIG+=OE_GYPSY_ENABLED', '', d)}" |
| 31 | 31 | ||
| 32 | SRCREV = "66a6bd9fb20e76ab288e4eef59d06c06a411a471" | 32 | SRCREV = "186e4421cf968d1b4927e90340f356c0dac770dd" |
diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index 56763f5a..e93904ae 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb | |||
| @@ -38,4 +38,4 @@ SRC_URI += "\ | |||
| 38 | file://0001-Initial-porting-effort-to-GStreamer-1.0.patch \ | 38 | file://0001-Initial-porting-effort-to-GStreamer-1.0.patch \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | SRCREV = "01c9322bfe918b886468eb520d77b21b6d8c0c11" | 41 | SRCREV = "0cb4dc5c1fded81b4f47945b51b8de0b0151bf67" |
diff --git a/recipes-qt/qt5/qtquickcontrols2_git.bb b/recipes-qt/qt5/qtquickcontrols2_git.bb index b6f1d050..3b3bfea0 100644 --- a/recipes-qt/qt5/qtquickcontrols2_git.bb +++ b/recipes-qt/qt5/qtquickcontrols2_git.bb | |||
| @@ -10,4 +10,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | 10 | ||
| 11 | DEPENDS += "qtdeclarative" | 11 | DEPENDS += "qtdeclarative" |
| 12 | 12 | ||
| 13 | SRCREV = "c5a44092c8b73c540862c4a160c31487a8518992" | 13 | SRCREV = "124dd9adb5882048e44dcd012e08899d4e480196" |
diff --git a/recipes-qt/qt5/qtquickcontrols_git.bb b/recipes-qt/qt5/qtquickcontrols_git.bb index 498b4789..54aaad4f 100644 --- a/recipes-qt/qt5/qtquickcontrols_git.bb +++ b/recipes-qt/qt5/qtquickcontrols_git.bb | |||
| @@ -21,4 +21,4 @@ SRC_URI += " \ | |||
| 21 | file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \ | 21 | file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | SRCREV = "3b093789b07c670e29d3275e26c4e7122db042ae" | 24 | SRCREV = "3bc99dd69fb9099a13dd94ebd081dba5c68d6def" |
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb index 80a8e54b..84881bc4 100644 --- a/recipes-qt/qt5/qtscript_git.bb +++ b/recipes-qt/qt5/qtscript_git.bb | |||
| @@ -25,4 +25,4 @@ ARM_INSTRUCTION_SET_armv5 = "arm" | |||
| 25 | 25 | ||
| 26 | DEPENDS += "qtbase" | 26 | DEPENDS += "qtbase" |
| 27 | 27 | ||
| 28 | SRCREV = "52f416f7889c2e63b901eeca07f2c5bda7b27b93" | 28 | SRCREV = "f774bac109684c4391cfae3e919eafb34666bf51" |
diff --git a/recipes-qt/qt5/qtsensors_git.bb b/recipes-qt/qt5/qtsensors_git.bb index a50f2a8e..d1ea63f6 100644 --- a/recipes-qt/qt5/qtsensors_git.bb +++ b/recipes-qt/qt5/qtsensors_git.bb | |||
| @@ -13,4 +13,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 13 | 13 | ||
| 14 | DEPENDS += "qtbase qtdeclarative" | 14 | DEPENDS += "qtbase qtdeclarative" |
| 15 | 15 | ||
| 16 | SRCREV = "df3374bd4bb8af1494f6a35b1102f15cfe9633e0" | 16 | SRCREV = "8065e461421ea17a942ea09d67aaa053a136a54e" |
diff --git a/recipes-qt/qt5/qtserialbus_git.bb b/recipes-qt/qt5/qtserialbus_git.bb index 68f4feab..5b903950 100644 --- a/recipes-qt/qt5/qtserialbus_git.bb +++ b/recipes-qt/qt5/qtserialbus_git.bb | |||
| @@ -11,4 +11,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 11 | 11 | ||
| 12 | DEPENDS += "qtbase qtserialport" | 12 | DEPENDS += "qtbase qtserialport" |
| 13 | 13 | ||
| 14 | SRCREV = "7845b1c59bde8e2ec8dc541b9f1c1897182e8d0f" | 14 | SRCREV = "8e4bd5bcfd6093c980866a6b258311e7d8ae5bbf" |
diff --git a/recipes-qt/qt5/qtserialport_git.bb b/recipes-qt/qt5/qtserialport_git.bb index c9f0e2c3..e2917b46 100644 --- a/recipes-qt/qt5/qtserialport_git.bb +++ b/recipes-qt/qt5/qtserialport_git.bb | |||
| @@ -15,4 +15,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 15 | 15 | ||
| 16 | DEPENDS += "qtbase" | 16 | DEPENDS += "qtbase" |
| 17 | 17 | ||
| 18 | SRCREV = "0e79f14e56eb43abcb903d5ece41221f6032ef26" | 18 | SRCREV = "e2a658a2472d9fa710c251a065f488bae981c0ae" |
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index 3c66f411..36bded7f 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
| @@ -30,6 +30,6 @@ PACKAGECONFIG[qtwebkit] = ",,qtwebkit" | |||
| 30 | 30 | ||
| 31 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}" | 31 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}" |
| 32 | 32 | ||
| 33 | SRCREV = "ea6e06c59e901a5b1fc98bc82d15ba9b85e9faf7" | 33 | SRCREV = "7c87ba01191e172bc10fb31f173520cb169a9a03" |
| 34 | 34 | ||
| 35 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5/qtvirtualkeyboard_git.bb index 9ed2449d..edcc3c42 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bb +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bb | |||
| @@ -48,4 +48,4 @@ FILES_${PN} += "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/lipi_toolkit" | |||
| 48 | 48 | ||
| 49 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns" | 49 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns" |
| 50 | 50 | ||
| 51 | SRCREV = "78fa7c11ea79067d819bbcbaa903086eae929015" | 51 | SRCREV = "a2174fa1270ff366f03e7d22aa49101c958ca4fc" |
diff --git a/recipes-qt/qt5/qtwayland-native_git.bb b/recipes-qt/qt5/qtwayland-native_git.bb deleted file mode 100644 index 8cc164eb..00000000 --- a/recipes-qt/qt5/qtwayland-native_git.bb +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | require qt5-native.inc | ||
| 2 | require qt5-git.inc | ||
| 3 | |||
| 4 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | ||
| 5 | LIC_FILES_CHKSUM = " \ | ||
| 6 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | ||
| 7 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ | ||
| 8 | file://LICENSE.LGPLv3;md5=e0459b45c5c4840b353141a8bbed91f0 \ | ||
| 9 | file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 10 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 11 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ | ||
| 12 | file://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \ | ||
| 13 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ | ||
| 14 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | ||
| 15 | " | ||
| 16 | |||
| 17 | DEPENDS = "qtbase-native wayland-native" | ||
| 18 | |||
| 19 | SRC_URI += " \ | ||
| 20 | file://0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_configure() { | ||
| 24 | ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_QTCONF} -r ${S}/src/qtwaylandscanner | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install() { | ||
| 28 | oe_runmake install INSTALL_ROOT=${D} | ||
| 29 | } | ||
| 30 | |||
| 31 | SRCREV = "3f5111b6c1d92ae4fed008abb53cf4226bfef575" | ||
diff --git a/recipes-qt/qt5/qtwayland/0001-Allow-building-only-qtwaylandscanner.patch b/recipes-qt/qt5/qtwayland/0001-Allow-building-only-qtwaylandscanner.patch new file mode 100644 index 00000000..7b776733 --- /dev/null +++ b/recipes-qt/qt5/qtwayland/0001-Allow-building-only-qtwaylandscanner.patch | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | From a028632be1f579c873a3585081d9aae4f9c8d738 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
| 3 | Date: Fri, 9 Sep 2016 10:24:54 +0300 | ||
| 4 | Subject: [PATCH] Allow building only qtwaylandscanner | ||
| 5 | |||
| 6 | Change-Id: I81af38e73b4b54aef2a53b9a3e491aaa7c412706 | ||
| 7 | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> | ||
| 8 | --- | ||
| 9 | qtwayland.pro | 10 +++++----- | ||
| 10 | src/src.pro | 8 ++++---- | ||
| 11 | 2 files changed, 9 insertions(+), 9 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/qtwayland.pro b/qtwayland.pro | ||
| 14 | index f71b842..1be518a 100644 | ||
| 15 | --- a/qtwayland.pro | ||
| 16 | +++ b/qtwayland.pro | ||
| 17 | @@ -14,25 +14,25 @@ qtCompileTest(libhybris_egl_server) | ||
| 18 | |||
| 19 | load(qt_parts) | ||
| 20 | |||
| 21 | -!config_wayland { | ||
| 22 | +!scanner-only:!config_wayland { | ||
| 23 | warning("QtWayland requires Wayland 1.6.0 or higher, QtWayland will not be built") | ||
| 24 | SUBDIRS = | ||
| 25 | } | ||
| 26 | |||
| 27 | -!config_xkbcommon { | ||
| 28 | +!scanner-only:!config_xkbcommon { | ||
| 29 | warning("No xkbcommon 0.2.0 or higher found, disabling support for it") | ||
| 30 | } | ||
| 31 | |||
| 32 | -!config_wayland_scanner { | ||
| 33 | +!scanner-only:!config_wayland_scanner { | ||
| 34 | warning("QtWayland requires wayland-scanner, QtWayland will not be built") | ||
| 35 | SUBDIRS = | ||
| 36 | } | ||
| 37 | |||
| 38 | -!config_wayland_cursor { | ||
| 39 | +!scanner-only:!config_wayland_cursor { | ||
| 40 | warning("QtWayland requires wayland-cursor, QtWayland will not be built") | ||
| 41 | SUBDIRS = | ||
| 42 | } | ||
| 43 | |||
| 44 | -!config_wayland_egl { | ||
| 45 | +!scanner-only:!config_wayland_egl { | ||
| 46 | message("no wayland-egl support detected, cross-toolkit compatibility disabled"); | ||
| 47 | } | ||
| 48 | diff --git a/src/src.pro b/src/src.pro | ||
| 49 | index bf5ffe3..92c82f6 100644 | ||
| 50 | --- a/src/src.pro | ||
| 51 | +++ b/src/src.pro | ||
| 52 | @@ -7,19 +7,19 @@ SUBDIRS += sub_qtwaylandscanner | ||
| 53 | sub_compositor.subdir = compositor | ||
| 54 | sub_compositor.depends = sub-qtwaylandscanner | ||
| 55 | sub_compositor.target = sub-compositor | ||
| 56 | -SUBDIRS += sub_compositor | ||
| 57 | +!scanner-only:SUBDIRS += sub_compositor | ||
| 58 | |||
| 59 | sub_imports.subdir = imports | ||
| 60 | sub_imports.depends += sub-compositor | ||
| 61 | sub_imports.target = sub-imports | ||
| 62 | -SUBDIRS += sub_imports | ||
| 63 | +!scanner-only:SUBDIRS += sub_imports | ||
| 64 | |||
| 65 | sub_client.subdir = client | ||
| 66 | sub_client.depends = sub-qtwaylandscanner | ||
| 67 | sub_client.target = sub-client | ||
| 68 | -SUBDIRS += sub_client | ||
| 69 | +!scanner-only:SUBDIRS += sub_client | ||
| 70 | |||
| 71 | sub_plugins.subdir = plugins | ||
| 72 | sub_plugins.depends = sub-qtwaylandscanner sub-client sub-compositor | ||
| 73 | sub_plugins.target = sub-plugins | ||
| 74 | -SUBDIRS += sub_plugins | ||
| 75 | +!scanner-only:SUBDIRS += sub_plugins | ||
diff --git a/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch b/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch deleted file mode 100644 index 847ba06f..00000000 --- a/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 47457635603ddb484a479834a052699cce5b34a3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon Busch <morphis@gravedo.de> | ||
| 3 | Date: Fri, 19 Jul 2013 13:35:14 +0000 | ||
| 4 | Subject: [PATCH] Install the qtwaylandscanner tool to the native side | ||
| 5 | |||
| 6 | Upstream-Status: Inappropiate [configuration] | ||
| 7 | |||
| 8 | Signed-off-by: Simon Busch <morphis@gravedo.de> | ||
| 9 | --- | ||
| 10 | src/qtwaylandscanner/qtwaylandscanner.pro | 8 ++++++-- | ||
| 11 | 1 file changed, 6 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/src/qtwaylandscanner/qtwaylandscanner.pro b/src/qtwaylandscanner/qtwaylandscanner.pro | ||
| 14 | index ac2d07b..7a46a24 100644 | ||
| 15 | --- a/src/qtwaylandscanner/qtwaylandscanner.pro | ||
| 16 | +++ b/src/qtwaylandscanner/qtwaylandscanner.pro | ||
| 17 | @@ -1,6 +1,10 @@ | ||
| 18 | option(host_build) | ||
| 19 | |||
| 20 | -SOURCES += qtwaylandscanner.cpp | ||
| 21 | +TARGET = qtwaylandscanner$$qtPlatformTargetSuffix() | ||
| 22 | +CONFIG += console warn_off | ||
| 23 | +QT = core | ||
| 24 | |||
| 25 | -load(qt_tool) | ||
| 26 | +SOURCES += qtwaylandscanner.cpp | ||
| 27 | |||
| 28 | +target.path = $$[QT_HOST_BINS] | ||
| 29 | +INSTALLS += target | ||
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb index 1d8df766..431dc12c 100644 --- a/recipes-qt/qt5/qtwayland_git.bb +++ b/recipes-qt/qt5/qtwayland_git.bb | |||
| @@ -16,6 +16,8 @@ LIC_FILES_CHKSUM = " \ | |||
| 16 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 16 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | SRC_URI += "file://0001-Allow-building-only-qtwaylandscanner.patch" | ||
| 20 | |||
| 19 | #FIXME: xkb should be optional; we add it here to fix the build error without it | 21 | #FIXME: xkb should be optional; we add it here to fix the build error without it |
| 20 | # (https://bugreports.qt.io/browse/QTBUG-54851) | 22 | # (https://bugreports.qt.io/browse/QTBUG-54851) |
| 21 | PACKAGECONFIG ?= " \ | 23 | PACKAGECONFIG ?= " \ |
| @@ -24,6 +26,8 @@ PACKAGECONFIG ?= " \ | |||
| 24 | xkb \ | 26 | xkb \ |
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcompositor xkb glx', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcompositor xkb glx', '', d)} \ |
| 26 | " | 28 | " |
| 29 | PACKAGECONFIG_class-native ?= "scanner-only" | ||
| 30 | PACKAGECONFIG_class-nativesdk ?= "scanner-only" | ||
| 27 | 31 | ||
| 28 | PACKAGECONFIG[compositor-api] = "CONFIG+=wayland-compositor" | 32 | PACKAGECONFIG[compositor-api] = "CONFIG+=wayland-compositor" |
| 29 | PACKAGECONFIG[xcompositor] = "CONFIG+=config_xcomposite CONFIG+=done_config_xcomposite,CONFIG+=done_config_xcomposite,libxcomposite" | 33 | PACKAGECONFIG[xcompositor] = "CONFIG+=config_xcomposite CONFIG+=done_config_xcomposite,CONFIG+=done_config_xcomposite,libxcomposite" |
| @@ -33,6 +37,7 @@ PACKAGECONFIG[wayland-egl] = "CONFIG+=config_wayland_egl CONFIG+=done_config_way | |||
| 33 | PACKAGECONFIG[brcm-egl] = "CONFIG+=config_brcm_egl CONFIG+=done_config_brcm_egl,CONFIG+=done_config_brcm_egl,virtual/egl" | 37 | PACKAGECONFIG[brcm-egl] = "CONFIG+=config_brcm_egl CONFIG+=done_config_brcm_egl,CONFIG+=done_config_brcm_egl,virtual/egl" |
| 34 | PACKAGECONFIG[drm-egl] = "CONFIG+=config_drm_egl_server CONFIG+=done_config_drm_egl_server,CONFIG+=done_config_drm_egl_server,libdrm virtual/egl" | 38 | PACKAGECONFIG[drm-egl] = "CONFIG+=config_drm_egl_server CONFIG+=done_config_drm_egl_server,CONFIG+=done_config_drm_egl_server,libdrm virtual/egl" |
| 35 | PACKAGECONFIG[libhybris-egl] = "CONFIG+=config_libhybris_egl_server CONFIG+=done_config_libhybris_egl_server,CONFIG+=done_config_libhybris_egl_server,libhybris" | 39 | PACKAGECONFIG[libhybris-egl] = "CONFIG+=config_libhybris_egl_server CONFIG+=done_config_libhybris_egl_server,CONFIG+=done_config_libhybris_egl_server,libhybris" |
| 40 | PACKAGECONFIG[scanner-only] = "CONFIG+=scanner-only" | ||
| 36 | 41 | ||
| 37 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 42 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
| 38 | 43 | ||
| @@ -44,4 +49,6 @@ FILES_${PN}-plugins-dbg += " \ | |||
| 44 | ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ | 49 | ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ |
| 45 | " | 50 | " |
| 46 | 51 | ||
| 47 | SRCREV = "3f5111b6c1d92ae4fed008abb53cf4226bfef575" | 52 | SRCREV = "582c6a379f6a45648352c538a7df4d675c9d0a65" |
| 53 | |||
| 54 | BBCLASSEXTEND =+ "native nativesdk" | ||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 911d0b35..5bf6056c 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
| @@ -122,8 +122,8 @@ SRC_URI += " \ | |||
| 122 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ | 122 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ |
| 123 | " | 123 | " |
| 124 | 124 | ||
| 125 | SRCREV_qtwebengine = "6106d6b0b3833e63aeb568f37a47fc6adca8fdb9" | 125 | SRCREV_qtwebengine = "4894406d111d7c7c0fb06b56e52706a20b35d0b3" |
| 126 | SRCREV_chromium = "8158f645b0cfea734b5ff99777227380f615873f" | 126 | SRCREV_chromium = "f3ce802c71aeaeb7dd218180a3bc5c6ac63b445d" |
| 127 | SRCREV = "${SRCREV_qtwebengine}" | 127 | SRCREV = "${SRCREV_qtwebengine}" |
| 128 | 128 | ||
| 129 | SRCREV_FORMAT = "qtwebengine_chromium" | 129 | SRCREV_FORMAT = "qtwebengine_chromium" |
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 35d9ff58..6944603d 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
| @@ -84,4 +84,4 @@ PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-db | |||
| 84 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" | 84 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" |
| 85 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" | 85 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" |
| 86 | 86 | ||
| 87 | SRCREV = "6c536617acb53b03be44bcb84767eb2bf35a16a2" | 87 | SRCREV = "431520f1508e92272171c214b087183e71d08ec5" |
diff --git a/recipes-qt/qt5/qtx11extras_git.bb b/recipes-qt/qt5/qtx11extras_git.bb index 7ab8f9ca..16db1139 100644 --- a/recipes-qt/qt5/qtx11extras_git.bb +++ b/recipes-qt/qt5/qtx11extras_git.bb | |||
| @@ -13,4 +13,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 13 | 13 | ||
| 14 | DEPENDS += "qtbase" | 14 | DEPENDS += "qtbase" |
| 15 | 15 | ||
| 16 | SRCREV = "448211f022507c6e7787e47aca4b3f12e3f12d94" | 16 | SRCREV = "0f91218091da69a81eb3e3336d1bdbe572a21908" |
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb index 87159e50..a6e88ced 100644 --- a/recipes-qt/qt5/qtxmlpatterns_git.bb +++ b/recipes-qt/qt5/qtxmlpatterns_git.bb | |||
| @@ -16,6 +16,6 @@ LIC_FILES_CHKSUM = " \ | |||
| 16 | 16 | ||
| 17 | DEPENDS += "qtbase" | 17 | DEPENDS += "qtbase" |
| 18 | 18 | ||
| 19 | SRCREV = "dba42c925db368aa958c38c6a3481f18a57bd71f" | 19 | SRCREV = "973105d9fb3372910255825e7395fb1156e24c02" |
| 20 | 20 | ||
| 21 | BBCLASSEXTEND =+ "native nativesdk" | 21 | BBCLASSEXTEND =+ "native nativesdk" |
