diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-03-24 15:30:09 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-03-29 21:59:38 +0300 |
commit | 7d49e81ca5fcd639aea6f5e2e24677dbc90f4c17 (patch) | |
tree | 99f2a52e1415e25def9e4958e5cc29a9abcbddd5 | |
parent | 2c08094d7553c087b8a16955a8da8a9f7b3cdc66 (diff) | |
parent | ff073f04109900fc07bf81e2f1df63c626caf342 (diff) | |
download | meta-qt5-7d49e81ca5fcd639aea6f5e2e24677dbc90f4c17.tar.gz |
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9
* upstream/master:
nativesdk-qtbase: pass -no-icu for deterministic builds
qtwebengine: show progress for do_compile
packagegroup-qt5-toolchain-target: add qtquickcontrols2 package
qtwebengine: add commercial license
qtbase-native; do not build qdbuscpp2xml and qdbusxml2cpp bootstrapped
packagegroup-qt5-toolchain-target: Add QtSerialBus to meta-toolchain-qt5.
qtbase: PACKAGECONFIG[gtk] change gtk+ -> gtk+3 in dependencies
qtbase: remove absolute binary paths from mkspec files
qtbase-native: nativesdk-qtbase: remove patch that breaks mkspec setting for SDK
Change-Id: I99806099ccf7af78d61cba2df96b436cea76ddac
-rwxr-xr-x | recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb | 5 | ||||
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0012-qdbuscpp2xml.pro-do-not-build-with-bootstrapped-depe.patch | 79 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 6 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 4 |
6 files changed, 94 insertions, 2 deletions
diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb index 1521dbfa..234cde8c 100755 --- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb +++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb | |||
@@ -83,6 +83,8 @@ RDEPENDS_${PN} += " \ | |||
83 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtsensors-qmlplugins', '', d)} \ | 83 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtsensors-qmlplugins', '', d)} \ |
84 | qtserialport-dev \ | 84 | qtserialport-dev \ |
85 | qtserialport-mkspecs \ | 85 | qtserialport-mkspecs \ |
86 | qtserialbus-dev \ | ||
87 | qtserialbus-mkspecs \ | ||
86 | qtsvg-dev \ | 88 | qtsvg-dev \ |
87 | qtsvg-mkspecs \ | 89 | qtsvg-mkspecs \ |
88 | qtsvg-plugins \ | 90 | qtsvg-plugins \ |
@@ -106,6 +108,9 @@ RDEPENDS_${PN} += " \ | |||
106 | qtxmlpatterns-dev \ | 108 | qtxmlpatterns-dev \ |
107 | qtxmlpatterns-mkspecs \ | 109 | qtxmlpatterns-mkspecs \ |
108 | qttranslations-qtxmlpatterns \ | 110 | qttranslations-qtxmlpatterns \ |
111 | qtquickcontrols2 \ | ||
112 | qtquickcontrols2-dev \ | ||
113 | qtquickcontrols2-mkspecs \ | ||
109 | " | 114 | " |
110 | 115 | ||
111 | RRECOMMENDS_${PN} += " \ | 116 | RRECOMMENDS_${PN} += " \ |
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 3032c8f0..0788794b 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -115,6 +115,7 @@ do_configure() { | |||
115 | -no-openssl \ | 115 | -no-openssl \ |
116 | -no-xcb \ | 116 | -no-xcb \ |
117 | -no-feature-bearermanagement \ | 117 | -no-feature-bearermanagement \ |
118 | -no-icu \ | ||
118 | -verbose \ | 119 | -verbose \ |
119 | -release \ | 120 | -release \ |
120 | -prefix ${OE_QMAKE_PATH_PREFIX} \ | 121 | -prefix ${OE_QMAKE_PATH_PREFIX} \ |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index b3351c7a..32c59498 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -32,6 +32,7 @@ SRC_URI += "\ | |||
32 | # common for qtbase-native and nativesdk-qtbase | 32 | # common for qtbase-native and nativesdk-qtbase |
33 | SRC_URI += " \ | 33 | SRC_URI += " \ |
34 | file://0011-Always-build-uic.patch \ | 34 | file://0011-Always-build-uic.patch \ |
35 | file://0012-qdbuscpp2xml.pro-do-not-build-with-bootstrapped-depe.patch \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | CLEANBROKEN = "1" | 38 | CLEANBROKEN = "1" |
diff --git a/recipes-qt/qt5/qtbase/0012-qdbuscpp2xml.pro-do-not-build-with-bootstrapped-depe.patch b/recipes-qt/qt5/qtbase/0012-qdbuscpp2xml.pro-do-not-build-with-bootstrapped-depe.patch new file mode 100644 index 00000000..e72601ca --- /dev/null +++ b/recipes-qt/qt5/qtbase/0012-qdbuscpp2xml.pro-do-not-build-with-bootstrapped-depe.patch | |||
@@ -0,0 +1,79 @@ | |||
1 | From 86ae0ce931edbe0ac30cfe5f94f681f1d055fdb0 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Mon, 6 Mar 2017 11:50:38 +0100 | ||
4 | Subject: [PATCH] qdbuscpp2xml.pro: do not build with bootstrapped | ||
5 | dependenciies | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
13 | --- | ||
14 | src/src.pro | 9 ++------- | ||
15 | src/tools/qdbuscpp2xml/qdbuscpp2xml.pro | 3 +-- | ||
16 | src/tools/qdbusxml2cpp/qdbusxml2cpp.pro | 5 +---- | ||
17 | 3 files changed, 4 insertions(+), 13 deletions(-) | ||
18 | |||
19 | diff --git a/src/src.pro b/src/src.pro | ||
20 | index 90d7e2b..0aaf604 100644 | ||
21 | --- a/src/src.pro | ||
22 | +++ b/src/src.pro | ||
23 | @@ -4,9 +4,6 @@ QT_FOR_CONFIG += gui-private | ||
24 | include($$OUT_PWD/corelib/qtcore-config.pri) | ||
25 | include($$OUT_PWD/gui/qtgui-config.pri) | ||
26 | |||
27 | -force_bootstrap|!qtConfig(commandlineparser): \ | ||
28 | - CONFIG += force_dbus_bootstrap | ||
29 | - | ||
30 | src_qtzlib.file = $$PWD/corelib/qtzlib.pro | ||
31 | src_qtzlib.target = sub-zlib | ||
32 | |||
33 | @@ -37,13 +34,11 @@ src_tools_bootstrap_dbus.depends = src_tools_bootstrap | ||
34 | |||
35 | src_tools_qdbusxml2cpp.subdir = tools/qdbusxml2cpp | ||
36 | src_tools_qdbusxml2cpp.target = sub-qdbusxml2cpp | ||
37 | -force_dbus_bootstrap: src_tools_qdbusxml2cpp.depends = src_tools_bootstrap_dbus | ||
38 | -else: src_tools_qdbusxml2cpp.depends = src_dbus | ||
39 | +src_tools_qdbusxml2cpp.depends = src_dbus | ||
40 | |||
41 | src_tools_qdbuscpp2xml.subdir = tools/qdbuscpp2xml | ||
42 | src_tools_qdbuscpp2xml.target = sub-qdbuscpp2xml | ||
43 | -force_bootstrap: src_tools_qdbuscpp2xml.depends = src_tools_bootstrap_dbus | ||
44 | -else: src_tools_qdbuscpp2xml.depends = src_dbus | ||
45 | +src_tools_qdbuscpp2xml.depends = src_dbus | ||
46 | |||
47 | src_winmain.subdir = $$PWD/winmain | ||
48 | src_winmain.target = sub-winmain | ||
49 | diff --git a/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro b/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro | ||
50 | index 5ac3159..74c507c 100644 | ||
51 | --- a/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro | ||
52 | +++ b/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro | ||
53 | @@ -1,7 +1,6 @@ | ||
54 | option(host_build) | ||
55 | QT = core-private | ||
56 | -force_bootstrap: QT += bootstrap_dbus-private | ||
57 | -else: QT += dbus-private | ||
58 | +QT += dbus-private | ||
59 | DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_FOREACH | ||
60 | QMAKE_CXXFLAGS += $$QT_HOST_CFLAGS_DBUS | ||
61 | |||
62 | diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro b/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro | ||
63 | index d9ee5de..e891103 100644 | ||
64 | --- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro | ||
65 | +++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro | ||
66 | @@ -1,9 +1,6 @@ | ||
67 | option(host_build) | ||
68 | -!force_bootstrap:!qtConfig(commandlineparser): \ | ||
69 | - CONFIG += force_bootstrap | ||
70 | QT = core-private | ||
71 | -force_bootstrap: QT += bootstrap_dbus-private | ||
72 | -else: QT += dbus-private | ||
73 | +QT += dbus-private | ||
74 | DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_FOREACH | ||
75 | QMAKE_CXXFLAGS += $$QT_HOST_CFLAGS_DBUS | ||
76 | |||
77 | -- | ||
78 | 2.9.3 | ||
79 | |||
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 64e51883..a6375a6c 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -105,7 +105,7 @@ PACKAGECONFIG[evdev] = "-evdev,-no-evdev" | |||
105 | PACKAGECONFIG[mtdev] = "-mtdev,-no-mtdev,mtdev" | 105 | PACKAGECONFIG[mtdev] = "-mtdev,-no-mtdev,mtdev" |
106 | # depends on glib | 106 | # depends on glib |
107 | PACKAGECONFIG[fontconfig] = "-fontconfig,-no-fontconfig,fontconfig" | 107 | PACKAGECONFIG[fontconfig] = "-fontconfig,-no-fontconfig,fontconfig" |
108 | PACKAGECONFIG[gtk] = "-gtk,-no-gtk,gtk+" | 108 | PACKAGECONFIG[gtk] = "-gtk,-no-gtk,gtk+3" |
109 | PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb" | 109 | PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb" |
110 | PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" | 110 | PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" |
111 | PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl" | 111 | PACKAGECONFIG[kms] = "-kms,-no-kms,drm virtual/egl" |
@@ -171,6 +171,10 @@ do_install_append() { | |||
171 | sed -i -e 's|${STAGING_DIR_NATIVE}${prefix_native}|$$[QT_HOST_PREFIX/get]|g' \ | 171 | sed -i -e 's|${STAGING_DIR_NATIVE}${prefix_native}|$$[QT_HOST_PREFIX/get]|g' \ |
172 | -e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \ | 172 | -e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \ |
173 | ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/*.pri | 173 | ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/*.pri |
174 | |||
175 | # Fix up absolute paths in scripts | ||
176 | grep -lr /usr/bin/perl ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/ | \ | ||
177 | xargs -r sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' | ||
174 | } | 178 | } |
175 | 179 | ||
176 | # mkspecs have mac specific scripts that depend on perl and bash | 180 | # mkspecs have mac specific scripts that depend on perl and bash |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 133bd0f0..60815e7f 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "QtWebEngine combines the power of Chromium and Qt" | 1 | SUMMARY = "QtWebEngine combines the power of Chromium and Qt" |
2 | 2 | ||
3 | # Read http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ | 3 | # Read http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ |
4 | LICENSE = "LGPL-3.0 & BSD & GPL-3.0 & The-Qt-Company-GPL-Exception-1.0" | 4 | LICENSE = "BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( LGPL-3.0 | The-Qt-Company-Commercial )" |
5 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
6 | file://src/core/browser_context_qt.cpp;md5=b5193b7d68699260f3b40b201365c8d2;beginline=1;endline=38 \ | 6 | file://src/core/browser_context_qt.cpp;md5=b5193b7d68699260f3b40b201365c8d2;beginline=1;endline=38 \ |
7 | file://src/3rdparty/chromium/LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d \ | 7 | file://src/3rdparty/chromium/LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d \ |
@@ -87,6 +87,8 @@ do_configure() { | |||
87 | ${EXTRA_QMAKEVARS_CONFIGURE} | 87 | ${EXTRA_QMAKEVARS_CONFIGURE} |
88 | } | 88 | } |
89 | 89 | ||
90 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" | ||
91 | |||
90 | do_install_append() { | 92 | do_install_append() { |
91 | sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@[^ ]*${B}[^ ]* @@g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc | 93 | sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@[^ ]*${B}[^ ]* @@g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc |
92 | } | 94 | } |