summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2016-02-22 09:14:48 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2016-02-22 12:47:16 +0200
commitddbe177dae46353f08f7326a11d3b3fd5a1f8435 (patch)
tree89ceddbc93150e1d6fe7dccb15fea1ec59b3c839
parent72ac998cef3306e6e4d2f3760af1c21cedfc330f (diff)
parent52b0e06d02e7f43cf54f447e0487c40c2c1fed00 (diff)
downloadmeta-qt5-ddbe177dae46353f08f7326a11d3b3fd5a1f8435.tar.gz
Merge remote-tracking branch 'meta-qt5/master' into master-mingw
* meta-qt5/master: qttransltations: Add PACKAGE for qtwebengine and qtquickcontrols2 qtwebengine: Hide textrel QA warning until there is proper fix for it qtwebengine: Fix QA warning qtwebkit: Fix QA Warning examples: fix few thousands host-user-contaminated QA warnings qtbase: Don't install libQt* files twice qtbase: Resolve QA warning about /bin/bash dependency qtbase: Fix WORKDIR references in pkg-config files qt5: upgrade to latest revisions in 5.6 branch (5.6 RC) qmake5_base: delete *.la files qt5: add Qml support to lupdate qt3d: support qgltf in native and nativesdk builds qt5: use common PACKAGECONFIG to build examples qt5-git.inc: Ensure we export the SRCREV as the module name qtbase: Fix installation of fonts and libraries Conflicts: classes/qmake5_base.bbclass recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qt3d_git.bb recipes-qt/qt5/qt5-git.inc recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtcanvas3d_git.bb recipes-qt/qt5/qtconnectivity_git.bb recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtenginio_git.bb recipes-qt/qt5/qtgraphicaleffects_git.bb recipes-qt/qt5/qtimageformats_git.bb recipes-qt/qt5/qtlocation_git.bb recipes-qt/qt5/qtmultimedia_git.bb recipes-qt/qt5/qtquick1_git.bb recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtscript_git.bb recipes-qt/qt5/qtsensors_git.bb recipes-qt/qt5/qtserialport_git.bb recipes-qt/qt5/qtsvg_git.bb recipes-qt/qt5/qtsystems_git.bb recipes-qt/qt5/qttools_git.bb recipes-qt/qt5/qttranslations_git.bb recipes-qt/qt5/qtwayland-native_git.bb recipes-qt/qt5/qtwayland_git.bb recipes-qt/qt5/qtwebchannel_git.bb recipes-qt/qt5/qtwebengine_git.bb recipes-qt/qt5/qtwebkit_git.bb recipes-qt/qt5/qtxmlpatterns_git.bb Change-Id: I0a7763f973c32df796cb3e37c753ddbfe43c4521
-rw-r--r--classes/qmake5_base.bbclass8
-rw-r--r--recipes-qt/demo-extrafiles/qt5-demo-extrafiles.bb6
-rw-r--r--recipes-qt/examples/cinematicexperience_1.0.bb2
-rw-r--r--recipes-qt/examples/qt5everywheredemo_1.0.bb4
-rw-r--r--recipes-qt/examples/qt5ledscreen_1.0.bb4
-rw-r--r--recipes-qt/examples/qt5nmapcarousedemo_1.0.bb6
-rw-r--r--recipes-qt/examples/qt5nmapper_1.0.bb6
-rw-r--r--recipes-qt/examples/qtsmarthome_1.0.bb6
-rw-r--r--recipes-qt/examples/quitbattery_1.0.0.bb4
-rw-r--r--recipes-qt/examples/quitindicators_1.0.1.bb4
-rw-r--r--recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb2
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb24
-rw-r--r--recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch31
-rw-r--r--recipes-qt/qt5/qt3d_git.bb16
-rw-r--r--recipes-qt/qt5/qt5-git.inc10
-rw-r--r--recipes-qt/qt5/qt5.inc3
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb2
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch22
-rw-r--r--recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0006-QOpenGLPaintDevice-sub-area-support.patch18
-rw-r--r--recipes-qt/qt5/qtbase/0007-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch6
-rw-r--r--recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch18
-rw-r--r--recipes-qt/qt5/qtbase/0009-Always-build-uic.patch10
-rw-r--r--recipes-qt/qt5/qtbase_git.bb6
-rw-r--r--recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch4
-rw-r--r--recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch4
-rw-r--r--recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch8
-rw-r--r--recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch4
-rw-r--r--recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch4
-rw-r--r--recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch4
-rw-r--r--recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch4
-rw-r--r--recipes-qt/qt5/qttools/0004-linguist-tools-cmake-allow-overriding-the-location-f.patch4
-rw-r--r--recipes-qt/qt5/qttools_git.bb3
-rw-r--r--recipes-qt/qt5/qttranslations_git.bb5
-rw-r--r--recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch4
-rw-r--r--recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch4
-rw-r--r--recipes-qt/qt5/qtwayland_git.bb2
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch8
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch10
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch (renamed from recipes-qt/qt5/qtwebengine/0001-chromium-jpeg_codec.cc_Change-false-to-FALSE-and-1-to-TRUE.patch)8
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch10
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch32
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch (renamed from recipes-qt/qt5/qtwebengine/0003-WebEngine-qquickwebengineview_p_p.h-add-inc-QColor.patch)10
-rw-r--r--recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch (renamed from recipes-qt/qt5/qtwebengine/0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch)6
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb10
-rw-r--r--recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch29
-rw-r--r--recipes-qt/qt5/qtwebkit-examples_git.bb6
-rw-r--r--recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch4
-rw-r--r--recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch4
-rw-r--r--recipes-qt/qt5/qtwebkit/0003-Exclude-backtrace-API-for-non-glibc-libraries.patch4
-rw-r--r--recipes-qt/qt5/qtwebkit_git.bb6
-rw-r--r--recipes-qt/qt5/qtwebsockets_git.bb2
-rw-r--r--recipes-qt/qt5/qtx11extras_git.bb2
53 files changed, 225 insertions, 208 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
index 13bb0abc..cbee35f3 100644
--- a/classes/qmake5_base.bbclass
+++ b/classes/qmake5_base.bbclass
@@ -173,6 +173,7 @@ qmake5_base_do_configure () {
173 173
174qmake5_base_native_do_install() { 174qmake5_base_native_do_install() {
175 oe_runmake install INSTALL_ROOT=${D} 175 oe_runmake install INSTALL_ROOT=${D}
176 find "${D}" -ignore_readdir_race -name "*.la" -delete
176} 177}
177 178
178qmake5_base_fix_install() { 179qmake5_base_fix_install() {
@@ -192,11 +193,12 @@ qmake5_base_fix_install() {
192 193
193qmake5_base_do_install() { 194qmake5_base_do_install() {
194 # Fix install paths for all 195 # Fix install paths for all
195 find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" 196 find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g"
196 find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" 197 find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g"
197 find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE},(INSTALL_ROOT),g" 198 find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE},(INSTALL_ROOT),g"
198 199
199 oe_runmake install INSTALL_ROOT=${D} 200 oe_runmake install INSTALL_ROOT=${D}
201 find "${D}" -ignore_readdir_race -name "*.la" -delete
200 202
201 # everything except HostData and HostBinaries is prefixed with sysroot value, 203 # everything except HostData and HostBinaries is prefixed with sysroot value,
202 # but we cannot remove sysroot override, because that's useful for pkg-config etc 204 # but we cannot remove sysroot override, because that's useful for pkg-config etc
diff --git a/recipes-qt/demo-extrafiles/qt5-demo-extrafiles.bb b/recipes-qt/demo-extrafiles/qt5-demo-extrafiles.bb
index 934a30bb..0d65ba13 100644
--- a/recipes-qt/demo-extrafiles/qt5-demo-extrafiles.bb
+++ b/recipes-qt/demo-extrafiles/qt5-demo-extrafiles.bb
@@ -61,9 +61,9 @@ do_install () {
61 install -m 0644 ${WORKDIR}/quitindicators.png ${D}/${datadir}/pixmaps 61 install -m 0644 ${WORKDIR}/quitindicators.png ${D}/${datadir}/pixmaps
62 install -m 0644 ${WORKDIR}/quitindicators.desktop ${D}/${datadir}/applications 62 install -m 0644 ${WORKDIR}/quitindicators.desktop ${D}/${datadir}/applications
63 install -m 0644 ${WORKDIR}/qt5basket.png ${D}/${datadir}/pixmaps 63 install -m 0644 ${WORKDIR}/qt5basket.png ${D}/${datadir}/pixmaps
64 install -m 0644 ${WORKDIR}/qt5basket.desktop ${D}/${datadir}/applications 64 install -m 0644 ${WORKDIR}/qt5basket.desktop ${D}/${datadir}/applications
65 install -m 0644 ${WORKDIR}/qt5nesting.png ${D}/${datadir}/pixmaps 65 install -m 0644 ${WORKDIR}/qt5nesting.png ${D}/${datadir}/pixmaps
66 install -m 0644 ${WORKDIR}/qt5nesting.desktop ${D}/${datadir}/applications 66 install -m 0644 ${WORKDIR}/qt5nesting.desktop ${D}/${datadir}/applications
67 install -m 0644 ${WORKDIR}/qt5solarsystem.png ${D}/${datadir}/pixmaps 67 install -m 0644 ${WORKDIR}/qt5solarsystem.png ${D}/${datadir}/pixmaps
68 install -m 0644 ${WORKDIR}/qt5solarsystem.desktop ${D}/${datadir}/applications 68 install -m 0644 ${WORKDIR}/qt5solarsystem.desktop ${D}/${datadir}/applications
69} 69}
diff --git a/recipes-qt/examples/cinematicexperience_1.0.bb b/recipes-qt/examples/cinematicexperience_1.0.bb
index 116127fc..0c535730 100644
--- a/recipes-qt/examples/cinematicexperience_1.0.bb
+++ b/recipes-qt/examples/cinematicexperience_1.0.bb
@@ -26,7 +26,7 @@ require recipes-qt/qt5/qt5.inc
26do_install() { 26do_install() {
27 install -d ${D}${datadir}/${P} 27 install -d ${D}${datadir}/${P}
28 install -m 0755 ${B}/Qt5_CinematicExperience ${D}${datadir}/${P} 28 install -m 0755 ${B}/Qt5_CinematicExperience ${D}${datadir}/${P}
29 cp -a ${S}/content ${D}${datadir}/${P} 29 cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P}
30 install -m 0644 ${S}/Qt5_CinematicExperience.qml ${D}${datadir}/${P} 30 install -m 0644 ${S}/Qt5_CinematicExperience.qml ${D}${datadir}/${P}
31 31
32 install -d ${D}${bindir} 32 install -d ${D}${bindir}
diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb b/recipes-qt/examples/qt5everywheredemo_1.0.bb
index 057aaaa9..ab2bbd4a 100644
--- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
+++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
@@ -15,8 +15,8 @@ require recipes-qt/qt5/qt5.inc
15 15
16do_install() { 16do_install() {
17 install -d ${D}${datadir}/${P} 17 install -d ${D}${datadir}/${P}
18 install -m 0755 ${B}/QtDemo ${D}${datadir}/${P} 18 install -m 0755 ${B}/QtDemo ${D}${datadir}/${P}
19 cp -a ${S}/qml ${D}${datadir}/${P} 19 cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P}
20} 20}
21 21
22FILES_${PN}-dbg += "${datadir}/${P}/.debug" 22FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/examples/qt5ledscreen_1.0.bb b/recipes-qt/examples/qt5ledscreen_1.0.bb
index e16c557e..e2b994bc 100644
--- a/recipes-qt/examples/qt5ledscreen_1.0.bb
+++ b/recipes-qt/examples/qt5ledscreen_1.0.bb
@@ -14,8 +14,8 @@ S = "${WORKDIR}/ledscreen_1.0"
14 14
15do_install() { 15do_install() {
16 install -d ${D}${datadir}/${P} 16 install -d ${D}${datadir}/${P}
17 #install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P} 17 #install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P}
18 cp -ar ${S}/* ${D}${datadir}/${P} 18 cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${P}
19} 19}
20 20
21FILES_${PN}-dbg += "${datadir}/${P}/.debug" 21FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb b/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
index 7edf7275..145f7974 100644
--- a/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
+++ b/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
@@ -16,9 +16,9 @@ require recipes-qt/qt5/qt5.inc
16 16
17do_install() { 17do_install() {
18 install -d ${D}${datadir}/${P} 18 install -d ${D}${datadir}/${P}
19 install -m 0755 ${B}/Qt5_NMap_CarouselDemo ${D}${datadir}/${P} 19 install -m 0755 ${B}/Qt5_NMap_CarouselDemo ${D}${datadir}/${P}
20 cp ${S}/Qt5_NMap_CarouselDemo.qml ${D}${datadir}/${P} 20 cp ${S}/Qt5_NMap_CarouselDemo.qml ${D}${datadir}/${P}
21 cp -a ${S}/content ${D}${datadir}/${P} 21 cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P}
22} 22}
23 23
24FILES_${PN}-dbg += "${datadir}/${P}/.debug" 24FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/examples/qt5nmapper_1.0.bb b/recipes-qt/examples/qt5nmapper_1.0.bb
index 77cb067c..762ad20b 100644
--- a/recipes-qt/examples/qt5nmapper_1.0.bb
+++ b/recipes-qt/examples/qt5nmapper_1.0.bb
@@ -17,9 +17,9 @@ require recipes-qt/qt5/qt5.inc
17 17
18do_install() { 18do_install() {
19 install -d ${D}${datadir}/${P} 19 install -d ${D}${datadir}/${P}
20 install -m 0755 ${B}/Qt5_NMapper ${D}${datadir}/${P} 20 install -m 0755 ${B}/Qt5_NMapper ${D}${datadir}/${P}
21 cp ${S}/Qt5_NMapper.qml ${D}${datadir}/${P} 21 cp ${S}/Qt5_NMapper.qml ${D}${datadir}/${P}
22 cp -a ${S}/content ${D}${datadir}/${P} 22 cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P}
23} 23}
24 24
25FILES_${PN}-dbg += "${datadir}/${P}/.debug" 25FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/examples/qtsmarthome_1.0.bb b/recipes-qt/examples/qtsmarthome_1.0.bb
index 944c4dc2..da1bbdf3 100644
--- a/recipes-qt/examples/qtsmarthome_1.0.bb
+++ b/recipes-qt/examples/qtsmarthome_1.0.bb
@@ -17,9 +17,9 @@ require recipes-qt/qt5/qt5.inc
17 17
18do_install() { 18do_install() {
19 install -d ${D}${datadir}/${P} 19 install -d ${D}${datadir}/${P}
20 install -m 0755 ${B}/smarthome ${D}${datadir}/${P} 20 install -m 0755 ${B}/smarthome ${D}${datadir}/${P}
21 cp -a ${S}/qml ${D}${datadir}/${P} 21 cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P}
22 cp -a ${S}/components ${D}${datadir}/${P} 22 cp -R --no-dereference --preserve=mode,links ${S}/components ${D}${datadir}/${P}
23} 23}
24 24
25FILES_${PN}-dbg += "${datadir}/${P}/.debug" 25FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/examples/quitbattery_1.0.0.bb b/recipes-qt/examples/quitbattery_1.0.0.bb
index ea218d72..6c2d3d11 100644
--- a/recipes-qt/examples/quitbattery_1.0.0.bb
+++ b/recipes-qt/examples/quitbattery_1.0.0.bb
@@ -16,8 +16,8 @@ require recipes-qt/qt5/qt5.inc
16 16
17do_install() { 17do_install() {
18 install -d ${D}${datadir}/${P} 18 install -d ${D}${datadir}/${P}
19 install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P} 19 install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P}
20 cp -a ${S}/qml ${D}${datadir}/${P} 20 cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P}
21} 21}
22 22
23FILES_${PN}-dbg += "${datadir}/${P}/.debug" 23FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/examples/quitindicators_1.0.1.bb b/recipes-qt/examples/quitindicators_1.0.1.bb
index 19a861aa..3e42d047 100644
--- a/recipes-qt/examples/quitindicators_1.0.1.bb
+++ b/recipes-qt/examples/quitindicators_1.0.1.bb
@@ -15,8 +15,8 @@ require recipes-qt/qt5/qt5.inc
15 15
16do_install() { 16do_install() {
17 install -d ${D}${datadir}/${P} 17 install -d ${D}${datadir}/${P}
18 install -m 0755 ${B}/QUItIndicators ${D}${datadir}/${P} 18 install -m 0755 ${B}/QUItIndicators ${D}${datadir}/${P}
19 cp -a ${S}/qml ${D}${datadir}/${P} 19 cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P}
20} 20}
21 21
22FILES_${PN}-dbg += "${datadir}/${P}/.debug" 22FILES_${PN}-dbg += "${datadir}/${P}/.debug"
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb
index 4cc0b930..71746f03 100644
--- a/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb
+++ b/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb
@@ -9,6 +9,6 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
9 9
10RDEPENDS_${PN} += " \ 10RDEPENDS_${PN} += " \
11 nativesdk-packagegroup-sdk-host \ 11 nativesdk-packagegroup-sdk-host \
12 nativesdk-qttools \ 12 nativesdk-qttools-tools \
13 nativesdk-qtbase-tools \ 13 nativesdk-qtbase-tools \
14" 14"
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 754fde35..f70179b1 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -50,6 +50,7 @@ PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
50FILES_${PN}-tools-dev = " \ 50FILES_${PN}-tools-dev = " \
51 ${includedir} \ 51 ${includedir} \
52 ${FILES_SOLIBSDEV} ${libdir}/*.la \ 52 ${FILES_SOLIBSDEV} ${libdir}/*.la \
53 ${libdir}/*.prl \
53 ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ 54 ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
54 ${OE_QMAKE_PATH_LIBS}/*.prl \ 55 ${OE_QMAKE_PATH_LIBS}/*.prl \
55" 56"
@@ -193,36 +194,17 @@ do_configure() {
193 ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_QTCONF} ${S} -o Makefile || die "Configuring qt with qmake failed. EXTRA_OECONF was ${EXTRA_OECONF}" 194 ${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_QTCONF} ${S} -o Makefile || die "Configuring qt with qmake failed. EXTRA_OECONF was ${EXTRA_OECONF}"
194} 195}
195 196
196# Set the EXTRA_QTLIB variable to e.g. Xml, in order to not remove libQt5Xml.so.*
197EXTRA_QTLIB = "Core"
198
199PRESERVE_PATTERN = "libQt5%s.so*"
200PRESERVE_PATTERN_mingw32 = "libQt5%s.a"
201
202python __anonymous () {
203 templibs = ""
204 preservepattern = d.getVar("PRESERVE_PATTERN", True)
205 for e in d.getVar("EXTRA_QTLIB", True).split():
206 templibs = ("%s -not -name '" + preservepattern + "' -and") % (templibs, e)
207 d.setVar("QTLIBSPRESERVE", templibs)
208}
209
210do_install() { 197do_install() {
211 # Fix install paths for all 198 # Fix install paths for all
212 find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g" 199 find . -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g"
213 200
214 oe_runmake install INSTALL_ROOT=${D} 201 oe_runmake install INSTALL_ROOT=${D}
215 202
216 # remove things unused in nativesdk, we need the headers, Qt5Core 203 # remove things unused in nativesdk, we need the headers and libs
217 # and Qt5Bootstrap.
218 rm -rf ${D}${datadir} \ 204 rm -rf ${D}${datadir} \
219 ${D}/${OE_QMAKE_PATH_PLUGINS} \ 205 ${D}/${OE_QMAKE_PATH_PLUGINS} \
220 ${D}${libdir}/cmake \ 206 ${D}${libdir}/cmake \
221 ${D}${libdir}/pkgconfig 207 ${D}${libdir}/pkgconfig
222 find ${D}${libdir} -maxdepth 1 -name 'lib*' -and -not -type d -and \
223 ${QTLIBSPRESERVE} \
224 -not -name 'libQt5Bootstrap.a' \
225 -exec rm '{}' ';'
226 208
227 # Install CMake's toolchain configuration 209 # Install CMake's toolchain configuration
228 mkdir -p ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/ 210 mkdir -p ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/
diff --git a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
new file mode 100644
index 00000000..c9d22231
--- /dev/null
+++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
@@ -0,0 +1,31 @@
1From 778d0c4515bae5bdeb650fb3e6b3e32a73722b51 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 10 Feb 2016 09:02:09 +0200
4Subject: [PATCH] Allow a tools-only build
5
6---
7 qt3d.pro | 7 ++++++-
8 1 file changed, 6 insertions(+), 1 deletion(-)
9
10diff --git a/qt3d.pro b/qt3d.pro
11index a26e76d..263e3c4 100644
12--- a/qt3d.pro
13+++ b/qt3d.pro
14@@ -1,4 +1,4 @@
15-requires(contains(QT_CONFIG, opengl))
16+!tools-only:requires(contains(QT_CONFIG, opengl))
17
18 load(configure)
19 qtCompileTest(assimp)
20@@ -17,3 +17,8 @@ load(qt_parts)
21
22 OTHER_FILES += \
23 sync.profile
24+
25+tools-only {
26+ sub_tools.depends -= sub_src
27+ SUBDIRS = sub_tools
28+}
29--
301.9.1
31
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
index dff99af1..500ebfc1 100644
--- a/recipes-qt/qt5/qt3d_git.bb
+++ b/recipes-qt/qt5/qt3d_git.bb
@@ -8,7 +8,19 @@ LIC_FILES_CHKSUM = " \
8 file://LICENSE.GPL;md5=05832301944453ec79e40ba3c3cfceec \ 8 file://LICENSE.GPL;md5=05832301944453ec79e40ba3c3cfceec \
9" 9"
10 10
11DEPENDS = "qtdeclarative" 11DEPENDS += "qtbase"
12DEPENDS_class-target += "qtdeclarative qt3d-native"
13
14SRC_URI += " \
15 file://0001-Allow-a-tools-only-build.patch \
16 "
17
18PACKAGECONFIG ??= ""
19PACKAGECONFIG_class-native ??= "tools-only"
20PACKAGECONFIG_class-nativesdk ??= "tools-only"
21PACKAGECONFIG[tools-only] = "CONFIG+=tools-only"
22
23EXTRA_QMAKEVARS_PRE += "${EXTRA_OECONF}"
12 24
13FILES_${PN}-qmlplugins += " \ 25FILES_${PN}-qmlplugins += " \
14 ${OE_QMAKE_PATH_QML}/*/*/*.bez \ 26 ${OE_QMAKE_PATH_QML}/*/*/*.bez \
@@ -16,3 +28,5 @@ FILES_${PN}-qmlplugins += " \
16" 28"
17 29
18SRCREV = "190795b1f884620ba8b31d3998ac97107d4f4eb7" 30SRCREV = "190795b1f884620ba8b31d3998ac97107d4f4eb7"
31
32BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
index 16381500..83c3a12b 100644
--- a/recipes-qt/qt5/qt5-git.inc
+++ b/recipes-qt/qt5/qt5-git.inc
@@ -1,4 +1,4 @@
1# Copyright (C) 2012 O.S. Systems Software LTDA. 1# Copyright (C) 2012-2016 O.S. Systems Software LTDA.
2# Copyright (C) 2013-2014 Martin Jansa <martin.jansa@gmail.com> 2# Copyright (C) 2013-2014 Martin Jansa <martin.jansa@gmail.com>
3 3
4QT_MODULE ?= "${BPN}" 4QT_MODULE ?= "${BPN}"
@@ -6,15 +6,9 @@ QT_MODULE_BRANCH ?= "5.6.0"
6 6
7# each module needs to define valid SRCREV 7# each module needs to define valid SRCREV
8SRC_URI = " \ 8SRC_URI = " \
9 ${QT_GIT}/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \ 9 ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \
10" 10"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14PV = "5.6.0+git${SRCPV}" 14PV = "5.6.0+git${SRCPV}"
15
16#LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
17#LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
18# file://LICENSE.LGPLv3;md5=c4fe8c6de4eef597feec6e90ed62e962 \
19# file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
20# file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc
index ce9d976c..70e4b308 100644
--- a/recipes-qt/qt5/qt5.inc
+++ b/recipes-qt/qt5/qt5.inc
@@ -5,6 +5,9 @@ inherit qmake5
5 5
6PACKAGECONFIG_OPENSSL ?= "openssl" 6PACKAGECONFIG_OPENSSL ?= "openssl"
7 7
8PACKAGECONFIG[examples] = ""
9EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'examples', 'QT_BUILD_PARTS+=examples', '', d)}"
10
8# we don't want conflicts with qt4 11# we don't want conflicts with qt4
9OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}" 12OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
10OE_QMAKE_PATH_ARCHDATA = "${OE_QMAKE_PATH_QT_ARCHDATA}" 13OE_QMAKE_PATH_ARCHDATA = "${OE_QMAKE_PATH_QT_ARCHDATA}"
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index 485675a8..75c29e33 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -95,7 +95,7 @@ do_configure_prepend() {
95 95
96do_install() { 96do_install() {
97 # Fix install paths for all 97 # Fix install paths for all
98 find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g" 98 find . -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g"
99 99
100 oe_runmake install INSTALL_ROOT=${D} 100 oe_runmake install INSTALL_ROOT=${D}
101 101
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 b9e41ab5..77bfe31b 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,7 +1,7 @@
1From 729b7873256b11778832c5786dc50fd9ea860a7d Mon Sep 17 00:00:00 2001 1From f35a940471022c31dfd72aa5d1c942ce64ca5a6a Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 15 Apr 2013 04:29:32 +0200 3Date: Mon, 15 Apr 2013 04:29:32 +0200
4Subject: [PATCH 1/9] Add linux-oe-g++ platform 4Subject: [PATCH 01/10] Add linux-oe-g++ platform
5 5
6* This qmake.conf unlike other platforms reads most variables from 6* This qmake.conf unlike other platforms reads most variables from
7 shell environment, because it's easier for qt recipes to export 7 shell environment, because it's easier for qt recipes to export
@@ -52,7 +52,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
52 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 52 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
53 53
54diff --git a/configure b/configure 54diff --git a/configure b/configure
55index 16e8fb4..9897fe6 100755 55index 1473a62..15207bf 100755
56--- a/configure 56--- a/configure
57+++ b/configure 57+++ b/configure
58@@ -342,6 +342,16 @@ getQMakeConf() 58@@ -342,6 +342,16 @@ getQMakeConf()
@@ -120,7 +120,7 @@ index 16e8fb4..9897fe6 100755
120 fi'` 120 fi'`
121 eval "$cmd" 121 eval "$cmd"
122 done 122 done
123@@ -3400,7 +3410,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then 123@@ -3418,7 +3428,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
124 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no 124 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no
125 fi 125 fi
126 126
@@ -129,7 +129,7 @@ index 16e8fb4..9897fe6 100755
129 129
130 TEST_COMPILER=$QMAKE_CONF_COMPILER 130 TEST_COMPILER=$QMAKE_CONF_COMPILER
131 131
132@@ -3457,7 +3467,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then 132@@ -3475,7 +3485,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
133 exit 1 133 exit 1
134 fi 134 fi
135 fi 135 fi
@@ -138,7 +138,7 @@ index 16e8fb4..9897fe6 100755
138 138
139 GCC_MACHINE_DUMP= 139 GCC_MACHINE_DUMP=
140 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac 140 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
141@@ -3958,6 +3968,14 @@ setBootstrapVariable() 141@@ -3976,6 +3986,14 @@ setBootstrapVariable()
142 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" 142 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
143 } 143 }
144 144
@@ -153,7 +153,7 @@ index 16e8fb4..9897fe6 100755
153 # build qmake 153 # build qmake
154 if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 154 if true; then ###[ '!' -f "$outpath/bin/qmake" ];
155 echo "Creating qmake..." 155 echo "Creating qmake..."
156@@ -3996,14 +4014,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 156@@ -4014,14 +4032,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
157 fi 157 fi
158 158
159 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM= 159 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
@@ -174,9 +174,9 @@ index 16e8fb4..9897fe6 100755
174+ setBootstrapEvalVariable QMAKE_LFLAGS 174+ setBootstrapEvalVariable QMAKE_LFLAGS
175+ setBootstrapEvalVariable QMAKE_LFLAGS_GCSECTIONS 175+ setBootstrapEvalVariable QMAKE_LFLAGS_GCSECTIONS
176 176
177 if [ "$CFG_RELEASE_QMAKE" = "yes" ]; then 177 if [ "$CFG_RELEASE_TOOLS" = "yes" ]; then
178 setBootstrapVariable QMAKE_CFLAGS_RELEASE 178 setBootstrapVariable QMAKE_CFLAGS_RELEASE
179@@ -4052,6 +4070,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 179@@ -4070,6 +4088,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
180 \"\$(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp\" \ 180 \"\$(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp\" \
181 \"\$(SOURCE_PATH)/src/corelib/tools/qlocale_unix.cpp\"" 181 \"\$(SOURCE_PATH)/src/corelib/tools/qlocale_unix.cpp\""
182 EXEEXT= 182 EXEEXT=
@@ -205,7 +205,7 @@ index 6b37a04..dcf6025 100644
205 write_file($$QMAKE_CONFIG_LOG, msg, append) 205 write_file($$QMAKE_CONFIG_LOG, msg, append)
206diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf 206diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf
207new file mode 100644 207new file mode 100644
208index 0000000..d0a4166 208index 0000000..311ba04
209--- /dev/null 209--- /dev/null
210+++ b/mkspecs/linux-oe-g++/qmake.conf 210+++ b/mkspecs/linux-oe-g++/qmake.conf
211@@ -0,0 +1,42 @@ 211@@ -0,0 +1,42 @@
@@ -358,5 +358,5 @@ index 0000000..dd12003
358+ 358+
359+#endif // QPLATFORMDEFS_H 359+#endif // QPLATFORMDEFS_H
360-- 360--
3612.6.2 3612.7.1
362 362
diff --git a/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch
index a3470f63..c93c6f5d 100644
--- a/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch
+++ b/recipes-qt/qt5/qtbase/0005-configure-bump-path-length-from-256-to-512-character.patch
@@ -1,7 +1,7 @@
1From 9f80241e140b0e22d58aa2ac6ef13a277c38fe9f Mon Sep 17 00:00:00 2001 1From 8bc8e96a6ad707c5f399c307e519444a1fafc4fe Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Tue, 25 Aug 2015 10:05:15 -0400 3Date: Tue, 25 Aug 2015 10:05:15 -0400
4Subject: [PATCH 5/9] configure: bump path length from 256 to 512 characters 4Subject: [PATCH 05/10] configure: bump path length from 256 to 512 characters
5 5
6Increase the path length that gets hardcoded into generated config.cpp file 6Increase the path length that gets hardcoded into generated config.cpp file
7from 256 to 512 characters, as nativesdk path can be quite long. 7from 256 to 512 characters, as nativesdk path can be quite long.
@@ -14,10 +14,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
14 1 file changed, 3 insertions(+), 3 deletions(-) 14 1 file changed, 3 insertions(+), 3 deletions(-)
15 15
16diff --git a/configure b/configure 16diff --git a/configure b/configure
17index aa89d30..6edfffd 100755 17index 8fafeca..34c7b8b 100755
18--- a/configure 18--- a/configure
19+++ b/configure 19+++ b/configure
20@@ -3912,10 +3912,10 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ 20@@ -3930,10 +3930,10 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
21 static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20"; 21 static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20";
22 22
23 /* Installation Info */ 23 /* Installation Info */
@@ -32,5 +32,5 @@ index aa89d30..6edfffd 100755
32 32
33 static const short qt_configure_str_offsets[] = { 33 static const short qt_configure_str_offsets[] = {
34-- 34--
352.6.2 352.7.1
36 36
diff --git a/recipes-qt/qt5/qtbase/0006-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase/0006-QOpenGLPaintDevice-sub-area-support.patch
index 0dbee0b4..bd5cfacd 100644
--- a/recipes-qt/qt5/qtbase/0006-QOpenGLPaintDevice-sub-area-support.patch
+++ b/recipes-qt/qt5/qtbase/0006-QOpenGLPaintDevice-sub-area-support.patch
@@ -1,7 +1,7 @@
1From 4772fd9332b7c71543d058c1e1cfa24399a9f269 Mon Sep 17 00:00:00 2001 1From a2a195bc2782ccf582afb00ffc25021abd2ba810 Mon Sep 17 00:00:00 2001
2From: Jani Hautakangas <jani.hautakangas@ixonos.com> 2From: Jani Hautakangas <jani.hautakangas@ixonos.com>
3Date: Thu, 16 May 2013 09:52:07 +0300 3Date: Thu, 16 May 2013 09:52:07 +0300
4Subject: [PATCH 6/9] QOpenGLPaintDevice sub-area support 4Subject: [PATCH 06/10] QOpenGLPaintDevice sub-area support
5 5
6Allows creating QOpenGLPaintDevice targetting sub-area 6Allows creating QOpenGLPaintDevice targetting sub-area
7of binded framebuffer. 7of binded framebuffer.
@@ -81,10 +81,10 @@ index 54ea092..f660143 100644
81 81
82 qreal dpmx; 82 qreal dpmx;
83diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp 83diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp
84index 4836dde..3f99b16 100644 84index 0b92bf4..f41e059 100644
85--- a/src/gui/opengl/qopenglpaintengine.cpp 85--- a/src/gui/opengl/qopenglpaintengine.cpp
86+++ b/src/gui/opengl/qopenglpaintengine.cpp 86+++ b/src/gui/opengl/qopenglpaintengine.cpp
87@@ -2091,7 +2091,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) 87@@ -2078,7 +2078,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev)
88 for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) 88 for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i)
89 d->vertexAttributeArraysEnabledState[i] = false; 89 d->vertexAttributeArraysEnabledState[i] = false;
90 90
@@ -95,7 +95,7 @@ index 4836dde..3f99b16 100644
95 d->width = sz.width(); 95 d->width = sz.width();
96 d->height = sz.height(); 96 d->height = sz.height();
97 d->mode = BrushDrawingMode; 97 d->mode = BrushDrawingMode;
98@@ -2178,7 +2181,7 @@ void QOpenGL2PaintEngineEx::ensureActive() 98@@ -2165,7 +2168,7 @@ void QOpenGL2PaintEngineEx::ensureActive()
99 d->device->ensureActiveTarget(); 99 d->device->ensureActiveTarget();
100 100
101 d->transferMode(BrushDrawingMode); 101 d->transferMode(BrushDrawingMode);
@@ -104,7 +104,7 @@ index 4836dde..3f99b16 100644
104 d->needsSync = false; 104 d->needsSync = false;
105 d->shaderManager->setDirty(); 105 d->shaderManager->setDirty();
106 d->syncGlState(); 106 d->syncGlState();
107@@ -2220,6 +2223,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() 107@@ -2207,6 +2210,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
108 if (bounds == QRect(0, 0, width, height)) { 108 if (bounds == QRect(0, 0, width, height)) {
109 funcs.glDisable(GL_SCISSOR_TEST); 109 funcs.glDisable(GL_SCISSOR_TEST);
110 } else { 110 } else {
@@ -112,7 +112,7 @@ index 4836dde..3f99b16 100644
112 funcs.glEnable(GL_SCISSOR_TEST); 112 funcs.glEnable(GL_SCISSOR_TEST);
113 setScissor(bounds); 113 setScissor(bounds);
114 } 114 }
115@@ -2228,12 +2232,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() 115@@ -2215,12 +2219,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
116 116
117 void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) 117 void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect)
118 { 118 {
@@ -128,7 +128,7 @@ index 4836dde..3f99b16 100644
128 128
129 funcs.glScissor(left, bottom, width, height); 129 funcs.glScissor(left, bottom, width, height);
130diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h 130diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h
131index 17be72b..43e88f6 100644 131index f1ec669..6d302b8 100644
132--- a/src/gui/opengl/qopenglpaintengine_p.h 132--- a/src/gui/opengl/qopenglpaintengine_p.h
133+++ b/src/gui/opengl/qopenglpaintengine_p.h 133+++ b/src/gui/opengl/qopenglpaintengine_p.h
134@@ -264,6 +264,7 @@ public: 134@@ -264,6 +264,7 @@ public:
@@ -153,5 +153,5 @@ index c179143..fad68d5 100644
153 } else { 153 } else {
154 if (m_vao.isCreated()) { 154 if (m_vao.isCreated()) {
155-- 155--
1562.6.2 1562.7.1
157 157
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
index 55f82765..525396f0 100644
--- 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
@@ -1,7 +1,7 @@
1From a3c5659464c911c60f31834187f3b1e914f0bf1f Mon Sep 17 00:00:00 2001 1From 4c68f97060427d3184589be4f25e1e366e26557c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 8 Jun 2015 13:59:25 -0700 3Date: Mon, 8 Jun 2015 13:59:25 -0700
4Subject: [PATCH 7/9] linux-oe-g++: Invert conditional for defining 4Subject: [PATCH 07/10] linux-oe-g++: Invert conditional for defining
5 QT_SOCKLEN_T 5 QT_SOCKLEN_T
6 6
7This helps to make sure that QT_SOCKLEN_T is defined to be 'int' 7This helps to make sure that QT_SOCKLEN_T is defined to be 'int'
@@ -32,5 +32,5 @@ index dd12003..8623651 100644
32 32
33 #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) 33 #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
34-- 34--
352.6.2 352.7.1
36 36
diff --git a/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch b/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch
index efd27a55..204b3bf6 100644
--- a/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch
+++ b/recipes-qt/qt5/qtbase/0008-configure-paths-for-target-qmake-properly.patch
@@ -1,7 +1,7 @@
1From fb519b08f564a8a640b1b2f2b6a3bd54a83e19e8 Mon Sep 17 00:00:00 2001 1From 3e343061f8f8cb71fbb4f52e6e825495880779a2 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Fri, 13 Nov 2015 12:36:11 +0100 3Date: Fri, 13 Nov 2015 12:36:11 +0100
4Subject: [PATCH] configure paths/mkspecs for target qmake properly 4Subject: [PATCH 08/10] configure paths for target qmake properly
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -11,16 +11,18 @@ conditionally based on QT_CROSS_COMPILE
11 11
12Upstream-Status: Inappropriate [OE specific] 12Upstream-Status: Inappropriate [OE specific]
13 13
14Change-Id: I2b2f00c496216e98fbe14801f9e840ef5333c4b6
14Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> 15Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
16Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
15--- 17---
16 configure | 23 +++++++++++++++++++---- 18 configure | 23 +++++++++++++++++++----
17 1 file changed, 19 insertions(+), 4 deletions(-) 19 1 file changed, 19 insertions(+), 4 deletions(-)
18 20
19diff --git a/configure b/configure 21diff --git a/configure b/configure
20index 6edfffd..de74a29 100755 22index 34c7b8b..f9869dd 100755
21--- a/configure 23--- a/configure
22+++ b/configure 24+++ b/configure
23@@ -3857,8 +3857,13 @@ if [ "$CFG_COMPILE_EXAMPLES" = "yes" ]; then 25@@ -3875,8 +3875,13 @@ if [ "$CFG_COMPILE_EXAMPLES" = "yes" ]; then
24 QMAKE_CONFIG="$QMAKE_CONFIG compile_examples" 26 QMAKE_CONFIG="$QMAKE_CONFIG compile_examples"
25 fi 27 fi
26 28
@@ -36,7 +38,7 @@ index 6edfffd..de74a29 100755
36 38
37 QT_CONFIGURE_STR_OFF=0 39 QT_CONFIGURE_STR_OFF=0
38 40
39@@ -3891,7 +3896,11 @@ QT_CONFIGURE_STRS_ALL=$QT_CONFIGURE_STRS 41@@ -3909,7 +3914,11 @@ QT_CONFIGURE_STRS_ALL=$QT_CONFIGURE_STRS
40 42
41 QT_CONFIGURE_STR_OFFSETS= 43 QT_CONFIGURE_STR_OFFSETS=
42 QT_CONFIGURE_STRS= 44 QT_CONFIGURE_STRS=
@@ -49,7 +51,7 @@ index 6edfffd..de74a29 100755
49 addConfStr "$QT_REL_HOST_BINS" 51 addConfStr "$QT_REL_HOST_BINS"
50 addConfStr "$QT_REL_HOST_LIBS" 52 addConfStr "$QT_REL_HOST_LIBS"
51 addConfStr "$QT_REL_HOST_DATA" 53 addConfStr "$QT_REL_HOST_DATA"
52@@ -3903,6 +3912,12 @@ addConfStr "$shortspec" 54@@ -3921,6 +3930,12 @@ addConfStr "$shortspec"
53 #------------------------------------------------------------------------------- 55 #-------------------------------------------------------------------------------
54 [ -d "$outpath/src/corelib/global" ] || mkdir -p "$outpath/src/corelib/global" 56 [ -d "$outpath/src/corelib/global" ] || mkdir -p "$outpath/src/corelib/global"
55 57
@@ -62,7 +64,7 @@ index 6edfffd..de74a29 100755
62 cat > "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF 64 cat > "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF
63 /* License Info */ 65 /* License Info */
64 static const char qt_configure_licensee_str [256 + 12] = "qt_lcnsuser=$Licensee"; 66 static const char qt_configure_licensee_str [256 + 12] = "qt_lcnsuser=$Licensee";
65@@ -3915,7 +3930,7 @@ static const char qt_configure_installation [12+11] = "qt_instdate=2 67@@ -3933,7 +3948,7 @@ static const char qt_configure_installation [12+11] = "qt_instdate=2
66 static const char qt_configure_prefix_path_str [512 + 12] = "qt_prfxpath=$QT_INSTALL_PREFIX"; 68 static const char qt_configure_prefix_path_str [512 + 12] = "qt_prfxpath=$QT_INSTALL_PREFIX";
67 #ifdef QT_BUILD_QMAKE 69 #ifdef QT_BUILD_QMAKE
68 static const char qt_configure_ext_prefix_path_str [512 + 12] = "qt_epfxpath=$QT_EXT_PREFIX"; 70 static const char qt_configure_ext_prefix_path_str [512 + 12] = "qt_epfxpath=$QT_EXT_PREFIX";
@@ -72,5 +74,5 @@ index 6edfffd..de74a29 100755
72 74
73 static const short qt_configure_str_offsets[] = { 75 static const short qt_configure_str_offsets[] = {
74-- 76--
752.1.0 772.7.1
76 78
diff --git a/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch b/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch
index 359be5fb..4db32e7d 100644
--- a/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch
+++ b/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch
@@ -1,7 +1,7 @@
1From e3ce176f43e9214808cbdac13ace0aa8d8ec046d Mon Sep 17 00:00:00 2001 1From c9e825dd77c23dda786809ecb19ca1a88dccdf1b Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 16 Nov 2013 00:32:30 +0100 3Date: Sat, 16 Nov 2013 00:32:30 +0100
4Subject: [PATCH 8/9] Always build uic 4Subject: [PATCH 09/10] Always build uic
5 5
6Even if we are not building gui or widgets. This tool is needed later 6Even if we are not building gui or widgets. This tool is needed later
7as a native tool when compiling the target. 7as a native tool when compiling the target.
@@ -14,10 +14,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/src/src.pro b/src/src.pro 16diff --git a/src/src.pro b/src/src.pro
17index a970391..66c66d0 100644 17index 1671338..83de483 100644
18--- a/src/src.pro 18--- a/src/src.pro
19+++ b/src/src.pro 19+++ b/src/src.pro
20@@ -176,7 +176,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent 20@@ -180,7 +180,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent
21 } 21 }
22 } 22 }
23 } 23 }
@@ -27,5 +27,5 @@ index a970391..66c66d0 100644
27 nacl: SUBDIRS -= src_network src_testlib 27 nacl: SUBDIRS -= src_network src_testlib
28 28
29-- 29--
302.6.2 302.7.1
31 31
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 998d7795..f6c86c23 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -198,17 +198,17 @@ do_install_append() {
198 # install fonts manually if they are missing 198 # install fonts manually if they are missing
199 if [ ! -d ${D}/${OE_QMAKE_PATH_QT_FONTS} ]; then 199 if [ ! -d ${D}/${OE_QMAKE_PATH_QT_FONTS} ]; then
200 mkdir -p ${D}/${OE_QMAKE_PATH_QT_FONTS} 200 mkdir -p ${D}/${OE_QMAKE_PATH_QT_FONTS}
201 cp -a ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_QT_FONTS} 201 cp -d ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_QT_FONTS}
202 chown -R root:root ${D}/${OE_QMAKE_PATH_QT_FONTS} 202 chown -R root:root ${D}/${OE_QMAKE_PATH_QT_FONTS}
203 fi 203 fi
204 install -m 0644 ${B}/lib/libqt* ${D}${libdir}
205 # Remove example.pro file as it is useless 204 # Remove example.pro file as it is useless
206 rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro 205 rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro
207 206
208 # Remove macx-ios-clang directory because /usr/lib/qt5/mkspecs/macx-ios-clang/rename_main.sh:#!/bin/bash 207 # Remove macx-ios-clang directory because /usr/lib/qt5/mkspecs/macx-ios-clang/rename_main.sh:#!/bin/bash
209 # triggers QA Issue: qtbase-mkspecs requires /bin/bash, but no providers in its RDEPENDS [file-rdeps] 208 # triggers QA Issue: qtbase-mkspecs requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]
210 rm -rf ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/macx-ios-clang 209 rm -rf ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/macx-ios-clang
211 rm -rf ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/data/mac 210 # and this one has /bin/bash shebang, but checkbashisms doesn't show any reason for it
211 sed -i 's@^#!/bin/bash$@#!/bin/sh@g' ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/data/mac/objc_namespace.sh
212 212
213 # Replace host paths with qmake built-in properties 213 # Replace host paths with qmake built-in properties
214 sed -i -e 's|${STAGING_DIR_NATIVE}${prefix_native}|$$[QT_HOST_PREFIX/get]|g' \ 214 sed -i -e 's|${STAGING_DIR_NATIVE}${prefix_native}|$$[QT_HOST_PREFIX/get]|g' \
diff --git a/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch b/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch
index fd2586ea..b3f7621c 100644
--- a/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch
+++ b/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch
@@ -1,4 +1,4 @@
1From d5e0c3af853c7bdb202f15a12117db76f744cc55 Mon Sep 17 00:00:00 2001 1From 1755b8c7ab87f9e6bf072bd0bef50086c14dd9ff Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> 2From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
3Date: Sun, 26 May 2013 14:26:19 +0200 3Date: Sun, 26 May 2013 14:26:19 +0200
4Subject: [PATCH] qmltestexample: fix link 4Subject: [PATCH] qmltestexample: fix link
@@ -84,5 +84,5 @@ index 1bb913e..56f2dd5 100644
84 84
85 load(qt_tool) 85 load(qt_tool)
86-- 86--
872.6.1 872.7.0
88 88
diff --git a/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch b/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch
index a1124397..8964a5dd 100644
--- a/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch
+++ b/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch
@@ -1,4 +1,4 @@
1From 903682bb95cc2cdb51a1155c3977d0ec8619a73d Mon Sep 17 00:00:00 2001 1From 14a68abb4c492fb7ba55dbccaf61057e861bbf3c Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 4 Aug 2014 19:19:05 +0200 3Date: Mon, 4 Aug 2014 19:19:05 +0200
4Subject: [PATCH] qtimageformats.pro: Make the dependencies deterministic 4Subject: [PATCH] qtimageformats.pro: Make the dependencies deterministic
@@ -27,5 +27,5 @@ index 8382e5c..63d13ce 100644
27 27
28 load(qt_parts) 28 load(qt_parts)
29-- 29--
302.6.1 302.7.0
31 31
diff --git a/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch b/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
index 696f1c00..a4ac12ab 100644
--- a/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
+++ b/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
@@ -1,4 +1,4 @@
1From 066a997479b2431d7bc479655ce37ae083e7a224 Mon Sep 17 00:00:00 2001 1From e8e2e289288acd3124536a41351e7bcd639bef07 Mon Sep 17 00:00:00 2001
2From: Yoann Lopes <yoann.lopes@digia.com> 2From: Yoann Lopes <yoann.lopes@digia.com>
3Date: Thu, 31 Oct 2013 15:06:30 +0100 3Date: Thu, 31 Oct 2013 15:06:30 +0100
4Subject: [PATCH] Initial porting effort to GStreamer 1.0. 4Subject: [PATCH] Initial porting effort to GStreamer 1.0.
@@ -17,10 +17,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
17 1 file changed, 14 insertions(+), 12 deletions(-) 17 1 file changed, 14 insertions(+), 12 deletions(-)
18 18
19diff --git a/qtmultimedia.pro b/qtmultimedia.pro 19diff --git a/qtmultimedia.pro b/qtmultimedia.pro
20index 1225ffb..4f675fe 100644 20index 98bb315..287887f 100644
21--- a/qtmultimedia.pro 21--- a/qtmultimedia.pro
22+++ b/qtmultimedia.pro 22+++ b/qtmultimedia.pro
23@@ -18,19 +18,21 @@ win32 { 23@@ -17,19 +17,21 @@ win32 {
24 contains(QT_CONFIG, alsa):qtCompileTest(alsa) 24 contains(QT_CONFIG, alsa):qtCompileTest(alsa)
25 contains(QT_CONFIG, pulseaudio):qtCompileTest(pulseaudio) 25 contains(QT_CONFIG, pulseaudio):qtCompileTest(pulseaudio)
26 26
@@ -55,5 +55,5 @@ index 1225ffb..4f675fe 100644
55 55
56 qtCompileTest(resourcepolicy) 56 qtCompileTest(resourcepolicy)
57-- 57--
582.6.1 582.7.0
59 59
diff --git a/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch b/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
index 4c9c643d..c0e13898 100644
--- a/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
+++ b/recipes-qt/qt5/qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
@@ -1,4 +1,4 @@
1From d539c7e4ef98fd4933573eac606a4edee6655d8c Mon Sep 17 00:00:00 2001 1From f3b363acbe125c1eb1f1d4cf28973d2914cda024 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 5 Nov 2015 12:25:05 +0100 3Date: Thu, 5 Nov 2015 12:25:05 +0100
4Subject: [PATCH] textobject.pro: use DEPLOYMENT only for wince like other 4Subject: [PATCH] textobject.pro: use DEPLOYMENT only for wince like other
@@ -26,5 +26,5 @@ index 794ad32..0ecd2c7 100644
26+ DEPLOYMENT += filesToDeploy 26+ DEPLOYMENT += filesToDeploy
27+} 27+}
28-- 28--
292.6.2 292.7.0
30 30
diff --git a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
index aecf7b8b..8d820661 100644
--- a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
+++ b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
@@ -1,4 +1,4 @@
1From 0fb675dfdff64a270b92d768bedc0d6b355675b4 Mon Sep 17 00:00:00 2001 1From a6f3bde30cb78e109a26fec6b336f8a504d4fa3c Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.jansa@gmail.com> 2From: Martin Jansa <Martin.jansa@gmail.com>
3Date: Wed, 11 Sep 2013 18:30:08 +0200 3Date: Wed, 11 Sep 2013 18:30:08 +0200
4Subject: [PATCH 1/4] Allow to build only lrelease + lupdate + lconvert 4Subject: [PATCH 1/4] Allow to build only lrelease + lupdate + lconvert
@@ -159,5 +159,5 @@ index 20b5fec..8a42d1f 100644
159 installed_cmake.depends = cmake 159 installed_cmake.depends = cmake
160 160
161-- 161--
1622.6.2 1622.7.0
163 163
diff --git a/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch b/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
index 754213fe..c4c0a14d 100644
--- a/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
+++ b/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
@@ -1,4 +1,4 @@
1From d480a725a36482f7a1df52c5c170961382a8e730 Mon Sep 17 00:00:00 2001 1From 1140fd4bb5768d49cad9e834a9ce5eb05b711d0e Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Fri, 17 Jan 2014 14:33:19 +0100 3Date: Fri, 17 Jan 2014 14:33:19 +0100
4Subject: [PATCH 2/4] assistant/help: fix linking of dependent libraries 4Subject: [PATCH 2/4] assistant/help: fix linking of dependent libraries
@@ -28,5 +28,5 @@ index 168d23d..a9c3b59 100644
28+ 28+
29+LIBS += -lQt5CLucene 29+LIBS += -lQt5CLucene
30-- 30--
312.6.2 312.7.0
32 32
diff --git a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch
index 3e87400b..81b511f4 100644
--- a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch
+++ b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch
@@ -1,4 +1,4 @@
1From d26b82742e20d4fff96856f7b9a7828ccb1aea68 Mon Sep 17 00:00:00 2001 1From a0637f231d513dfc15f1eec185d5d5e7fb03e292 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 4 Jun 2014 11:28:16 +0200 3Date: Wed, 4 Jun 2014 11:28:16 +0200
4Subject: [PATCH 3/4] add noqtwebkit configuration 4Subject: [PATCH 3/4] add noqtwebkit configuration
@@ -47,5 +47,5 @@ index 500a153..b60fa2d 100644
47 win32: qtHaveModule(axcontainer): SUBDIRS += activeqt 47 win32: qtHaveModule(axcontainer): SUBDIRS += activeqt
48 qtHaveModule(quickwidgets): SUBDIRS += qquickwidget 48 qtHaveModule(quickwidgets): SUBDIRS += qquickwidget
49-- 49--
502.6.2 502.7.0
51 51
diff --git a/recipes-qt/qt5/qttools/0004-linguist-tools-cmake-allow-overriding-the-location-f.patch b/recipes-qt/qt5/qttools/0004-linguist-tools-cmake-allow-overriding-the-location-f.patch
index 55e7ec54..0e7061a9 100644
--- a/recipes-qt/qt5/qttools/0004-linguist-tools-cmake-allow-overriding-the-location-f.patch
+++ b/recipes-qt/qt5/qttools/0004-linguist-tools-cmake-allow-overriding-the-location-f.patch
@@ -1,4 +1,4 @@
1From eb882650473cea1cd71cef7813512b381429fd5c Mon Sep 17 00:00:00 2001 1From 3f1754dec603e3508a45f3e1800edf0a44411084 Mon Sep 17 00:00:00 2001
2From: Cody P Schafer <dev@codyps.com> 2From: Cody P Schafer <dev@codyps.com>
3Date: Thu, 9 Jul 2015 11:28:19 -0400 3Date: Thu, 9 Jul 2015 11:28:19 -0400
4Subject: [PATCH 4/4] linguist-tools cmake: allow overriding the location for 4Subject: [PATCH 4/4] linguist-tools cmake: allow overriding the location for
@@ -59,5 +59,5 @@ index 4318b16..2e3b70f 100644
59 59
60 set_target_properties(Qt5::lconvert PROPERTIES 60 set_target_properties(Qt5::lconvert PROPERTIES
61-- 61--
622.6.2 622.7.0
63 63
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb
index 96b41274..23acf1e9 100644
--- a/recipes-qt/qt5/qttools_git.bb
+++ b/recipes-qt/qt5/qttools_git.bb
@@ -10,8 +10,7 @@ LIC_FILES_CHKSUM = " \
10 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ 10 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
11" 11"
12 12
13DEPENDS += "qtbase" 13DEPENDS += "qtbase qtdeclarative qtxmlpatterns"
14DEPENDS_class-target = "qtdeclarative qtxmlpatterns"
15 14
16SRC_URI += " \ 15SRC_URI += " \
17 file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch \ 16 file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch \
diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttranslations_git.bb
index 193e2039..cc847557 100644
--- a/recipes-qt/qt5/qttranslations_git.bb
+++ b/recipes-qt/qt5/qttranslations_git.bb
@@ -23,6 +23,7 @@ PACKAGES =. " \
23 ${PN}-qtquickcontrols \ 23 ${PN}-qtquickcontrols \
24 ${PN}-qtquickcontrols2 \ 24 ${PN}-qtquickcontrols2 \
25 ${PN}-qtwebsockets \ 25 ${PN}-qtwebsockets \
26 ${PN}-qtwebengine \
26 ${PN}-qtxmlpatterns \ 27 ${PN}-qtxmlpatterns \
27 ${PN}-qtconfig \ 28 ${PN}-qtconfig \
28 ${PN}-qtquick1 \ 29 ${PN}-qtquick1 \
@@ -77,6 +78,10 @@ FILES_${PN}-qtwebsockets = " \
77 ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebsockets_*.qm \ 78 ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebsockets_*.qm \
78" 79"
79 80
81FILES_${PN}-qtwebengine = " \
82 ${OE_QMAKE_PATH_TRANSLATIONS}/qtwebengine_*.qm \
83"
84
80FILES_${PN}-qtxmlpatterns = " \ 85FILES_${PN}-qtxmlpatterns = " \
81 ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \ 86 ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \
82" 87"
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
index 8b539b69..06168e32 100644
--- 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
@@ -1,4 +1,4 @@
1From 7c34dff33e7669e9227df548c8ab08a850c72e39 Mon Sep 17 00:00:00 2001 1From 8841d31cb66fda833dc0ae557f13887716f4c46b Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de> 2From: Simon Busch <morphis@gravedo.de>
3Date: Fri, 19 Jul 2013 13:35:14 +0000 3Date: Fri, 19 Jul 2013 13:35:14 +0000
4Subject: [PATCH] Install the qtwaylandscanner tool to the native side 4Subject: [PATCH] Install the qtwaylandscanner tool to the native side
@@ -28,5 +28,5 @@ index ac2d07b..7a46a24 100644
28+target.path = $$[QT_HOST_BINS] 28+target.path = $$[QT_HOST_BINS]
29+INSTALLS += target 29+INSTALLS += target
30-- 30--
312.6.1 312.7.0
32 32
diff --git a/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch b/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch
index 27dada21..36047570 100644
--- a/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch
+++ b/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch
@@ -1,4 +1,4 @@
1From e3469724404a8afaa51939e17fc85f6cb40b5196 Mon Sep 17 00:00:00 2001 1From efec881d1bff247e6452a10a60821612c2585c67 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 22 Feb 2014 17:47:44 +0100 3Date: Sat, 22 Feb 2014 17:47:44 +0100
4Subject: [PATCH] examples/wayland: include server-buffer only when building 4Subject: [PATCH] examples/wayland: include server-buffer only when building
@@ -27,5 +27,5 @@ index d633fb9..643c7cd 100644
27+ } 27+ }
28 } 28 }
29-- 29--
302.6.1 302.7.0
31 31
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb
index c4730a7e..fcf74270 100644
--- a/recipes-qt/qt5/qtwayland_git.bb
+++ b/recipes-qt/qt5/qtwayland_git.bb
@@ -20,11 +20,9 @@ DEPENDS += "qtbase qtdeclarative wayland wayland-native qtwayland-native ${XKB_D
20 20
21QT_WAYLAND_CONFIG ?= "wayland-compositor" 21QT_WAYLAND_CONFIG ?= "wayland-compositor"
22QT_WAYLAND_DEFINES ?= "" 22QT_WAYLAND_DEFINES ?= ""
23QT_WAYLAND_BUILD_PARTS ?= "examples"
24 23
25EXTRA_QMAKEVARS_PRE += "CONFIG+=${QT_WAYLAND_CONFIG}" 24EXTRA_QMAKEVARS_PRE += "CONFIG+=${QT_WAYLAND_CONFIG}"
26EXTRA_QMAKEVARS_PRE += "DEFINES+=${QT_WAYLAND_DEFINES}" 25EXTRA_QMAKEVARS_PRE += "DEFINES+=${QT_WAYLAND_DEFINES}"
27EXTRA_QMAKEVARS_PRE += "QT_BUILD_PARTS+=${QT_WAYLAND_BUILD_PARTS}"
28 26
29FILES_${PN}-plugins += " \ 27FILES_${PN}-plugins += " \
30 ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \ 28 ${OE_QMAKE_PATH_PLUGINS}/*/*/*${SOLIBSDEV} \
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch b/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch
index b6500ea0..a1ea375f 100644
--- a/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch
@@ -1,8 +1,8 @@
1From 53e16d6f07005c1176455a4488cd8f93218e3cde Mon Sep 17 00:00:00 2001 1From 90d2f7aefa8922c3aa29e6907c1520c814d1797f Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Fri, 3 Oct 2014 03:52:11 +0200 3Date: Fri, 3 Oct 2014 03:52:11 +0200
4Subject: [PATCH] <chromium> base.gypi: include atomicops_internals_x86_gcc.cc 4Subject: [PATCH 1/2] <chromium> base.gypi: include
5 when building for x64 arch 5 atomicops_internals_x86_gcc.cc when building for x64 arch
6 6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8--- 8---
@@ -23,5 +23,5 @@ index b860735..0ed5de3 100644
23 ['include', 'atomicops_internals_x86_gcc.cc'], 23 ['include', 'atomicops_internals_x86_gcc.cc'],
24 ], 24 ],
25-- 25--
262.6.1 262.7.0
27 27
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
index ce76afa6..88d4826e 100644
--- 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
@@ -1,7 +1,7 @@
1From 38efc016f223a1277bd3a92e4c78ac816adbcdaa Mon Sep 17 00:00:00 2001 1From f052458fe39733602751f9f9a09d1c0d78bea421 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 30 Jun 2014 20:08:17 +0200 3Date: Mon, 30 Jun 2014 20:08:17 +0200
4Subject: [PATCH 1/3] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H 4Subject: [PATCH 1/5] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H
5 anywhere in path, but at the end 5 anywhere in path, but at the end
6 6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
@@ -10,10 +10,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10 1 file changed, 2 insertions(+), 2 deletions(-) 10 1 file changed, 2 insertions(+), 2 deletions(-)
11 11
12diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf 12diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
13index d5265ab..2825457 100644 13index 2df689b..8d984c7 100644
14--- a/tools/qmake/mkspecs/features/functions.prf 14--- a/tools/qmake/mkspecs/features/functions.prf
15+++ b/tools/qmake/mkspecs/features/functions.prf 15+++ b/tools/qmake/mkspecs/features/functions.prf
16@@ -113,9 +113,9 @@ defineReplace(mocOutput) { 16@@ -131,9 +131,9 @@ defineReplace(mocOutput) {
17 out = $$1 17 out = $$1
18 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one 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})): \ 19 for(ext, $$list($${QMAKE_EXT_CPP})): \
@@ -26,5 +26,5 @@ index d5265ab..2825457 100644
26 } 26 }
27 27
28-- 28--
292.6.2 292.7.0
30 30
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-jpeg_codec.cc_Change-false-to-FALSE-and-1-to-TRUE.patch b/recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch
index 3707cbeb..1227d0a0 100644
--- a/recipes-qt/qt5/qtwebengine/0001-chromium-jpeg_codec.cc_Change-false-to-FALSE-and-1-to-TRUE.patch
+++ b/recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch
@@ -1,9 +1,11 @@
1From 54b183ada5b5ead1c4b6e6532e24d21f372d70d7 Mon Sep 17 00:00:00 2001 1From a015bddaf2005cac376be7dda4603637afc5844c Mon Sep 17 00:00:00 2001
2From: Cleiton Bueno <cleitonrbueno@gmail.com> 2From: Cleiton Bueno <cleitonrbueno@gmail.com>
3Date: Thu, 24 Dec 2015 12:46:58 -0200 3Date: Thu, 24 Dec 2015 12:46:58 -0200
4Subject: [PATCH] Change false to FALSE and 1 to TRUE, FIX qtwebengine compile 4Subject: [PATCH 2/2] chromium: Change false to FALSE and 1 to TRUE, FIX
5 qtwebengine compile
5 6
6Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> 7Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com>
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7--- 9---
8 src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc | 12 ++++++------ 10 src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc | 12 ++++++------
9 1 file changed, 6 insertions(+), 6 deletions(-) 11 1 file changed, 6 insertions(+), 6 deletions(-)
@@ -60,5 +62,5 @@ index 8a08fe0..32b2a05 100644
60 // we want to always get RGB data out 62 // we want to always get RGB data out
61 switch (cinfo.jpeg_color_space) { 63 switch (cinfo.jpeg_color_space) {
62-- 64--
631.8.1.2 652.7.0
64 66
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
index f2dcaed2..dbc1e24e 100644
--- 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
@@ -1,7 +1,7 @@
1From ebfec8ca32379bffd18cbab1f4335a458fcc7e41 Mon Sep 17 00:00:00 2001 1From 5f6389fe3493420c2afeec8f2786165f1d08901a Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de> 2From: Simon Busch <morphis@gravedo.de>
3Date: Tue, 18 Nov 2014 10:38:18 +0100 3Date: Tue, 18 Nov 2014 10:38:18 +0100
4Subject: [PATCH 2/3] functions.prf: Make sure we only use the file name to 4Subject: [PATCH 2/5] functions.prf: Make sure we only use the file name to
5 generate it's moc'ed abbreviation 5 generate it's moc'ed abbreviation
6 6
7Signed-off-by: Simon Busch <morphis@gravedo.de> 7Signed-off-by: Simon Busch <morphis@gravedo.de>
@@ -11,10 +11,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
12 12
13diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf 13diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
14index 2825457..f761b64 100644 14index 8d984c7..055e960 100644
15--- a/tools/qmake/mkspecs/features/functions.prf 15--- a/tools/qmake/mkspecs/features/functions.prf
16+++ b/tools/qmake/mkspecs/features/functions.prf 16+++ b/tools/qmake/mkspecs/features/functions.prf
17@@ -110,7 +110,8 @@ defineReplace(findIncludedMocFiles) { 17@@ -128,7 +128,8 @@ defineReplace(findIncludedMocFiles) {
18 } 18 }
19 19
20 defineReplace(mocOutput) { 20 defineReplace(mocOutput) {
@@ -25,5 +25,5 @@ index 2825457..f761b64 100644
25 for(ext, $$list($${QMAKE_EXT_CPP})): \ 25 for(ext, $$list($${QMAKE_EXT_CPP})): \
26 out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC}) 26 out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC})
27-- 27--
282.6.2 282.7.0
29 29
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
index a3ea02a7..28960ed4 100644
--- 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
@@ -1,27 +1,33 @@
1From daf1deee393576f86b22178a7cc18717962cb68e Mon Sep 17 00:00:00 2001 1From 348a74cb924cf6ac4384069d84ee3995644b2ce1 Mon Sep 17 00:00:00 2001
2From: Frieder Schrempf <frieder.schrempf@online.de> 2From: Frieder Schrempf <frieder.schrempf@online.de>
3Date: Mon, 1 Dec 2014 14:34:40 +0000 3Date: Mon, 1 Dec 2014 14:34:40 +0000
4Subject: [PATCH 3/3] functions.prf: allow build for linux-oe-g++ platform 4Subject: [PATCH 3/5] functions.prf: allow build for linux-oe-g++ platform
5 5
6Upstream-Status: Inappropriate [OE specific] 6Upstream-Status: Inappropriate [OE specific]
7 7
8Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de> 8Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de>
9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10--- 10---
11 tools/qmake/mkspecs/features/functions.prf | 2 +- 11 tools/qmake/mkspecs/features/functions.prf | 6 ++++++
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 6 insertions(+)
13 13
14diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf 14diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
15index f761b64..ab5f018 100644 15index 055e960..379c9b5 100644
16--- a/tools/qmake/mkspecs/features/functions.prf 16--- a/tools/qmake/mkspecs/features/functions.prf
17+++ b/tools/qmake/mkspecs/features/functions.prf 17+++ b/tools/qmake/mkspecs/features/functions.prf
18@@ -1,5 +1,5 @@ 18@@ -5,6 +5,12 @@ defineTest(isPlatformSupported) {
19 defineTest(isPlatformSupported) { 19 return(false)
20- !linux-g++*:!linux-clang:!win32-msvc2013*:!win32-msvc2015*:!macx-clang*:!boot2qt { 20 }
21+ !linux-g++*:!linux-oe-g++*:!linux-clang:!win32-msvc2013*:!win32-msvc2015*:!macx-clang*:!boot2qt { 21 gcc:!clang:!isGCCVersionSupported(): return(false)
22 skipBuild("Qt WebEngine can currently only be built for Linux (GCC/clang), Windows (MSVC 2013 or 2015), OS X (10.9/XCode 5.1+) or Qt for Device Creation.") 22+ } else:linux-oe-g++* {
23 return(false) 23+ !gcc:!clang {
24 } 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.")
25-- 31--
262.6.2 322.7.0
27 33
diff --git a/recipes-qt/qt5/qtwebengine/0003-WebEngine-qquickwebengineview_p_p.h-add-inc-QColor.patch b/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch
index 544db3ac..4a3deb9b 100644
--- a/recipes-qt/qt5/qtwebengine/0003-WebEngine-qquickwebengineview_p_p.h-add-inc-QColor.patch
+++ b/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch
@@ -1,15 +1,15 @@
1From 741f83397be4157cd34386f619f6d74fca4da149 Mon Sep 17 00:00:00 2001 1From 80f5e26073ef58c1a2ff510c6ccdb7423bcb2fc3 Mon Sep 17 00:00:00 2001
2From: Cleiton Bueno <cleitonrbueno@gmail.com> 2From: Cleiton Bueno <cleitonrbueno@gmail.com>
3Date: Fri, 25 Dec 2015 18:16:05 -0200 3Date: Fri, 25 Dec 2015 18:16:05 -0200
4Subject: [PATCH] WebEngine qquickwebengineview_p_p.h add include QColor 4Subject: [PATCH 4/5] WebEngine qquickwebengineview_p_p.h add include QColor
5 5
6Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> 6Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com>
7--- 7---
8 qquickwebengineview_p_p.h | 2 ++ 8 src/webengine/api/qquickwebengineview_p_p.h | 2 ++
9 1 file changed, 2 insertions(+) 9 1 file changed, 2 insertions(+)
10 10
11diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h 11diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h
12index c221085..d39aba7 100644 12index dbbbf91..94268b6 100644
13--- a/src/webengine/api/qquickwebengineview_p_p.h 13--- a/src/webengine/api/qquickwebengineview_p_p.h
14+++ b/src/webengine/api/qquickwebengineview_p_p.h 14+++ b/src/webengine/api/qquickwebengineview_p_p.h
15@@ -56,6 +56,8 @@ 15@@ -56,6 +56,8 @@
@@ -22,5 +22,5 @@ index c221085..d39aba7 100644
22 namespace QtWebEngineCore { 22 namespace QtWebEngineCore {
23 class WebContentsAdapter; 23 class WebContentsAdapter;
24-- 24--
251.8.1.2 252.7.0
26 26
diff --git a/recipes-qt/qt5/qtwebengine/0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch b/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch
index 1b637cbf..6fd9e499 100644
--- a/recipes-qt/qt5/qtwebengine/0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch
+++ b/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch
@@ -1,7 +1,7 @@
1From 23e391f08f36d9ab9c0030ae52b3821ec9f3c3ed Mon Sep 17 00:00:00 2001 1From b3f3154e4852a830fdc4e311d4f5105fc337e8f2 Mon Sep 17 00:00:00 2001
2From: Cleiton Bueno <cleitonrbueno@gmail.com> 2From: Cleiton Bueno <cleitonrbueno@gmail.com>
3Date: Thu, 24 Dec 2015 15:59:51 -0200 3Date: Thu, 24 Dec 2015 15:59:51 -0200
4Subject: [PATCH] Include dependency to QCoreApplication::translate() 4Subject: [PATCH 5/5] Include dependency to QCoreApplication::translate()
5 5
6Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> 6Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com>
7--- 7---
@@ -22,5 +22,5 @@ index 500fe76..eda2824 100644
22 22
23 #include "base/callback.h" 23 #include "base/callback.h"
24-- 24--
251.8.1.2 252.7.0
26 26
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index 8375fec7..0557ec7f 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -92,6 +92,7 @@ do_configure() {
92 92
93do_install_append() { 93do_install_append() {
94 rmdir ${D}${OE_QMAKE_PATH_PLUGINS}/${BPN} ${D}${OE_QMAKE_PATH_PLUGINS} || true 94 rmdir ${D}${OE_QMAKE_PATH_PLUGINS}/${BPN} ${D}${OE_QMAKE_PATH_PLUGINS} || true
95 sed -i 's@ -Wl,--start-group.*-Wl,--end-group@@g; s@-L${B}[^ ]* @ @g' ${D}${libdir}/pkgconfig/Qt5WebEngineCore.pc
95} 96}
96PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 97PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
97 98
@@ -110,10 +111,10 @@ SRC_URI += " \
110 ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};destsuffix=git/src/3rdparty \ 111 ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};destsuffix=git/src/3rdparty \
111 file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \ 112 file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \
112 file://0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch \ 113 file://0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch \
114 file://0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \
115 file://0005-Include-dependency-to-QCoreApplication-translate.patch \
113 file://0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch \ 116 file://0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch \
114 file://0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch \ 117 file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \
115 file://0003-WebEngine-qquickwebengineview_p_p.h-add-inc-QColor.patch \
116 file://0001-chromium-jpeg_codec.cc_Change-false-to-FALSE-and-1-to-TRUE.patch \
117" 118"
118 119
119SRCREV_qtwebengine = "87cc80fd8182b24ff42f0f5458cb82f139730536" 120SRCREV_qtwebengine = "87cc80fd8182b24ff42f0f5458cb82f139730536"
@@ -123,3 +124,6 @@ SRCREV = "${SRCREV_qtwebengine}"
123SRCREV_FORMAT = "qtwebengine_chromium" 124SRCREV_FORMAT = "qtwebengine_chromium"
124 125
125S = "${WORKDIR}/git" 126S = "${WORKDIR}/git"
127
128# WARNING: qtwebengine-5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0 do_package_qa: QA Issue: ELF binary '/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtwebengine/5.5.99+5.6.0-rc+gitAUTOINC+3f02c25de4_779a2388fc-r0/packages-split/qtwebengine/usr/lib/libQt5WebEngineCore.so.5.6.0' has relocations in .text [textrel]
129INSANE_SKIP_${PN} += "textrel"
diff --git a/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch b/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch
deleted file mode 100644
index 3034f950..00000000
--- a/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 8900f45818b7f181d2b57ceebdf086c78d2ee6b0 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Tue, 8 Oct 2013 00:18:10 -0400
4Subject: [PATCH] qtwebkit-examples: enable building examples by default
5
6Examples are provided in sources, but the build for them is not enabled by
7default. Since example binaries are packaged separately to ${PN}-examples,
8having them built by default makes more sense.
9
10Upstream-Status: Inappropriate [configuration]
11
12Signed-off-by: Denys Dmytriyenko <denys@ti.com>
13---
14 qtwebkit-examples.pro | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/qtwebkit-examples.pro b/qtwebkit-examples.pro
18index 3fcecf1..2da8a36 100644
19--- a/qtwebkit-examples.pro
20+++ b/qtwebkit-examples.pro
21@@ -2,4 +2,4 @@ requires(qtHaveModule(webkit))
22
23 load(qt_parts)
24
25-SUBDIRS += doc
26+SUBDIRS += doc examples
27--
282.6.1
29
diff --git a/recipes-qt/qt5/qtwebkit-examples_git.bb b/recipes-qt/qt5/qtwebkit-examples_git.bb
index f9150838..63d02fac 100644
--- a/recipes-qt/qt5/qtwebkit-examples_git.bb
+++ b/recipes-qt/qt5/qtwebkit-examples_git.bb
@@ -13,12 +13,10 @@ LIC_FILES_CHKSUM = " \
13 file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=39;md5=b0739af76072fbe303dc04b6941e054f \ 13 file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=39;md5=b0739af76072fbe303dc04b6941e054f \
14" 14"
15 15
16SRC_URI += " \ 16PACKAGECONFIG ?= "examples"
17 file://0001-qtwebkit-examples-enable-building-examples-by-defaul.patch \
18"
19 17
20DEPENDS += "qtwebkit qtxmlpatterns" 18DEPENDS += "qtwebkit qtxmlpatterns"
21RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins" 19RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins"
22RDEPENDS_${PN}-examples += "${@base_contains('PACKAGECONFIG_OPENSSL', 'openssl', 'ca-certificates', '', d)}" 20RDEPENDS_${PN}-examples += "${@base_contains('PACKAGECONFIG_OPENSSL', 'openssl', 'ca-certificates', '', d)}"
23 21
24SRCREV = "7988aecdbcb07f3a214c2c804a39db3fc5617844" 22SRCREV = "1b9a0fc9d1ded4f4f11b04eb0bb7d1de82d6eb34"
diff --git a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
index 33e7dd28..e8b0e432 100644
--- a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
+++ b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
@@ -1,4 +1,4 @@
1From a5aae8adf808bb07b0326edbf2dc66bfb4917963 Mon Sep 17 00:00:00 2001 1From 1735a8484ef9ae336f8d607b56bda64c8af10c79 Mon Sep 17 00:00:00 2001
2From: Trevor Woerner <trevor.woerner@linaro.org> 2From: Trevor Woerner <trevor.woerner@linaro.org>
3Date: Fri, 7 Feb 2014 04:07:17 +0100 3Date: Fri, 7 Feb 2014 04:07:17 +0100
4Subject: [PATCH 1/3] qtwebkit: fix QA issue (bad RPATH) 4Subject: [PATCH 1/3] qtwebkit: fix QA issue (bad RPATH)
@@ -26,5 +26,5 @@ index fd66af6..ef754c3 100644
26 CONFIG(debug, debug|release)|force_debug_info { 26 CONFIG(debug, debug|release)|force_debug_info {
27 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase. 27 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
28-- 28--
292.6.1 292.7.0
30 30
diff --git a/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch b/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch
index 3c3b4893..b3a86159 100644
--- a/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch
+++ b/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch
@@ -1,4 +1,4 @@
1From 08e983e065acce369aa95e3fcb5b7fe6ca563e04 Mon Sep 17 00:00:00 2001 1From ae16ce17cc7060274a0b0c165b953fc32540f977 Mon Sep 17 00:00:00 2001
2From: Magnus Granberg <zorry@gentoo.org> 2From: Magnus Granberg <zorry@gentoo.org>
3Date: Fri, 27 Feb 2015 11:55:09 +0100 3Date: Fri, 27 Feb 2015 11:55:09 +0100
4Subject: [PATCH 2/3] Remove TEXTREL tag in x86 4Subject: [PATCH 2/3] Remove TEXTREL tag in x86
@@ -75,5 +75,5 @@ index 0a2fe78..2dc40ef 100644
75 #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) 75 #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name)
76 #endif 76 #endif
77-- 77--
782.6.1 782.7.0
79 79
diff --git a/recipes-qt/qt5/qtwebkit/0003-Exclude-backtrace-API-for-non-glibc-libraries.patch b/recipes-qt/qt5/qtwebkit/0003-Exclude-backtrace-API-for-non-glibc-libraries.patch
index 44650931..43798666 100644
--- a/recipes-qt/qt5/qtwebkit/0003-Exclude-backtrace-API-for-non-glibc-libraries.patch
+++ b/recipes-qt/qt5/qtwebkit/0003-Exclude-backtrace-API-for-non-glibc-libraries.patch
@@ -1,4 +1,4 @@
1From d4ea11922ebaf865f0b0c57e6746d6b985bf840f Mon Sep 17 00:00:00 2001 1From 6c36f0ff8c1f5852c33d2b23714f9f187cc6ff26 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 5 Jun 2015 19:55:05 -0700 3Date: Fri, 5 Jun 2015 19:55:05 -0700
4Subject: [PATCH 3/3] Exclude backtrace() API for non-glibc libraries 4Subject: [PATCH 3/3] Exclude backtrace() API for non-glibc libraries
@@ -34,5 +34,5 @@ index 1b2091f..ba03a28 100644
34 #elif OS(WINDOWS) && !OS(WINCE) 34 #elif OS(WINDOWS) && !OS(WINCE)
35 // The CaptureStackBackTrace function is available in XP, but it is not defined 35 // The CaptureStackBackTrace function is available in XP, but it is not defined
36-- 36--
372.6.1 372.7.0
38 38
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index 19b9c5a5..5c143138 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -56,6 +56,12 @@ do_configure_prepend() {
56QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0" 56QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
57EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}" 57EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}"
58 58
59do_install_append() {
60 # Remove paths to workdir, qtwebkit is dead now, so I won't spend extra time trying to prevent this
61 # from some .prl or .prf file like for other modules
62 sed -i 's@-Wl,-no-whole-archive -L${B}[^ ]* @ @g' ${D}${libdir}/pkgconfig/Qt5WebKit.pc
63}
64
59# remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe 65# remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe
60PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples" 66PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples"
61 67
diff --git a/recipes-qt/qt5/qtwebsockets_git.bb b/recipes-qt/qt5/qtwebsockets_git.bb
index 6aea0a6f..fbce6be6 100644
--- a/recipes-qt/qt5/qtwebsockets_git.bb
+++ b/recipes-qt/qt5/qtwebsockets_git.bb
@@ -11,4 +11,4 @@ LIC_FILES_CHKSUM = " \
11 11
12DEPENDS += "qtbase qtdeclarative" 12DEPENDS += "qtbase qtdeclarative"
13 13
14SRCREV = "469f748515b65cd4c9bec8794ec37ca6cf5df026" 14SRCREV = "2d8c94cf11097b61689757f8a0162bb7dd9d7d0b"
diff --git a/recipes-qt/qt5/qtx11extras_git.bb b/recipes-qt/qt5/qtx11extras_git.bb
index ac33fb26..0ae8e4a2 100644
--- a/recipes-qt/qt5/qtx11extras_git.bb
+++ b/recipes-qt/qt5/qtx11extras_git.bb
@@ -13,4 +13,4 @@ LIC_FILES_CHKSUM = " \
13 13
14DEPENDS += "qtbase" 14DEPENDS += "qtbase"
15 15
16SRCREV = "d64ee96f0df4d3baa6959b8552bc59d53cb0b451" 16SRCREV = "5df9fa8f3a7209c067a5d5068776b9aa52273d3b"