diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-10-16 12:08:06 +0300 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2018-10-16 14:01:27 +0300 |
commit | 21f10e47108ed83d92da2c80574b884bdbc83cf1 (patch) | |
tree | 3455f0e0ee109c60f505cffc3c54c3bf0cf1f06b | |
parent | 6aa1a8026b65c85a2ea35361939b6401f950cc2e (diff) | |
parent | e863df2be9e966811a80f0e3717af911478fd748 (diff) | |
download | meta-qt5-21f10e47108ed83d92da2c80574b884bdbc83cf1.tar.gz |
Merge remote-tracking branch 'qtyocto/5.11' into 5.12
* qtyocto/5.11:
e863df2 nativesdk-qtbase: fix packaging QA issue
a6d8420 Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11
8e485a2 qtbase: default to internal harfbuzz-ng
0c7eb25 layer.conf: Add thud to LAYERSERIES_COMPAT
4e6c472 qt5-creator: Check before editing translation Makefile
15a8c25 qt5-creator: Pick native tools from native sysroot e.g. lrelease etc.
f11e942 qt5-creator: fix build with QMAKE_AR
0cf5966 qt5-creator: upgrade to 4.7.1+
4fb1e60 qt: package all files in ${PN}-examples
2109ff6 qt: use single -dev and -staticdev package
5c5b7e8 qt5-creator: refresh .patch files and push them to meta-qt5 fork
333437c qt5-creator: Fix build due to missing lrelease
3ad2acb qtchooser: Update to latest git
1ed9bcb qtwebengine: Add patches to fix breakpad in new webengine release on musl
24d6fc2 qtbase: Do not use cross_compile check
d0cd7a7 qtbase: Fix errors due to -isystem
8123922 qtbase: Fix build error for armv8BE multilib.
f9e80ed qt5: update to latest revision in 5.11 branch
3e7da25 qt5: update to Qt 5.11.2
cd0da4e libqofono: include /qt5/mkspecs in ${PN}-dev
db45ea6 qtwebkit-examples: Fix build with QT 5.11
d498eb6 qtwebkit: Use relative paths for pri files when cross compile
b716195 qmake5_paths: change the default QT_DIR_NAME to be empty
3224b02 nativesdk-qtbase: use default PACKAGES
66c49f8 qt5-creator: strip few more useless rpaths
03b4c7b qt: remove unnecessary FILES.*-dbg variables for packaging .debug files
5164f84 qt3d-runtime: Fix compile errors as seen with mips/musl
08aaba0 qt3d-runtime: upgrade to latest revision in 2.0 branch
a8832a7 qtwebkit: Make qtwebkit support arm32 BE.
215e81d qtscript: add patches to meta-qt5 fork
66a9704 qtscript: Fix build on musl
edf1e43 qtwebkit: add patches to meta-qt5 fork
a307eb0 qtwebkit: Fix conflicts with -I and -isystem
3e4141c qtwebkit: Fix build with musl
c977d68 qt5-creator: Strip out redundant RPATH
189dd8a qt5-creator: Fix building botan for all non-x86 arches
85e665b qtwebengine: use nasm-native instead of yasm-native
75bc440 qtbase: fix install locations used in static builds
823fa38 qtwebengine: enable debug info for webengine
Conflicts:
recipes-qt/qt5/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d-runtime_git.bb
recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase/0013-Upgrade-double-conversion-to-v3.0.0.patch
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch
recipes-qt/qt5/qtwebengine/chromium/0001-chromium-Force-host-toolchain-configuration.patch
recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch
recipes-qt/qt5/qtwebengine/chromium/0003-chromium-Fix-build-with-gcc8.patch
Change-Id: Id38a2f68bd27b1fe8ffc7bbf2c74bad1fb2b92d0
90 files changed, 633 insertions, 319 deletions
diff --git a/classes/qmake5_paths.bbclass b/classes/qmake5_paths.bbclass index f3c7b112..ca7e4fc2 100644 --- a/classes/qmake5_paths.bbclass +++ b/classes/qmake5_paths.bbclass | |||
@@ -2,7 +2,7 @@ | |||
2 | # about conflicts with qt4, then you can add qmake5_paths.bbclass | 2 | # about conflicts with qt4, then you can add qmake5_paths.bbclass |
3 | # to your distro layer and flatten all QT_DIR_NAME directories | 3 | # to your distro layer and flatten all QT_DIR_NAME directories |
4 | 4 | ||
5 | QT_DIR_NAME ?= "/qt5" | 5 | QT_DIR_NAME ?= "" |
6 | 6 | ||
7 | # This is useful for target recipes to reference native mkspecs | 7 | # This is useful for target recipes to reference native mkspecs |
8 | QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}${QT_DIR_NAME}" | 8 | QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}${QT_DIR_NAME}" |
diff --git a/conf/layer.conf b/conf/layer.conf index df696c76..12b2d6ae 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -29,7 +29,7 @@ LAYERVERSION_qt5-layer = "1" | |||
29 | 29 | ||
30 | LAYERDEPENDS_qt5-layer = "core" | 30 | LAYERDEPENDS_qt5-layer = "core" |
31 | 31 | ||
32 | LAYERSERIES_COMPAT_qt5-layer = "sumo" | 32 | LAYERSERIES_COMPAT_qt5-layer = "sumo thud" |
33 | 33 | ||
34 | LICENSE_PATH += "${LAYERDIR}/licenses" | 34 | LICENSE_PATH += "${LAYERDIR}/licenses" |
35 | 35 | ||
diff --git a/recipes-connectivity/libqofono/libqofono_git.bb b/recipes-connectivity/libqofono/libqofono_git.bb index 18e9b8fd..64ce039e 100644 --- a/recipes-connectivity/libqofono/libqofono_git.bb +++ b/recipes-connectivity/libqofono/libqofono_git.bb | |||
@@ -21,19 +21,16 @@ do_install_append() { | |||
21 | 21 | ||
22 | PACKAGES += "${PN}-tests" | 22 | PACKAGES += "${PN}-tests" |
23 | 23 | ||
24 | FILES_${PN}-dbg += " \ | ||
25 | /lib/libqofono-qt5/tests/.debug \ | ||
26 | ${libdir}/qt5/qml/MeeGo/QOfono/.debug \ | ||
27 | " | ||
28 | FILES_${PN}-tests = " \ | 24 | FILES_${PN}-tests = " \ |
29 | ${libdir}/libqofono-qt5/tests/tst_* \ | 25 | ${libdir}/libqofono-qt5/tests/tst_* \ |
30 | /opt/tests/libqofono-qt5 \ | 26 | /opt/tests/libqofono-qt5 \ |
31 | " | 27 | " |
32 | FILES_${PN} += " \ | 28 | FILES_${PN} += " \ |
33 | ${libdir}/qt5/qml/MeeGo/QOfono/qmldir \ | 29 | ${OE_QMAKE_PATH_QML}/MeeGo/QOfono/qmldir \ |
34 | ${libdir}/qt5/qml/MeeGo/QOfono/libQOfonoQtDeclarative.so \ | 30 | ${OE_QMAKE_PATH_QML}/MeeGo/QOfono/libQOfonoQtDeclarative.so \ |
35 | " | 31 | " |
36 | FILES_${PN}-dev += " \ | 32 | FILES_${PN}-dev += " \ |
37 | ${datadir}/qt5/mkspecs \ | 33 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ |
38 | ${libdir}/libqofono-qt5.prl \ | 34 | ${libdir}/libqofono-qt5.prl \ |
35 | ${datadir}/qt5/mkspecs \ | ||
39 | " | 36 | " |
diff --git a/recipes-python/pyqt5/python-pyqt5_5.10.1.bb b/recipes-python/pyqt5/python-pyqt5_5.10.1.bb index 9a0f8499..505db59d 100644 --- a/recipes-python/pyqt5/python-pyqt5_5.10.1.bb +++ b/recipes-python/pyqt5/python-pyqt5_5.10.1.bb | |||
@@ -48,7 +48,7 @@ do_configure_prepend() { | |||
48 | QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION` | 48 | QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION` |
49 | echo "[Qt $QT_VERSION]" >> pyqt.cfg | 49 | echo "[Qt $QT_VERSION]" >> pyqt.cfg |
50 | echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg | 50 | echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg |
51 | echo yes | python configure.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/qt5/qmake --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST} | 51 | echo yes | python configure.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST} |
52 | } | 52 | } |
53 | 53 | ||
54 | do_compile() { | 54 | do_compile() { |
@@ -64,5 +64,4 @@ do_install() { | |||
64 | RDEPENDS_${PN} = "python-core python-sip qtbase" | 64 | RDEPENDS_${PN} = "python-core python-sip qtbase" |
65 | 65 | ||
66 | FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/PyQt5/" | 66 | FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/PyQt5/" |
67 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*/.debug/" | ||
68 | 67 | ||
diff --git a/recipes-qt/examples/cinematicexperience_1.0.bb b/recipes-qt/examples/cinematicexperience_1.0.bb index 7f921d85..9a90f1d4 100644 --- a/recipes-qt/examples/cinematicexperience_1.0.bb +++ b/recipes-qt/examples/cinematicexperience_1.0.bb | |||
@@ -37,5 +37,4 @@ do_install() { | |||
37 | chmod +x ${D}${bindir}/Qt5_CinematicExperience | 37 | chmod +x ${D}${bindir}/Qt5_CinematicExperience |
38 | } | 38 | } |
39 | 39 | ||
40 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
41 | FILES_${PN} += "${datadir}" | 40 | FILES_${PN} += "${datadir}" |
diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb b/recipes-qt/examples/qt5everywheredemo_1.0.bb index 493344f7..56034cc4 100644 --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb | |||
@@ -20,7 +20,6 @@ do_install() { | |||
20 | cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P} | 20 | cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P} |
21 | } | 21 | } |
22 | 22 | ||
23 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
24 | FILES_${PN} += "${datadir}" | 23 | FILES_${PN} += "${datadir}" |
25 | 24 | ||
26 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 25 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/examples/qt5ledscreen_1.0.bb b/recipes-qt/examples/qt5ledscreen_1.0.bb index e2b994bc..e221941f 100644 --- a/recipes-qt/examples/qt5ledscreen_1.0.bb +++ b/recipes-qt/examples/qt5ledscreen_1.0.bb | |||
@@ -18,7 +18,6 @@ do_install() { | |||
18 | cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${P} | 18 | cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${P} |
19 | } | 19 | } |
20 | 20 | ||
21 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
22 | FILES_${PN} += "${datadir}" | 21 | FILES_${PN} += "${datadir}" |
23 | 22 | ||
24 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 23 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb b/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb index 145f7974..54875f97 100644 --- a/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb +++ b/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb | |||
@@ -21,7 +21,6 @@ do_install() { | |||
21 | cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P} | 21 | cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P} |
22 | } | 22 | } |
23 | 23 | ||
24 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
25 | FILES_${PN} += "${datadir}" | 24 | FILES_${PN} += "${datadir}" |
26 | 25 | ||
27 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 26 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/examples/qt5nmapper_1.0.bb b/recipes-qt/examples/qt5nmapper_1.0.bb index 762ad20b..3c2bc1a9 100644 --- a/recipes-qt/examples/qt5nmapper_1.0.bb +++ b/recipes-qt/examples/qt5nmapper_1.0.bb | |||
@@ -22,7 +22,6 @@ do_install() { | |||
22 | cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P} | 22 | cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P} |
23 | } | 23 | } |
24 | 24 | ||
25 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
26 | FILES_${PN} += "${datadir}" | 25 | FILES_${PN} += "${datadir}" |
27 | 26 | ||
28 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 27 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/examples/qtsmarthome_1.0.bb b/recipes-qt/examples/qtsmarthome_1.0.bb index da1bbdf3..03f3c994 100644 --- a/recipes-qt/examples/qtsmarthome_1.0.bb +++ b/recipes-qt/examples/qtsmarthome_1.0.bb | |||
@@ -22,7 +22,6 @@ do_install() { | |||
22 | cp -R --no-dereference --preserve=mode,links ${S}/components ${D}${datadir}/${P} | 22 | cp -R --no-dereference --preserve=mode,links ${S}/components ${D}${datadir}/${P} |
23 | } | 23 | } |
24 | 24 | ||
25 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
26 | FILES_${PN} += "${datadir}" | 25 | FILES_${PN} += "${datadir}" |
27 | 26 | ||
28 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 27 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/examples/quitbattery_1.0.0.bb b/recipes-qt/examples/quitbattery_1.0.0.bb index 6c2d3d11..7593ab29 100644 --- a/recipes-qt/examples/quitbattery_1.0.0.bb +++ b/recipes-qt/examples/quitbattery_1.0.0.bb | |||
@@ -20,7 +20,6 @@ do_install() { | |||
20 | cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P} | 20 | cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P} |
21 | } | 21 | } |
22 | 22 | ||
23 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
24 | FILES_${PN} += "${datadir}" | 23 | FILES_${PN} += "${datadir}" |
25 | 24 | ||
26 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 25 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/examples/quitindicators_1.0.1.bb b/recipes-qt/examples/quitindicators_1.0.1.bb index 3e42d047..bc370f44 100644 --- a/recipes-qt/examples/quitindicators_1.0.1.bb +++ b/recipes-qt/examples/quitindicators_1.0.1.bb | |||
@@ -19,7 +19,6 @@ do_install() { | |||
19 | cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P} | 19 | cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P} |
20 | } | 20 | } |
21 | 21 | ||
22 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
23 | FILES_${PN} += "${datadir}" | 22 | FILES_${PN} += "${datadir}" |
24 | 23 | ||
25 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | 24 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" |
diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb index e0a0e0e1..fabb43ee 100644 --- a/recipes-qt/maliit/maliit-framework-qt5_git.bb +++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb | |||
@@ -33,7 +33,6 @@ FILES_${PN} += "\ | |||
33 | 33 | ||
34 | FILES_${PN}-dbg += "\ | 34 | FILES_${PN}-dbg += "\ |
35 | ${libdir}/maliit-framework-tests \ | 35 | ${libdir}/maliit-framework-tests \ |
36 | ${OE_QMAKE_PATH_PLUGINS}/platforminputcontexts/.debug \ | ||
37 | " | 36 | " |
38 | 37 | ||
39 | FILES_${PN}-dev += "\ | 38 | FILES_${PN}-dev += "\ |
diff --git a/recipes-qt/maliit/maliit-plugins-qt5_git.bb b/recipes-qt/maliit/maliit-plugins-qt5_git.bb index 7dc1a730..54bc7432 100644 --- a/recipes-qt/maliit/maliit-plugins-qt5_git.bb +++ b/recipes-qt/maliit/maliit-plugins-qt5_git.bb | |||
@@ -28,8 +28,6 @@ FILES_${PN} += "\ | |||
28 | ${datadir} \ | 28 | ${datadir} \ |
29 | " | 29 | " |
30 | 30 | ||
31 | FILES_${PN}-dbg += "${libdir}/maliit/plugins/.debug" | ||
32 | |||
33 | S= "${WORKDIR}/git" | 31 | S= "${WORKDIR}/git" |
34 | 32 | ||
35 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" | 33 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" |
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb index 4b46e676..e92cb9d4 100644 --- a/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb +++ b/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb | |||
@@ -10,6 +10,6 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | |||
10 | RDEPENDS_${PN} += " \ | 10 | RDEPENDS_${PN} += " \ |
11 | nativesdk-packagegroup-sdk-host \ | 11 | nativesdk-packagegroup-sdk-host \ |
12 | nativesdk-qttools-tools \ | 12 | nativesdk-qttools-tools \ |
13 | nativesdk-qtbase-tools \ | 13 | nativesdk-qtbase \ |
14 | nativesdk-perl-modules \ | 14 | nativesdk-perl-modules \ |
15 | " | 15 | " |
diff --git a/recipes-qt/qsiv/qsiv_1.1.bb b/recipes-qt/qsiv/qsiv_1.1.bb index bb2efa69..5773c3e7 100644 --- a/recipes-qt/qsiv/qsiv_1.1.bb +++ b/recipes-qt/qsiv/qsiv_1.1.bb | |||
@@ -24,5 +24,3 @@ do_install_append() { | |||
24 | 24 | ||
25 | FILES_${PN} += "${libdir}/${P}" | 25 | FILES_${PN} += "${libdir}/${P}" |
26 | RDEPENDS_${PN} += "qtdeclarative-qmlplugins" | 26 | RDEPENDS_${PN} += "qtdeclarative-qmlplugins" |
27 | |||
28 | FILES_${PN}-dbg += "${libdir}/${P}/.debug" | ||
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index e020ebe2..1368758e 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -23,7 +23,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" | |||
23 | 23 | ||
24 | # common for qtbase-native, qtbase-nativesdk and qtbase | 24 | # common for qtbase-native, qtbase-nativesdk and qtbase |
25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared | 25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
26 | # 5.11.meta-qt5-shared.7 | 26 | # 5.11.meta-qt5-shared.11 |
27 | SRC_URI += "\ | 27 | SRC_URI += "\ |
28 | file://0001-Add-linux-oe-g-platform.patch \ | 28 | file://0001-Add-linux-oe-g-platform.patch \ |
29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -37,12 +37,12 @@ SRC_URI += "\ | |||
37 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | 37 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ |
38 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | 38 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ |
39 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 39 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
40 | file://0015-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 40 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ |
41 | " | 41 | " |
42 | 42 | ||
43 | # common for qtbase-native and nativesdk-qtbase | 43 | # common for qtbase-native and nativesdk-qtbase |
44 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native | 44 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native |
45 | # 5.11.meta-qt5-native.7 | 45 | # 5.11.meta-qt5-native.11 |
46 | SRC_URI += " \ | 46 | SRC_URI += " \ |
47 | file://0016-Always-build-uic-and-qvkgen.patch \ | 47 | file://0016-Always-build-uic-and-qvkgen.patch \ |
48 | " | 48 | " |
@@ -52,39 +52,23 @@ SRC_URI += " \ | |||
52 | file://OEQt5Toolchain.cmake \ | 52 | file://OEQt5Toolchain.cmake \ |
53 | " | 53 | " |
54 | 54 | ||
55 | PACKAGES = "${PN}-tools-dbg ${PN}-tools-dev ${PN}-tools-staticdev ${PN}-tools" | ||
56 | |||
57 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" | 55 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" |
58 | 56 | ||
59 | FILES_${PN}-tools-dev = " \ | 57 | FILES_${PN}-dev += " \ |
60 | ${includedir} \ | ||
61 | ${FILES_SOLIBSDEV} ${libdir}/*.la \ | ||
62 | ${libdir}/*.prl \ | ||
63 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ | 58 | ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \ |
64 | ${OE_QMAKE_PATH_LIBS}/*.prl \ | 59 | ${OE_QMAKE_PATH_LIBS}/*.prl \ |
60 | ${datadir}/cmake \ | ||
65 | " | 61 | " |
66 | 62 | ||
67 | FILES_${PN}-tools-staticdev = " \ | 63 | FILES_${PN} += " \ |
68 | ${OE_QMAKE_PATH_LIBS}/*.a \ | ||
69 | " | ||
70 | |||
71 | FILES_${PN}-tools-dbg = " \ | ||
72 | ${libdir}/.debug \ | ||
73 | ${OE_QMAKE_PATH_BINS}/.debug \ | ||
74 | " | ||
75 | |||
76 | FILES_${PN}-tools = " \ | ||
77 | ${libdir}/lib*${SOLIBS} \ | ||
78 | ${OE_QMAKE_PATH_BINS}/* \ | ||
79 | ${SDKPATHNATIVE}/environment-setup.d \ | 64 | ${SDKPATHNATIVE}/environment-setup.d \ |
80 | ${datadir}/cmake \ | ||
81 | " | 65 | " |
82 | 66 | ||
83 | # qttools binaries are placed in a subdir of bin in order to avoid | 67 | # qttools binaries are placed in a subdir of bin in order to avoid |
84 | # collisions with qt4. This would trigger debian.bbclass to rename the | 68 | # collisions with qt4. This would trigger debian.bbclass to rename the |
85 | # package, since it doesn't detect binaries in subdirs. Explicitly | 69 | # package, since it doesn't detect binaries in subdirs. Explicitly |
86 | # disable package auto-renaming for the tools-package. | 70 | # disable package auto-renaming for the tools-package. |
87 | DEBIAN_NOAUTONAME_${PN}-tools = "1" | 71 | DEBIAN_NOAUTONAME_${PN} = "1" |
88 | 72 | ||
89 | QT_CONFIG_FLAGS += " \ | 73 | QT_CONFIG_FLAGS += " \ |
90 | -shared \ | 74 | -shared \ |
diff --git a/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch b/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch new file mode 100644 index 00000000..bc61e538 --- /dev/null +++ b/recipes-qt/qt5/qt3d-runtime/0001-runtime-Include-missing-QCoreApplication-header.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From e6247a6823d372cc779934cf6c74d65bae9652b5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 23 Aug 2018 03:23:20 +0000 | ||
4 | Subject: [PATCH] runtime: Include missing <QCoreApplication> header | ||
5 | |||
6 | Fixes following errors seen on mips | ||
7 | |||
8 | q3dsengine.cpp:1327:9: error: 'QCoreApplication' has not been declared | ||
9 | QCoreApplication::sendEvent(&m_profileUiEventSource, e); | ||
10 | ^~~~~~~~~~~~~~~~ | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | src/runtime/q3dsengine.cpp | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/src/runtime/q3dsengine.cpp b/src/runtime/q3dsengine.cpp | ||
19 | index 1a438f0..d6d4eb5 100644 | ||
20 | --- a/src/runtime/q3dsengine.cpp | ||
21 | +++ b/src/runtime/q3dsengine.cpp | ||
22 | @@ -36,6 +36,7 @@ | ||
23 | #include "q3dsinlineqmlsubpresentation_p.h" | ||
24 | #include "q3dsviewersettings.h" | ||
25 | |||
26 | +#include <QCoreApplication> | ||
27 | #include <QLoggingCategory> | ||
28 | #include <QKeyEvent> | ||
29 | #include <QMouseEvent> | ||
diff --git a/recipes-qt/qt5/qt3d-runtime_git.bb b/recipes-qt/qt5/qt3d-runtime_git.bb index 856150ac..f811d226 100644 --- a/recipes-qt/qt5/qt3d-runtime_git.bb +++ b/recipes-qt/qt5/qt3d-runtime_git.bb | |||
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = " \ | |||
7 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ | 7 | file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ |
8 | " | 8 | " |
9 | 9 | ||
10 | SRC_URI += "file://0001-runtime-Include-missing-QCoreApplication-header.patch" | ||
11 | |||
10 | DEPENDS += "qtbase qtdeclarative qt3d" | 12 | DEPENDS += "qtbase qtdeclarative qt3d" |
11 | 13 | ||
12 | QT_MODULE_BRANCH = "2.1" | 14 | QT_MODULE_BRANCH = "2.1" |
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 d62c3d5a..df8a0507 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,6 +1,6 @@ | |||
1 | From 55670231dcc22e00e08ec44acda8ca93c9368860 Mon Sep 17 00:00:00 2001 | 1 | From 4c68386b6c42853b6ed2903ff81f6019133e6641 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 10 Feb 2016 09:02:09 +0200 | 3 | Date: Fri, 17 Aug 2018 13:23:58 +0300 |
4 | Subject: [PATCH] Allow a tools-only build | 4 | Subject: [PATCH] Allow a tools-only build |
5 | 5 | ||
6 | --- | 6 | --- |
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb index 0e05231a..9836ddc9 100644 --- a/recipes-qt/qt5/qt3d_git.bb +++ b/recipes-qt/qt5/qt3d_git.bb | |||
@@ -12,7 +12,7 @@ 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.11 | 14 | # Patches from https://github.com/meta-qt5/qt3d/commits/b5.11 |
15 | # 5.11.meta-qt5.4 | 15 | # 5.11.meta-qt5.5 |
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 deleted file mode 100644 index 28dc4755..00000000 --- a/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch +++ /dev/null | |||
@@ -1,91 +0,0 @@ | |||
1 | From 231e0cf0c764d3b63cd5ec788ac0ee901b47fc8e Mon Sep 17 00:00:00 2001 | ||
2 | From: Greg Nietsky <gregory@distrotech.co.za> | ||
3 | Date: Tue, 4 Mar 2014 11:33:40 +0200 | ||
4 | Subject: [PATCH] Fix: Allow qt-creator to build on arm aarch32 and aarch64 | ||
5 | |||
6 | Botan is imported hardwired for x86 this small patch allows it | ||
7 | too operate on arm other platforms could be added. | ||
8 | |||
9 | Task-number: QTCREATORBUG-8107 | ||
10 | Change-Id: Iddea28f21c9fa1afd2fdd5d16a44e6c96a516a7a | ||
11 | --- | ||
12 | src/libs/3rdparty/botan/botan.cpp | 16 +++++++++++++++- | ||
13 | src/libs/3rdparty/botan/botan.h | 2 ++ | ||
14 | 2 files changed, 17 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp | ||
17 | index 87736d5..2e950d8 100644 | ||
18 | --- a/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 | ||
21 | |||
22 | #if (BOTAN_MP_WORD_BITS != 32) | ||
23 | #error The mp_x86_32 module requires that BOTAN_MP_WORD_BITS == 32 | ||
24 | +#elif !defined(BOTAN_TARGET_CPU_IS_X86_FAMILY) | ||
25 | +typedef Botan::u64bit dword; | ||
26 | #endif | ||
27 | |||
28 | #ifdef Q_OS_UNIX | ||
29 | @@ -1118,6 +1120,7 @@ extern "C" { | ||
30 | */ | ||
31 | inline word word_madd2(word a, word b, word* c) | ||
32 | { | ||
33 | +#if defined(BOTAN_TARGET_CPU_IS_X86_FAMILY) | ||
34 | asm( | ||
35 | ASM("mull %[b]") | ||
36 | ASM("addl %[c],%[a]") | ||
37 | @@ -1127,6 +1130,11 @@ inline word word_madd2(word a, word b, word* c) | ||
38 | : "0"(a), "1"(b), [c]"g"(*c) : "cc"); | ||
39 | |||
40 | return a; | ||
41 | +#else | ||
42 | + dword z = (dword)a * b + *c; | ||
43 | + *c = (word)(z >> BOTAN_MP_WORD_BITS); | ||
44 | + return (word)z; | ||
45 | +#endif | ||
46 | } | ||
47 | |||
48 | /* | ||
49 | @@ -1134,6 +1142,7 @@ inline word word_madd2(word a, word b, word* c) | ||
50 | */ | ||
51 | inline word word_madd3(word a, word b, word c, word* d) | ||
52 | { | ||
53 | +#if defined(BOTAN_TARGET_CPU_IS_X86_FAMILY) | ||
54 | asm( | ||
55 | ASM("mull %[b]") | ||
56 | |||
57 | @@ -1147,6 +1156,11 @@ inline word word_madd3(word a, word b, word c, word* d) | ||
58 | : "0"(a), "1"(b), [c]"g"(c), [d]"g"(*d) : "cc"); | ||
59 | |||
60 | return a; | ||
61 | +#else | ||
62 | + dword z = (dword)a * b + c + *d; | ||
63 | + *d = (word)(z >> BOTAN_MP_WORD_BITS); | ||
64 | + return (word)z; | ||
65 | +#endif | ||
66 | } | ||
67 | |||
68 | } | ||
69 | @@ -2315,7 +2329,7 @@ namespace Botan { | ||
70 | |||
71 | extern "C" { | ||
72 | |||
73 | -#ifdef Q_OS_UNIX | ||
74 | +#if defined(Q_OS_UNIX) && defined(BOTAN_TARGET_CPU_IS_X86_FAMILY) | ||
75 | /* | ||
76 | * Helper Macros for x86 Assembly | ||
77 | */ | ||
78 | diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h | ||
79 | index d7b90cc..26ca8ac 100644 | ||
80 | --- a/src/libs/3rdparty/botan/botan.h | ||
81 | +++ b/src/libs/3rdparty/botan/botan.h | ||
82 | @@ -85,7 +85,9 @@ | ||
83 | #endif | ||
84 | |||
85 | #define BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN | ||
86 | +#if !defined(__arm__) && !defined(__aarch64__) | ||
87 | #define BOTAN_TARGET_CPU_IS_X86_FAMILY | ||
88 | +#endif | ||
89 | #define BOTAN_TARGET_UNALIGNED_MEMORY_ACCESS_OK 1 | ||
90 | |||
91 | #if defined(BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN) || \ | ||
diff --git a/recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch b/recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch new file mode 100644 index 00000000..eebda742 --- /dev/null +++ b/recipes-qt/qt5/qt5-creator/0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 766e5b37a42b440b66823262eb553f9981940115 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 27 Sep 2018 20:48:17 -0700 | ||
4 | Subject: [PATCH] botan: Always define BOTAN_ARCH_SWITCH when cross-building | ||
5 | |||
6 | this helps in compiling botan for non-x86 architectures | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | src/libs/botan/botan.pro | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/src/libs/botan/botan.pro b/src/libs/botan/botan.pro | ||
14 | index 0c939b2a30..6e1a85fe84 100644 | ||
15 | --- a/src/libs/botan/botan.pro | ||
16 | +++ b/src/libs/botan/botan.pro | ||
17 | @@ -18,6 +18,7 @@ else: clang: BOTAN_CC_TYPE = clang | ||
18 | else: BOTAN_CC_TYPE = gcc | ||
19 | contains(QT_ARCH, i386): BOTAN_ARCH_SWITCH = "--cpu=x86" | ||
20 | else: contains(QT_ARCH, x86_64): BOTAN_ARCH_SWITCH = "--cpu=x86_64" | ||
21 | +else: BOTAN_ARCH_SWITCH = --cpu=$$QT_ARCH | ||
22 | BOTAN_MODULES = aes aes_ssse3 auto_rng bigint block cbc ctr des dh dsa ec_group ecdh ecdsa entropy \ | ||
23 | filters hmac mode_pad pubkey rsa sha1 sha1_sse2 sha1_x86 sha2_32 sha2_32_x86 \ | ||
24 | sha2_64 simd system_rng,emsa_pkcs1,pbes2,pbkdf2 | ||
25 | -- 2.19.0 | ||
26 | |||
diff --git a/recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch b/recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch new file mode 100644 index 00000000..26262299 --- /dev/null +++ b/recipes-qt/qt5/qt5-creator/0002-botan.pro-pass-QMAKE_AR.patch | |||
@@ -0,0 +1,80 @@ | |||
1 | From cd006f4a79b3c1435a8a8321b5af9191f104bbb3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 26 Sep 2018 21:14:06 +0000 | ||
4 | Subject: [PATCH] botan.pro: pass QMAKE_AR | ||
5 | |||
6 | * otherwise AR from environment sets it with cqs params, e.g.: | ||
7 | x86_64-oe-linux-ar cqs | ||
8 | from QMAKE_AR = ${OE_QMAKE_AR} cqs | ||
9 | |||
10 | but then botan's Makefile will add "crs" after it causing: | ||
11 | http://errors.yoctoproject.org/Errors/Details/194653/ | ||
12 | |||
13 | x86_64-oe-linux-ar cqs crs libbotan-2.a build/obj/lib/botan_all.o build/obj/lib/botan_all_ssse3.o | ||
14 | x86_64-oe-linux-ar: libbotan-2.a: No such file or directory | ||
15 | Makefile:79: recipe for target 'libbotan-2.a' failed | ||
16 | make[4]: *** [libbotan-2.a] Error 1 | ||
17 | |||
18 | * add --ar-options parameter to botan configure and respect the | ||
19 | value when set (before cc.ar_options and osinfo.ar_options) | ||
20 | then use this to pass empty ar_options as we already include | ||
21 | the options in ar_command | ||
22 | |||
23 | Upstream-Status: Pending | ||
24 | |||
25 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
26 | --- | ||
27 | src/libs/3rdparty/botan/configure.py | 13 ++++++++++++- | ||
28 | src/libs/botan/botan.pro | 1 + | ||
29 | 2 files changed, 13 insertions(+), 1 deletion(-) | ||
30 | |||
31 | diff --git a/src/libs/3rdparty/botan/configure.py b/src/libs/3rdparty/botan/configure.py | ||
32 | index b09f07bb5e..2b5b9c6417 100755 | ||
33 | --- a/src/libs/3rdparty/botan/configure.py | ||
34 | +++ b/src/libs/3rdparty/botan/configure.py | ||
35 | @@ -321,6 +321,9 @@ def process_command_line(args): # pylint: disable=too-many-locals | ||
36 | target_group.add_option('--ar-command', dest='ar_command', metavar='AR', default=None, | ||
37 | help='set path to static archive creator') | ||
38 | |||
39 | + target_group.add_option('--ar-options', dest='ar_options', metavar='crs', default='crs', | ||
40 | + help='set options for static archive creator') | ||
41 | + | ||
42 | target_group.add_option('--msvc-runtime', metavar='RT', default=None, | ||
43 | help='specify MSVC runtime (MT, MD, MTd, MDd)') | ||
44 | |||
45 | @@ -1786,6 +1789,14 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch, | ||
46 | |||
47 | return osinfo.ar_command | ||
48 | |||
49 | + def ar_options(): | ||
50 | + if options.ar_options: | ||
51 | + return options.ar_options | ||
52 | + if cc.ar_options: | ||
53 | + return cc.ar_options | ||
54 | + | ||
55 | + return osinfo.ar_options | ||
56 | + | ||
57 | def choose_endian(arch_info, options): | ||
58 | if options.with_endian != None: | ||
59 | return options.with_endian | ||
60 | @@ -1938,7 +1949,7 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch, | ||
61 | 'post_link_cmd': '', | ||
62 | |||
63 | 'ar_command': ar_command(), | ||
64 | - 'ar_options': cc.ar_options or osinfo.ar_options, | ||
65 | + 'ar_options': ar_options(), | ||
66 | 'ar_output_to': cc.ar_output_to, | ||
67 | |||
68 | 'link_to': ' '.join( | ||
69 | diff --git a/src/libs/botan/botan.pro b/src/libs/botan/botan.pro | ||
70 | index 0c939b2a30..e8082c4bbb 100644 | ||
71 | --- a/src/libs/botan/botan.pro | ||
72 | +++ b/src/libs/botan/botan.pro | ||
73 | @@ -46,6 +46,7 @@ configure.variable_out = BOTAN_MAKEFILE | ||
74 | configure.commands = cd $$BOTAN_BUILD_DIR_FOR_SHELL && \ | ||
75 | python $$CONFIGURE_FILE_PATH_FOR_SHELL \ | ||
76 | --cc=$$BOTAN_CC_TYPE --cc-bin=$$shell_quote($$QMAKE_CXX) \ | ||
77 | + --ar-command=$$shell_quote($$QMAKE_AR) --ar-options=$$shell_quote(' ') \ | ||
78 | $$BOTAN_ARCH_SWITCH $$BOTAN_OS_SWITCH $$OTHER_FLAGS | ||
79 | QMAKE_EXTRA_COMPILERS += configure | ||
80 | |||
diff --git a/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0003-Link-with-libexecinfo-on-musl.patch index 40e277fe..9b225a57 100644 --- a/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch +++ b/recipes-qt/qt5/qt5-creator/0003-Link-with-libexecinfo-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a30f4335d49516eb4654111af5bf073b633f7336 Mon Sep 17 00:00:00 2001 | 1 | From 88afa7173c7d0c97e15d9ee9c58e8c0364799bb7 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: Tue, 16 Jan 2018 13:26:57 +0000 | 3 | Date: Tue, 16 Jan 2018 13:26:57 +0000 |
4 | Subject: [PATCH] Link with libexecinfo on musl | 4 | Subject: [PATCH] Link with libexecinfo on musl |
@@ -10,7 +10,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
10 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
11 | 11 | ||
12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro | 12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro |
13 | index f5a34aa..4a1359d 100644 | 13 | index f5a34aa0d5..4a1359dd5c 100644 |
14 | --- a/src/plugins/debugger/debugger.pro | 14 | --- a/src/plugins/debugger/debugger.pro |
15 | +++ b/src/plugins/debugger/debugger.pro | 15 | +++ b/src/plugins/debugger/debugger.pro |
16 | @@ -141,3 +141,4 @@ include(console/console.pri) | 16 | @@ -141,3 +141,4 @@ include(console/console.pri) |
diff --git a/recipes-qt/qt5/qt5-creator_4.5.1.bb b/recipes-qt/qt5/qt5-creator_git.bb index c56fcd10..446a8adf 100644 --- a/recipes-qt/qt5/qt5-creator_4.5.1.bb +++ b/recipes-qt/qt5/qt5-creator_git.bb | |||
@@ -17,30 +17,36 @@ inherit qmake5 | |||
17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg" | 17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg" |
18 | DEPENDS_append_libc-musl = " libexecinfo" | 18 | DEPENDS_append_libc-musl = " libexecinfo" |
19 | 19 | ||
20 | # Patches from https://github.com/meta-qt5/qtcreator/commits/b5.4.1 | 20 | SRCREV = "8768e39d3c8e74e583eca3897cc6de53a99c3dde" |
21 | # 5.4.1.meta-qt5.1 | 21 | PV = "4.7.1+git${SRCPV}" |
22 | |||
23 | # Patches from https://github.com/meta-qt5/qtcreator/commits/b4.7.1 | ||
24 | # 4.7.1.meta-qt5.1 | ||
22 | SRC_URI = " \ | 25 | SRC_URI = " \ |
23 | http://download.qt.io/official_releases/qtcreator/4.5/${PV}/qt-creator-opensource-src-${PV}.tar.gz \ | 26 | git://code.qt.io/qt-creator/qt-creator.git;branch=4.7 \ |
24 | file://0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch \ | 27 | file://0002-botan.pro-pass-QMAKE_AR.patch \ |
28 | file://0001-botan-Always-define-BOTAN_ARCH_SWITCH-when-cross-bui.patch \ | ||
25 | file://qtcreator.desktop.in \ | 29 | file://qtcreator.desktop.in \ |
26 | " | 30 | " |
27 | SRC_URI_append_libc-musl = " file://0002-Link-with-libexecinfo-on-musl.patch" | 31 | SRC_URI_append_libc-musl = " file://0003-Link-with-libexecinfo-on-musl.patch" |
28 | |||
29 | SRC_URI[md5sum] = "bd7fdbcdfa84df1171fb28174353e57f" | ||
30 | SRC_URI[sha256sum] = "5fdfc8f05694e37162f208616627262c9971749d6958d8881d62933b3b53e909" | ||
31 | 32 | ||
32 | S = "${WORKDIR}/qt-creator-opensource-src-${PV}" | 33 | S = "${WORKDIR}/git" |
33 | 34 | ||
34 | EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}${QT_DIR_NAME}" | 35 | EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}${QT_DIR_NAME}" |
35 | 36 | ||
36 | do_configure_append() { | 37 | do_configure_append() { |
37 | # Find native tools | 38 | # Find native tools |
38 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile | 39 | sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile |
40 | if [ -e ${B}/share/qtcreator/translations/Makefile ]; then | ||
41 | sed -i 's:${STAGING_BINDIR}.*/lrelease:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lrelease:g' ${B}/share/qtcreator/translations/Makefile | ||
42 | sed -i 's:${STAGING_BINDIR}.*/lupdate:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lupdate:g' ${B}/share/qtcreator/translations/Makefile | ||
43 | sed -i 's:${STAGING_BINDIR}.*/xmlpatterns:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/xmlpatterns:g' ${B}/share/qtcreator/translations/Makefile | ||
44 | sed -i 's:${STAGING_BINDIR}.*/lconvert:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lconvert:g' ${B}/share/qtcreator/translations/Makefile | ||
45 | fi | ||
39 | } | 46 | } |
40 | 47 | ||
41 | do_install() { | 48 | do_install() { |
42 | oe_runmake install INSTALL_ROOT=${D}${prefix} | 49 | oe_runmake install INSTALL_ROOT=${D}${prefix} |
43 | oe_runmake install_inst_qch_docs INSTALL_ROOT=${D}${prefix} | ||
44 | # install desktop and ensure that qt-creator finds qmake | 50 | # install desktop and ensure that qt-creator finds qmake |
45 | install -d ${D}${datadir}/applications | 51 | install -d ${D}${datadir}/applications |
46 | install -m 0644 ${WORKDIR}/qtcreator.desktop.in ${D}${datadir}/applications/qtcreator.desktop | 52 | install -m 0644 ${WORKDIR}/qtcreator.desktop.in ${D}${datadir}/applications/qtcreator.desktop |
@@ -53,12 +59,6 @@ FILES_${PN} += " \ | |||
53 | ${datadir}/icons \ | 59 | ${datadir}/icons \ |
54 | ${libdir}${QT_DIR_NAME}/qtcreator \ | 60 | ${libdir}${QT_DIR_NAME}/qtcreator \ |
55 | " | 61 | " |
56 | FILES_${PN}-dbg += " \ | ||
57 | ${libdir}${QT_DIR_NAME}/qtcreator/.debug \ | ||
58 | ${libdir}${QT_DIR_NAME}/qtcreator/plugins/.debug \ | ||
59 | ${libdir}${QT_DIR_NAME}/qtcreator/plugins/qmldesigner/.debug \ | ||
60 | ${libdir}${QT_DIR_NAME}/qtcreator/plugins/qbs/plugins/.debug \ | ||
61 | " | ||
62 | 62 | ||
63 | FILES_${PN}-dev += " \ | 63 | FILES_${PN}-dev += " \ |
64 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ | 64 | ${libdir}${QT_DIR_NAME}/qtcreator/*${SOLIBSDEV} \ |
diff --git a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb index 383145be..d359db99 100644 --- a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb +++ b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb | |||
@@ -23,5 +23,4 @@ S = "${WORKDIR}/git/vboxtouch" | |||
23 | inherit qmake5 | 23 | inherit qmake5 |
24 | 24 | ||
25 | FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/generic/libvboxtouchplugin.so" | 25 | FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/generic/libvboxtouchplugin.so" |
26 | FILES_${PN}-dbg += "${OE_QMAKE_PATH_PLUGINS}/generic/.debug/" | ||
27 | FILES_${PN}-dev += "${OE_QMAKE_PATH_LIBS}/cmake/*" | 26 | FILES_${PN}-dev += "${OE_QMAKE_PATH_LIBS}/cmake/*" |
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 99105bd9..e0cd8949 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | # Copyright (C) 2012, 2014 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012, 2014 O.S. Systems Software LTDA. |
2 | # Copyright (C) 2013 Martin Jansa <martin.jansa@gmail.com> | 2 | # Copyright (C) 2013-2018 Martin Jansa <martin.jansa@gmail.com> |
3 | 3 | ||
4 | inherit qmake5 | 4 | inherit qmake5 |
5 | 5 | ||
@@ -48,14 +48,11 @@ python __anonymous() { | |||
48 | # Many examples come with libraries installed outside of standard libdir, | 48 | # Many examples come with libraries installed outside of standard libdir, |
49 | # suppress QA check complaining | 49 | # suppress QA check complaining |
50 | INSANE_SKIP_${PN}-dbg += "libdir" | 50 | INSANE_SKIP_${PN}-dbg += "libdir" |
51 | INSANE_SKIP_${PN}-examples += "libdir" | 51 | INSANE_SKIP_${PN}-examples += "libdir staticdev dev-so" |
52 | INSANE_SKIP_${PN}-examples-dbg += "libdir" | ||
53 | INSANE_SKIP_${PN}-examples-dev += "libdir dev-elf" | ||
54 | 52 | ||
55 | PACKAGES =. "${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmldesigner ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples " | 53 | PACKAGES =. "${PN}-qmldesigner ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples " |
56 | 54 | ||
57 | ALLOW_EMPTY_${PN} = "1" | 55 | ALLOW_EMPTY_${PN} = "1" |
58 | ALLOW_EMPTY_${PN}-dbg = "1" | ||
59 | ALLOW_EMPTY_${PN}-plugins = "1" | 56 | ALLOW_EMPTY_${PN}-plugins = "1" |
60 | ALLOW_EMPTY_${PN}-qmlplugins = "1" | 57 | ALLOW_EMPTY_${PN}-qmlplugins = "1" |
61 | 58 | ||
@@ -71,27 +68,6 @@ RRECOMMENDS_${PN}-dev = " \ | |||
71 | ${PN}-qmldesigner \ | 68 | ${PN}-qmldesigner \ |
72 | " | 69 | " |
73 | 70 | ||
74 | RRECOMMENDS_${PN}-dbg = " \ | ||
75 | ${PN}-plugins-dbg \ | ||
76 | ${PN}-qmlplugins-dbg \ | ||
77 | " | ||
78 | |||
79 | # extra -dbg packages | ||
80 | FILES_${PN}-qmlplugins-dbg = " \ | ||
81 | ${OE_QMAKE_PATH_QML}/*/.debug \ | ||
82 | ${OE_QMAKE_PATH_QML}/*/*/.debug \ | ||
83 | ${OE_QMAKE_PATH_QML}/*/*/*/.debug \ | ||
84 | ${OE_QMAKE_PATH_QML}/*/*/*/*/.debug \ | ||
85 | " | ||
86 | FILES_${PN}-tools-dbg = " \ | ||
87 | ${OE_QMAKE_PATH_BINS}/.debug \ | ||
88 | " | ||
89 | FILES_${PN}-plugins-dbg = " \ | ||
90 | ${OE_QMAKE_PATH_PLUGINS}/*/.debug/* \ | ||
91 | ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ | ||
92 | ${OE_QMAKE_PATH_PLUGINS}/*/*/*/.debug/* \ | ||
93 | " | ||
94 | |||
95 | # extra packages | 71 | # extra packages |
96 | FILES_${PN}-qmldesigner += " \ | 72 | FILES_${PN}-qmldesigner += " \ |
97 | ${OE_QMAKE_PATH_QML}/*/designer \ | 73 | ${OE_QMAKE_PATH_QML}/*/designer \ |
@@ -163,10 +139,6 @@ FILES_${PN}-dev += " \ | |||
163 | ${OE_QMAKE_PATH_LIBS}/*.la \ | 139 | ${OE_QMAKE_PATH_LIBS}/*.la \ |
164 | ${OE_QMAKE_PATH_HEADERS}/* \ | 140 | ${OE_QMAKE_PATH_HEADERS}/* \ |
165 | " | 141 | " |
166 | FILES_${PN}-dbg += " \ | ||
167 | ${OE_QMAKE_PATH_LIBS}/.debug \ | ||
168 | ${OE_QMAKE_PATH_LIBEXECS}/.debug \ | ||
169 | " | ||
170 | FILES_${PN}-staticdev += " \ | 142 | FILES_${PN}-staticdev += " \ |
171 | ${OE_QMAKE_PATH_LIBS}/*.a \ | 143 | ${OE_QMAKE_PATH_LIBS}/*.a \ |
172 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ | 144 | ${OE_QMAKE_PATH_PLUGINS}/*/*.a \ |
@@ -183,37 +155,7 @@ FILES_${PN}-staticdev += " \ | |||
183 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ | 155 | ${OE_QMAKE_PATH_QML}/*/*/*/*/*.prl \ |
184 | " | 156 | " |
185 | FILES_${PN}-examples = " \ | 157 | FILES_${PN}-examples = " \ |
186 | ${OE_QMAKE_PATH_EXAMPLES}/* \ | 158 | ${OE_QMAKE_PATH_EXAMPLES} \ |
187 | " | ||
188 | FILES_${PN}-examples-dev = " \ | ||
189 | ${OE_QMAKE_PATH_EXAMPLES}/*${SOLIBSDEV} \ | ||
190 | ${OE_QMAKE_PATH_EXAMPLES}/*/*${SOLIBSDEV} \ | ||
191 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*${SOLIBSDEV} \ | ||
192 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*${SOLIBSDEV} \ | ||
193 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*${SOLIBSDEV} \ | ||
194 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*${SOLIBSDEV} \ | ||
195 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*${SOLIBSDEV} \ | ||
196 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*/*${SOLIBSDEV} \ | ||
197 | " | ||
198 | FILES_${PN}-examples-dbg = " \ | ||
199 | ${OE_QMAKE_PATH_EXAMPLES}/.debug \ | ||
200 | ${OE_QMAKE_PATH_EXAMPLES}/*/.debug \ | ||
201 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/.debug \ | ||
202 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/.debug \ | ||
203 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/.debug \ | ||
204 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/.debug \ | ||
205 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/.debug \ | ||
206 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*/.debug \ | ||
207 | " | ||
208 | FILES_${PN}-examples-staticdev = " \ | ||
209 | ${OE_QMAKE_PATH_EXAMPLES}/*.a \ | ||
210 | ${OE_QMAKE_PATH_EXAMPLES}/*/*.a \ | ||
211 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*.a \ | ||
212 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*.a \ | ||
213 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*.a \ | ||
214 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*.a \ | ||
215 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*.a \ | ||
216 | ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*/*.a \ | ||
217 | " | 159 | " |
218 | 160 | ||
219 | PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" | 161 | PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index f220d671..bf6f6b32 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -18,7 +18,7 @@ require qt5-git.inc | |||
18 | 18 | ||
19 | # common for qtbase-native, qtbase-nativesdk and qtbase | 19 | # common for qtbase-native, qtbase-nativesdk and qtbase |
20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared | 20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
21 | # 5.11.meta-qt5-shared.7 | 21 | # 5.11.meta-qt5-shared.11 |
22 | SRC_URI += "\ | 22 | SRC_URI += "\ |
23 | file://0001-Add-linux-oe-g-platform.patch \ | 23 | file://0001-Add-linux-oe-g-platform.patch \ |
24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -32,12 +32,12 @@ SRC_URI += "\ | |||
32 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | 32 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ |
33 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | 33 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ |
34 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 34 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
35 | file://0015-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 35 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ |
36 | " | 36 | " |
37 | 37 | ||
38 | # common for qtbase-native and nativesdk-qtbase | 38 | # common for qtbase-native and nativesdk-qtbase |
39 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.10-native | 39 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native |
40 | # 5.11.meta-qt5-native.7 | 40 | # 5.11.meta-qt5-native.11 |
41 | SRC_URI += " \ | 41 | SRC_URI += " \ |
42 | file://0016-Always-build-uic-and-qvkgen.patch \ | 42 | file://0016-Always-build-uic-and-qvkgen.patch \ |
43 | " | 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 e49cd000..c22eb2e1 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 7aefc3b3351dd8a2b47dc8baa790ffde6fd1f158 Mon Sep 17 00:00:00 2001 | 1 | From a6f4987a281315dacc7b8b55928b9c0793cd0813 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 |
@@ -65,7 +65,7 @@ index 934a18a9249..0f5b1b63334 100644 | |||
65 | msg = "test $$1 succeeded" | 65 | msg = "test $$1 succeeded" |
66 | write_file($$QMAKE_CONFIG_LOG, msg, append) | 66 | write_file($$QMAKE_CONFIG_LOG, msg, append) |
67 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf | 67 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf |
68 | index b57afcf72d7..afa1c39b3e9 100644 | 68 | index b57afcf72d..afa1c39b3e 100644 |
69 | --- a/mkspecs/features/qt.prf | 69 | --- a/mkspecs/features/qt.prf |
70 | +++ b/mkspecs/features/qt.prf | 70 | +++ b/mkspecs/features/qt.prf |
71 | @@ -147,7 +147,7 @@ import_plugins:qtConfig(static) { | 71 | @@ -147,7 +147,7 @@ import_plugins:qtConfig(static) { |
@@ -103,7 +103,7 @@ index 1903e509c8e..c093dd4592d 100644 | |||
103 | cmd = perl -w $$system_path($${cmd}.pl) | 103 | cmd = perl -w $$system_path($${cmd}.pl) |
104 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf | 104 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf |
105 | new file mode 100644 | 105 | new file mode 100644 |
106 | index 00000000000..d90dfeb4482 | 106 | index 0000000000..f34a66599a |
107 | --- /dev/null | 107 | --- /dev/null |
108 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 108 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
109 | @@ -0,0 +1,40 @@ | 109 | @@ -0,0 +1,40 @@ |
@@ -139,7 +139,7 @@ index 00000000000..d90dfeb4482 | |||
139 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | 139 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) |
140 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | 140 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) |
141 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) | 141 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) |
142 | + | 142 | +QMAKE_CFLAGS_ISYSTEM = |
143 | +# for the SDK | 143 | +# for the SDK |
144 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) | 144 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) |
145 | + | 145 | + |
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 3a219c1f..3e266ff4 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 4941648d4b26d625e86273d992697129209d8256 Mon Sep 17 00:00:00 2001 | 1 | From 2409068a4a7f51f12122629ed6ba043d872a6ff6 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 |
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 2450f7ef..4e5b02e6 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 1fce658543816f654c6b4abcf02b6190189ba3b7 Mon Sep 17 00:00:00 2001 | 1 | From 6d828cb28acc5b3fccc8ccc45b600c0f7c20201f 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 |
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 141923df..2ed169f9 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 0dbc0d39c274f35415122d0b4d001da50d8e5355 Mon Sep 17 00:00:00 2001 | 1 | From d10cf6bb2b0c4637bd0df07c559fcdd461379b4d 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 0512ef0144..8a53223a4e 100644 | 18 | index 6e7f6b76a4..35d15685ee 100644 |
19 | --- a/configure.pri | 19 | --- a/configure.pri |
20 | +++ b/configure.pri | 20 | +++ b/configure.pri |
21 | @@ -817,10 +817,10 @@ defineTest(qtConfOutput_preparePaths) { | 21 | @@ -821,10 +821,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 24f966f5..0414af4e 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 ffc59fc3f976db9008859857c2db1579b7784b57 Mon Sep 17 00:00:00 2001 | 1 | From fc51c10426c68137c57b5ea6c7ea2bdfe0055aaf 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 1211129283..f2c5b3a5a4 100644 | 13 | index 4039bba431..153edbfa30 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 | @@ -1265,7 +1265,8 @@ defineReplace(qtConfEvaluateSingleExpression) { | 16 | @@ -1266,7 +1266,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 537ff3f6..e2e31e86 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 78d36c322ca9d8d90a419b15febef4c11bf9066b Mon Sep 17 00:00:00 2001 | 1 | From f13bad486f825f88ec7757e1c5d2dbc849d9797a 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 |
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 9b449d36..9b8f0096 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 ee84c3b9cc8add6ee0c1a49c167b51f8d37230ae Mon Sep 17 00:00:00 2001 | 1 | From 7fc8b8c15007e0a1687680c66292d8ed55000053 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 77b11a4b..6fac905d 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 ef85b182bc1f2f6a337c6946fdbf3b37ade936cb Mon Sep 17 00:00:00 2001 | 1 | From 83965aee0017fb424406d895af5ec2cec696f26c 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 c6fd5d17c2..7bf6bfd0e6 100644 | 17 | index e312199980..5789174ad5 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 @@ |
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 3aa0d2dd..ca74f0f7 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 9a370262cce48a78b944a8d6e77257f915ab76e6 Mon Sep 17 00:00:00 2001 | 1 | From 51bc56305205a154db22c1373eb19d835ba2c64e 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 |
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
13 | 13 | ||
14 | diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf | 14 | diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf |
15 | new file mode 100644 | 15 | new file mode 100644 |
16 | index 0000000000..ffc9f051db | 16 | index 0000000000..b0a5630fdd |
17 | --- /dev/null | 17 | --- /dev/null |
18 | +++ b/mkspecs/linux-oe-clang/qmake.conf | 18 | +++ b/mkspecs/linux-oe-clang/qmake.conf |
19 | @@ -0,0 +1,43 @@ | 19 | @@ -0,0 +1,43 @@ |
@@ -52,7 +52,7 @@ index 0000000000..ffc9f051db | |||
52 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | 52 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) |
53 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | 53 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) |
54 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) | 54 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) |
55 | + | 55 | +QMAKE_CFLAGS_ISYSTEM = |
56 | +# for the SDK | 56 | +# for the SDK |
57 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) | 57 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) |
58 | + | 58 | + |
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 5b8a10d6..ff7dceed 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 c8840a63123e084cd5b2b3b8f10df72ed0ba2efb Mon Sep 17 00:00:00 2001 | 1 | From f5d4eed2a82b327130f3301ea5f8e56169df3dcf 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 |
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 cc82877e..1864ab8f 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 50c9fd7dc392ac4591c37bc3c97a6e48486e01b7 Mon Sep 17 00:00:00 2001 | 1 | From 5cbe22a0f46ab9bcdc5ff8d293ce925d94e951fd 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 375cecd521..46ca9b11cc 100644 | 14 | index b7cb8a1bdc..f6e6545948 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 1d6f3632..68d29346 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 b41e0477f9b7aad73c94833dc750971a606871dc Mon Sep 17 00:00:00 2001 | 1 | From 9048b31285d643c52b4461bca646c91f1a5729d1 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 |
@@ -13,13 +13,29 @@ make[2]: *** [Makefile:11592: .obj/qgenericpluginfactory.o] Error 1 | |||
13 | 13 | ||
14 | Upstream-Status: Pending | 14 | Upstream-Status: Pending |
15 | 15 | ||
16 | Change-Id: Ia47832a6339a6ee59c0a6301fc5e552cd28b1029 | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
18 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
17 | --- | 19 | --- |
20 | mkspecs/common/clang.conf | 2 +- | ||
18 | mkspecs/common/gcc-base.conf | 2 +- | 21 | mkspecs/common/gcc-base.conf | 2 +- |
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | 22 | 2 files changed, 2 insertions(+), 2 deletions(-) |
20 | 23 | ||
24 | diff --git a/mkspecs/common/clang.conf b/mkspecs/common/clang.conf | ||
25 | index 0fb84bc1b3..68b49b5303 100644 | ||
26 | --- a/mkspecs/common/clang.conf | ||
27 | +++ b/mkspecs/common/clang.conf | ||
28 | @@ -16,7 +16,7 @@ QMAKE_LINK_SHLIB = $$QMAKE_CXX | ||
29 | CONFIG += clang_pch_style | ||
30 | QMAKE_PCH_OUTPUT_EXT = .pch | ||
31 | |||
32 | -QMAKE_CFLAGS_ISYSTEM = -isystem | ||
33 | +QMAKE_CFLAGS_ISYSTEM = | ||
34 | QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
35 | QMAKE_CFLAGS_USE_PRECOMPILE = -Xclang -include-pch -Xclang ${QMAKE_PCH_OUTPUT} | ||
36 | QMAKE_CFLAGS_LTCG = -flto | ||
21 | diff --git a/mkspecs/common/gcc-base.conf b/mkspecs/common/gcc-base.conf | 37 | diff --git a/mkspecs/common/gcc-base.conf b/mkspecs/common/gcc-base.conf |
22 | index 234f71d495..ee3da023e6 100644 | 38 | index 234f71d495..c7d81a902e 100644 |
23 | --- a/mkspecs/common/gcc-base.conf | 39 | --- a/mkspecs/common/gcc-base.conf |
24 | +++ b/mkspecs/common/gcc-base.conf | 40 | +++ b/mkspecs/common/gcc-base.conf |
25 | @@ -46,7 +46,7 @@ QMAKE_CFLAGS_DEBUG += -g | 41 | @@ -46,7 +46,7 @@ QMAKE_CFLAGS_DEBUG += -g |
@@ -27,7 +43,7 @@ index 234f71d495..ee3da023e6 100644 | |||
27 | QMAKE_CFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_PIC | 43 | QMAKE_CFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_PIC |
28 | QMAKE_CFLAGS_APP += $$QMAKE_CFLAGS_PIC | 44 | QMAKE_CFLAGS_APP += $$QMAKE_CFLAGS_PIC |
29 | -QMAKE_CFLAGS_ISYSTEM = -isystem | 45 | -QMAKE_CFLAGS_ISYSTEM = -isystem |
30 | +QMAKE_CFLAGS_ISYSTEM = -I | 46 | +QMAKE_CFLAGS_ISYSTEM = |
31 | QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses | 47 | QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses |
32 | QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden | 48 | QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden |
33 | QMAKE_CFLAGS_EXCEPTIONS_OFF += -fno-exceptions | 49 | QMAKE_CFLAGS_EXCEPTIONS_OFF += -fno-exceptions |
diff --git a/recipes-qt/qt5/qtbase/0015-Check-glibc-version-for-renameat2-statx-on-non-boots.patch b/recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch index e1e1087c..0f1e1b30 100644 --- a/recipes-qt/qt5/qtbase/0015-Check-glibc-version-for-renameat2-statx-on-non-boots.patch +++ b/recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7e287f4793f75a7291386a904d3361460748b15b Mon Sep 17 00:00:00 2001 | 1 | From f63242fbcac990839eff2ce9f970377d6350fd8a Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | Date: Tue, 21 Aug 2018 00:29:06 +0200 | 3 | Date: Tue, 21 Aug 2018 00:29:06 +0200 |
4 | Subject: [PATCH] Check glibc version for renameat2/statx on non bootstrapped | 4 | Subject: [PATCH] Check glibc version for renameat2/statx on non bootstrapped |
@@ -11,14 +11,14 @@ Upstream-Status: Pending | |||
11 | 11 | ||
12 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | 12 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> |
13 | --- | 13 | --- |
14 | src/corelib/io/qfilesystemengine_unix.cpp | 11 ++++++++++++ | 14 | src/corelib/io/qfilesystemengine_unix.cpp | 11 +++++++++++ |
15 | 1 file changed, 11 insertions(+) | 15 | 1 file changed, 11 insertions(+) |
16 | 16 | ||
17 | diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp | 17 | diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp |
18 | index be6ce48d0cb..1bf1bebc7f1 100644 | 18 | index deb4a9f220..ecf23168e7 100644 |
19 | --- a/src/corelib/io/qfilesystemengine_unix.cpp | 19 | --- a/src/corelib/io/qfilesystemengine_unix.cpp |
20 | +++ b/src/corelib/io/qfilesystemengine_unix.cpp | 20 | +++ b/src/corelib/io/qfilesystemengine_unix.cpp |
21 | @@ -98,6 +98,17 @@ extern "C" NSString *NSTemporaryDirectory(); | 21 | @@ -97,6 +97,17 @@ extern "C" NSString *NSTemporaryDirectory(); |
22 | # define FICLONE _IOW(0x94, 9, int) | 22 | # define FICLONE _IOW(0x94, 9, int) |
23 | #endif | 23 | #endif |
24 | 24 | ||
@@ -36,6 +36,3 @@ index be6ce48d0cb..1bf1bebc7f1 100644 | |||
36 | # if defined(Q_OS_ANDROID) | 36 | # if defined(Q_OS_ANDROID) |
37 | // renameat2() and statx() are disabled on Android because quite a few systems | 37 | // renameat2() and statx() are disabled on Android because quite a few systems |
38 | // come with sandboxes that kill applications that make system calls outside a | 38 | // come with sandboxes that kill applications that make system calls outside a |
39 | -- | ||
40 | 2.14.4 | ||
41 | |||
diff --git a/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch index 0a32e881..732e2fb7 100644 --- a/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch +++ b/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7ad41f69af974ec924eb27c86fb15d5da9384d6c Mon Sep 17 00:00:00 2001 | 1 | From 7b5433027e9c75902b83a2990e09ae221d98451e 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,10 +14,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/src/src.pro b/src/src.pro | 16 | diff --git a/src/src.pro b/src/src.pro |
17 | index 1f7c5d99c1..6b39379dd0 100644 | 17 | index 1c76a2e46f..fbd4014fb3 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 | @@ -232,7 +232,7 @@ qtConfig(gui) { |
21 | } | 21 | } |
22 | } | 22 | } |
23 | } | 23 | } |
diff --git a/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch index 4f5fdc95..66dc8404 100644 --- a/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch +++ b/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 05bbd2dce8c7f4a40d86841671763b9d8b51c886 Mon Sep 17 00:00:00 2001 | 1 | From 739dd4920bc16919c81c62bcddadc6958599792c 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 |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 68c2c7d2..23c58c22 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | # common for qtbase-native, qtbase-nativesdk and qtbase | 15 | # common for qtbase-native, qtbase-nativesdk and qtbase |
16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared | 16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-shared |
17 | # 5.11.meta-qt5-shared.7 | 17 | # 5.11.meta-qt5-shared.11 |
18 | SRC_URI += "\ | 18 | SRC_URI += "\ |
19 | file://0001-Add-linux-oe-g-platform.patch \ | 19 | file://0001-Add-linux-oe-g-platform.patch \ |
20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -28,7 +28,7 @@ SRC_URI += "\ | |||
28 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | 28 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ |
29 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | 29 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ |
30 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 30 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
31 | file://0015-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 31 | file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ |
32 | " | 32 | " |
33 | 33 | ||
34 | 34 | ||
@@ -106,7 +106,7 @@ PACKAGECONFIG[glib] = "-glib,-no-glib,glib-2.0" | |||
106 | # fontdatabases/basic/qbasicfontdatabase.cpp will fail to build and system freetype | 106 | # fontdatabases/basic/qbasicfontdatabase.cpp will fail to build and system freetype |
107 | # works only together with fontconfig | 107 | # works only together with fontconfig |
108 | PACKAGECONFIG[freetype] = "-system-freetype,-qt-freetype,freetype" | 108 | PACKAGECONFIG[freetype] = "-system-freetype,-qt-freetype,freetype" |
109 | PACKAGECONFIG[harfbuzz] = "-system-harfbuzz,-no-harfbuzz,harfbuzz" | 109 | PACKAGECONFIG[harfbuzz] = "-system-harfbuzz,-qt-harfbuzz,harfbuzz" |
110 | PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg" | 110 | PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg" |
111 | PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" | 111 | PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" |
112 | PACKAGECONFIG[gif] = "-gif,-no-gif" | 112 | PACKAGECONFIG[gif] = "-gif,-no-gif" |
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 9e1a7f70..2bd66be8 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 5c42b403e8ddb3c6a49baa7c370c7fdd6014fa7c Mon Sep 17 00:00:00 2001 | 1 | From a583a22e433d6f9d3c2edb4ea45195a967848b9e 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 3ee82705..47ef7f25 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb | |||
@@ -28,7 +28,7 @@ EXTRA_QMAKEVARS_CONFIGURE += "${@bb.utils.contains_any('PACKAGECONFIG', 'gstream | |||
28 | CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DMESA_EGL_NO_X11_HEADERS=1', d)}" | 28 | CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DMESA_EGL_NO_X11_HEADERS=1', d)}" |
29 | 29 | ||
30 | # Patches from https://github.com/meta-qt5/qtmultimedia/commits/b5.11 | 30 | # Patches from https://github.com/meta-qt5/qtmultimedia/commits/b5.11 |
31 | # 5.11.meta-qt5.4 | 31 | # 5.11.meta-qt5.5 |
32 | SRC_URI += "\ | 32 | SRC_URI += "\ |
33 | file://0001-qtmultimedia-fix-a-conflicting-declaration.patch \ | 33 | file://0001-qtmultimedia-fix-a-conflicting-declaration.patch \ |
34 | " | 34 | " |
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 f52743e3..f1a9cad2 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 e1b89c21f212bf60ad7a91359991fc6a6551edbe Mon Sep 17 00:00:00 2001 | 1 | From 850b6998ea08110ca32dbab4d92bd7b349032d0e 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 85ca43f7..39aa764f 100644 --- a/recipes-qt/qt5/qtremoteobjects_git.bb +++ b/recipes-qt/qt5/qtremoteobjects_git.bb | |||
@@ -12,7 +12,7 @@ require qt5-git.inc | |||
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.11 | 14 | # Patches from https://github.com/meta-qt5/qtremoteobjects/commits/b5.11 |
15 | # 5.11.meta-qt5.4 | 15 | # 5.11.meta-qt5.5 |
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/qtscript/0001-3rdparty-javascriptcore-Add-RISC-V-support.patch b/recipes-qt/qt5/qtscript/0001-3rdparty-javascriptcore-Add-RISC-V-support.patch index 878a8ab9..94f03a31 100644 --- a/recipes-qt/qt5/qtscript/0001-3rdparty-javascriptcore-Add-RISC-V-support.patch +++ b/recipes-qt/qt5/qtscript/0001-3rdparty-javascriptcore-Add-RISC-V-support.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 21781f11a71d4e6449d89372aa9cc5b95ce8a67c Mon Sep 17 00:00:00 2001 | 1 | From a67b00eb05abcb5242ee21049400a1e4a033389f Mon Sep 17 00:00:00 2001 |
2 | From: Alistair Francis <alistair.francis@wdc.com> | 2 | From: Alistair Francis <alistair.francis@wdc.com> |
3 | Date: Wed, 18 Jul 2018 14:26:21 -0700 | 3 | Date: Wed, 18 Jul 2018 14:26:21 -0700 |
4 | Subject: [PATCH] 3rdparty/javascriptcore: Add RISC-V support | 4 | Subject: [PATCH] 3rdparty/javascriptcore: Add RISC-V support |
@@ -45,6 +45,3 @@ index 00caa6d..96942c7 100644 | |||
45 | #define WTF_USE_JSVALUE32 1 | 45 | #define WTF_USE_JSVALUE32 1 |
46 | #elif OS(WINDOWS) && COMPILER(MINGW) | 46 | #elif OS(WINDOWS) && COMPILER(MINGW) |
47 | /* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg | 47 | /* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg |
48 | -- | ||
49 | 2.17.1 | ||
50 | |||
diff --git a/recipes-qt/qt5/qtscript/0002-Include-asm-sgidefs.h-on-non-glibc-systems.patch b/recipes-qt/qt5/qtscript/0002-Include-asm-sgidefs.h-on-non-glibc-systems.patch new file mode 100644 index 00000000..9a307478 --- /dev/null +++ b/recipes-qt/qt5/qtscript/0002-Include-asm-sgidefs.h-on-non-glibc-systems.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From b7517ed7b952f696ae8206b1b68e47a1f1a9d020 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 23 Aug 2018 02:58:14 +0000 | ||
4 | Subject: [PATCH] Include asm/sgidefs.h on non-glibc systems | ||
5 | |||
6 | sgidefs.h wrapper is glibc specific and causes build | ||
7 | failures on musl | ||
8 | |||
9 | Fixes | ||
10 | Platform.h:380:10: fatal error: sgidefs.h: No such file or directory | ||
11 | #include <sgidefs.h> | ||
12 | ^~~~~~~~~~~ | ||
13 | compilation terminated. | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h | 4 ++++ | ||
19 | 1 file changed, 4 insertions(+) | ||
20 | |||
21 | diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h | ||
22 | index 96942c7..f828f04 100644 | ||
23 | --- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h | ||
24 | +++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h | ||
25 | @@ -377,7 +377,11 @@ | ||
26 | |||
27 | #if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_)) | ||
28 | #define WTF_CPU_MIPS 1 | ||
29 | +#if defined(__GLIBC__) | ||
30 | #include <sgidefs.h> | ||
31 | +#else | ||
32 | +#include <asm/sgidefs.h> | ||
33 | +#endif | ||
34 | #if defined(__MIPSEB__) | ||
35 | #define WTF_CPU_BIG_ENDIAN 1 | ||
36 | #endif | ||
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb index 323ed6a4..d9aadc40 100644 --- a/recipes-qt/qt5/qtscript_git.bb +++ b/recipes-qt/qt5/qtscript_git.bb | |||
@@ -11,7 +11,12 @@ LIC_FILES_CHKSUM = " \ | |||
11 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | 11 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI += "file://0001-3rdparty-javascriptcore-Add-RISC-V-support.patch" | 14 | # Patches from https://github.com/meta-qt5/qtscript/commits/b5.11 |
15 | # 5.11.meta-qt5.1 | ||
16 | SRC_URI += " \ | ||
17 | file://0001-3rdparty-javascriptcore-Add-RISC-V-support.patch \ | ||
18 | file://0002-Include-asm-sgidefs.h-on-non-glibc-systems.patch \ | ||
19 | " | ||
15 | 20 | ||
16 | # qemuarm build fails with: | 21 | # qemuarm build fails with: |
17 | # /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/qtscript/5.4.1+gitAUTOINC+822df36f25-r0/git/src/3rdparty/javascriptcore/JavaScriptCore/assembler/AssemblerBuffer.h: In member function 'void QTJSC::AssemblerBuffer::putInt64Unchecked(int64_t)': | 22 | # /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/qtscript/5.4.1+gitAUTOINC+822df36f25-r0/git/src/3rdparty/javascriptcore/JavaScriptCore/assembler/AssemblerBuffer.h: In member function 'void QTJSC::AssemblerBuffer::putInt64Unchecked(int64_t)': |
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 16566b38..58b7e791 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 eba275e193aacf43a2fb30cca545f0c13d968c65 Mon Sep 17 00:00:00 2001 | 1 | From dd3b009e234f06a58052b322ce48c4f2ae995efb 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 9939d4d8..830bd2c6 100644 --- a/recipes-qt/qt5/qtscxml_git.bb +++ b/recipes-qt/qt5/qtscxml_git.bb | |||
@@ -13,7 +13,7 @@ DEPENDS += "qtbase qtdeclarative qtxmlpatterns qtscxml-native" | |||
13 | SRCREV = "d5396ed00589374aed8e44f8f2e3217a3fb768df" | 13 | SRCREV = "d5396ed00589374aed8e44f8f2e3217a3fb768df" |
14 | 14 | ||
15 | # Patches from https://github.com/meta-qt5/qtscxml/commits/b5.11 | 15 | # Patches from https://github.com/meta-qt5/qtscxml/commits/b5.11 |
16 | # 5.11.meta-qt5.4 | 16 | # 5.11.meta-qt5.5 |
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 3d376084..2fc3729f 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 ca531038c01d28f98cd80ac063bb82dc9fe9ed86 Mon Sep 17 00:00:00 2001 | 1 | From 0b044a142361de5dd100d33af339c04e35bdff3c 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 |
@@ -16,7 +16,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
16 | 2 files changed, 3 insertions(+), 3 deletions(-) | 16 | 2 files changed, 3 insertions(+), 3 deletions(-) |
17 | 17 | ||
18 | diff --git a/src/assistant/assistant/assistant.pro b/src/assistant/assistant/assistant.pro | 18 | diff --git a/src/assistant/assistant/assistant.pro b/src/assistant/assistant/assistant.pro |
19 | index 1374c073..28c45a25 100644 | 19 | index 080aba03..100370a4 100644 |
20 | --- a/src/assistant/assistant/assistant.pro | 20 | --- a/src/assistant/assistant/assistant.pro |
21 | +++ b/src/assistant/assistant/assistant.pro | 21 | +++ b/src/assistant/assistant/assistant.pro |
22 | @@ -1,4 +1,4 @@ | 22 | @@ -1,4 +1,4 @@ |
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 4202440e..d890871a 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 d754f1e1d4579d8005283dfdc3c9eb7995e61739 Mon Sep 17 00:00:00 2001 | 1 | From 3c31d0dad9c513a19618a1d0ee0fec076056358c 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 4a845a8b..cf429279 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = " \ | |||
15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | 15 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" |
16 | 16 | ||
17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.11 | 17 | # Patches from https://github.com/meta-qt5/qttools/commits/b5.11 |
18 | # 5.11.meta-qt5.4 | 18 | # 5.11.meta-qt5.5 |
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/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 b0b9a7d3..d0e9679f 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 8638cd129e040e8958570c95a3d4e91d9366f5a8 Mon Sep 17 00:00:00 2001 | 1 | From 50a92a60b04d0e6253a903a53f5b01da2d00072d 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 |
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 2184408c..0467d97a 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 0101ed343c6f6eb652c5992ed2279ddd5c6d5969 Mon Sep 17 00:00:00 2001 | 1 | From d61b28affb7d895e12dfa0e0390c488ec3b2a1f8 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/0003-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0003-Force-host-toolchain-configuration.patch index eaed7a6c..649c7447 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 a7eff4032f84490b33df27771d43e098ceea439e Mon Sep 17 00:00:00 2001 | 1 | From 9e88d83104e8d3c5b093e52c9af9829092b79148 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,10 +57,10 @@ index dd0d3e32..70161c82 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 b56134ad..69f463e9 100644 | 60 | index 4ade2827..cad3d7bf 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 | @@ -92,7 +92,7 @@ contains(QT_ARCH, "mips") { |
64 | 64 | ||
65 | host_build { | 65 | host_build { |
66 | gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" | 66 | gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" |
diff --git a/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch b/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch index 7cd441e6..1d091519 100644 --- a/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch +++ b/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2bf22a3bf04617f21497f80184bd038e11bc8b0d Mon Sep 17 00:00:00 2001 | 1 | From 50ff15028627c8a4cb9556b014291d560197be50 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: Sun, 10 Jun 2018 10:26:17 +0000 | 3 | Date: Sun, 10 Jun 2018 10:26:17 +0000 |
4 | Subject: [PATCH] chromium_overrides.cpp: Fix build with plugins and ozone | 4 | Subject: [PATCH] chromium_overrides.cpp: Fix build with plugins and ozone |
diff --git a/recipes-qt/qt5/qtwebengine/0005-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch b/recipes-qt/qt5/qtwebengine/0005-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch index f36f0902..162ea0bc 100644 --- a/recipes-qt/qt5/qtwebengine/0005-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0005-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6dec716e02e46bc75230b01aafb115f35fd3a895 Mon Sep 17 00:00:00 2001 | 1 | From 43aa099ce111fb0352fccefa5e29c8d950a74d59 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/0006-musl-link-against-libexecinfo.patch b/recipes-qt/qt5/qtwebengine/0006-musl-link-against-libexecinfo.patch index 8dd07d65..9c51812e 100644 --- a/recipes-qt/qt5/qtwebengine/0006-musl-link-against-libexecinfo.patch +++ b/recipes-qt/qt5/qtwebengine/0006-musl-link-against-libexecinfo.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 418ff96920a520a4c9d082f56864ee8654f584f7 Mon Sep 17 00:00:00 2001 | 1 | From da533f643ea51f0649b6dfcda874ff6a83845069 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/chromium/0001-chromium-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/chromium/0001-chromium-Force-host-toolchain-configuration.patch index 941aab1b..03ae406f 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0001-chromium-Force-host-toolchain-configuration.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0001-chromium-Force-host-toolchain-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b462e56f5254956d582cf6d74c0525d588dd3c07 Mon Sep 17 00:00:00 2001 | 1 | From b660e83be35d64ebf7961ec9b4d4ea42c4b9f679 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch b/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch index 30e0d856..99c7112d 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a2e7a5d22d1ad4b2985bee1cbf88bdb3a3f80b67 Mon Sep 17 00:00:00 2001 | 1 | From 20b7ef92a1580409aa9ff10cfc16dd6865e451b7 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0003-chromium-Fix-build-with-gcc8.patch b/recipes-qt/qt5/qtwebengine/chromium/0003-chromium-Fix-build-with-gcc8.patch index 3d37b7b6..a6c859ec 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0003-chromium-Fix-build-with-gcc8.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0003-chromium-Fix-build-with-gcc8.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fd00eeaf7ad3b20c59c42f401910a9f3d0ff0d42 Mon Sep 17 00:00:00 2001 | 1 | From 4a8e2acea8759c6eafa22d325f6c2e27862404de 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: Tue, 5 Jun 2018 13:58:16 +0000 | 3 | Date: Tue, 5 Jun 2018 13:58:16 +0000 |
4 | Subject: [PATCH] chromium: Fix build with gcc8 | 4 | Subject: [PATCH] chromium: Fix build with gcc8 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch b/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch index 8aeba5f1..77f3f999 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 48bcb9e0efa3d67543cc755a2fc0f97b6514cbab Mon Sep 17 00:00:00 2001 | 1 | From 7dbbfa0804a902c18534cf8bdcebc07d26496585 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/chromium/0005-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch b/recipes-qt/qt5/qtwebengine/chromium/0005-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch index 9a0b3370..3396b7f7 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0005-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0005-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 913e3c0834dd0371ee62ab91b71428fc2b77b3c4 Mon Sep 17 00:00:00 2001 | 1 | From d886de89a3afad81d0b3ac012098d064eb00d8ed 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-include-fcntl.h-for-loff_t.patch b/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-include-fcntl.h-for-loff_t.patch index a57d74ec..79a18323 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-include-fcntl.h-for-loff_t.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0006-chromium-musl-include-fcntl.h-for-loff_t.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5547d8bcd9241726f2ea01ada0204c4a4a4e922b Mon Sep 17 00:00:00 2001 | 1 | From 58362949631d043f72711b1c990cb71d9206caa0 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/chromium/0007-chromium-musl-use-off64_t-instead-of-the-internal-__.patch b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-use-off64_t-instead-of-the-internal-__.patch index 26fe1bd4..ec1a5676 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-use-off64_t-instead-of-the-internal-__.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-musl-use-off64_t-instead-of-the-internal-__.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 69905bc0ef6576240b3b72c7a00e041b2512fea2 Mon Sep 17 00:00:00 2001 | 1 | From ac37250356e2923572e33491198f27117d4afa6a 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/chromium/0008-chromium-musl-linux-glibc-make-the-distinction.patch b/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-linux-glibc-make-the-distinction.patch index 66e22bba..ec49539d 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-linux-glibc-make-the-distinction.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0008-chromium-musl-linux-glibc-make-the-distinction.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8f5a007da9926f411d7ced9d07fcd00e4acc750a Mon Sep 17 00:00:00 2001 | 1 | From d9875480e5ab9b72b6e30ba5154bc90c63fea9fa 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/chromium/0009-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch b/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch index d622ee53..f0627f56 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0009-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b93340f0e24d97015a62649616cc52c92473ac64 Mon Sep 17 00:00:00 2001 | 1 | From e78ef57ef202bcf101a2dadb694ab38f02927151 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-Use-correct-member-name-__si_fields-fr.patch b/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-Use-correct-member-name-__si_fields-fr.patch index 910c917e..2dde67b3 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-Use-correct-member-name-__si_fields-fr.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0010-chromium-musl-Use-correct-member-name-__si_fields-fr.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From e43710f187e1263264fadefef991048d5bfb2fe9 Mon Sep 17 00:00:00 2001 | 1 | From 4c6d3018b3a96e322c74f3998d10c4d28c813e50 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/chromium/0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch b/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch index cbe5d19b..63fd9bf3 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0011-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1567c7984f1d368cdf32033e801f5568c0855213 Mon Sep 17 00:00:00 2001 | 1 | From ff6be9a301b7d831c95fe7b10c34783433abd6df 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch b/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch index e84290e3..aa0a9dcd 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-musl-Do-not-define-__sbrk-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bc578326c48554e2123640869199d0d4505fa357 Mon Sep 17 00:00:00 2001 | 1 | From b836ce7350f40f9f031835f71793788d922452bd 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/chromium/0013-chromium-musl-Adjust-default-pthread-stack-size.patch b/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Adjust-default-pthread-stack-size.patch index 7fee0d61..2c91413e 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Adjust-default-pthread-stack-size.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-musl-Adjust-default-pthread-stack-size.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c2bf9db1e3d32a756bcce69c1bc5ce38941b3cd4 Mon Sep 17 00:00:00 2001 | 1 | From 90d3755c55e3fbda3a4eba7aec481da4f22e044e 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch b/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch index bf4f362f..9bb01e17 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 26bdd2d86b57adb8f87081f102431854a55c734a Mon Sep 17 00:00:00 2001 | 1 | From 389967c783f65b39663dae273abe703e6d195c4d 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 |
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch index 3d322708..1ab91150 100644 --- a/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch +++ b/recipes-qt/qt5/qtwebengine/chromium/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From feabe4c75c5e86dbe2c624da9423f2ad82c6bfac Mon Sep 17 00:00:00 2001 | 1 | From 851216b2a9a10a9fe924a84693fd2b44fc16f464 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/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch new file mode 100644 index 00000000..2be0cb07 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch | |||
@@ -0,0 +1,65 @@ | |||
1 | From cd92f771ac37ae41d7a1abfd6fcc9d50aa7529d8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 25 Sep 2018 12:35:07 -0700 | ||
4 | Subject: [PATCH] Use _fpstate instead of _libc_fpstate on linux | ||
5 | |||
6 | glibc defines both. musl libc only the former. | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | .../src/client/linux/dump_writer_common/ucontext_reader.cc | 4 ++-- | ||
11 | .../src/client/linux/dump_writer_common/ucontext_reader.h | 2 +- | ||
12 | .../src/client/linux/minidump_writer/minidump_writer.h | 2 +- | ||
13 | 3 files changed, 4 insertions(+), 4 deletions(-) | ||
14 | |||
15 | diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc | ||
16 | index 052ce37cb4..95b0fb44e1 100644 | ||
17 | --- a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc | ||
18 | +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc | ||
19 | @@ -49,7 +49,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { | ||
20 | } | ||
21 | |||
22 | void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
23 | - const struct _libc_fpstate* fp) { | ||
24 | + const struct _fpstate* fp) { | ||
25 | const greg_t* regs = uc->uc_mcontext.gregs; | ||
26 | |||
27 | out->context_flags = MD_CONTEXT_X86_FULL | | ||
28 | @@ -97,7 +97,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { | ||
29 | } | ||
30 | |||
31 | void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
32 | - const struct _libc_fpstate* fpregs) { | ||
33 | + const struct _fpstate* fpregs) { | ||
34 | const greg_t* regs = uc->uc_mcontext.gregs; | ||
35 | |||
36 | out->context_flags = MD_CONTEXT_AMD64_FULL; | ||
37 | diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h | ||
38 | index f830618f24..f3dde1f4df 100644 | ||
39 | --- a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h | ||
40 | +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h | ||
41 | @@ -50,7 +50,7 @@ struct UContextReader { | ||
42 | // info: the collection of register structures. | ||
43 | #if defined(__i386__) || defined(__x86_64) | ||
44 | static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
45 | - const struct _libc_fpstate* fp); | ||
46 | + const struct _fpstate* fp); | ||
47 | #elif defined(__aarch64__) | ||
48 | static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
49 | const struct fpsimd_context* fpregs); | ||
50 | diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h b/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h | ||
51 | index d1dc331215..d1cc5624cd 100644 | ||
52 | --- a/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h | ||
53 | +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h | ||
54 | @@ -48,7 +48,7 @@ class ExceptionHandler; | ||
55 | #if defined(__aarch64__) | ||
56 | typedef struct fpsimd_context fpstate_t; | ||
57 | #elif !defined(__ARM_EABI__) && !defined(__mips__) | ||
58 | -typedef struct _libc_fpstate fpstate_t; | ||
59 | +typedef struct _fpstate fpstate_t; | ||
60 | #endif | ||
61 | |||
62 | // These entries store a list of memory regions that the client wants included | ||
63 | -- | ||
64 | 2.19.0 | ||
65 | |||
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch b/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch new file mode 100644 index 00000000..6f34473d --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch | |||
@@ -0,0 +1,54 @@ | |||
1 | From 986bf2ecd7b450dceff5cb0f3f76fe886b58d884 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 25 Sep 2018 12:59:05 -0700 | ||
4 | Subject: [PATCH] elf_reader.cc: include <sys/reg.h> to get __WORDSIZE on musl | ||
5 | libc | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | chromium/third_party/breakpad/breakpad/configure.ac | 2 +- | ||
10 | .../breakpad/breakpad/src/common/dwarf/elf_reader.cc | 5 ++++- | ||
11 | 2 files changed, 5 insertions(+), 2 deletions(-) | ||
12 | |||
13 | Index: 3rdparty/chromium/third_party/breakpad/breakpad/configure.ac | ||
14 | =================================================================== | ||
15 | --- 3rdparty.orig/chromium/third_party/breakpad/breakpad/configure.ac | ||
16 | +++ 3rdparty/chromium/third_party/breakpad/breakpad/configure.ac | ||
17 | @@ -72,7 +72,7 @@ AC_ARG_ENABLE(m32, | ||
18 | AC_HEADER_STDC | ||
19 | AC_SYS_LARGEFILE | ||
20 | AX_PTHREAD | ||
21 | -AC_CHECK_HEADERS([a.out.h sys/random.h]) | ||
22 | +AC_CHECK_HEADERS([a.out.h sys/random.h sys/reg.h]) | ||
23 | AC_CHECK_FUNCS([arc4random getrandom]) | ||
24 | |||
25 | AX_CXX_COMPILE_STDCXX(11, noext, mandatory) | ||
26 | Index: 3rdparty/chromium/third_party/breakpad/breakpad/src/common/dwarf/elf_reader.cc | ||
27 | =================================================================== | ||
28 | --- 3rdparty.orig/chromium/third_party/breakpad/breakpad/src/common/dwarf/elf_reader.cc | ||
29 | +++ 3rdparty/chromium/third_party/breakpad/breakpad/src/common/dwarf/elf_reader.cc | ||
30 | @@ -29,10 +29,11 @@ | ||
31 | #ifndef _GNU_SOURCE | ||
32 | #define _GNU_SOURCE // needed for pread() | ||
33 | #endif | ||
34 | - | ||
35 | +#include <config.h> | ||
36 | #include <sys/types.h> | ||
37 | #include <sys/stat.h> | ||
38 | #include <sys/mman.h> | ||
39 | +#include <sys/reg.h> | ||
40 | #include <unistd.h> | ||
41 | #include <fcntl.h> | ||
42 | #include <string.h> | ||
43 | Index: 3rdparty/chromium/third_party/breakpad/breakpad/src/common/linux/elf_core_dump.h | ||
44 | =================================================================== | ||
45 | --- 3rdparty.orig/chromium/third_party/breakpad/breakpad/src/common/linux/elf_core_dump.h | ||
46 | +++ 3rdparty/chromium/third_party/breakpad/breakpad/src/common/linux/elf_core_dump.h | ||
47 | @@ -33,6 +33,7 @@ | ||
48 | #ifndef COMMON_LINUX_ELF_CORE_DUMP_H_ | ||
49 | #define COMMON_LINUX_ELF_CORE_DUMP_H_ | ||
50 | |||
51 | +#include <sys/reg.h> | ||
52 | #include <elf.h> | ||
53 | #include <link.h> | ||
54 | #include <stddef.h> | ||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 98aa0ce0..d01cbfac 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -16,7 +16,7 @@ DEPENDS += " \ | |||
16 | nss-native \ | 16 | nss-native \ |
17 | nspr-native \ | 17 | nspr-native \ |
18 | ninja-native \ | 18 | ninja-native \ |
19 | yasm-native \ | 19 | nasm-native \ |
20 | bison-native \ | 20 | bison-native \ |
21 | qtwebchannel \ | 21 | qtwebchannel \ |
22 | qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtquickcontrols2 \ | 22 | qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtquickcontrols2 \ |
@@ -136,7 +136,7 @@ RDEPENDS_${PN}-examples += " \ | |||
136 | QT_MODULE_BRANCH_CHROMIUM = "69-based" | 136 | QT_MODULE_BRANCH_CHROMIUM = "69-based" |
137 | 137 | ||
138 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.11 | 138 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.11 |
139 | # 5.11.meta-qt5.6 | 139 | # 5.11.meta-qt5.7 |
140 | SRC_URI += " \ | 140 | SRC_URI += " \ |
141 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ | 141 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ |
142 | file://0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \ | 142 | file://0001-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \ |
@@ -170,6 +170,8 @@ SRC_URI_append_libc-musl = "\ | |||
170 | file://chromium/0013-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ | 170 | file://chromium/0013-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ |
171 | file://chromium/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ | 171 | file://chromium/0014-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ |
172 | file://chromium/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch;patchdir=src/3rdparty \ | 172 | file://chromium/0015-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch;patchdir=src/3rdparty \ |
173 | file://chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch;patchdir=src/3rdparty \ | ||
174 | file://chromium/0017-chromium-musl-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch;patchdir=src/3rdparty \ | ||
173 | " | 175 | " |
174 | 176 | ||
175 | SRCREV_qtwebengine = "75f6f4d3178d9356aff9a5a14f8601ebc8b70c95" | 177 | SRCREV_qtwebengine = "75f6f4d3178d9356aff9a5a14f8601ebc8b70c95" |
diff --git a/recipes-qt/qt5/qtwebkit-examples/0001-Fix-build-with-qt-5.11.patch b/recipes-qt/qt5/qtwebkit-examples/0001-Fix-build-with-qt-5.11.patch new file mode 100644 index 00000000..57e318b0 --- /dev/null +++ b/recipes-qt/qt5/qtwebkit-examples/0001-Fix-build-with-qt-5.11.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From e07f1fcba5a291ef0ab31fd85fbc4836eda19a66 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 24 Sep 2018 03:14:29 -0700 | ||
4 | Subject: [PATCH] Fix build with qt 5.11 | ||
5 | |||
6 | Fixes | ||
7 | |||
8 | examples/webkitwidgets/scroller/wheel/main.cpp:93:84: error: cannot call | ||
9 | member function 'int QRandomGenerator::bounded(int)' without object | ||
10 | m_wheel1->scrollTo(m_wheel1->currentIndex() + | ||
11 | QRandomGenerator::bounded(200)); | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | --- | ||
17 | examples/webkitwidgets/scroller/wheel/main.cpp | 8 ++++---- | ||
18 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
19 | |||
20 | diff --git a/examples/webkitwidgets/scroller/wheel/main.cpp b/examples/webkitwidgets/scroller/wheel/main.cpp | ||
21 | index 11fad08..9a6a225 100644 | ||
22 | --- a/examples/webkitwidgets/scroller/wheel/main.cpp | ||
23 | +++ b/examples/webkitwidgets/scroller/wheel/main.cpp | ||
24 | @@ -40,7 +40,7 @@ | ||
25 | |||
26 | #include <QtWidgets> | ||
27 | #include <qmath.h> | ||
28 | - | ||
29 | +#include <QRandomGenerator> | ||
30 | #include "wheelwidget.h" | ||
31 | |||
32 | class MainWindow : public QMainWindow | ||
33 | @@ -90,9 +90,9 @@ public: | ||
34 | private slots: | ||
35 | void rotateRandom() | ||
36 | { | ||
37 | - m_wheel1->scrollTo(m_wheel1->currentIndex() + QRandomGenerator::bounded(200)); | ||
38 | - m_wheel2->scrollTo(m_wheel2->currentIndex() + QRandomGenerator::bounded(200)); | ||
39 | - m_wheel3->scrollTo(m_wheel3->currentIndex() + QRandomGenerator::bounded(200)); | ||
40 | + m_wheel1->scrollTo(m_wheel1->currentIndex() + QRandomGenerator::global()->bounded(200)); | ||
41 | + m_wheel2->scrollTo(m_wheel2->currentIndex() + QRandomGenerator::global()->bounded(200)); | ||
42 | + m_wheel3->scrollTo(m_wheel3->currentIndex() + QRandomGenerator::global()->bounded(200)); | ||
43 | } | ||
44 | |||
45 | private: | ||
46 | -- | ||
47 | 2.19.0 | ||
48 | |||
diff --git a/recipes-qt/qt5/qtwebkit-examples_git.bb b/recipes-qt/qt5/qtwebkit-examples_git.bb index c19fecdb..4b635bdf 100644 --- a/recipes-qt/qt5/qtwebkit-examples_git.bb +++ b/recipes-qt/qt5/qtwebkit-examples_git.bb | |||
@@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = " \ | |||
11 | file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=39;md5=b0739af76072fbe303dc04b6941e054f \ | 11 | file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=39;md5=b0739af76072fbe303dc04b6941e054f \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI += "file://0001-Fix-build-with-qt-5.11.patch" | ||
15 | |||
14 | PACKAGECONFIG ?= "examples" | 16 | PACKAGECONFIG ?= "examples" |
15 | 17 | ||
16 | DEPENDS += "qtwebkit qtxmlpatterns" | 18 | DEPENDS += "qtwebkit qtxmlpatterns" |
diff --git a/recipes-qt/qt5/qtwebkit/0001-Do-not-skip-build-for-cross-compile.patch b/recipes-qt/qt5/qtwebkit/0001-Do-not-skip-build-for-cross-compile.patch index dac4815c..4b2b2759 100644 --- a/recipes-qt/qt5/qtwebkit/0001-Do-not-skip-build-for-cross-compile.patch +++ b/recipes-qt/qt5/qtwebkit/0001-Do-not-skip-build-for-cross-compile.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d9f4d11ffdf1e8b5485aefc3556b1bef3e009587 Mon Sep 17 00:00:00 2001 | 1 | From 1a4e33ac630b0e4f285e238479900f0e10c6d15f Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | Date: Mon, 4 Jun 2018 10:35:46 +0200 | 3 | Date: Mon, 4 Jun 2018 10:35:46 +0200 |
4 | Subject: [PATCH] Do not skip build for cross-compile | 4 | Subject: [PATCH] Do not skip build for cross-compile |
@@ -26,6 +26,3 @@ index e3f42cec4..797b7085f 100644 | |||
26 | requiredPrograms = cmake gperf python perl bison ruby flex | 26 | requiredPrograms = cmake gperf python perl bison ruby flex |
27 | for(program, requiredPrograms): \ | 27 | for(program, requiredPrograms): \ |
28 | !programExistsInPath($$program): \ | 28 | !programExistsInPath($$program): \ |
29 | -- | ||
30 | 2.14.3 | ||
31 | |||
diff --git a/recipes-qt/qt5/qtwebkit/0001-PlatformQt.cmake-Do-not-generate-hardcoded-include-p.patch b/recipes-qt/qt5/qtwebkit/0001-PlatformQt.cmake-Do-not-generate-hardcoded-include-p.patch new file mode 100644 index 00000000..8c718b47 --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0001-PlatformQt.cmake-Do-not-generate-hardcoded-include-p.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From c00c61a42f9076aecad195b7f72b7db9b3601181 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 24 Sep 2018 02:11:10 -0700 | ||
4 | Subject: [PATCH] PlatformQt.cmake: Do not generate hardcoded include paths | ||
5 | |||
6 | If we do not use this define,then it falls into else case which | ||
7 | generated .pri files with /usr/include and so on for includes and | ||
8 | compiler does not like specifying absolute include paths pointing to | ||
9 | build host includes | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Source/WebKit/PlatformQt.cmake | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake | ||
17 | index 3792def6f..b6cb36bb1 100644 | ||
18 | --- a/Source/WebKit/PlatformQt.cmake | ||
19 | +++ b/Source/WebKit/PlatformQt.cmake | ||
20 | @@ -510,7 +510,7 @@ if (NOT MACOS_BUILD_FRAMEWORKS) | ||
21 | install(FILES ${WebKit_PKGCONFIG_FILENAME} DESTINATION ${ECM_PKGCONFIG_INSTALL_DIR} COMPONENT Data) | ||
22 | endif () | ||
23 | |||
24 | -if (KDE_INSTALL_USE_QT_SYS_PATHS) | ||
25 | +if (KDE_INSTALL_USE_QT_SYS_PATHS OR CROSS_COMPILE) | ||
26 | set(WebKit_PRI_ARGUMENTS | ||
27 | BIN_INSTALL_DIR "$$QT_MODULE_BIN_BASE" | ||
28 | LIB_INSTALL_DIR "$$QT_MODULE_LIB_BASE" | ||
29 | @@ -734,7 +734,7 @@ if (NOT MACOS_BUILD_FRAMEWORKS) | ||
30 | install(FILES ${WebKitWidgets_PKGCONFIG_FILENAME} DESTINATION ${ECM_PKGCONFIG_INSTALL_DIR} COMPONENT Data) | ||
31 | endif () | ||
32 | |||
33 | -if (KDE_INSTALL_USE_QT_SYS_PATHS) | ||
34 | +if (KDE_INSTALL_USE_QT_SYS_PATHS OR CROSS_COMPILE) | ||
35 | set(WebKitWidgets_PRI_ARGUMENTS | ||
36 | BIN_INSTALL_DIR "$$QT_MODULE_BIN_BASE" | ||
37 | LIB_INSTALL_DIR "$$QT_MODULE_LIB_BASE" | ||
38 | -- | ||
39 | 2.19.0 | ||
40 | |||
diff --git a/recipes-qt/qt5/qtwebkit/0002-Fix-build-with-non-glibc-libc-on-musl.patch b/recipes-qt/qt5/qtwebkit/0002-Fix-build-with-non-glibc-libc-on-musl.patch new file mode 100644 index 00000000..dead46d1 --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0002-Fix-build-with-non-glibc-libc-on-musl.patch | |||
@@ -0,0 +1,69 @@ | |||
1 | From 9db9a8850602c2446b1a7ee96608fd74cf56a342 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 23 Aug 2018 04:06:17 +0000 | ||
4 | Subject: [PATCH] Fix build with non-glibc libc on musl | ||
5 | |||
6 | Need to ensure glibc features are not assumed to be linux-wide | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Source/JavaScriptCore/heap/MachineStackMarker.cpp | 8 ++++---- | ||
12 | .../inspector/JSGlobalObjectInspectorController.cpp | 2 ++ | ||
13 | 2 files changed, 6 insertions(+), 4 deletions(-) | ||
14 | |||
15 | diff --git a/Source/JavaScriptCore/heap/MachineStackMarker.cpp b/Source/JavaScriptCore/heap/MachineStackMarker.cpp | ||
16 | index 883914fd3..ce4e8d331 100644 | ||
17 | --- a/Source/JavaScriptCore/heap/MachineStackMarker.cpp | ||
18 | +++ b/Source/JavaScriptCore/heap/MachineStackMarker.cpp | ||
19 | @@ -566,7 +566,7 @@ void* MachineThreads::Thread::Registers::stackPointer() const | ||
20 | #error Unknown Architecture | ||
21 | #endif | ||
22 | |||
23 | -#elif defined(__GLIBC__) && ENABLE(JIT) | ||
24 | +#elif defined(__linux__) && ENABLE(JIT) | ||
25 | |||
26 | #if CPU(X86) | ||
27 | return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_ESP]); | ||
28 | @@ -665,7 +665,7 @@ void* MachineThreads::Thread::Registers::framePointer() const | ||
29 | #error Unknown Architecture | ||
30 | #endif | ||
31 | |||
32 | -#elif defined(__GLIBC__) | ||
33 | +#elif defined(__linux__) | ||
34 | |||
35 | // The following sequence depends on glibc's sys/ucontext.h. | ||
36 | #if CPU(X86) | ||
37 | @@ -747,7 +747,7 @@ void* MachineThreads::Thread::Registers::instructionPointer() const | ||
38 | #error Unknown Architecture | ||
39 | #endif | ||
40 | |||
41 | -#elif defined(__GLIBC__) | ||
42 | +#elif defined(__linux__) | ||
43 | |||
44 | // The following sequence depends on glibc's sys/ucontext.h. | ||
45 | #if CPU(X86) | ||
46 | @@ -838,7 +838,7 @@ void* MachineThreads::Thread::Registers::llintPC() const | ||
47 | #error Unknown Architecture | ||
48 | #endif | ||
49 | |||
50 | -#elif defined(__GLIBC__) | ||
51 | +#elif defined(__linux__) | ||
52 | |||
53 | // The following sequence depends on glibc's sys/ucontext.h. | ||
54 | #if CPU(X86) | ||
55 | diff --git a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp | ||
56 | index fd7f869d4..e95391b32 100644 | ||
57 | --- a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp | ||
58 | +++ b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp | ||
59 | @@ -51,8 +51,10 @@ | ||
60 | #include <cxxabi.h> | ||
61 | #if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK)) | ||
62 | #include <dlfcn.h> | ||
63 | +#if defined(__GLIBC__) | ||
64 | #include <execinfo.h> | ||
65 | #endif | ||
66 | +#endif | ||
67 | |||
68 | #if ENABLE(REMOTE_INSPECTOR) | ||
69 | #include "JSGlobalObjectDebuggable.h" | ||
diff --git a/recipes-qt/qt5/qtwebkit/0004-Fix-build-bug-for-armv32-BE.patch b/recipes-qt/qt5/qtwebkit/0004-Fix-build-bug-for-armv32-BE.patch new file mode 100644 index 00000000..23fed74f --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0004-Fix-build-bug-for-armv32-BE.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 5aa039af074c20bea1398f7f18712dc494a5f138 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
3 | Date: Fri, 31 Aug 2018 15:42:48 +0900 | ||
4 | Subject: [PATCH] Fix build bug for armv32 BE. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
9 | --- | ||
10 | Source/WTF/wtf/dtoa/utils.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/Source/WTF/wtf/dtoa/utils.h b/Source/WTF/wtf/dtoa/utils.h | ||
14 | index 889642cee..05302e6e6 100644 | ||
15 | --- a/Source/WTF/wtf/dtoa/utils.h | ||
16 | +++ b/Source/WTF/wtf/dtoa/utils.h | ||
17 | @@ -49,7 +49,7 @@ | ||
18 | defined(__ARMEL__) || \ | ||
19 | defined(_MIPS_ARCH_MIPS32R2) | ||
20 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
21 | -#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) | ||
22 | +#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) || CPU(ARM) | ||
23 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
24 | #elif defined(_M_IX86) || defined(__i386__) | ||
25 | #if defined(_WIN32) | ||
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index a7dad987..f15da918 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -1,8 +1,6 @@ | |||
1 | require qt5.inc | 1 | require qt5.inc |
2 | require qt5-git.inc | 2 | require qt5-git.inc |
3 | 3 | ||
4 | SRC_URI += "file://0001-Do-not-skip-build-for-cross-compile.patch" | ||
5 | |||
6 | LICENSE = "BSD & LGPLv2+ | GPL-2.0" | 4 | LICENSE = "BSD & LGPLv2+ | GPL-2.0" |
7 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
8 | file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ | 6 | file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ |
@@ -11,6 +9,15 @@ LIC_FILES_CHKSUM = " \ | |||
11 | 9 | ||
12 | DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native" | 10 | DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native" |
13 | 11 | ||
12 | # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.11 | ||
13 | # 5.11.meta-qt5.2 | ||
14 | SRC_URI += "\ | ||
15 | file://0001-Do-not-skip-build-for-cross-compile.patch \ | ||
16 | file://0002-Fix-build-with-non-glibc-libc-on-musl.patch \ | ||
17 | file://0004-Fix-build-bug-for-armv32-BE.patch \ | ||
18 | file://0001-PlatformQt.cmake-Do-not-generate-hardcoded-include-p.patch \ | ||
19 | " | ||
20 | |||
14 | inherit cmake_qt5 perlnative pythonnative | 21 | inherit cmake_qt5 perlnative pythonnative |
15 | 22 | ||
16 | # qemuarm build fails with: | 23 | # qemuarm build fails with: |
@@ -33,8 +40,9 @@ ARM_INSTRUCTION_SET_armv7ve = "thumb" | |||
33 | # https://bugzilla.redhat.com/show_bug.cgi?id=1582954 | 40 | # https://bugzilla.redhat.com/show_bug.cgi?id=1582954 |
34 | CXXFLAGS += "-fpermissive" | 41 | CXXFLAGS += "-fpermissive" |
35 | 42 | ||
36 | EXTRA_OECMAKE = " \ | 43 | EXTRA_OECMAKE += " \ |
37 | -DPORT=Qt \ | 44 | -DPORT=Qt \ |
45 | -DCROSS_COMPILE=ON \ | ||
38 | -DECM_MKSPECS_INSTALL_DIR=${libdir}${QT_DIR_NAME}/mkspecs/modules \ | 46 | -DECM_MKSPECS_INSTALL_DIR=${libdir}${QT_DIR_NAME}/mkspecs/modules \ |
39 | -DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML} \ | 47 | -DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML} \ |
40 | " | 48 | " |
@@ -57,7 +65,7 @@ PACKAGECONFIG[fontconfig] = "-DENABLE_TEST_SUPPORT=ON,-DENABLE_TEST_SUPPORT=OFF, | |||
57 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" | 65 | PACKAGECONFIG[hyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,hyphen" |
58 | 66 | ||
59 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe | 67 | # remove default ${PN}-examples* set in qt5.inc, because they conflicts with ${PN} from separate webkit-examples recipe |
60 | PACKAGES_remove = "${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples" | 68 | PACKAGES_remove = "${PN}-examples" |
61 | 69 | ||
62 | QT_MODULE_BRANCH = "dev" | 70 | QT_MODULE_BRANCH = "dev" |
63 | 71 | ||
diff --git a/recipes-qt/qtchooser/qtchooser_git.bb b/recipes-qt/qtchooser/qtchooser_git.bb index 06b1ae91..3dcb35d0 100644 --- a/recipes-qt/qtchooser/qtchooser_git.bb +++ b/recipes-qt/qtchooser/qtchooser_git.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | DESCRIPTION = "Wrapper to select between Qt development binary versions" | 1 | DESCRIPTION = "Wrapper to select between Qt development binary versions" |
2 | HOMEPAGE = "http://macieira.org/qtchooser" | 2 | HOMEPAGE = "http://macieira.org/qtchooser" |
3 | LICENSE = "LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | GPL-3.0" | 3 | LICENSE = "LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | GPL-3.0" |
4 | SRC_URI = "git://code.qt.io/cgit/qtsdk/qtchooser.git" | 4 | SRC_URI = "git://code.qt.io/qtsdk/qtchooser.git" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = " \ | 6 | LIC_FILES_CHKSUM = " \ |
7 | file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ | 7 | file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ |
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \ | |||
9 | file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ | 9 | file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ |
10 | " | 10 | " |
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | SRCREV = "a1b6736e4f2daf86cd1626004d40ef57db85fbb5" | 12 | SRCREV = "71750df4f0c6bbadcd422cdf7fe360ad033bbd14" |
13 | PV = "39+git${SRCPV}" | 13 | PV = "39+git${SRCPV}" |
14 | 14 | ||
15 | inherit pkgconfig | 15 | inherit pkgconfig |
diff --git a/recipes-qt/qwt/qwt-qt5_6.1.3.bb b/recipes-qt/qwt/qwt-qt5_6.1.3.bb index 1c6e10b7..49f4f9e5 100644 --- a/recipes-qt/qwt/qwt-qt5_6.1.3.bb +++ b/recipes-qt/qwt/qwt-qt5_6.1.3.bb | |||
@@ -40,7 +40,6 @@ PACKAGES_prepend = "${PN}-examples ${PN}-features ${PN}-plugins " | |||
40 | FILES_${PN}-examples = "${bindir}/*" | 40 | FILES_${PN}-examples = "${bindir}/*" |
41 | FILES_${PN}-features = "${prefix}/features" | 41 | FILES_${PN}-features = "${prefix}/features" |
42 | FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so" | 42 | FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so" |
43 | FILES_${PN}-dbg += "${prefix}/plugins/designer/.debug" | ||
44 | FILES_${PN}-doc += "${prefix}/doc" | 43 | FILES_${PN}-doc += "${prefix}/doc" |
45 | 44 | ||
46 | INSANE_SKIP_${PN}-plugins += "libdir" | 45 | INSANE_SKIP_${PN}-plugins += "libdir" |