diff options
Diffstat (limited to 'recipes-qt/qt5')
7 files changed, 9 insertions, 145 deletions
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 65d170c5..130f3a38 100644 --- a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch +++ b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch | |||
| @@ -52,17 +52,15 @@ index 75b9690..601f688 100755 | |||
| 52 | else: | 52 | else: |
| 53 | - cc = os.environ.get('CC', 'cc') | 53 | - cc = os.environ.get('CC', 'cc') |
| 54 | - cxx = os.environ.get('CXX', 'c++') | 54 | - cxx = os.environ.get('CXX', 'c++') |
| 55 | - ld = os.environ.get('LD', cxx) | 55 | + cc = os.environ.get('CC_host', 'cc') |
| 56 | + cxx = os.environ.get('CXX_host', 'c++') | ||
| 57 | ld = cxx | ||
| 56 | - ar = os.environ.get('AR', 'ar') | 58 | - ar = os.environ.get('AR', 'ar') |
| 57 | - | 59 | + ar = os.environ.get('AR_host', 'ar') |
| 60 | |||
| 58 | - cflags = os.environ.get('CFLAGS', '').split() | 61 | - cflags = os.environ.get('CFLAGS', '').split() |
| 59 | - cflags_cc = os.environ.get('CXXFLAGS', '').split() | 62 | - cflags_cc = os.environ.get('CXXFLAGS', '').split() |
| 60 | - ldflags = os.environ.get('LDFLAGS', '').split() | 63 | - ldflags = os.environ.get('LDFLAGS', '').split() |
| 61 | + cc = os.environ.get('CC_host', 'cc') | ||
| 62 | + cxx = os.environ.get('CXX_host', 'c++') | ||
| 63 | + ld = os.environ.get('LD_host', cxx) | ||
| 64 | + ar = os.environ.get('AR_host', 'ar') | ||
| 65 | + | ||
| 66 | + cflags = os.environ.get('CFLAGS_host', '').split() | 64 | + cflags = os.environ.get('CFLAGS_host', '').split() |
| 67 | + cflags_cc = os.environ.get('CXXFLAGS_host', '').split() | 65 | + cflags_cc = os.environ.get('CXXFLAGS_host', '').split() |
| 68 | + ldflags = os.environ.get('LDFLAGS_host', '').split() | 66 | + ldflags = os.environ.get('LDFLAGS_host', '').split() |
diff --git a/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch deleted file mode 100644 index b7bd5a4a..00000000 --- a/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From 793db05d66b7a92ebe069dc76093487489dd8b69 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Mon, 30 Jun 2014 20:08:17 +0200 | ||
| 4 | Subject: [PATCH] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H | ||
| 5 | anywhere in path, but at the end | ||
| 6 | |||
| 7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 8 | --- | ||
| 9 | tools/qmake/mkspecs/features/functions.prf | 4 ++-- | ||
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 13 | index 20fb278..7aa0b4a 100644 | ||
| 14 | --- a/tools/qmake/mkspecs/features/functions.prf | ||
| 15 | +++ b/tools/qmake/mkspecs/features/functions.prf | ||
| 16 | @@ -168,9 +168,9 @@ defineReplace(mocOutput) { | ||
| 17 | out = $$1 | ||
| 18 | # The order is important, since the output of the second replace would end up accidentaly transformed by the first one | ||
| 19 | for(ext, $$list($${QMAKE_EXT_CPP})): \ | ||
| 20 | - out = $$replace(out, ^(.*)($$re_escape($${ext})), $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC}) | ||
| 21 | + out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC}) | ||
| 22 | for(ext, $$list($${QMAKE_EXT_H})): \ | ||
| 23 | - out = $$replace(out, ^(.*)($$re_escape($${ext})), $${QMAKE_H_MOD_MOC}\\1$${first(QMAKE_EXT_CPP)}) | ||
| 24 | + out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_H_MOD_MOC}\\1$${first(QMAKE_EXT_CPP)}) | ||
| 25 | return($$out) | ||
| 26 | } | ||
| 27 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch deleted file mode 100644 index e487c6a5..00000000 --- a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From aa5bb11072bc0e441dc6533f53ed5359c5000088 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon Busch <morphis@gravedo.de> | ||
| 3 | Date: Tue, 18 Nov 2014 10:38:18 +0100 | ||
| 4 | Subject: [PATCH] functions.prf: Make sure we only use the file name to | ||
| 5 | generate it's moc'ed abbreviation | ||
| 6 | |||
| 7 | Signed-off-by: Simon Busch <morphis@gravedo.de> | ||
| 8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 9 | --- | ||
| 10 | tools/qmake/mkspecs/features/functions.prf | 3 ++- | ||
| 11 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 14 | index 7aa0b4a..9b3a639 100644 | ||
| 15 | --- a/tools/qmake/mkspecs/features/functions.prf | ||
| 16 | +++ b/tools/qmake/mkspecs/features/functions.prf | ||
| 17 | @@ -165,7 +165,8 @@ defineReplace(findIncludedMocFiles) { | ||
| 18 | } | ||
| 19 | |||
| 20 | defineReplace(mocOutput) { | ||
| 21 | - out = $$1 | ||
| 22 | + in = $$1 | ||
| 23 | + out = $$basename(in) | ||
| 24 | # The order is important, since the output of the second replace would end up accidentaly transformed by the first one | ||
| 25 | for(ext, $$list($${QMAKE_EXT_CPP})): \ | ||
| 26 | out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC}) | ||
diff --git a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch deleted file mode 100644 index 786a383d..00000000 --- a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From 6918d25c54ec4bc17a9b612c0d24b0f01be3aca1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Frieder Schrempf <frieder.schrempf@online.de> | ||
| 3 | Date: Mon, 1 Dec 2014 14:34:40 +0000 | ||
| 4 | Subject: [PATCH] functions.prf: allow build for linux-oe-g++ platform | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [OE specific] | ||
| 7 | |||
| 8 | Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de> | ||
| 9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 10 | --- | ||
| 11 | tools/qmake/mkspecs/features/functions.prf | 6 ++++++ | ||
| 12 | 1 file changed, 6 insertions(+) | ||
| 13 | |||
| 14 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 15 | index 9b3a639..dc5ed1c 100644 | ||
| 16 | --- a/tools/qmake/mkspecs/features/functions.prf | ||
| 17 | +++ b/tools/qmake/mkspecs/features/functions.prf | ||
| 18 | @@ -5,6 +5,12 @@ defineTest(isPlatformSupported) { | ||
| 19 | return(false) | ||
| 20 | } | ||
| 21 | gcc:!clang:!isGCCVersionSupported(): return(false) | ||
| 22 | + } else:linux-oe-g++* { | ||
| 23 | + !gcc:!clang { | ||
| 24 | + skipBuild("Qt WebEngine on Linux requires clang or GCC.") | ||
| 25 | + return(false) | ||
| 26 | + } | ||
| 27 | + gcc:!clang:!isGCCVersionSupported(): return(false) | ||
| 28 | } else:win32 { | ||
| 29 | winrt { | ||
| 30 | skipBuild("WinRT is not supported.") | ||
diff --git a/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch b/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch deleted file mode 100644 index d10ddf7f..00000000 --- a/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | From 6ed60f35761ab268004727be544e9ccf70594211 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | ||
| 3 | Date: Fri, 25 Dec 2015 18:16:05 -0200 | ||
| 4 | Subject: [PATCH] WebEngine qquickwebengineview_p_p.h add include QColor | ||
| 5 | |||
| 6 | Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> | ||
| 7 | --- | ||
| 8 | src/webengine/api/qquickwebengineview_p_p.h | 2 ++ | ||
| 9 | 1 file changed, 2 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h | ||
| 12 | index f13bfd0..0e12244 100644 | ||
| 13 | --- a/src/webengine/api/qquickwebengineview_p_p.h | ||
| 14 | +++ b/src/webengine/api/qquickwebengineview_p_p.h | ||
| 15 | @@ -60,6 +60,8 @@ | ||
| 16 | #include <QString> | ||
| 17 | #include <QtCore/qcompilerdetection.h> | ||
| 18 | #include <QtGui/qaccessibleobject.h> | ||
| 19 | +#include <QColor> | ||
| 20 | + | ||
| 21 | |||
| 22 | namespace QtWebEngineCore { | ||
| 23 | class WebContentsAdapter; | ||
diff --git a/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch b/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch deleted file mode 100644 index 27bd141d..00000000 --- a/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | From 4105c12d6f91171934f60b4dbb74b1ca7a9a3eb2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | ||
| 3 | Date: Thu, 24 Dec 2015 15:59:51 -0200 | ||
| 4 | Subject: [PATCH] Include dependency to QCoreApplication::translate() | ||
| 5 | |||
| 6 | Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> | ||
| 7 | --- | ||
| 8 | src/core/media_capture_devices_dispatcher.h | 2 ++ | ||
| 9 | 1 file changed, 2 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/src/core/media_capture_devices_dispatcher.h b/src/core/media_capture_devices_dispatcher.h | ||
| 12 | index b13a9da..8a54cce 100644 | ||
| 13 | --- a/src/core/media_capture_devices_dispatcher.h | ||
| 14 | +++ b/src/core/media_capture_devices_dispatcher.h | ||
| 15 | @@ -46,6 +46,8 @@ | ||
| 16 | #include <map> | ||
| 17 | #include <QtCore/qcompilerdetection.h> | ||
| 18 | |||
| 19 | +#include <QCoreApplication> | ||
| 20 | + | ||
| 21 | #include "web_contents_adapter_client.h" | ||
| 22 | |||
| 23 | #include "base/callback.h" | ||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 13777517..133bd0f0 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
| @@ -101,21 +101,16 @@ RDEPENDS_${PN}-examples += " \ | |||
| 101 | qtdeclarative-qmlplugins \ | 101 | qtdeclarative-qmlplugins \ |
| 102 | " | 102 | " |
| 103 | 103 | ||
| 104 | QT_MODULE_BRANCH_CHROMIUM = "55-based" | 104 | QT_MODULE_BRANCH_CHROMIUM = "56-based" |
| 105 | 105 | ||
| 106 | SRC_URI += " \ | 106 | SRC_URI += " \ |
| 107 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ | 107 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ |
| 108 | file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \ | ||
| 109 | file://0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch \ | ||
| 110 | file://0003-functions.prf-allow-build-for-linux-oe-g-platform.patch \ | ||
| 111 | file://0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \ | ||
| 112 | file://0005-Include-dependency-to-QCoreApplication-translate.patch \ | ||
| 113 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ | ||
| 114 | file://0001-Force-host-toolchain-configuration.patch \ | 108 | file://0001-Force-host-toolchain-configuration.patch \ |
| 109 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ | ||
| 115 | " | 110 | " |
| 116 | 111 | ||
| 117 | SRCREV_qtwebengine = "29afdb0a34e425728ccf85b8421e9b1aadb22f45" | 112 | SRCREV_qtwebengine = "140d12802c9ebc54f5816fbf1a410c5bdc730ec6" |
| 118 | SRCREV_chromium = "049134677a607781ab9508e7b769b2055d714543" | 113 | SRCREV_chromium = "8d882ead843178d1ba30f0d80d722e147788e6d1" |
| 119 | SRCREV = "${SRCREV_qtwebengine}" | 114 | SRCREV = "${SRCREV_qtwebengine}" |
| 120 | 115 | ||
| 121 | SRCREV_FORMAT = "qtwebengine_chromium" | 116 | SRCREV_FORMAT = "qtwebengine_chromium" |
