diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-05-04 12:44:44 +0300 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-05-04 12:54:53 +0300 |
commit | 6a766fa08af094e09d72ad52de3075e285af933a (patch) | |
tree | 41fe75c08cd2c5113735a8ec87af89c484d18ed8 | |
parent | 76a5128abebb3cc2e3e726dc17d6b2c768bdcc1b (diff) | |
parent | bc20e3dcd0176529740beb59ccf1f170b9f828a8 (diff) | |
download | meta-qt5-6a766fa08af094e09d72ad52de3075e285af933a.tar.gz |
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11
* qtyocto/upstream/master:
bc20e3d qt5-creator: upgrade to 4.5.1
4a3318e tufao: fix build with Qt 5.11, don't use qt5_use_modules
35f8981 qt5: upgrade to 5.11 beta3+
5bbfbca packagegroup-qt5-toolchain-target: drop both qtwebkit packages
f33be06 qt5: upgrade to 5.11 Alpha
c754974 qtbase: use mysql_config from correct path
41666dd qtmultimedia: Pass -DMESA_EGL_NO_X11_HEADERS=1 when x is disabled
6563f37 cinematicexperience: Add liberation-fonts to RDEPENDS
59c9742 qtlocation: Add licenses used under mapboxgl.
1ce10cf qtwebkit: Update to latest on 5.9 branch
4d09751 qtwebkit: Fix build on armv7ve (rpi)
8666a50 qt5: bump libconnman-qt5 to 1.2.7
45df5c9 .gitattributes: mark *.inc as Bitbake files
d9001fc qtbase: fix umask for do_generate_qt_environment_file
8124b3c packagegroup-qt5-toolchain-target/qttranslations: fix nothing provides qttranslations-qtconfig
d5f4726 Change default SRC_URI from github.com to code.qt.io
9ed1897 qt5-git.inc: drop nobranch=1
f69baf2 maliit-framework-qt5: refresh patches
61581ec layer.conf: add LAYERSERIES_COMPAT
Conflicts:
recipes-qt/qt5/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
recipes-qt/qt5/qt3d_git.bb
recipes-qt/qt5/qt5-git.inc
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch
recipes-qt/qt5/qtbase/0013-Always-build-uic-and-qvkgen.patch
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtcanvas3d_git.bb
recipes-qt/qt5/qtcharts_git.bb
recipes-qt/qt5/qtconnectivity_git.bb
recipes-qt/qt5/qtdeclarative_git.bb
recipes-qt/qt5/qtgraphicaleffects_git.bb
recipes-qt/qt5/qtimageformats_git.bb
recipes-qt/qt5/qtknx_git.bb
recipes-qt/qt5/qtlocation_git.bb
recipes-qt/qt5/qtmultimedia_git.bb
recipes-qt/qt5/qtpurchasing_git.bb
recipes-qt/qt5/qtquickcontrols2_git.bb
recipes-qt/qt5/qtremoteobjects_git.bb
recipes-qt/qt5/qtscript_git.bb
recipes-qt/qt5/qtsensors_git.bb
recipes-qt/qt5/qtsvg_git.bb
recipes-qt/qt5/qttools_git.bb
recipes-qt/qt5/qtvirtualkeyboard_git.bb
recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
recipes-qt/qt5/qtwayland_git.bb
recipes-qt/qt5/qtwebengine_git.bb
recipes-qt/qt5/qtwebsockets_git.bb
Task-number: QTBUG-67590
Change-Id: I62c5995490824324d61f13b2ef3044b97df0e9d3
73 files changed, 289 insertions, 444 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..cb2381c0 --- /dev/null +++ b/.gitattributes | |||
@@ -0,0 +1,2 @@ | |||
1 | # linguist overrides | ||
2 | recipes-*/**/*.inc linguist-language=BitBake | ||
diff --git a/conf/layer.conf b/conf/layer.conf index f5407105..df696c76 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -29,6 +29,8 @@ LAYERVERSION_qt5-layer = "1" | |||
29 | 29 | ||
30 | LAYERDEPENDS_qt5-layer = "core" | 30 | LAYERDEPENDS_qt5-layer = "core" |
31 | 31 | ||
32 | LAYERSERIES_COMPAT_qt5-layer = "sumo" | ||
33 | |||
32 | LICENSE_PATH += "${LAYERDIR}/licenses" | 34 | LICENSE_PATH += "${LAYERDIR}/licenses" |
33 | 35 | ||
34 | IMAGE_FEATURES[validitems] += "qtcreator-debug" | 36 | IMAGE_FEATURES[validitems] += "qtcreator-debug" |
diff --git a/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb b/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb index ecd295c3..368510d6 100644 --- a/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb +++ b/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb | |||
@@ -5,9 +5,9 @@ HOMEPAGE = "https://git.merproject.org/mer-core/libconnman-qt" | |||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
6 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" | 6 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" |
7 | DEPENDS += "qtbase qtdeclarative" | 7 | DEPENDS += "qtbase qtdeclarative" |
8 | PV = "1.2.4+git${SRCPV}" | 8 | PV = "1.2.7+git${SRCPV}" |
9 | 9 | ||
10 | SRCREV = "9d98e12ed60ae4fa9da62485cb8a82129ed1a464" | 10 | SRCREV = "ad7fef1c35a3e897913965f73b879a14d65043dd" |
11 | SRC_URI = "git://git.merproject.org/mer-core/libconnman-qt.git;protocol=https \ | 11 | SRC_URI = "git://git.merproject.org/mer-core/libconnman-qt.git;protocol=https \ |
12 | file://0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch \ | 12 | file://0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch \ |
13 | " | 13 | " |
diff --git a/recipes-qt/examples/cinematicexperience_1.0.bb b/recipes-qt/examples/cinematicexperience_1.0.bb index 0c535730..7f921d85 100644 --- a/recipes-qt/examples/cinematicexperience_1.0.bb +++ b/recipes-qt/examples/cinematicexperience_1.0.bb | |||
@@ -19,7 +19,7 @@ S = "${WORKDIR}/Qt5_CinematicExperience_rpi_${PV}/" | |||
19 | #S = "${WORKDIR}/Qt5_CinematicExperience_${PV}/" | 19 | #S = "${WORKDIR}/Qt5_CinematicExperience_${PV}/" |
20 | 20 | ||
21 | DEPENDS = "qtdeclarative qtgraphicaleffects" | 21 | DEPENDS = "qtdeclarative qtgraphicaleffects" |
22 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 22 | RDEPENDS_${PN} = "liberation-fonts qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
23 | 23 | ||
24 | require recipes-qt/qt5/qt5.inc | 24 | require recipes-qt/qt5/qt5.inc |
25 | 25 | ||
diff --git a/recipes-qt/maliit/maliit-framework-qt5/0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch b/recipes-qt/maliit/maliit-framework-qt5/0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch index acd9a57a..a4103f25 100644 --- a/recipes-qt/maliit/maliit-framework-qt5/0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch +++ b/recipes-qt/maliit/maliit-framework-qt5/0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 33554f9b3fd493c7e28617fd01466ffa87251f27 Mon Sep 17 00:00:00 2001 | 1 | From be5c73c72d1efa90ba440957d6f5ff3278c25545 Mon Sep 17 00:00:00 2001 |
2 | From: Samuel Stirtzel <s.stirtzel@googlemail.com> | 2 | From: Samuel Stirtzel <s.stirtzel@googlemail.com> |
3 | Date: Wed, 1 Aug 2012 13:21:51 +0200 | 3 | Date: Wed, 1 Aug 2012 13:21:51 +0200 |
4 | Subject: [PATCH] Fix MALIIT_INSTALL_PRF to allow the build with openembedded | 4 | Subject: [PATCH] Fix MALIIT_INSTALL_PRF to allow the build with openembedded |
@@ -6,16 +6,17 @@ Subject: [PATCH] Fix MALIIT_INSTALL_PRF to allow the build with openembedded | |||
6 | Upstream-Status: Inappropriate [configuration] | 6 | Upstream-Status: Inappropriate [configuration] |
7 | 7 | ||
8 | Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> | 8 | Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> |
9 | |||
9 | --- | 10 | --- |
10 | config.pri | 8 +++++--- | 11 | config.pri | 8 +++++--- |
11 | 1 file changed, 5 insertions(+), 3 deletions(-) | 12 | 1 file changed, 5 insertions(+), 3 deletions(-) |
12 | 13 | ||
13 | diff --git a/config.pri b/config.pri | 14 | diff --git a/config.pri b/config.pri |
14 | index b037b8c..43409f3 100644 | 15 | index 8f24864..94d595a 100644 |
15 | --- a/config.pri | 16 | --- a/config.pri |
16 | +++ b/config.pri | 17 | +++ b/config.pri |
17 | @@ -161,9 +161,11 @@ contains(QT_MAJOR_VERSION, 4) { | 18 | @@ -144,9 +144,11 @@ noxcb { |
18 | QT_WIDGETS = gui widgets | 19 | DEFINES += NOXCB |
19 | } | 20 | } |
20 | 21 | ||
21 | -MALIIT_INSTALL_PRF = $$[QT_INSTALL_DATA]/mkspecs/features | 22 | -MALIIT_INSTALL_PRF = $$[QT_INSTALL_DATA]/mkspecs/features |
@@ -29,6 +30,3 @@ index b037b8c..43409f3 100644 | |||
29 | } | 30 | } |
30 | 31 | ||
31 | defineTest(outputFile) { | 32 | defineTest(outputFile) { |
32 | -- | ||
33 | 1.7.9.5 | ||
34 | |||
diff --git a/recipes-qt/maliit/maliit-framework-qt5/0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch b/recipes-qt/maliit/maliit-framework-qt5/0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch index 73560340..2310e637 100644 --- a/recipes-qt/maliit/maliit-framework-qt5/0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch +++ b/recipes-qt/maliit/maliit-framework-qt5/0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cb38c078fa34a3d0cff6bc195edd9f507477d2e1 Mon Sep 17 00:00:00 2001 | 1 | From fb4316ca6e44a6b34e7d109360fc716c372e1293 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 12 Jul 2017 11:45:06 -0700 | 3 | Date: Wed, 12 Jul 2017 11:45:06 -0700 |
4 | Subject: [PATCH] config.pri: Use -O1 optimization in DEBUG flags | 4 | Subject: [PATCH] config.pri: Use -O1 optimization in DEBUG flags |
@@ -10,15 +10,16 @@ O1 is a good compromise between debug quality and | |||
10 | optimization level. | 10 | optimization level. |
11 | 11 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
13 | |||
13 | --- | 14 | --- |
14 | config.pri | 4 ++-- | 15 | config.pri | 4 ++-- |
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | 16 | 1 file changed, 2 insertions(+), 2 deletions(-) |
16 | 17 | ||
17 | diff --git a/config.pri b/config.pri | 18 | diff --git a/config.pri b/config.pri |
18 | index 1505f9d..7cc196a 100644 | 19 | index 94d595a..d7b221f 100644 |
19 | --- a/config.pri | 20 | --- a/config.pri |
20 | +++ b/config.pri | 21 | +++ b/config.pri |
21 | @@ -13,8 +13,8 @@ include(defines.pri) | 22 | @@ -15,8 +15,8 @@ include(defines.pri) |
22 | # Linker optimization for release build | 23 | # Linker optimization for release build |
23 | QMAKE_LFLAGS_RELEASE+=-Wl,--as-needed | 24 | QMAKE_LFLAGS_RELEASE+=-Wl,--as-needed |
24 | # Compiler warnings are error if the build type is debug | 25 | # Compiler warnings are error if the build type is debug |
@@ -29,6 +30,3 @@ index 1505f9d..7cc196a 100644 | |||
29 | 30 | ||
30 | OBJECTS_DIR = .obj | 31 | OBJECTS_DIR = .obj |
31 | MOC_DIR = .moc | 32 | MOC_DIR = .moc |
32 | -- | ||
33 | 2.13.2 | ||
34 | |||
diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb index d899ff94..f8662ecb 100755 --- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb +++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb | |||
@@ -15,8 +15,6 @@ USE_RUBY = " \ | |||
15 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtquick1-qmlplugins', '', d)} \ | 15 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtquick1-qmlplugins', '', d)} \ |
16 | qttranslations-qtquick1 \ | 16 | qttranslations-qtquick1 \ |
17 | qtwebkit-dev \ | 17 | qtwebkit-dev \ |
18 | qtwebkit-mkspecs \ | ||
19 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtwebkit-qmlplugins', '', d)} \ | ||
20 | " | 18 | " |
21 | 19 | ||
22 | # Requires Wayland to work | 20 | # Requires Wayland to work |
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index c0867972..b61bf7df 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = " \ | |||
11 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ | 11 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ |
12 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ | 12 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ |
13 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 13 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
14 | file://LICENSE.PREVIEW.COMMERCIAL;md5=8ee24b8d305ef7779e07647a7b70e1bc \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | QT_MODULE = "qtbase" | 17 | QT_MODULE = "qtbase" |
@@ -22,8 +23,8 @@ require qt5-git.inc | |||
22 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" | 23 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" |
23 | 24 | ||
24 | # common for qtbase-native, qtbase-nativesdk and qtbase | 25 | # common for qtbase-native, qtbase-nativesdk and qtbase |
25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-shared | 26 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
26 | # 5.10.meta-qt5-shared.2 | 27 | # 5.11.meta-qt5-shared.2 |
27 | SRC_URI += "\ | 28 | SRC_URI += "\ |
28 | file://0001-Add-linux-oe-g-platform.patch \ | 29 | file://0001-Add-linux-oe-g-platform.patch \ |
29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 30 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -40,8 +41,8 @@ SRC_URI += "\ | |||
40 | " | 41 | " |
41 | 42 | ||
42 | # common for qtbase-native and nativesdk-qtbase | 43 | # common for qtbase-native and nativesdk-qtbase |
43 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-native | 44 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native |
44 | # 5.10.meta-qt5-native.2 | 45 | # 5.11.meta-qt5-native.2 |
45 | SRC_URI += " \ | 46 | SRC_URI += " \ |
46 | file://0013-Always-build-uic-and-qvkgen.patch \ | 47 | file://0013-Always-build-uic-and-qvkgen.patch \ |
47 | " | 48 | " |
@@ -174,7 +175,9 @@ do_install() { | |||
174 | # Fix up absolute paths in scripts | 175 | # Fix up absolute paths in scripts |
175 | sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \ | 176 | sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \ |
176 | ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py | 177 | ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py |
178 | } | ||
177 | 179 | ||
180 | fakeroot do_generate_qt_environment_file() { | ||
178 | mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d/ | 181 | mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d/ |
179 | script=${D}${SDKPATHNATIVE}/environment-setup.d/qt5.sh | 182 | script=${D}${SDKPATHNATIVE}/environment-setup.d/qt5.sh |
180 | 183 | ||
@@ -203,4 +206,7 @@ do_install() { | |||
203 | sed -i -e 's:${SDKPATHNATIVE}:$OECORE_NATIVE_SYSROOT:g' $script | 206 | sed -i -e 's:${SDKPATHNATIVE}:$OECORE_NATIVE_SYSROOT:g' $script |
204 | } | 207 | } |
205 | 208 | ||
209 | do_generate_qt_environment_file[umask] = "022" | ||
210 | addtask generate_qt_environment_file after do_install before do_package | ||
211 | |||
206 | SRCREV = "cf204590ea94bb3a191b5e783471bd6f5a04ab8e" | 212 | SRCREV = "cf204590ea94bb3a191b5e783471bd6f5a04ab8e" |
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 index f11aef65..61d0e4a1 100644 --- a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch +++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b29e44be0294d5c0c6ac0a5e14a6e1c150a122a4 Mon Sep 17 00:00:00 2001 | 1 | From 0fc2916634a213f38b81ae74160136cf384f6166 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | 2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> |
3 | Date: Wed, 10 Feb 2016 09:02:09 +0200 | 3 | Date: Wed, 10 Feb 2016 09:02:09 +0200 |
4 | Subject: [PATCH] Allow a tools-only build | 4 | Subject: [PATCH] Allow a tools-only build |
@@ -40,7 +40,7 @@ index 8ba2d9a41..e973d93dd 100644 | |||
40 | } else { | 40 | } else { |
41 | include(assimp.pri) | 41 | include(assimp.pri) |
42 | diff --git a/tools/tools.pro b/tools/tools.pro | 42 | diff --git a/tools/tools.pro b/tools/tools.pro |
43 | index 64f2b9fc7..d108e7fa7 100644 | 43 | index 64f2b9f..d108e7f 100644 |
44 | --- a/tools/tools.pro | 44 | --- a/tools/tools.pro |
45 | +++ b/tools/tools.pro | 45 | +++ b/tools/tools.pro |
46 | @@ -1,4 +1,4 @@ | 46 | @@ -1,4 +1,4 @@ |
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index 0285003b..a3dbf566 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb | |||
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = " \ | |||
11 | DEPENDS += "qtbase" | 11 | DEPENDS += "qtbase" |
12 | DEPENDS_class-target += "qtdeclarative qt3d-native" | 12 | DEPENDS_class-target += "qtdeclarative qt3d-native" |
13 | 13 | ||
14 | # Patches from https://github.com/meta-qt5/qt3d/commits/b5.10 | 14 | # Patches from https://github.com/meta-qt5/qt3d/commits/b5.11 |
15 | # 5.10.meta-qt5.2 | 15 | # 5.11.meta-qt5.2 |
16 | SRC_URI += " \ | 16 | SRC_URI += " \ |
17 | file://0001-Allow-a-tools-only-build.patch \ | 17 | file://0001-Allow-a-tools-only-build.patch \ |
18 | " | 18 | " |
diff --git a/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch b/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch index c4ee34bf..28dc4755 100644 --- a/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch +++ b/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 056bc88a15df06443a4a6bdea2b1ead045f89bf6 Mon Sep 17 00:00:00 2001 | 1 | From 231e0cf0c764d3b63cd5ec788ac0ee901b47fc8e Mon Sep 17 00:00:00 2001 |
2 | From: Greg Nietsky <gregory@distrotech.co.za> | 2 | From: Greg Nietsky <gregory@distrotech.co.za> |
3 | Date: Tue, 4 Mar 2014 11:33:40 +0200 | 3 | Date: Tue, 4 Mar 2014 11:33:40 +0200 |
4 | Subject: [PATCH] Fix: Allow qt-creator to build on arm aarch32 and aarch64 | 4 | Subject: [PATCH] Fix: Allow qt-creator to build on arm aarch32 and aarch64 |
@@ -14,7 +14,7 @@ Change-Id: Iddea28f21c9fa1afd2fdd5d16a44e6c96a516a7a | |||
14 | 2 files changed, 17 insertions(+), 1 deletion(-) | 14 | 2 files changed, 17 insertions(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp | 16 | diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp |
17 | index e6a5f22..7b625ac 100644 | 17 | index 87736d5..2e950d8 100644 |
18 | --- a/src/libs/3rdparty/botan/botan.cpp | 18 | --- a/src/libs/3rdparty/botan/botan.cpp |
19 | +++ b/src/libs/3rdparty/botan/botan.cpp | 19 | +++ b/src/libs/3rdparty/botan/botan.cpp |
20 | @@ -1101,6 +1101,8 @@ class Montgomery_Exponentiator : public Modular_Exponentiator | 20 | @@ -1101,6 +1101,8 @@ class Montgomery_Exponentiator : public Modular_Exponentiator |
@@ -76,7 +76,7 @@ index e6a5f22..7b625ac 100644 | |||
76 | * Helper Macros for x86 Assembly | 76 | * Helper Macros for x86 Assembly |
77 | */ | 77 | */ |
78 | diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h | 78 | diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h |
79 | index 2caa4a3..39b8079 100644 | 79 | index d7b90cc..26ca8ac 100644 |
80 | --- a/src/libs/3rdparty/botan/botan.h | 80 | --- a/src/libs/3rdparty/botan/botan.h |
81 | +++ b/src/libs/3rdparty/botan/botan.h | 81 | +++ b/src/libs/3rdparty/botan/botan.h |
82 | @@ -85,7 +85,9 @@ | 82 | @@ -85,7 +85,9 @@ |
diff --git a/recipes-qt/qt5/qt5-creator/0002-Fix-compilation-with-QT_NO_ACCESSIBILITY.patch b/recipes-qt/qt5/qt5-creator/0002-Fix-compilation-with-QT_NO_ACCESSIBILITY.patch deleted file mode 100644 index 8d953c99..00000000 --- a/recipes-qt/qt5/qt5-creator/0002-Fix-compilation-with-QT_NO_ACCESSIBILITY.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From fbae8e85e74976b79308c203d38839b364757302 Mon Sep 17 00:00:00 2001 | ||
2 | From: Eike Ziller <eike.ziller@qt.io> | ||
3 | Date: Fri, 24 Jun 2016 10:23:24 +0200 | ||
4 | Subject: [PATCH] Fix compilation with QT_NO_ACCESSIBILITY | ||
5 | |||
6 | Task-number: QTCREATORBUG-16446 | ||
7 | Change-Id: If75122c23a697f26ccf56391fe2e8d316aad6367 | ||
8 | Reviewed-by: hjk <hjk@theqtcompany.com> | ||
9 | --- | ||
10 | src/libs/utils/fancymainwindow.cpp | 7 +++++-- | ||
11 | 1 file changed, 5 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/src/libs/utils/fancymainwindow.cpp b/src/libs/utils/fancymainwindow.cpp | ||
14 | index 9477f17..1ee425f 100644 | ||
15 | --- a/src/libs/utils/fancymainwindow.cpp | ||
16 | +++ b/src/libs/utils/fancymainwindow.cpp | ||
17 | @@ -159,13 +159,16 @@ public: | ||
18 | |||
19 | m_floatButton = new DockWidgetTitleButton(this); | ||
20 | m_floatButton->setIcon(q->style()->standardIcon(QStyle::SP_TitleBarNormalButton, &opt, q)); | ||
21 | - m_floatButton->setAccessibleName(QDockWidget::tr("Float")); | ||
22 | - m_floatButton->setAccessibleDescription(QDockWidget::tr("Undocks and re-attaches the dock widget")); | ||
23 | |||
24 | m_closeButton = new DockWidgetTitleButton(this); | ||
25 | m_closeButton->setIcon(q->style()->standardIcon(QStyle::SP_TitleBarCloseButton, &opt, q)); | ||
26 | + | ||
27 | +#ifndef QT_NO_ACCESSIBILITY | ||
28 | + m_floatButton->setAccessibleName(QDockWidget::tr("Float")); | ||
29 | + m_floatButton->setAccessibleDescription(QDockWidget::tr("Undocks and re-attaches the dock widget")); | ||
30 | m_closeButton->setAccessibleName(QDockWidget::tr("Close")); | ||
31 | m_closeButton->setAccessibleDescription(QDockWidget::tr("Closes the dock widget")); | ||
32 | +#endif | ||
33 | |||
34 | setActive(false); | ||
35 | |||
diff --git a/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch new file mode 100644 index 00000000..40e277fe --- /dev/null +++ b/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | From a30f4335d49516eb4654111af5bf073b633f7336 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 16 Jan 2018 13:26:57 +0000 | ||
4 | Subject: [PATCH] Link with libexecinfo on musl | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
8 | --- | ||
9 | src/plugins/debugger/debugger.pro | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro | ||
13 | index f5a34aa..4a1359d 100644 | ||
14 | --- a/src/plugins/debugger/debugger.pro | ||
15 | +++ b/src/plugins/debugger/debugger.pro | ||
16 | @@ -141,3 +141,4 @@ include(console/console.pri) | ||
17 | include(analyzer/analyzer.pri) | ||
18 | |||
19 | include(shared/shared.pri) | ||
20 | +LIBS *= -lexecinfo | ||
diff --git a/recipes-qt/qt5/qt5-creator/0003-Qmlpuppet-add-missing-includes.patch b/recipes-qt/qt5/qt5-creator/0003-Qmlpuppet-add-missing-includes.patch deleted file mode 100644 index e64b6d9a..00000000 --- a/recipes-qt/qt5/qt5-creator/0003-Qmlpuppet-add-missing-includes.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From 896624d715e20e658344ac85db91cd55d25e7211 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marco Benelli <marco.benelli@qt.io> | ||
3 | Date: Thu, 6 Jul 2017 09:31:41 +0200 | ||
4 | Subject: [PATCH] Qmlpuppet: add missing includes | ||
5 | |||
6 | Task-number: QTCREATORBUG-18498 | ||
7 | Change-Id: Ie40a066508bb52f53b8ad528f9d4cf6969fc0632 | ||
8 | Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> | ||
9 | --- | ||
10 | .../qtcreator/qml/qmlpuppet/qml2puppet/instances/layoutnodeinstance.cpp | 2 ++ | ||
11 | .../qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.cpp | 1 + | ||
12 | 2 files changed, 3 insertions(+) | ||
13 | |||
14 | diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/layoutnodeinstance.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/layoutnodeinstance.cpp | ||
15 | index 3f9f148..160e5c4 100644 | ||
16 | --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/layoutnodeinstance.cpp | ||
17 | +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/layoutnodeinstance.cpp | ||
18 | @@ -29,6 +29,8 @@ | ||
19 | ****************************************************************************/ | ||
20 | #include "layoutnodeinstance.h" | ||
21 | |||
22 | +#include <QCoreApplication> | ||
23 | + | ||
24 | namespace QmlDesigner { | ||
25 | namespace Internal { | ||
26 | |||
27 | diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.cpp | ||
28 | index 5a9342f..bacbc12 100644 | ||
29 | --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.cpp | ||
30 | +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.cpp | ||
31 | @@ -33,6 +33,7 @@ | ||
32 | #include <enumeration.h> | ||
33 | #include <qmlprivategate.h> | ||
34 | |||
35 | +#include <QDebug> | ||
36 | #include <QEvent> | ||
37 | #include <QQmlContext> | ||
38 | #include <QQmlError> | ||
diff --git a/recipes-qt/qt5/qt5-creator/0004-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0004-Link-with-libexecinfo-on-musl.patch deleted file mode 100644 index 59687e55..00000000 --- a/recipes-qt/qt5/qt5-creator/0004-Link-with-libexecinfo-on-musl.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 7fb65b82d247123c7fdb61436183f1d76067b66b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 16 Jan 2018 13:26:57 +0000 | ||
4 | Subject: [PATCH] Link with libexecinfo on musl | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
8 | --- | ||
9 | src/plugins/debugger/debugger.pro | 1 + | ||
10 | src/plugins/qmldesigner/config.pri | 1 + | ||
11 | 2 files changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro | ||
14 | index c40bd63..96ab542 100644 | ||
15 | --- a/src/plugins/debugger/debugger.pro | ||
16 | +++ b/src/plugins/debugger/debugger.pro | ||
17 | @@ -148,3 +148,4 @@ include(qml/qml.pri) | ||
18 | include(namedemangler/namedemangler.pri) | ||
19 | |||
20 | include(shared/shared.pri) | ||
21 | +LIBS *= -lexecinfo | ||
22 | diff --git a/src/plugins/qmldesigner/config.pri b/src/plugins/qmldesigner/config.pri | ||
23 | index 1b559b2..b485b63 100644 | ||
24 | --- a/src/plugins/qmldesigner/config.pri | ||
25 | +++ b/src/plugins/qmldesigner/config.pri | ||
26 | @@ -9,3 +9,4 @@ equals(TMP_BAUHAUS_NO_OUTPUT, true):DEFINES += QT_NO_DEBUG_OUTPUT \ | ||
27 | DEFINES += ENABLE_TEXT_VIEW | ||
28 | |||
29 | isEmpty($$(BAUHAUS_OUTPUT_IN_TEST)):DEFINES += QDEBUG_IN_TESTS WARNINGS_IN_TESTS | ||
30 | +LIBS *= -lexecinfo | ||
diff --git a/recipes-qt/qt5/qt5-creator_3.5.1.bb b/recipes-qt/qt5/qt5-creator_4.5.1.bb index fe9cb414..e97e591e 100644 --- a/recipes-qt/qt5/qt5-creator_3.5.1.bb +++ b/recipes-qt/qt5/qt5-creator_4.5.1.bb | |||
@@ -7,11 +7,9 @@ SUMMARY = "Qt Creator is a new cross-platform Qt IDE" | |||
7 | # 'System GDB at /usr/bin/gdb. | 7 | # 'System GDB at /usr/bin/gdb. |
8 | 8 | ||
9 | HOMEPAGE = "https://qt-project.org/" | 9 | HOMEPAGE = "https://qt-project.org/" |
10 | LICENSE = "LGPLv2.1 | GPLv3" | 10 | LICENSE = "GPLv3" |
11 | LIC_FILES_CHKSUM = " \ | 11 | LIC_FILES_CHKSUM = " \ |
12 | file://LGPL_EXCEPTION.TXT;md5=f4748b0d1a72c5c8fb5dab2dd1f7fa46 \ | 12 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ |
13 | file://LICENSE.LGPLv21;md5=825920de5f6db2eeb1bebe625476346d \ | ||
14 | file://LICENSE.LGPLv3;md5=0786418af032b9e608909874f334a2d1 \ | ||
15 | " | 13 | " |
16 | 14 | ||
17 | inherit qmake5 | 15 | inherit qmake5 |
@@ -19,39 +17,25 @@ inherit qmake5 | |||
19 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg qtquick1" | 17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg qtquick1" |
20 | DEPENDS_append_libc-musl = " libexecinfo" | 18 | DEPENDS_append_libc-musl = " libexecinfo" |
21 | 19 | ||
22 | # Patches from https://github.com/meta-qt5/qtcreator/commits/b5.3.1 | 20 | # Patches from https://github.com/meta-qt5/qtcreator/commits/b5.4.1 |
23 | # 5.3.1.meta-qt5.1 | 21 | # 5.4.1.meta-qt5.1 |
24 | SRC_URI = " \ | 22 | SRC_URI = " \ |
25 | http://download.qt.io/official_releases/qtcreator/3.5/${PV}/qt-creator-opensource-src-${PV}.tar.gz \ | 23 | http://download.qt.io/official_releases/qtcreator/4.5/${PV}/qt-creator-opensource-src-${PV}.tar.gz \ |
26 | file://0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch \ | 24 | file://0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch \ |
27 | file://0002-Fix-compilation-with-QT_NO_ACCESSIBILITY.patch \ | ||
28 | file://0003-Qmlpuppet-add-missing-includes.patch \ | ||
29 | file://qtcreator.desktop.in \ | 25 | file://qtcreator.desktop.in \ |
30 | " | 26 | " |
27 | SRC_URI_append_libc-musl = " file://0002-Link-with-libexecinfo-on-musl.patch" | ||
31 | 28 | ||
32 | SRC_URI_append_libc-musl = " file://0004-Link-with-libexecinfo-on-musl.patch" | 29 | SRC_URI[md5sum] = "bd7fdbcdfa84df1171fb28174353e57f" |
33 | 30 | SRC_URI[sha256sum] = "5fdfc8f05694e37162f208616627262c9971749d6958d8881d62933b3b53e909" | |
34 | |||
35 | SRC_URI[md5sum] = "77aef7df837eba07c7ce6037ee504c05" | ||
36 | SRC_URI[sha256sum] = "5925ac818a08be919094e0f28fb4c5d8896765e0975d54d353e4c50f13d63e65" | ||
37 | 31 | ||
38 | S = "${WORKDIR}/qt-creator-opensource-src-${PV}" | 32 | S = "${WORKDIR}/qt-creator-opensource-src-${PV}" |
39 | 33 | ||
40 | EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}${QT_DIR_NAME}" | 34 | EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}${QT_DIR_NAME}" |
41 | 35 | ||
42 | LDFLAGS_append_libc-musl = " -lexecinfo " | ||
43 | do_configure_append() { | 36 | do_configure_append() { |
44 | # Find native tools | 37 | # Find native tools |
45 | sed -i 's:${STAGING_BINDIR}.*/lrelease:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lrelease:g' ${B}/share/qtcreator/translations/Makefile | ||
46 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile | 38 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile |
47 | |||
48 | # see qtbase-native.inc | ||
49 | # sed -i 's:QT_INSTALL_DOCS=${docdir}:QT_INSTALL_DOCS=${STAGING_DATADIR_NATIVE}${QT_DIR_NAME}/doc:g' ${B}/Makefile | ||
50 | } | ||
51 | |||
52 | do_compile_append() { | ||
53 | # build docs | ||
54 | #oe_runmake docs_online | ||
55 | } | 39 | } |
56 | 40 | ||
57 | do_install() { | 41 | do_install() { |
@@ -65,6 +49,7 @@ do_install() { | |||
65 | 49 | ||
66 | FILES_${PN} += " \ | 50 | FILES_${PN} += " \ |
67 | ${datadir}/qtcreator \ | 51 | ${datadir}/qtcreator \ |
52 | ${datadir}/metainfo \ | ||
68 | ${datadir}/icons \ | 53 | ${datadir}/icons \ |
69 | ${libdir}${QT_DIR_NAME}/qtcreator \ | 54 | ${libdir}${QT_DIR_NAME}/qtcreator \ |
70 | " | 55 | " |
@@ -79,7 +64,7 @@ FILES_${PN}-dev += " \ | |||
79 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ | 64 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ |
80 | " | 65 | " |
81 | 66 | ||
82 | RDEPENDS_${PN} += "perl" | 67 | RDEPENDS_${PN} += "perl python" |
83 | RCONFLICTS_${PN} = "qt-creator" | 68 | RCONFLICTS_${PN} = "qt-creator" |
84 | 69 | ||
85 | # To give best user experience out of the box.. | 70 | # To give best user experience out of the box.. |
@@ -91,3 +76,6 @@ RRECOMMENDS_${PN} += " \ | |||
91 | gcc-symlinks g++-symlinks cpp-symlinks \ | 76 | gcc-symlinks g++-symlinks cpp-symlinks \ |
92 | gdb \ | 77 | gdb \ |
93 | " | 78 | " |
79 | |||
80 | # ERROR: qt5-creator-4.5.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/libqbscore.so.1.10.1' | ||
81 | INSANE_SKIP_${PN} += "ldflags" | ||
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc index 94f2bfbc..ac894cf8 100644 --- a/recipes-qt/qt5/qt5-git.inc +++ b/recipes-qt/qt5/qt5-git.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. |
2 | # Copyright (C) 2013-2017 Martin Jansa <martin.jansa@gmail.com> | 2 | # Copyright (C) 2013-2018 Martin Jansa <martin.jansa@gmail.com> |
3 | 3 | ||
4 | QT_MODULE ?= "${BPN}" | 4 | QT_MODULE ?= "${BPN}" |
5 | QT_MODULE_BRANCH ?= "5.11" | 5 | QT_MODULE_BRANCH ?= "5.11" |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 9c90ab97..1d57e6fb 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -11,14 +11,15 @@ LIC_FILES_CHKSUM = " \ | |||
11 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ | 11 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ |
12 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ | 12 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ |
13 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 13 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
14 | file://LICENSE.PREVIEW.COMMERCIAL;md5=8ee24b8d305ef7779e07647a7b70e1bc \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | require qt5-native.inc | 17 | require qt5-native.inc |
17 | require qt5-git.inc | 18 | require qt5-git.inc |
18 | 19 | ||
19 | # common for qtbase-native, qtbase-nativesdk and qtbase | 20 | # common for qtbase-native, qtbase-nativesdk and qtbase |
20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-shared | 21 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
21 | # 5.10.meta-qt5-shared.2 | 22 | # 5.11.meta-qt5-shared.2 |
22 | SRC_URI += "\ | 23 | SRC_URI += "\ |
23 | file://0001-Add-linux-oe-g-platform.patch \ | 24 | file://0001-Add-linux-oe-g-platform.patch \ |
24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 25 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -36,7 +37,7 @@ SRC_URI += "\ | |||
36 | 37 | ||
37 | # common for qtbase-native and nativesdk-qtbase | 38 | # common for qtbase-native and nativesdk-qtbase |
38 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-native | 39 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-native |
39 | # 5.10.meta-qt5-native.2 | 40 | # 5.11.meta-qt5-native.2 |
40 | SRC_URI += " \ | 41 | SRC_URI += " \ |
41 | file://0013-Always-build-uic-and-qvkgen.patch \ | 42 | file://0013-Always-build-uic-and-qvkgen.patch \ |
42 | " | 43 | " |
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 07fc2f77..dbb0b9dc 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1ed7a2e9a883fe1240d89b7b70fb0f296bb2b54f Mon Sep 17 00:00:00 2001 | 1 | From 6a84c4a36742716b5db715c2538901f37ff8b1c5 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
4 | Subject: [PATCH] Add linux-oe-g++ platform | 4 | Subject: [PATCH] Add linux-oe-g++ platform |
@@ -30,7 +30,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
30 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 30 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
31 | 31 | ||
32 | diff --git a/configure b/configure | 32 | diff --git a/configure b/configure |
33 | index 08b49a8..5876721 100755 | 33 | index 2830a1b..6445dc2 100755 |
34 | --- a/configure | 34 | --- a/configure |
35 | +++ b/configure | 35 | +++ b/configure |
36 | @@ -712,7 +712,7 @@ fi | 36 | @@ -712,7 +712,7 @@ fi |
diff --git a/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch b/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch index fa598834..5c23052b 100644 --- a/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch +++ b/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c7dd4e5de1fac8c35df79a86418b6cd552024bd0 Mon Sep 17 00:00:00 2001 | 1 | From 7c0c897d0d534bfc9183f9da1d9b280e709b0917 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 | 3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 |
4 | Subject: [PATCH] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS | 4 | Subject: [PATCH] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS |
@@ -19,7 +19,7 @@ Change-Id: Iacaa1c5531cd6dcc094891610c351673db55d7b2 | |||
19 | 3 files changed, 6 insertions(+), 6 deletions(-) | 19 | 3 files changed, 6 insertions(+), 6 deletions(-) |
20 | 20 | ||
21 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in | 21 | diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in |
22 | index 545b9a3..c991a9b 100644 | 22 | index e0652fd..215f435 100644 |
23 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in | 23 | --- a/src/corelib/Qt5CoreConfigExtras.cmake.in |
24 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in | 24 | +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in |
25 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) | 25 | @@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake) |
diff --git a/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch index cc0a3305..d0d5390d 100644 --- a/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch +++ b/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f1d359e60e76867cee1df636c5c834fe829f5316 Mon Sep 17 00:00:00 2001 | 1 | From d52e2787db887056eed59b9020f1ca625cffa2e4 Mon Sep 17 00:00:00 2001 |
2 | From: Holger Freyther <zecke@selfish.org> | 2 | From: Holger Freyther <zecke@selfish.org> |
3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 | 3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 |
4 | Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the | 4 | Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the |
@@ -19,7 +19,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
19 | 1 file changed, 4 insertions(+), 1 deletion(-) | 19 | 1 file changed, 4 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 21 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
22 | index b4ba0b5..11d4c00 100644 | 22 | index 422d08f..a59df4f 100644 |
23 | --- a/src/corelib/global/qlibraryinfo.cpp | 23 | --- a/src/corelib/global/qlibraryinfo.cpp |
24 | +++ b/src/corelib/global/qlibraryinfo.cpp | 24 | +++ b/src/corelib/global/qlibraryinfo.cpp |
25 | @@ -172,7 +172,10 @@ void QLibrarySettings::load() | 25 | @@ -172,7 +172,10 @@ void QLibrarySettings::load() |
diff --git a/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch index 5a3dfea2..e806fabb 100644 --- a/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch +++ b/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cb813ec552f965208ecfc9750a0fbf10841322fb Mon Sep 17 00:00:00 2001 | 1 | From eb7df134dff6991cf9d84ea0c8313dfa1f2cc4dc Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 | 3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 |
4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters | 4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters |
@@ -15,10 +15,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com> | |||
15 | 1 file changed, 3 insertions(+), 3 deletions(-) | 15 | 1 file changed, 3 insertions(+), 3 deletions(-) |
16 | 16 | ||
17 | diff --git a/configure.pri b/configure.pri | 17 | diff --git a/configure.pri b/configure.pri |
18 | index ea48255..0699701 100644 | 18 | index 0512ef0..8a53223 100644 |
19 | --- a/configure.pri | 19 | --- a/configure.pri |
20 | +++ b/configure.pri | 20 | +++ b/configure.pri |
21 | @@ -796,10 +796,10 @@ defineTest(qtConfOutput_preparePaths) { | 21 | @@ -817,10 +817,10 @@ defineTest(qtConfOutput_preparePaths) { |
22 | "static const char qt_configure_installation [12+11] = \"qt_instdate=2012-12-20\";" \ | 22 | "static const char qt_configure_installation [12+11] = \"qt_instdate=2012-12-20\";" \ |
23 | "" \ | 23 | "" \ |
24 | "/* Installation Info */" \ | 24 | "/* Installation Info */" \ |
diff --git a/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch b/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch index 099ea5a1..88967e78 100644 --- a/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch +++ b/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 642496d2ecd9b322c5b2e68ba9d9190c999d1d56 Mon Sep 17 00:00:00 2001 | 1 | From a1799db5d1b2e2e7d47c37872e887dfab4b4974a Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Mon, 24 Oct 2016 09:45:18 +0300 | 3 | Date: Mon, 24 Oct 2016 09:45:18 +0300 |
4 | Subject: [PATCH] Disable all unknown features instead of erroring out | 4 | Subject: [PATCH] Disable all unknown features instead of erroring out |
@@ -10,10 +10,10 @@ Change-Id: Ib884fe33cac74439f9592b145937f6b75ced8447 | |||
10 | 1 file changed, 2 insertions(+), 1 deletion(-) | 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
11 | 11 | ||
12 | diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf | 12 | diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf |
13 | index d5dcda2..501151d 100644 | 13 | index 6e29eaa..de8c8d2 100644 |
14 | --- a/mkspecs/features/qt_configure.prf | 14 | --- a/mkspecs/features/qt_configure.prf |
15 | +++ b/mkspecs/features/qt_configure.prf | 15 | +++ b/mkspecs/features/qt_configure.prf |
16 | @@ -1251,7 +1251,8 @@ defineReplace(qtConfEvaluateSingleExpression) { | 16 | @@ -1265,7 +1265,8 @@ defineReplace(qtConfEvaluateSingleExpression) { |
17 | error("Expression '$$1' is accessing field '$$var' of non-local feature $${feature}.") | 17 | error("Expression '$$1' is accessing field '$$var' of non-local feature $${feature}.") |
18 | return($$result) | 18 | return($$result) |
19 | } | 19 | } |
diff --git a/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch b/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch index cf1a716f..3d5a7323 100644 --- a/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch +++ b/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From e3fe48be51aa67227ac1b34c01e4c913d82866c2 Mon Sep 17 00:00:00 2001 | 1 | From 2df6d12cfef0769f7801410cad012dd20d0497e2 Mon Sep 17 00:00:00 2001 |
2 | From: Pascal Bach <pascal.bach@siemens.com> | 2 | From: Pascal Bach <pascal.bach@siemens.com> |
3 | Date: Wed, 11 May 2016 15:20:41 +0200 | 3 | Date: Wed, 11 May 2016 15:20:41 +0200 |
4 | Subject: [PATCH] Pretend Qt5 wasn't found if OE_QMAKE_PATH_EXTERNAL_HOST_BINS | 4 | Subject: [PATCH] Pretend Qt5 wasn't found if OE_QMAKE_PATH_EXTERNAL_HOST_BINS |
@@ -30,12 +30,12 @@ Signed-off-by: Pascal Bach <pascal.bach@siemens.com> | |||
30 | 2 files changed, 10 insertions(+) | 30 | 2 files changed, 10 insertions(+) |
31 | 31 | ||
32 | diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in | 32 | diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in |
33 | index 55c74aa..f9ec328 100644 | 33 | index 27f4c27..01f68a5 100644 |
34 | --- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in | 34 | --- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in |
35 | +++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in | 35 | +++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in |
36 | @@ -9,6 +9,11 @@ if (CMAKE_VERSION VERSION_LESS 3.0.0) | 36 | @@ -3,6 +3,11 @@ if (CMAKE_VERSION VERSION_LESS 3.1.0) |
37 | message(FATAL_ERROR \"Qt 5 $${CMAKE_MODULE_NAME} module requires at least CMake version 3.1.0\") | ||
37 | endif() | 38 | endif() |
38 | !!ENDIF | ||
39 | 39 | ||
40 | +if(NOT DEFINED OE_QMAKE_PATH_EXTERNAL_HOST_BINS) | 40 | +if(NOT DEFINED OE_QMAKE_PATH_EXTERNAL_HOST_BINS) |
41 | + message(WARNING "Skipping because OE_QMAKE_PATH_EXTERNAL_HOST_BINS is not defined") | 41 | + message(WARNING "Skipping because OE_QMAKE_PATH_EXTERNAL_HOST_BINS is not defined") |
@@ -46,11 +46,11 @@ index 55c74aa..f9ec328 100644 | |||
46 | !!IF !isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE) | 46 | !!IF !isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE) |
47 | set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\") | 47 | set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\") |
48 | diff --git a/src/corelib/Qt5Config.cmake.in b/src/corelib/Qt5Config.cmake.in | 48 | diff --git a/src/corelib/Qt5Config.cmake.in b/src/corelib/Qt5Config.cmake.in |
49 | index 75b5348..ed31888 100644 | 49 | index 6b6544f..d317912 100644 |
50 | --- a/src/corelib/Qt5Config.cmake.in | 50 | --- a/src/corelib/Qt5Config.cmake.in |
51 | +++ b/src/corelib/Qt5Config.cmake.in | 51 | +++ b/src/corelib/Qt5Config.cmake.in |
52 | @@ -3,6 +3,11 @@ if (CMAKE_VERSION VERSION_LESS 2.8.9) | 52 | @@ -3,6 +3,11 @@ if (CMAKE_VERSION VERSION_LESS 3.1.0) |
53 | message(FATAL_ERROR \"Qt5 requires at least CMake version 2.8.9\") | 53 | message(FATAL_ERROR \"Qt5 requires at least CMake version 3.1.0\") |
54 | endif() | 54 | endif() |
55 | 55 | ||
56 | +if(NOT DEFINED OE_QMAKE_PATH_EXTERNAL_HOST_BINS) | 56 | +if(NOT DEFINED OE_QMAKE_PATH_EXTERNAL_HOST_BINS) |
diff --git a/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch b/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch index fd9a9e5a..57ad3f87 100644 --- a/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch +++ b/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From efaae3535a1ac006ec1b3003258b83d905265fd3 Mon Sep 17 00:00:00 2001 | 1 | From 6407bc53339920c16bf384145e4dd95ed0c325d0 Mon Sep 17 00:00:00 2001 |
2 | From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2 | From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> |
3 | Date: Wed, 7 Jun 2017 21:00:49 +0900 | 3 | Date: Wed, 7 Jun 2017 21:00:49 +0900 |
4 | Subject: [PATCH] Delete qlonglong and qulonglong | 4 | Subject: [PATCH] Delete qlonglong and qulonglong |
diff --git a/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch b/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch index 81269d2e..1262ffe4 100644 --- a/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch +++ b/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d79fecb4e8d2040efdc295d06c5e24bdf3cf6b60 Mon Sep 17 00:00:00 2001 | 1 | From 9f9eac8d12531fe6ec3aa77f719c0b8ca7cfdd75 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 27 Jul 2017 08:02:51 -0700 | 3 | Date: Thu, 27 Jul 2017 08:02:51 -0700 |
4 | Subject: [PATCH] Replace pthread_yield with sched_yield | 4 | Subject: [PATCH] Replace pthread_yield with sched_yield |
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 2 files changed, 5 insertions(+), 4 deletions(-) | 14 | 2 files changed, 5 insertions(+), 4 deletions(-) |
15 | 15 | ||
16 | diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 16 | diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp |
17 | index 076610a..cb8431f 100644 | 17 | index c6fd5d1..7bf6bfd 100644 |
18 | --- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 18 | --- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp |
19 | +++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 19 | +++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp |
20 | @@ -34,7 +34,7 @@ | 20 | @@ -34,7 +34,7 @@ |
@@ -26,7 +26,7 @@ index 076610a..cb8431f 100644 | |||
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #include <algorithm> | 28 | #include <algorithm> |
29 | @@ -199,7 +199,7 @@ protected: | 29 | @@ -205,7 +205,7 @@ protected: |
30 | const char *nm = name.constData(); | 30 | const char *nm = name.constData(); |
31 | int tp = qRegisterMetaType<Bar>(nm); | 31 | int tp = qRegisterMetaType<Bar>(nm); |
32 | #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) | 32 | #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) |
@@ -36,7 +36,7 @@ index 076610a..cb8431f 100644 | |||
36 | QMetaType info(tp); | 36 | QMetaType info(tp); |
37 | if (!info.isValid()) { | 37 | if (!info.isValid()) { |
38 | diff --git a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 38 | diff --git a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp |
39 | index e45eda2..e64f329 100644 | 39 | index fc92ed6..e59b858 100644 |
40 | --- a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 40 | --- a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp |
41 | +++ b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 41 | +++ b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp |
42 | @@ -78,6 +78,7 @@ | 42 | @@ -78,6 +78,7 @@ |
diff --git a/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch b/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch index c210d644..7eb78fac 100644 --- a/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch +++ b/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From aaeadb4326f1f9df7bbafa0b9fa6937504a1c035 Mon Sep 17 00:00:00 2001 | 1 | From ef4ff7241ee33819f11357d5a6ceee58146d63b4 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 | 3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 |
4 | Subject: [PATCH] Add OE specific specs for clang compiler | 4 | Subject: [PATCH] Add OE specific specs for clang compiler |
diff --git a/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch b/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch index 5fed2ff8..e98b9b2e 100644 --- a/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch +++ b/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7c7545fc64e78b2a4a411aa392df6f424ee27c5a Mon Sep 17 00:00:00 2001 | 1 | From a3358cf43c523af046638337960686e942798d2c Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 3 Sep 2017 09:44:48 -0700 | 3 | Date: Sun, 3 Sep 2017 09:44:48 -0700 |
4 | Subject: [PATCH] linux-clang: Invert conditional for defining QT_SOCKLEN_T | 4 | Subject: [PATCH] linux-clang: Invert conditional for defining QT_SOCKLEN_T |
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
13 | 1 file changed, 3 insertions(+), 3 deletions(-) | 13 | 1 file changed, 3 insertions(+), 3 deletions(-) |
14 | 14 | ||
15 | diff --git a/mkspecs/linux-clang/qplatformdefs.h b/mkspecs/linux-clang/qplatformdefs.h | 15 | diff --git a/mkspecs/linux-clang/qplatformdefs.h b/mkspecs/linux-clang/qplatformdefs.h |
16 | index d29225f..a0cdb57 100644 | 16 | index a818d97..959a508 100644 |
17 | --- a/mkspecs/linux-clang/qplatformdefs.h | 17 | --- a/mkspecs/linux-clang/qplatformdefs.h |
18 | +++ b/mkspecs/linux-clang/qplatformdefs.h | 18 | +++ b/mkspecs/linux-clang/qplatformdefs.h |
19 | @@ -84,10 +84,10 @@ | 19 | @@ -81,10 +81,10 @@ |
20 | 20 | ||
21 | #undef QT_SOCKLEN_T | 21 | #undef QT_SOCKLEN_T |
22 | 22 | ||
diff --git a/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch b/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch index a0aaa520..94d2ea16 100644 --- a/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch +++ b/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ba70f3ca46d921c20bebb5cb9d4b41e64bd02d8b Mon Sep 17 00:00:00 2001 | 1 | From 8bf717e2ecda234f626f96ae08e0be3a6eca26d8 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 3 Sep 2017 10:11:50 -0700 | 3 | Date: Sun, 3 Sep 2017 10:11:50 -0700 |
4 | Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc | 4 | Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc |
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 13 | diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp |
14 | index d424e60..3eae828 100644 | 14 | index 375cecd..46ca9b1 100644 |
15 | --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 15 | --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp |
16 | +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 16 | +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp |
17 | @@ -46,7 +46,7 @@ | 17 | @@ -46,7 +46,7 @@ |
diff --git a/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch b/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch index fe1fcf57..89252dea 100644 --- a/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch +++ b/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 81fc64f7f3a8b0554fd8d1b96b113bc04b5f0b5c Mon Sep 17 00:00:00 2001 | 1 | From f09d998036af014a42c464eea72368c8f2920f6a Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 14 Feb 2018 17:08:43 -0800 | 3 | Date: Wed, 14 Feb 2018 17:08:43 -0800 |
4 | Subject: [PATCH] mkspecs/common/gcc-base.conf: Use -I instead of -isystem | 4 | Subject: [PATCH] mkspecs/common/gcc-base.conf: Use -I instead of -isystem |
diff --git a/recipes-qt/qt5/qtbase/0013-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0013-Always-build-uic-and-qvkgen.patch index 66b91d84..ea23cce7 100644 --- a/recipes-qt/qt5/qtbase/0013-Always-build-uic-and-qvkgen.patch +++ b/recipes-qt/qt5/qtbase/0013-Always-build-uic-and-qvkgen.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From da00a0790c28615ba6b7f8e0e9d62d1ae6dbdeba Mon Sep 17 00:00:00 2001 | 1 | From 10f419678fe4f7087c973a8d8dd96bb0d781487b Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 | 3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 |
4 | Subject: [PATCH] Always build uic and qvkgen | 4 | Subject: [PATCH] Always build uic and qvkgen |
@@ -14,7 +14,7 @@ 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 | ||
16 | diff --git a/src/src.pro b/src/src.pro | 16 | diff --git a/src/src.pro b/src/src.pro |
17 | index a2064b1..9fae335 100644 | 17 | index 1f7c5d9..6b39379 100644 |
18 | --- a/src/src.pro | 18 | --- a/src/src.pro |
19 | +++ b/src/src.pro | 19 | +++ b/src/src.pro |
20 | @@ -222,7 +222,7 @@ qtConfig(gui) { | 20 | @@ -222,7 +222,7 @@ qtConfig(gui) { |
diff --git a/recipes-qt/qt5/qtbase/0014-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0014-Bootstrap-without-linkat-feature.patch index c733c156..57cfe368 100644 --- a/recipes-qt/qt5/qtbase/0014-Bootstrap-without-linkat-feature.patch +++ b/recipes-qt/qt5/qtbase/0014-Bootstrap-without-linkat-feature.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 77365eda4dd1c4c26803b3f0d1f411b7416ad531 Mon Sep 17 00:00:00 2001 | 1 | From 7691598a164737591068f8670f02a904ffce5dd2 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Fri, 24 Nov 2017 15:16:31 +0200 | 3 | Date: Fri, 24 Nov 2017 15:16:31 +0200 |
4 | Subject: [PATCH] Bootstrap without linkat feature | 4 | Subject: [PATCH] Bootstrap without linkat feature |
@@ -13,11 +13,11 @@ Upstream-Status: Inappropriate [OE specific] | |||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h | 15 | diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h |
16 | index dabb715..5b4ff86 100644 | 16 | index 3469ebe..cb889f2 100644 |
17 | --- a/src/corelib/global/qconfig-bootstrapped.h | 17 | --- a/src/corelib/global/qconfig-bootstrapped.h |
18 | +++ b/src/corelib/global/qconfig-bootstrapped.h | 18 | +++ b/src/corelib/global/qconfig-bootstrapped.h |
19 | @@ -88,7 +88,7 @@ | 19 | @@ -90,7 +90,7 @@ |
20 | #define QT_FEATURE_futimes -1 | 20 | #define QT_FEATURE_itemmodel -1 |
21 | #define QT_FEATURE_library -1 | 21 | #define QT_FEATURE_library -1 |
22 | #ifdef __linux__ | 22 | #ifdef __linux__ |
23 | -# define QT_FEATURE_linkat 1 | 23 | -# define QT_FEATURE_linkat 1 |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index e1077ccd..63222209 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -10,11 +10,12 @@ LIC_FILES_CHKSUM = " \ | |||
10 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ | 10 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ |
11 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ | 11 | file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ |
12 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 12 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
13 | file://LICENSE.PREVIEW.COMMERCIAL;md5=8ee24b8d305ef7779e07647a7b70e1bc \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | # common for qtbase-native, qtbase-nativesdk and qtbase | 16 | # common for qtbase-native, qtbase-nativesdk and qtbase |
16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-shared | 17 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
17 | # 5.10.meta-qt5-shared.2 | 18 | # 5.11.meta-qt5-shared.2 |
18 | SRC_URI += "\ | 19 | SRC_URI += "\ |
19 | file://0001-Add-linux-oe-g-platform.patch \ | 20 | file://0001-Add-linux-oe-g-platform.patch \ |
20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 21 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -30,8 +31,6 @@ SRC_URI += "\ | |||
30 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 31 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
31 | " | 32 | " |
32 | 33 | ||
33 | # LGPL-3.0 is used only in src/plugins/platforms/android/extract.cpp | ||
34 | |||
35 | # for syncqt | 34 | # for syncqt |
36 | RDEPENDS_${PN}-tools += "perl" | 35 | RDEPENDS_${PN}-tools += "perl" |
37 | 36 | ||
@@ -117,7 +116,7 @@ PACKAGECONFIG[cups] = "-cups,-no-cups,cups" | |||
117 | PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" | 116 | PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus" |
118 | PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil" | 117 | PACKAGECONFIG[xcb] = "-xcb -xcb-xlib -system-xcb,-no-xcb,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil" |
119 | PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase" | 118 | PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase" |
120 | PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql5" | 119 | PACKAGECONFIG[sql-mysql] = "-sql-mysql -mysql_config ${STAGING_BINDIR_CROSS}/mysql_config,-no-sql-mysql,mysql5" |
121 | PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" | 120 | PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql" |
122 | PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" | 121 | PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc" |
123 | PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci" | 122 | PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci" |
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb index 5c83fecb..89295912 100644 --- a/recipes-qt/qt5/qtlocation_git.bb +++ b/recipes-qt/qt5/qtlocation_git.bb | |||
@@ -1,13 +1,14 @@ | |||
1 | require qt5.inc | 1 | require qt5.inc |
2 | require qt5-git.inc | 2 | require qt5-git.inc |
3 | 3 | ||
4 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 4 | LICENSE = "Apache-2.0 & MIT & openssl & BSL-1.0 & GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
5 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
6 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | 6 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
7 | file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 7 | file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
8 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ | 8 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ |
9 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ | 9 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ |
10 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ | 10 | file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ |
11 | file://src/3rdparty/mapbox-gl-native/LICENSE.md;md5=0ab9025299bcee16858021d557f09449 \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | DEPENDS += "qtbase qtxmlpatterns qtdeclarative qtdeclarative-native qtquickcontrols" | 14 | DEPENDS += "qtbase qtxmlpatterns qtdeclarative qtdeclarative-native qtquickcontrols" |
diff --git a/recipes-qt/qt5/qtmultimedia/0001-qtmultimedia-fix-a-conflicting-declaration.patch b/recipes-qt/qt5/qtmultimedia/0001-qtmultimedia-fix-a-conflicting-declaration.patch index 4fb0f724..ddcc7f5a 100644 --- a/recipes-qt/qt5/qtmultimedia/0001-qtmultimedia-fix-a-conflicting-declaration.patch +++ b/recipes-qt/qt5/qtmultimedia/0001-qtmultimedia-fix-a-conflicting-declaration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ec1740a7bce48435e65ede530e0b96593ac619ea Mon Sep 17 00:00:00 2001 | 1 | From 556f69870fb3b5788ebae2baa9b832cb4d6fd996 Mon Sep 17 00:00:00 2001 |
2 | From: Wenlin Kang <wenlin.kang@windriver.com> | 2 | From: Wenlin Kang <wenlin.kang@windriver.com> |
3 | Date: Thu, 8 Sep 2016 12:18:13 +0800 | 3 | Date: Thu, 8 Sep 2016 12:18:13 +0800 |
4 | Subject: [PATCH] qtmultimedia: fix a conflicting declaration | 4 | Subject: [PATCH] qtmultimedia: fix a conflicting declaration |
diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index bd3b9b8b..415146e0 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb | |||
@@ -25,8 +25,10 @@ EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" | |||
25 | # Disable GStreamer if completely disabled | 25 | # Disable GStreamer if completely disabled |
26 | EXTRA_QMAKEVARS_CONFIGURE += "${@bb.utils.contains_any('PACKAGECONFIG', 'gstreamer gstreamer010', '', '-no-gstreamer', d)}" | 26 | EXTRA_QMAKEVARS_CONFIGURE += "${@bb.utils.contains_any('PACKAGECONFIG', 'gstreamer gstreamer010', '', '-no-gstreamer', d)}" |
27 | 27 | ||
28 | # Patches from https://github.com/meta-qt5/qtmultimedia/commits/b5.10 | 28 | CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DMESA_EGL_NO_X11_HEADERS=1', d)}" |
29 | # 5.10.meta-qt5.2 | 29 | |
30 | # Patches from https://github.com/meta-qt5/qtmultimedia/commits/b5.11 | ||
31 | # 5.11.meta-qt5.2 | ||
30 | SRC_URI += "\ | 32 | SRC_URI += "\ |
31 | file://0001-qtmultimedia-fix-a-conflicting-declaration.patch \ | 33 | file://0001-qtmultimedia-fix-a-conflicting-declaration.patch \ |
32 | " | 34 | " |
diff --git a/recipes-qt/qt5/qtquick1_git.bb b/recipes-qt/qt5/qtquick1_git.bb index 85b84629..fd440b74 100644 --- a/recipes-qt/qt5/qtquick1_git.bb +++ b/recipes-qt/qt5/qtquick1_git.bb | |||
@@ -26,4 +26,4 @@ do_configure_prepend() { | |||
26 | 26 | ||
27 | QT_MODULE_BRANCH = "dev" | 27 | QT_MODULE_BRANCH = "dev" |
28 | 28 | ||
29 | SRCREV = "b2476dcd53f0dea1e9eb38df5add3a771d64c4a1" | 29 | SRCREV = "fa02271a18837f20e82006de23c2af1899294aa1" |
diff --git a/recipes-qt/qt5/qtremoteobjects/0001-Allow-a-tools-only-build.patch b/recipes-qt/qt5/qtremoteobjects/0001-Allow-a-tools-only-build.patch index 19b526c9..3d3599da 100644 --- a/recipes-qt/qt5/qtremoteobjects/0001-Allow-a-tools-only-build.patch +++ b/recipes-qt/qt5/qtremoteobjects/0001-Allow-a-tools-only-build.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6235a3fdd0807205c818d70582033970ee008013 Mon Sep 17 00:00:00 2001 | 1 | From 51cfd34b85738194616c7a9354d707cc96062450 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 7 Jun 2017 15:17:12 +0300 | 3 | Date: Wed, 7 Jun 2017 15:17:12 +0300 |
4 | Subject: [PATCH] Allow a tools-only build | 4 | Subject: [PATCH] Allow a tools-only build |
diff --git a/recipes-qt/qt5/qtremoteobjects_git.bb b/recipes-qt/qt5/qtremoteobjects_git.bb index d3f249bd..8b5c6b26 100644 --- a/recipes-qt/qt5/qtremoteobjects_git.bb +++ b/recipes-qt/qt5/qtremoteobjects_git.bb | |||
@@ -11,8 +11,8 @@ require qt5-git.inc | |||
11 | 11 | ||
12 | DEPENDS += "qtbase qtdeclarative qtremoteobjects-native" | 12 | DEPENDS += "qtbase qtdeclarative qtremoteobjects-native" |
13 | 13 | ||
14 | # Patches from https://github.com/meta-qt5/qtremoteobjects/commits/b5.10 | 14 | # Patches from https://github.com/meta-qt5/qtremoteobjects/commits/b5.11 |
15 | # 5.10.meta-qt5.2 | 15 | # 5.11.meta-qt5.2 |
16 | SRC_URI += " \ | 16 | SRC_URI += " \ |
17 | file://0001-Allow-a-tools-only-build.patch \ | 17 | file://0001-Allow-a-tools-only-build.patch \ |
18 | " | 18 | " |
diff --git a/recipes-qt/qt5/qtscxml/0001-Use-external-host-bin-path-for-cmake-file.patch b/recipes-qt/qt5/qtscxml/0001-Use-external-host-bin-path-for-cmake-file.patch index e734cf32..348693da 100644 --- a/recipes-qt/qt5/qtscxml/0001-Use-external-host-bin-path-for-cmake-file.patch +++ b/recipes-qt/qt5/qtscxml/0001-Use-external-host-bin-path-for-cmake-file.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f83817b29477f33ee3b4abf8468a7b01bb347d2b Mon Sep 17 00:00:00 2001 | 1 | From 602abde351bcb2ac475253cf547e15f10620b6e7 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Tue, 10 Jan 2017 15:28:26 +0200 | 3 | Date: Tue, 10 Jan 2017 15:28:26 +0200 |
4 | Subject: [PATCH] Use external host bin path for cmake file | 4 | Subject: [PATCH] Use external host bin path for cmake file |
diff --git a/recipes-qt/qt5/qtscxml_git.bb b/recipes-qt/qt5/qtscxml_git.bb index d1e945de..1a81beb1 100644 --- a/recipes-qt/qt5/qtscxml_git.bb +++ b/recipes-qt/qt5/qtscxml_git.bb | |||
@@ -12,8 +12,8 @@ DEPENDS += "qtbase qtdeclarative qtxmlpatterns qtscxml-native" | |||
12 | 12 | ||
13 | SRCREV = "67d48807b44735a2385b88db7ada01f7cd7eacfd" | 13 | SRCREV = "67d48807b44735a2385b88db7ada01f7cd7eacfd" |
14 | 14 | ||
15 | # Patches from https://github.com/meta-qt5/qtscxml/commits/b5.10 | 15 | # Patches from https://github.com/meta-qt5/qtscxml/commits/b5.11 |
16 | # 5.10.meta-qt5.2 | 16 | # 5.11.meta-qt5.2 |
17 | SRC_URI += "file://0001-Use-external-host-bin-path-for-cmake-file.patch" | 17 | SRC_URI += "file://0001-Use-external-host-bin-path-for-cmake-file.patch" |
18 | 18 | ||
19 | do_install_append_class-nativesdk() { | 19 | do_install_append_class-nativesdk() { |
diff --git a/recipes-qt/qt5/qttools/0001-add-noqtwebkit-configuration.patch b/recipes-qt/qt5/qttools/0001-add-noqtwebkit-configuration.patch index 7a081a1c..5d3f9843 100644 --- a/recipes-qt/qt5/qttools/0001-add-noqtwebkit-configuration.patch +++ b/recipes-qt/qt5/qttools/0001-add-noqtwebkit-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9557b7b0100c335b42503c3f3b6a9a193c3bf9cf Mon Sep 17 00:00:00 2001 | 1 | From 2a61817d5eac01b1dbc445a65d14573294b7ed71 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> |
3 | Date: Wed, 4 Jun 2014 11:28:16 +0200 | 3 | Date: Wed, 4 Jun 2014 11:28:16 +0200 |
4 | Subject: [PATCH] add noqtwebkit configuration | 4 | Subject: [PATCH] add noqtwebkit configuration |
diff --git a/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch b/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch index a4909f75..790657b3 100644 --- a/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch +++ b/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a260d3a5b1664027e09c7de368ee5e94d22ff8bf Mon Sep 17 00:00:00 2001 | 1 | From db6995482d1bd290ea8f09a02ff31f8e769f87c4 Mon Sep 17 00:00:00 2001 |
2 | From: Cody P Schafer <dev@codyps.com> | 2 | From: Cody P Schafer <dev@codyps.com> |
3 | Date: Thu, 9 Jul 2015 11:28:19 -0400 | 3 | Date: Thu, 9 Jul 2015 11:28:19 -0400 |
4 | Subject: [PATCH] linguist-tools cmake: allow overriding the location for | 4 | Subject: [PATCH] linguist-tools cmake: allow overriding the location for |
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index f53aee58..9b43e186 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
@@ -14,8 +14,8 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | 15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" |
16 | 16 | ||
17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.10 | 17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.11 |
18 | # 5.10.meta-qt5.2 | 18 | # 5.11.meta-qt5.2 |
19 | SRC_URI += " \ | 19 | SRC_URI += " \ |
20 | file://0001-add-noqtwebkit-configuration.patch \ | 20 | file://0001-add-noqtwebkit-configuration.patch \ |
21 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ | 21 | file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \ |
diff --git a/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch b/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch deleted file mode 100644 index 1e50d5ad..00000000 --- a/recipes-qt/qt5/qtvirtualkeyboard/0001-include-sys-time.h-for-timeval.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | From d479fe395566ed84cde2579011e2ca2358f22c41 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 12 Jul 2017 23:59:52 -0700 | ||
4 | Subject: [PATCH] include sys/time.h for timeval | ||
5 | |||
6 | Musl exposes this issue since its not indirectly | ||
7 | including sys/time.h like glibc | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | ||
15 | index 1b9673f..924be7b 100644 | ||
16 | --- a/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | ||
17 | +++ b/src/virtualkeyboard/3rdparty/pinyin/include/userdict.h | ||
18 | @@ -24,6 +24,7 @@ | ||
19 | // Debug performance for operations | ||
20 | // #define ___DEBUG_PERF___ | ||
21 | |||
22 | +#include <sys/time.h> | ||
23 | #ifdef _WIN32 | ||
24 | #include <winsock.h> // timeval | ||
25 | #else | ||
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5/qtvirtualkeyboard_git.bb index 5e445299..b98d2a84 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bb +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bb | |||
@@ -6,10 +6,6 @@ LIC_FILES_CHKSUM = " \ | |||
6 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ | 6 | file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ |
7 | " | 7 | " |
8 | 8 | ||
9 | # Patches from https://github.com/meta-qt5/qtvirtualkeyboard/commits/b5.10 | ||
10 | # 5.10.meta-qt5.2 | ||
11 | SRC_URI += "file://0001-include-sys-time.h-for-timeval.patch" | ||
12 | |||
13 | # To enabled Nuance T9 Write support, you need to provide the licensed components | 9 | # To enabled Nuance T9 Write support, you need to provide the licensed components |
14 | # and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file. | 10 | # and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file. |
15 | # for example: | 11 | # for example: |
@@ -51,6 +47,6 @@ RRECOMMENDS_${PN} += "${PN}-dictionaries" | |||
51 | FILES_${PN}-dictionaries = "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/*/*.dat" | 47 | FILES_${PN}-dictionaries = "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/*/*.dat" |
52 | FILES_${PN} += "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/lipi_toolkit" | 48 | FILES_${PN} += "${OE_QMAKE_PATH_DATA}/qtvirtualkeyboard/lipi_toolkit" |
53 | 49 | ||
54 | DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtmultimedia qtquickcontrols qtsvg qtxmlpatterns" | 50 | DEPENDS += "qtbase qtdeclarative qtmultimedia qtquickcontrols qtsvg qtxmlpatterns qtdeclarative-native" |
55 | 51 | ||
56 | SRCREV = "0945042c5c8f78365b39b1528a25261e8c670b9d" | 52 | SRCREV = "0945042c5c8f78365b39b1528a25261e8c670b9d" |
diff --git a/recipes-qt/qt5/qtwebengine/0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch b/recipes-qt/qt5/qtwebengine/0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch index a324dc64..17f34052 100644 --- a/recipes-qt/qt5/qtwebengine/0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch +++ b/recipes-qt/qt5/qtwebengine/0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a70b6d2183934e4d9a3ad00167acfaf0a78a90a9 Mon Sep 17 00:00:00 2001 | 1 | From 882d9b41fd538c3dd4170bdcdb3938f8989d7700 Mon Sep 17 00:00:00 2001 |
2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> |
3 | Date: Fri, 25 Dec 2015 18:16:05 -0200 | 3 | Date: Fri, 25 Dec 2015 18:16:05 -0200 |
4 | Subject: [PATCH] WebEngine qquickwebengineview_p_p.h add include QColor | 4 | Subject: [PATCH] WebEngine qquickwebengineview_p_p.h add include QColor |
@@ -9,10 +9,10 @@ Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> | |||
9 | 1 file changed, 2 insertions(+) | 9 | 1 file changed, 2 insertions(+) |
10 | 10 | ||
11 | diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h | 11 | diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h |
12 | index 1b8edc8..03d6558 100644 | 12 | index 73607aa..151d261 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 | @@ -59,6 +59,8 @@ | 15 | @@ -61,6 +61,8 @@ |
16 | #include <QString> | 16 | #include <QString> |
17 | #include <QtCore/qcompilerdetection.h> | 17 | #include <QtCore/qcompilerdetection.h> |
18 | #include <QtGui/qaccessibleobject.h> | 18 | #include <QtGui/qaccessibleobject.h> |
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch index 69e05660..c5e9ea57 100644 --- a/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch +++ b/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d760fcdd764985f05a480ba475855f92844a6f0d Mon Sep 17 00:00:00 2001 | 1 | From 42ad6935a99271f9b481423162d9ead15ffa9ec9 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 15 Mar 2017 13:53:28 +0200 | 3 | Date: Wed, 15 Mar 2017 13:53:28 +0200 |
4 | Subject: [PATCH] chromium: Force host toolchain configuration | 4 | Subject: [PATCH] chromium: Force host toolchain configuration |
@@ -14,10 +14,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
14 | 1 file changed, 3 insertions(+), 3 deletions(-) | 14 | 1 file changed, 3 insertions(+), 3 deletions(-) |
15 | 15 | ||
16 | diff --git a/chromium/tools/gn/bootstrap/bootstrap.py b/chromium/tools/gn/bootstrap/bootstrap.py | 16 | diff --git a/chromium/tools/gn/bootstrap/bootstrap.py b/chromium/tools/gn/bootstrap/bootstrap.py |
17 | index b1ff7e7..bccabbb 100755 | 17 | index 93c6446..0fe7e67 100755 |
18 | --- a/chromium/tools/gn/bootstrap/bootstrap.py | 18 | --- a/chromium/tools/gn/bootstrap/bootstrap.py |
19 | +++ b/chromium/tools/gn/bootstrap/bootstrap.py | 19 | +++ b/chromium/tools/gn/bootstrap/bootstrap.py |
20 | @@ -318,10 +318,10 @@ def write_gn_ninja(path, root_gen_dir, options): | 20 | @@ -352,10 +352,10 @@ def write_gn_ninja(path, root_gen_dir, options): |
21 | ld = os.environ.get('LD', cxx) | 21 | ld = os.environ.get('LD', cxx) |
22 | ar = os.environ.get('AR', 'ar -X64') | 22 | ar = os.environ.get('AR', 'ar -X64') |
23 | else: | 23 | else: |
diff --git a/recipes-qt/qt5/qtwebengine/0002-Include-dependency-to-QCoreApplication-translate.patch b/recipes-qt/qt5/qtwebengine/0002-Include-dependency-to-QCoreApplication-translate.patch index e41636a3..e8cd395f 100644 --- a/recipes-qt/qt5/qtwebengine/0002-Include-dependency-to-QCoreApplication-translate.patch +++ b/recipes-qt/qt5/qtwebengine/0002-Include-dependency-to-QCoreApplication-translate.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 838bb0afe93321ae3d225988728a5736cd4844fc Mon Sep 17 00:00:00 2001 | 1 | From 1095ff439340980b297eb988f23fceb5d198b18e Mon Sep 17 00:00:00 2001 |
2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> |
3 | Date: Thu, 24 Dec 2015 15:59:51 -0200 | 3 | Date: Thu, 24 Dec 2015 15:59:51 -0200 |
4 | Subject: [PATCH] Include dependency to QCoreApplication::translate() | 4 | Subject: [PATCH] Include dependency to QCoreApplication::translate() |
diff --git a/recipes-qt/qt5/qtwebengine/0002-chromium-workaround-for-too-long-.rps-file-name.patch b/recipes-qt/qt5/qtwebengine/0002-chromium-workaround-for-too-long-.rps-file-name.patch index 592a30f3..bc066645 100644 --- a/recipes-qt/qt5/qtwebengine/0002-chromium-workaround-for-too-long-.rps-file-name.patch +++ b/recipes-qt/qt5/qtwebengine/0002-chromium-workaround-for-too-long-.rps-file-name.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d76853bd469881625bedc85afabc69d36ecb05ed Mon Sep 17 00:00:00 2001 | 1 | From 95c0c42ca5103adef307fc29b53d8f95b4755baa Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Thu, 30 Mar 2017 11:37:24 +0300 | 3 | Date: Thu, 30 Mar 2017 11:37:24 +0300 |
4 | Subject: [PATCH] chromium: workaround for too long .rps file name | 4 | Subject: [PATCH] chromium: workaround for too long .rps file name |
@@ -18,10 +18,10 @@ Change-Id: I73c5e64ae5174412be2a675e35b0b6047f2bf4c1 | |||
18 | 1 file changed, 9 insertions(+) | 18 | 1 file changed, 9 insertions(+) |
19 | 19 | ||
20 | diff --git a/chromium/tools/gn/ninja_action_target_writer.cc b/chromium/tools/gn/ninja_action_target_writer.cc | 20 | diff --git a/chromium/tools/gn/ninja_action_target_writer.cc b/chromium/tools/gn/ninja_action_target_writer.cc |
21 | index eaf1b3d..ddf456e 100644 | 21 | index bab07c5..8f889ae 100644 |
22 | --- a/chromium/tools/gn/ninja_action_target_writer.cc | 22 | --- a/chromium/tools/gn/ninja_action_target_writer.cc |
23 | +++ b/chromium/tools/gn/ninja_action_target_writer.cc | 23 | +++ b/chromium/tools/gn/ninja_action_target_writer.cc |
24 | @@ -118,9 +118,18 @@ std::string NinjaActionTargetWriter::WriteRuleDefinition() { | 24 | @@ -117,9 +117,18 @@ std::string NinjaActionTargetWriter::WriteRuleDefinition() { |
25 | // strictly necessary for regular one-shot actions, but it's easier to | 25 | // strictly necessary for regular one-shot actions, but it's easier to |
26 | // just always define unique_name. | 26 | // just always define unique_name. |
27 | std::string rspfile = custom_rule_name; | 27 | std::string rspfile = custom_rule_name; |
diff --git a/recipes-qt/qt5/qtwebengine/0003-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0003-Force-host-toolchain-configuration.patch index 84e430b7..13e0dc9b 100644 --- a/recipes-qt/qt5/qtwebengine/0003-Force-host-toolchain-configuration.patch +++ b/recipes-qt/qt5/qtwebengine/0003-Force-host-toolchain-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 36657d556e4f97d06aa44d874d7256c970cdad3c Mon Sep 17 00:00:00 2001 | 1 | From e0d8fe57a8bbd1c24ae35d93c54ab0c6e58eff20 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 15 Mar 2017 13:53:28 +0200 | 3 | Date: Wed, 15 Mar 2017 13:53:28 +0200 |
4 | Subject: [PATCH] Force host toolchain configuration | 4 | Subject: [PATCH] Force host toolchain configuration |
@@ -57,7 +57,7 @@ index dd0d3e3..70161c8 100644 | |||
57 | " nm = \"$$which(nm)\" " \ | 57 | " nm = \"$$which(nm)\" " \ |
58 | " toolchain_args = { " \ | 58 | " toolchain_args = { " \ |
59 | diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri | 59 | diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri |
60 | index 1ce3ea8..23d0793 100644 | 60 | index 68d64fd..9ab43df 100644 |
61 | --- a/src/core/config/linux.pri | 61 | --- a/src/core/config/linux.pri |
62 | +++ b/src/core/config/linux.pri | 62 | +++ b/src/core/config/linux.pri |
63 | @@ -91,7 +91,7 @@ contains(QT_ARCH, "mips") { | 63 | @@ -91,7 +91,7 @@ contains(QT_ARCH, "mips") { |
diff --git a/recipes-qt/qt5/qtwebengine/0003-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch b/recipes-qt/qt5/qtwebengine/0003-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch index 1fb85fb3..375b01a1 100644 --- a/recipes-qt/qt5/qtwebengine/0003-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch +++ b/recipes-qt/qt5/qtwebengine/0003-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c6e7171bf8f5ecb8b82d911581a45defe93854e1 Mon Sep 17 00:00:00 2001 | 1 | From 37e7051ef185d7b1a237db725d98f63a155fc95b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:01:12 -0700 | 3 | Date: Fri, 7 Jul 2017 14:01:12 -0700 |
4 | Subject: [PATCH] chromium: musl: sandbox: Define TEMP_FAILURE_RETRY if not | 4 | Subject: [PATCH] chromium: musl: sandbox: Define TEMP_FAILURE_RETRY if not |
diff --git a/recipes-qt/qt5/qtwebengine/0004-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch b/recipes-qt/qt5/qtwebengine/0004-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch index 5dbd07f1..46f1c9ce 100644 --- a/recipes-qt/qt5/qtwebengine/0004-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch +++ b/recipes-qt/qt5/qtwebengine/0004-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 104d93f24a44dc4a1939d6e2c99f346526a5a7d9 Mon Sep 17 00:00:00 2001 | 1 | From 2ddd74e630db38b951697c0b020245c0c83b2316 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:09:06 -0700 | 3 | Date: Fri, 7 Jul 2017 14:09:06 -0700 |
4 | Subject: [PATCH] chromium: musl: Avoid mallinfo() APIs on non-glibc/linux | 4 | Subject: [PATCH] chromium: musl: Avoid mallinfo() APIs on non-glibc/linux |
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
11 | 3 files changed, 5 insertions(+), 4 deletions(-) | 11 | 3 files changed, 5 insertions(+), 4 deletions(-) |
12 | 12 | ||
13 | diff --git a/chromium/base/process/process_metrics_posix.cc b/chromium/base/process/process_metrics_posix.cc | 13 | diff --git a/chromium/base/process/process_metrics_posix.cc b/chromium/base/process/process_metrics_posix.cc |
14 | index 0eb5c1f..8af7799 100644 | 14 | index 73a52d6..4867198 100644 |
15 | --- a/chromium/base/process/process_metrics_posix.cc | 15 | --- a/chromium/base/process/process_metrics_posix.cc |
16 | +++ b/chromium/base/process/process_metrics_posix.cc | 16 | +++ b/chromium/base/process/process_metrics_posix.cc |
17 | @@ -94,14 +94,14 @@ size_t ProcessMetrics::GetMallocUsage() { | 17 | @@ -94,14 +94,14 @@ size_t ProcessMetrics::GetMallocUsage() { |
@@ -32,18 +32,18 @@ index 0eb5c1f..8af7799 100644 | |||
32 | return 0; | 32 | return 0; |
33 | #endif | 33 | #endif |
34 | diff --git a/chromium/base/trace_event/malloc_dump_provider.cc b/chromium/base/trace_event/malloc_dump_provider.cc | 34 | diff --git a/chromium/base/trace_event/malloc_dump_provider.cc b/chromium/base/trace_event/malloc_dump_provider.cc |
35 | index 14ba0a2..e5d9581 100644 | 35 | index ffd5191..0c9131e 100644 |
36 | --- a/chromium/base/trace_event/malloc_dump_provider.cc | 36 | --- a/chromium/base/trace_event/malloc_dump_provider.cc |
37 | +++ b/chromium/base/trace_event/malloc_dump_provider.cc | 37 | +++ b/chromium/base/trace_event/malloc_dump_provider.cc |
38 | @@ -197,6 +197,7 @@ MallocDumpProvider::~MallocDumpProvider() {} | 38 | @@ -197,6 +197,7 @@ MallocDumpProvider::~MallocDumpProvider() = default; |
39 | // the current process. | 39 | // the current process. |
40 | bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, | 40 | bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, |
41 | ProcessMemoryDump* pmd) { | 41 | ProcessMemoryDump* pmd) { |
42 | +#if defined(__GLIBC__) | 42 | +#if defined(__GLIBC__) |
43 | size_t total_virtual_size = 0; | 43 | { |
44 | size_t resident_size = 0; | 44 | base::AutoLock auto_lock(emit_metrics_on_memory_dump_lock_); |
45 | size_t allocated_objects_size = 0; | 45 | if (!emit_metrics_on_memory_dump_) |
46 | @@ -317,7 +318,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, | 46 | @@ -322,7 +323,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, |
47 | pmd->DumpHeapUsage(metrics_by_context, overhead, "malloc"); | 47 | pmd->DumpHeapUsage(metrics_by_context, overhead, "malloc"); |
48 | } | 48 | } |
49 | tid_dumping_heap_ = kInvalidThreadId; | 49 | tid_dumping_heap_ = kInvalidThreadId; |
diff --git a/recipes-qt/qt5/qtwebengine/0004-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch b/recipes-qt/qt5/qtwebengine/0004-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch index 76160d16..f67baea2 100644 --- a/recipes-qt/qt5/qtwebengine/0004-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0004-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1a23cb4027692535aeace4c6070864af672de70d Mon Sep 17 00:00:00 2001 | 1 | From 84d83fa843e72e2154375c8a002a74dc31ab8aae Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Tue, 12 Dec 2017 16:06:14 +0200 | 3 | Date: Tue, 12 Dec 2017 16:06:14 +0200 |
4 | Subject: [PATCH] musl: don't use pvalloc as it's not available on musl | 4 | Subject: [PATCH] musl: don't use pvalloc as it's not available on musl |
diff --git a/recipes-qt/qt5/qtwebengine/0005-chromium-musl-include-fcntl.h-for-loff_t.patch b/recipes-qt/qt5/qtwebengine/0005-chromium-musl-include-fcntl.h-for-loff_t.patch index e0a3f804..e9324b69 100644 --- a/recipes-qt/qt5/qtwebengine/0005-chromium-musl-include-fcntl.h-for-loff_t.patch +++ b/recipes-qt/qt5/qtwebengine/0005-chromium-musl-include-fcntl.h-for-loff_t.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1e51c5e3a299213b632dd2d448c86dabf45b2258 Mon Sep 17 00:00:00 2001 | 1 | From e627afbd990a189d3eaf9992088bd506e306a680 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:37:49 -0700 | 3 | Date: Fri, 7 Jul 2017 14:37:49 -0700 |
4 | Subject: [PATCH] chromium: musl: include fcntl.h for loff_t | 4 | Subject: [PATCH] chromium: musl: include fcntl.h for loff_t |
diff --git a/recipes-qt/qt5/qtwebengine/0005-musl-link-against-libexecinfo.patch b/recipes-qt/qt5/qtwebengine/0005-musl-link-against-libexecinfo.patch index 45a45f9b..88d95428 100644 --- a/recipes-qt/qt5/qtwebengine/0005-musl-link-against-libexecinfo.patch +++ b/recipes-qt/qt5/qtwebengine/0005-musl-link-against-libexecinfo.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From e735b0adfa9b1dcaa93e3ce65d9cc01255ab340b Mon Sep 17 00:00:00 2001 | 1 | From acc9fd7805f48fc998f1733db1fd58b05d381582 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Thu, 14 Dec 2017 11:28:10 +0200 | 3 | Date: Thu, 14 Dec 2017 11:28:10 +0200 |
4 | Subject: [PATCH] musl: link against libexecinfo | 4 | Subject: [PATCH] musl: link against libexecinfo |
diff --git a/recipes-qt/qt5/qtwebengine/0006-chromium-musl-use-off64_t-instead-of-the-internal-__.patch b/recipes-qt/qt5/qtwebengine/0006-chromium-musl-use-off64_t-instead-of-the-internal-__.patch index f8c4150a..6e636311 100644 --- a/recipes-qt/qt5/qtwebengine/0006-chromium-musl-use-off64_t-instead-of-the-internal-__.patch +++ b/recipes-qt/qt5/qtwebengine/0006-chromium-musl-use-off64_t-instead-of-the-internal-__.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f0fba131a285144c5d71dad8b98ff0f15ce454ad Mon Sep 17 00:00:00 2001 | 1 | From cfd8e1d9c17cc365c5d49d99b47ce8e06e725f86 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:38:37 -0700 | 3 | Date: Fri, 7 Jul 2017 14:38:37 -0700 |
4 | Subject: [PATCH] chromium: musl: use off64_t instead of the internal __off64_t | 4 | Subject: [PATCH] chromium: musl: use off64_t instead of the internal __off64_t |
diff --git a/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch b/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch index fbff2883..dd2d7a3a 100644 --- a/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch +++ b/recipes-qt/qt5/qtwebengine/0007-chromium-musl-linux-glibc-make-the-distinction.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 42a0586aa7040caef931db8657b2ac8d345e4dd3 Mon Sep 17 00:00:00 2001 | 1 | From 3bfe9fa1e05ae2faec6dc73895c2bf265ec66d3b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:54:38 -0700 | 3 | Date: Fri, 7 Jul 2017 14:54:38 -0700 |
4 | Subject: [PATCH] chromium: musl: linux != glibc, make the distinction | 4 | Subject: [PATCH] chromium: musl: linux != glibc, make the distinction |
diff --git a/recipes-qt/qt5/qtwebengine/0008-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch b/recipes-qt/qt5/qtwebengine/0008-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch index d040057a..a9e5e2b1 100644 --- a/recipes-qt/qt5/qtwebengine/0008-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch +++ b/recipes-qt/qt5/qtwebengine/0008-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ff7af7ff21d259cfc580541b931d478e3d604f01 Mon Sep 17 00:00:00 2001 | 1 | From f9e47fe475eb60c4615215214cea344280e5b26f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:09:02 -0700 | 3 | Date: Fri, 7 Jul 2017 15:09:02 -0700 |
4 | Subject: [PATCH] chromium: musl: allocator: Do not include glibc_weak_symbols | 4 | Subject: [PATCH] chromium: musl: allocator: Do not include glibc_weak_symbols |
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
11 | 11 | ||
12 | diff --git a/chromium/base/allocator/allocator_shim.cc b/chromium/base/allocator/allocator_shim.cc | 12 | diff --git a/chromium/base/allocator/allocator_shim.cc b/chromium/base/allocator/allocator_shim.cc |
13 | index 41adbf8..091971e 100644 | 13 | index 4b7de5e..fe56522 100644 |
14 | --- a/chromium/base/allocator/allocator_shim.cc | 14 | --- a/chromium/base/allocator/allocator_shim.cc |
15 | +++ b/chromium/base/allocator/allocator_shim.cc | 15 | +++ b/chromium/base/allocator/allocator_shim.cc |
16 | @@ -319,7 +319,7 @@ ALWAYS_INLINE void ShimFreeDefiniteSize(void* ptr, size_t size, void* context) { | 16 | @@ -302,7 +302,7 @@ ALWAYS_INLINE void ShimFreeDefiniteSize(void* ptr, size_t size, void* context) { |
17 | // In the case of tcmalloc we also want to plumb into the glibc hooks | 17 | // In the case of tcmalloc we also want to plumb into the glibc hooks |
18 | // to avoid that allocations made in glibc itself (e.g., strdup()) get | 18 | // to avoid that allocations made in glibc itself (e.g., strdup()) get |
19 | // accidentally performed on the glibc heap instead of the tcmalloc one. | 19 | // accidentally performed on the glibc heap instead of the tcmalloc one. |
diff --git a/recipes-qt/qt5/qtwebengine/0009-chromium-musl-Use-correct-member-name-__si_fields-fr.patch b/recipes-qt/qt5/qtwebengine/0009-chromium-musl-Use-correct-member-name-__si_fields-fr.patch index c2a9c8a0..2d47fd27 100644 --- a/recipes-qt/qt5/qtwebengine/0009-chromium-musl-Use-correct-member-name-__si_fields-fr.patch +++ b/recipes-qt/qt5/qtwebengine/0009-chromium-musl-Use-correct-member-name-__si_fields-fr.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 74171f47edb76dc89edcc7116cd33d234e0e0490 Mon Sep 17 00:00:00 2001 | 1 | From 33fb1fa2f8a846734544db7b21f120f5924f9316 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:12:39 -0700 | 3 | Date: Fri, 7 Jul 2017 15:12:39 -0700 |
4 | Subject: [PATCH] chromium: musl: Use correct member name __si_fields from | 4 | Subject: [PATCH] chromium: musl: Use correct member name __si_fields from |
diff --git a/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch index 9b274913..5f6dc254 100644 --- a/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch +++ b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1781911655bddf8a8352f9bd0a7ce4867df6981b Mon Sep 17 00:00:00 2001 | 1 | From ea8b649d60037b08bbb2134f878098c8373a08b7 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:27:50 -0700 | 3 | Date: Fri, 7 Jul 2017 15:27:50 -0700 |
4 | Subject: [PATCH] chromium: musl: Define res_ninit and res_nclose for non-glibc | 4 | Subject: [PATCH] chromium: musl: Define res_ninit and res_nclose for non-glibc |
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
13 | create mode 100644 chromium/net/dns/resolv_compat.h | 13 | create mode 100644 chromium/net/dns/resolv_compat.h |
14 | 14 | ||
15 | diff --git a/chromium/net/dns/dns_config_service_posix.cc b/chromium/net/dns/dns_config_service_posix.cc | 15 | diff --git a/chromium/net/dns/dns_config_service_posix.cc b/chromium/net/dns/dns_config_service_posix.cc |
16 | index 088fb9b..98d0a35 100644 | 16 | index f2e6633..6fe84dd 100644 |
17 | --- a/chromium/net/dns/dns_config_service_posix.cc | 17 | --- a/chromium/net/dns/dns_config_service_posix.cc |
18 | +++ b/chromium/net/dns/dns_config_service_posix.cc | 18 | +++ b/chromium/net/dns/dns_config_service_posix.cc |
19 | @@ -26,6 +26,10 @@ | 19 | @@ -27,6 +27,10 @@ |
20 | #include "net/dns/notify_watcher_mac.h" | 20 | #include "net/dns/notify_watcher_mac.h" |
21 | #include "net/dns/serial_worker.h" | 21 | #include "net/dns/serial_worker.h" |
22 | 22 | ||
diff --git a/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch deleted file mode 100644 index 7be83c55..00000000 --- a/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From ce23b6a6e5a5ebae15dedeebf7044ac9a0249a80 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jul 2017 15:24:49 -0700 | ||
4 | Subject: [PATCH] chromium: musl: Match syscalls to match musl | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | chromium/third_party/lss/linux_syscall_support.h | 16 ++++++++++++++++ | ||
9 | 1 file changed, 16 insertions(+) | ||
10 | |||
11 | diff --git a/chromium/third_party/lss/linux_syscall_support.h b/chromium/third_party/lss/linux_syscall_support.h | ||
12 | index 80a3e56..1e57b1a 100644 | ||
13 | --- a/chromium/third_party/lss/linux_syscall_support.h | ||
14 | +++ b/chromium/third_party/lss/linux_syscall_support.h | ||
15 | @@ -794,6 +794,14 @@ struct kernel_statfs { | ||
16 | #endif | ||
17 | |||
18 | |||
19 | +#undef stat64 | ||
20 | +#undef fstat64 | ||
21 | + | ||
22 | +#ifndef __NR_fstatat | ||
23 | +#define __NR_fstatat __NR_fstatat64 | ||
24 | +#endif | ||
25 | + | ||
26 | + | ||
27 | #if defined(__x86_64__) | ||
28 | #ifndef ARCH_SET_GS | ||
29 | #define ARCH_SET_GS 0x1001 | ||
30 | @@ -1211,6 +1219,14 @@ struct kernel_statfs { | ||
31 | #ifndef __NR_fallocate | ||
32 | #define __NR_fallocate 285 | ||
33 | #endif | ||
34 | + | ||
35 | +#ifndef __NR_pread | ||
36 | +#define __NR_pread __NR_pread64 | ||
37 | +#endif | ||
38 | +#ifndef __NR_pwrite | ||
39 | +#define __NR_pwrite __NR_pwrite64 | ||
40 | +#endif | ||
41 | + | ||
42 | /* End of x86-64 definitions */ | ||
43 | #elif defined(__mips__) | ||
44 | #if _MIPS_SIM == _MIPS_SIM_ABI32 | ||
diff --git a/recipes-qt/qt5/qtwebengine/0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch b/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch index e6863251..57f313c9 100644 --- a/recipes-qt/qt5/qtwebengine/0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a968ea31e3ac6a007fd157c61faf9f6f632d8230 Mon Sep 17 00:00:00 2001 | 1 | From 567105c9014cbad00aba5bcd172e6aed3e32c509 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:39:57 -0700 | 3 | Date: Fri, 7 Jul 2017 15:39:57 -0700 |
4 | Subject: [PATCH] chromium: musl: Do not define __sbrk on musl | 4 | Subject: [PATCH] chromium: musl: Do not define __sbrk on musl |
diff --git a/recipes-qt/qt5/qtwebengine/0013-chromium-musl-Adjust-default-pthread-stack-size.patch b/recipes-qt/qt5/qtwebengine/0012-chromium-musl-Adjust-default-pthread-stack-size.patch index c1d6ec32..a247eb80 100644 --- a/recipes-qt/qt5/qtwebengine/0013-chromium-musl-Adjust-default-pthread-stack-size.patch +++ b/recipes-qt/qt5/qtwebengine/0012-chromium-musl-Adjust-default-pthread-stack-size.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a56debd9f26bacf76f0d734e98191485deba03fa Mon Sep 17 00:00:00 2001 | 1 | From fdd90ccaebc488bdb68b020a9bc3d89232795559 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 16:41:23 -0700 | 3 | Date: Fri, 7 Jul 2017 16:41:23 -0700 |
4 | Subject: [PATCH] chromium: musl: Adjust default pthread stack size | 4 | Subject: [PATCH] chromium: musl: Adjust default pthread stack size |
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
10 | 2 files changed, 4 insertions(+), 3 deletions(-) | 10 | 2 files changed, 4 insertions(+), 3 deletions(-) |
11 | 11 | ||
12 | diff --git a/chromium/base/threading/platform_thread_linux.cc b/chromium/base/threading/platform_thread_linux.cc | 12 | diff --git a/chromium/base/threading/platform_thread_linux.cc b/chromium/base/threading/platform_thread_linux.cc |
13 | index 8d411ed..4b56cf3 100644 | 13 | index 9917a7b..cb40665 100644 |
14 | --- a/chromium/base/threading/platform_thread_linux.cc | 14 | --- a/chromium/base/threading/platform_thread_linux.cc |
15 | +++ b/chromium/base/threading/platform_thread_linux.cc | 15 | +++ b/chromium/base/threading/platform_thread_linux.cc |
16 | @@ -175,7 +175,8 @@ void TerminateOnThread() {} | 16 | @@ -173,7 +173,8 @@ void TerminateOnThread() {} |
17 | 17 | ||
18 | size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) { | 18 | size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) { |
19 | #if !defined(THREAD_SANITIZER) | 19 | #if !defined(THREAD_SANITIZER) |
diff --git a/recipes-qt/qt5/qtwebengine/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch b/recipes-qt/qt5/qtwebengine/0013-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch index 81e71e7d..b97045d0 100644 --- a/recipes-qt/qt5/qtwebengine/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch +++ b/recipes-qt/qt5/qtwebengine/0013-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5809e73146cdf43d13aa1b3789bfc7ff2ff723af Mon Sep 17 00:00:00 2001 | 1 | From ba501cce8252a22a4baba2d9e524bd7538a079bd Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 17:15:34 -0700 | 3 | Date: Fri, 7 Jul 2017 17:15:34 -0700 |
4 | Subject: [PATCH] chromium: musl: include asm-generic/ioctl.h for TCGETS2 | 4 | Subject: [PATCH] chromium: musl: include asm-generic/ioctl.h for TCGETS2 |
@@ -9,7 +9,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
9 | 1 file changed, 1 insertion(+) | 9 | 1 file changed, 1 insertion(+) |
10 | 10 | ||
11 | diff --git a/chromium/device/serial/serial_io_handler_posix.cc b/chromium/device/serial/serial_io_handler_posix.cc | 11 | diff --git a/chromium/device/serial/serial_io_handler_posix.cc b/chromium/device/serial/serial_io_handler_posix.cc |
12 | index 8ffba12..82fb09f 100644 | 12 | index d6ed5e1..b550f89 100644 |
13 | --- a/chromium/device/serial/serial_io_handler_posix.cc | 13 | --- a/chromium/device/serial/serial_io_handler_posix.cc |
14 | +++ b/chromium/device/serial/serial_io_handler_posix.cc | 14 | +++ b/chromium/device/serial/serial_io_handler_posix.cc |
15 | @@ -6,6 +6,7 @@ | 15 | @@ -6,6 +6,7 @@ |
diff --git a/recipes-qt/qt5/qtwebengine/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch b/recipes-qt/qt5/qtwebengine/0014-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch index 03aa77a0..adc2d824 100644 --- a/recipes-qt/qt5/qtwebengine/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch +++ b/recipes-qt/qt5/qtwebengine/0014-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0aca8610a03cc100464d0d52a2c5425c52ab1e66 Mon Sep 17 00:00:00 2001 | 1 | From fc03e0f3c36d4d20e00dfbcd02616a467e4b0a15 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 8 Jul 2017 09:08:23 -0700 | 3 | Date: Sat, 8 Jul 2017 09:08:23 -0700 |
4 | Subject: [PATCH] chromium: musl: tcmalloc: Use off64_t insread of __off64_t | 4 | Subject: [PATCH] chromium: musl: tcmalloc: Use off64_t insread of __off64_t |
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 13e77ed5..9242d069 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -123,8 +123,8 @@ RDEPENDS_${PN}-examples += " \ | |||
123 | 123 | ||
124 | QT_MODULE_BRANCH_CHROMIUM = "65-based" | 124 | QT_MODULE_BRANCH_CHROMIUM = "65-based" |
125 | 125 | ||
126 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.10 | 126 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.11 |
127 | # 5.10.meta-qt5.2 | 127 | # 5.11.meta-qt5.2 |
128 | SRC_URI += " \ | 128 | SRC_URI += " \ |
129 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ | 129 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ |
130 | file://0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \ | 130 | file://0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \ |
@@ -136,8 +136,8 @@ SRC_URI_append_libc-musl = "\ | |||
136 | file://0005-musl-link-against-libexecinfo.patch \ | 136 | file://0005-musl-link-against-libexecinfo.patch \ |
137 | " | 137 | " |
138 | 138 | ||
139 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/61-based | 139 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/65-based |
140 | # 61-based.meta-qt5.2 | 140 | # 65-based.meta-qt5.2 |
141 | SRC_URI += " \ | 141 | SRC_URI += " \ |
142 | file://0001-chromium-Force-host-toolchain-configuration.patch;patchdir=src/3rdparty \ | 142 | file://0001-chromium-Force-host-toolchain-configuration.patch;patchdir=src/3rdparty \ |
143 | file://0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \ | 143 | file://0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \ |
@@ -151,12 +151,11 @@ SRC_URI_append_libc-musl = "\ | |||
151 | file://0007-chromium-musl-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty \ | 151 | file://0007-chromium-musl-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty \ |
152 | file://0008-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch;patchdir=src/3rdparty \ | 152 | file://0008-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch;patchdir=src/3rdparty \ |
153 | file://0009-chromium-musl-Use-correct-member-name-__si_fields-fr.patch;patchdir=src/3rdparty \ | 153 | file://0009-chromium-musl-Use-correct-member-name-__si_fields-fr.patch;patchdir=src/3rdparty \ |
154 | file://0010-chromium-musl-Match-syscalls-to-match-musl.patch;patchdir=src/3rdparty \ | 154 | file://0010-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch;patchdir=src/3rdparty \ |
155 | file://0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch;patchdir=src/3rdparty \ | 155 | file://0011-chromium-musl-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty \ |
156 | file://0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty \ | 156 | file://0012-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ |
157 | file://0013-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ | 157 | file://0013-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ |
158 | file://0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ | 158 | file://0014-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch;patchdir=src/3rdparty \ |
159 | file://0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch;patchdir=src/3rdparty \ | ||
160 | " | 159 | " |
161 | 160 | ||
162 | SRCREV_qtwebengine = "df1d549c56ff6a1214e566336f0c7dad2eacd503" | 161 | SRCREV_qtwebengine = "df1d549c56ff6a1214e566336f0c7dad2eacd503" |
diff --git a/recipes-qt/qt5/qtwebkit-examples_git.bb b/recipes-qt/qt5/qtwebkit-examples_git.bb index 3e3e4a0b..c19fecdb 100644 --- a/recipes-qt/qt5/qtwebkit-examples_git.bb +++ b/recipes-qt/qt5/qtwebkit-examples_git.bb | |||
@@ -17,4 +17,6 @@ DEPENDS += "qtwebkit qtxmlpatterns" | |||
17 | RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins" | 17 | RDEPENDS_${PN}-examples += "qtwebkit-qmlplugins" |
18 | RDEPENDS_${PN}-examples += "${@bb.utils.contains('PACKAGECONFIG_OPENSSL', 'openssl', 'ca-certificates', '', d)}" | 18 | RDEPENDS_${PN}-examples += "${@bb.utils.contains('PACKAGECONFIG_OPENSSL', 'openssl', 'ca-certificates', '', d)}" |
19 | 19 | ||
20 | SRCREV = "a24c780b60d7d8bc00c4a48042cf7f32db777d55" | 20 | QT_MODULE_BRANCH = "dev" |
21 | |||
22 | SRCREV = "2d68492004bf4ba49cf58c9bd72706cb282cf59b" | ||
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 deleted file mode 100644 index f35c5d47..00000000 --- a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From c4e691a8dd2037d9b359e0de9d4790da9078f74e Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Woerner <trevor.woerner@linaro.org> | ||
3 | Date: Fri, 7 Feb 2014 04:07:17 +0100 | ||
4 | Subject: [PATCH] qtwebkit: fix QA issue (bad RPATH) | ||
5 | |||
6 | Building qtwebkit causes a QA issue such that QtWebPluginProcess and | ||
7 | QtWebProcess contain bad RPATHs which point into the build location. This fix | ||
8 | adds a patch to not include the rpath.prf which causes this problem. | ||
9 | |||
10 | Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> | ||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | Tools/qmake/mkspecs/features/unix/default_post.prf | 1 - | ||
14 | 1 file changed, 1 deletion(-) | ||
15 | |||
16 | diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf | ||
17 | index fd66af6..ef754c3 100644 | ||
18 | --- a/Tools/qmake/mkspecs/features/unix/default_post.prf | ||
19 | +++ b/Tools/qmake/mkspecs/features/unix/default_post.prf | ||
20 | @@ -61,7 +61,6 @@ linux-*g++* { | ||
21 | } | ||
22 | } | ||
23 | |||
24 | -contains(TEMPLATE, app): CONFIG += rpath | ||
25 | |||
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. | ||
diff --git a/recipes-qt/qt5/qtwebkit/0002-Exclude-backtrace-API-for-non-glibc-libraries.patch b/recipes-qt/qt5/qtwebkit/0002-Exclude-backtrace-API-for-non-glibc-libraries.patch deleted file mode 100644 index 6affd2e6..00000000 --- a/recipes-qt/qt5/qtwebkit/0002-Exclude-backtrace-API-for-non-glibc-libraries.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From fc2773961eaa536e6a617ded7c1a972d979fa2e4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 5 Jun 2015 19:55:05 -0700 | ||
4 | Subject: [PATCH] Exclude backtrace() API for non-glibc libraries | ||
5 | |||
6 | It was excluding musl with current checks, so lets make it such that it | ||
7 | considers only glibc when using backtrace API | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Source/WTF/wtf/Assertions.cpp | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/Source/WTF/wtf/Assertions.cpp b/Source/WTF/wtf/Assertions.cpp | ||
15 | index 1b2091f..ba03a28 100644 | ||
16 | --- a/Source/WTF/wtf/Assertions.cpp | ||
17 | +++ b/Source/WTF/wtf/Assertions.cpp | ||
18 | @@ -61,7 +61,7 @@ | ||
19 | #include <windows.h> | ||
20 | #endif | ||
21 | |||
22 | -#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) | ||
23 | +#if (OS(DARWIN) || (OS(LINUX) && defined (__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID) | ||
24 | #include <cxxabi.h> | ||
25 | #include <dlfcn.h> | ||
26 | #include <execinfo.h> | ||
27 | @@ -245,7 +245,7 @@ void WTFReportArgumentAssertionFailure(const char* file, int line, const char* f | ||
28 | |||
29 | void WTFGetBacktrace(void** stack, int* size) | ||
30 | { | ||
31 | -#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) | ||
32 | +#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID) | ||
33 | *size = backtrace(stack, *size); | ||
34 | #elif OS(WINDOWS) && !OS(WINCE) | ||
35 | // The CaptureStackBackTrace function is available in XP, but it is not defined | ||
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 5dee6a42..36c967f4 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -3,9 +3,7 @@ require qt5-git.inc | |||
3 | 3 | ||
4 | LICENSE = "BSD & LGPLv2+ | GPL-2.0" | 4 | LICENSE = "BSD & LGPLv2+ | GPL-2.0" |
5 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
6 | file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \ | 6 | file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ |
7 | file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \ | ||
8 | file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \ | ||
9 | file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee \ | 7 | file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee \ |
10 | " | 8 | " |
11 | 9 | ||
@@ -18,12 +16,13 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf- | |||
18 | ARM_INSTRUCTION_SET_armv4 = "arm" | 16 | ARM_INSTRUCTION_SET_armv4 = "arm" |
19 | ARM_INSTRUCTION_SET_armv5 = "arm" | 17 | ARM_INSTRUCTION_SET_armv5 = "arm" |
20 | 18 | ||
21 | # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10 | 19 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474 |
22 | # 5.10.meta-qt5.1 | 20 | # https://bugs.webkit.org/show_bug.cgi?id=159880 |
23 | SRC_URI += "\ | 21 | # JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime. |
24 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ | 22 | # Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb). |
25 | file://0002-Exclude-backtrace-API-for-non-glibc-libraries.patch \ | 23 | ARM_INSTRUCTION_SET_armv7a = "thumb" |
26 | " | 24 | ARM_INSTRUCTION_SET_armv7r = "thumb" |
25 | ARM_INSTRUCTION_SET_armv7ve = "thumb" | ||
27 | 26 | ||
28 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \ | 27 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxrender', '', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxrender', '', d)} \ |
@@ -42,27 +41,6 @@ PACKAGECONFIG[fontconfig] = "OE_FONTCONFIG_ENABLED,,fontconfig" | |||
42 | 41 | ||
43 | do_configure_prepend() { | 42 | do_configure_prepend() { |
44 | export QMAKE_CACHE_EVAL="CONFIG+=${PACKAGECONFIG_CONFARGS}" | 43 | export QMAKE_CACHE_EVAL="CONFIG+=${PACKAGECONFIG_CONFARGS}" |
45 | # disable gstreamer-1.0 test if it isn't enabled by PACKAGECONFIG | ||
46 | sed -e 's/\s\(packagesExist(".*\<gstreamer-1.0\>.*")\)/ OE_GSTREAMER_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
47 | # disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG | ||
48 | sed -e 's/\s\(packagesExist(".*\<gstreamer-0.10\>.*")\)/ OE_GSTREAMER010_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
49 | # disable qtlocation test if it isn't enabled by PACKAGECONFIG | ||
50 | sed -e 's/\s\(qtHaveModule(positioning)\)/ OE_QTLOCATION_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
51 | # disable qtmultimedia test if it isn't enabled by PACKAGECONFIG | ||
52 | sed -e 's/(video):\(qtHaveModule(multimediawidgets)\)/(video):OE_QTMULTIMEDIA_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
53 | # disable qtsensors test if it isn't enabled by PACKAGECONFIG | ||
54 | sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
55 | # disable qtwebchannel test if it isn't enabled by PACKAGECONFIG | ||
56 | sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/Target.pri | ||
57 | sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/WebKit2.pri | ||
58 | # disable libwebp test if it isn't enabled by PACKAGECONFIG | ||
59 | sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
60 | # disable libxcomposite test if it isn't enabled by PACKAGECONFIG | ||
61 | sed -e 's/\s\(config_libXcomposite: \)/ OE_LIBXCOMPOSITE_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
62 | # disable libxrender test if it isn't enabled by PACKAGECONFIG | ||
63 | sed -e 's/\s\(config_libXrender: \)/ OE_LIBXRENDER_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
64 | # disable fontconfig test if it isn't enabled by PACKAGECONFIG | ||
65 | sed -e 's/\s\(config_fontconfig: \)/ OE_FONTCONFIG_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
66 | } | 44 | } |
67 | 45 | ||
68 | # Forcibly enable ICU, so qtbase doesn't need it. | 46 | # Forcibly enable ICU, so qtbase doesn't need it. |
@@ -72,12 +50,6 @@ EXTRA_QMAKEVARS_PRE += "QT_CONFIG+=icu" | |||
72 | QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0" | 50 | QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0" |
73 | EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}" | 51 | EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}" |
74 | 52 | ||
75 | do_install_append() { | ||
76 | # Remove paths to workdir, qtwebkit is dead now, so I won't spend extra time trying to prevent this | ||
77 | # from some .prl or .prf file like for other modules | ||
78 | sed -i 's@-Wl,-no-whole-archive -L${B}[^ ]* @ @g' ${D}${libdir}/pkgconfig/Qt5WebKit.pc | ||
79 | } | ||
80 | |||
81 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe | 53 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe |
82 | PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples" | 54 | PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples" |
83 | 55 | ||
@@ -87,4 +59,6 @@ PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-db | |||
87 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" | 59 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" |
88 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" | 60 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" |
89 | 61 | ||
90 | SRCREV = "97c4a80a1282c8c3eaa343011286b76fd4838c5f" | 62 | QT_MODULE_BRANCH = "dev" |
63 | |||
64 | SRCREV = "beaeeb99881184fd368c121fcbb1a31c78b794a3" | ||
diff --git a/recipes-qt/tufao/tufao/0001-CMakeLists.txt-fix-build-with-Qt-5.11-don-t-use-qt5_.patch b/recipes-qt/tufao/tufao/0001-CMakeLists.txt-fix-build-with-Qt-5.11-don-t-use-qt5_.patch new file mode 100644 index 00000000..50dd7844 --- /dev/null +++ b/recipes-qt/tufao/tufao/0001-CMakeLists.txt-fix-build-with-Qt-5.11-don-t-use-qt5_.patch | |||
@@ -0,0 +1,91 @@ | |||
1 | From 85a4a1fcba0d81fbd8c4af3421114360f32c384e Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Thu, 19 Apr 2018 06:31:09 +0000 | ||
4 | Subject: [PATCH] CMakeLists.txt: fix build with Qt 5.11, don't use | ||
5 | qt5_use_modules | ||
6 | |||
7 | * replace deprecated (and in 5.11 removed) qt5_use_modules macro usage with | ||
8 | the list of libraries in target_link_libraries as suggested in: | ||
9 | https://stackoverflow.com/questions/31172156/what-to-use-instead-of-qt5-use-modules | ||
10 | |||
11 | Upstream-Status: Submitted https://github.com/vinipsmaker/tufao/pull/91 | ||
12 | |||
13 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
14 | --- | ||
15 | examples/cmake/hello-cmake/CMakeLists.txt | 3 +-- | ||
16 | examples/cmake/sample_plugin/plugins/CMakeLists.txt | 3 +-- | ||
17 | examples/cmake/sample_plugin/src/CMakeLists.txt | 3 +-- | ||
18 | src/CMakeLists.txt | 2 +- | ||
19 | src/tests/CMakeLists.txt | 3 +-- | ||
20 | 5 files changed, 5 insertions(+), 9 deletions(-) | ||
21 | |||
22 | diff --git a/examples/cmake/hello-cmake/CMakeLists.txt b/examples/cmake/hello-cmake/CMakeLists.txt | ||
23 | index 1995220..e93c83c 100644 | ||
24 | --- a/examples/cmake/hello-cmake/CMakeLists.txt | ||
25 | +++ b/examples/cmake/hello-cmake/CMakeLists.txt | ||
26 | @@ -13,5 +13,4 @@ find_package(CXX11 REQUIRED) | ||
27 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX11_FLAGS}") | ||
28 | |||
29 | add_executable(${PROJECT_NAME} main.cpp) | ||
30 | -qt5_use_modules(${PROJECT_NAME} Core Network) | ||
31 | -target_link_libraries(${PROJECT_NAME} ${TUFAO_LIBRARIES}) | ||
32 | +target_link_libraries(${PROJECT_NAME} ${TUFAO_LIBRARIES} Qt5::Core Qt5::Network) | ||
33 | diff --git a/examples/cmake/sample_plugin/plugins/CMakeLists.txt b/examples/cmake/sample_plugin/plugins/CMakeLists.txt | ||
34 | index 3099dfb..b0ded18 100644 | ||
35 | --- a/examples/cmake/sample_plugin/plugins/CMakeLists.txt | ||
36 | +++ b/examples/cmake/sample_plugin/plugins/CMakeLists.txt | ||
37 | @@ -9,5 +9,4 @@ set(PLUGIN_HEADERS | ||
38 | ) | ||
39 | |||
40 | add_library(Test SHARED ${PLUGIN_HEADERS} ${PLUGIN_SOURCE}) | ||
41 | -qt5_use_modules(Test Core Network) | ||
42 | -target_link_libraries(Test ${TUFAO_LIBRARIES}) | ||
43 | +target_link_libraries(Test ${TUFAO_LIBRARIES} Qt5::Test Qt5::Core Qt5::Network) | ||
44 | diff --git a/examples/cmake/sample_plugin/src/CMakeLists.txt b/examples/cmake/sample_plugin/src/CMakeLists.txt | ||
45 | index 379440f..fe97a0f 100644 | ||
46 | --- a/examples/cmake/sample_plugin/src/CMakeLists.txt | ||
47 | +++ b/examples/cmake/sample_plugin/src/CMakeLists.txt | ||
48 | @@ -9,5 +9,4 @@ set(${PROJECT_NAME}_HEADERS | ||
49 | ) | ||
50 | |||
51 | add_executable(${PROJECT_NAME} ${${PROJECT_NAME}_HEADERS} ${${PROJECT_NAME}_SOURCE}) | ||
52 | -qt5_use_modules(${PROJECT_NAME} Core Network) | ||
53 | -target_link_libraries(${PROJECT_NAME} ${TUFAO_LIBRARIES} ${Test}) | ||
54 | +target_link_libraries(${PROJECT_NAME} ${TUFAO_LIBRARIES} ${Test} Qt5::Core Qt5::Network) | ||
55 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
56 | index 3b10a35..91e619e 100644 | ||
57 | --- a/src/CMakeLists.txt | ||
58 | +++ b/src/CMakeLists.txt | ||
59 | @@ -36,7 +36,7 @@ endif() | ||
60 | |||
61 | add_library("${TUFAO_LIBRARY}" SHARED ${tufao_SRC}) | ||
62 | |||
63 | -qt5_use_modules("${TUFAO_LIBRARY}" Core Network) | ||
64 | +target_link_libraries("${TUFAO_LIBRARY}" Qt5::Core Qt5::Network) | ||
65 | |||
66 | set_target_properties( | ||
67 | "${TUFAO_LIBRARY}" | ||
68 | diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt | ||
69 | index cc2fef7..2ec9fa9 100644 | ||
70 | --- a/src/tests/CMakeLists.txt | ||
71 | +++ b/src/tests/CMakeLists.txt | ||
72 | @@ -20,7 +20,6 @@ set(tests | ||
73 | ) | ||
74 | |||
75 | macro(setup_test_target target) | ||
76 | - qt5_use_modules("${target}" Core Network Test) | ||
77 | set_target_properties( | ||
78 | "${target}" | ||
79 | PROPERTIES | ||
80 | @@ -43,7 +42,7 @@ macro(setup_test_target target) | ||
81 | endif() | ||
82 | |||
83 | |||
84 | - target_link_libraries("${target}" "${TUFAO_LIBRARY}") | ||
85 | +target_link_libraries("${target}" "${TUFAO_LIBRARY}" Qt5::Core Qt5::Network Qt5::Test) | ||
86 | |||
87 | add_test(NAME "${target}" | ||
88 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/src" | ||
89 | -- | ||
90 | 2.17.0 | ||
91 | |||
diff --git a/recipes-qt/tufao/tufao_1.3.10.bb b/recipes-qt/tufao/tufao_1.3.10.bb index d4b62e2b..719269f1 100644 --- a/recipes-qt/tufao/tufao_1.3.10.bb +++ b/recipes-qt/tufao/tufao_1.3.10.bb | |||
@@ -5,7 +5,9 @@ DEPENDS = "qtbase" | |||
5 | 5 | ||
6 | SRCREV = "ad505c32d0ba14c3c616de8ba4c7eb79396c20a6" | 6 | SRCREV = "ad505c32d0ba14c3c616de8ba4c7eb79396c20a6" |
7 | SRC_URI = "git://github.com/vinipsmaker/tufao.git;protocol=http;branch=1.x \ | 7 | SRC_URI = "git://github.com/vinipsmaker/tufao.git;protocol=http;branch=1.x \ |
8 | file://build-Fix-mkspecs-and-CMake-module-install-directori.patch" | 8 | file://build-Fix-mkspecs-and-CMake-module-install-directori.patch \ |
9 | file://0001-CMakeLists.txt-fix-build-with-Qt-5.11-don-t-use-qt5_.patch \ | ||
10 | " | ||
9 | 11 | ||
10 | # This includes bugfixes from 1.x branch | 12 | # This includes bugfixes from 1.x branch |
11 | PV_append = "+${SRCPV}" | 13 | PV_append = "+${SRCPV}" |