summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2018-11-16 10:19:45 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2018-11-16 11:15:30 +0200
commit96685678ddb4adf615d037dd4c1dcca23023df19 (patch)
tree41480f2608c514cc1308445e413cfe06e9e91da3
parentf0ca39edb8dd0524e8822da813399cce2e70ef53 (diff)
parentff6127ddd318d422f595295d1c189a86b3032873 (diff)
downloadmeta-qt5-96685678ddb4adf615d037dd4c1dcca23023df19.tar.gz
Merge remote-tracking branch 'qtyocto/5.11' into 5.12
* qtyocto/5.11: ff6127d Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11 6b354b9 qt5: update submodules 4064b3b qtdeclarative: fix inconsistent QML_COMPILE_HASH value fd1f0f4 python-pyqt5: Update to 5.11.3 and add python3 recipe. 3fa1993 qtbase-native: disable postgresql support 0edbe1b qtbase: refresh patches and update tags on meta-qt5 4ed4385 qtbase: don't leak absolut path to recipe specific sysroot b3502fb qt5: Disable ltcg for host_build 5832bf2 qtbase: don't use thumb for armv[45] Conflicts: recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qt3d_git.bb recipes-qt/qt5/qt5-git.inc recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtcanvas3d_git.bb recipes-qt/qt5/qtcharts_git.bb recipes-qt/qt5/qtconnectivity_git.bb recipes-qt/qt5/qtdatavis3d_git.bb recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtgamepad_git.bb recipes-qt/qt5/qtgraphicaleffects_git.bb recipes-qt/qt5/qtimageformats_git.bb recipes-qt/qt5/qtlocation_git.b b recipes-qt/qt5/qtmultimedia_git.bb recipes-qt/qt5/qtnetworkauth_git.bb recipes-qt/qt5/qtpurchasing_git.bb recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtremoteobjects_git.bb recipes-qt/qt5/qtscript_git.bb recipes-qt/qt5/qtscxml_git.bb recipes-qt/qt5/qtsensors_git.bb recipes-qt/qt5/qtserialbus_git.bb recipes-qt/qt5/qtserialport_git.bb recipes-qt/qt5/qtsvg_git.bb recipes-qt/qt5/qttools_git.bb recipes-qt/qt5/qttranslations_git.bb recipes-qt/qt5/qtvirtualkeyboard_git.bb recipes-qt/qt5/qtwayland_git.bb recipes-qt/qt5/qtwebchannel_git.bb recipes-qt/qt5/qtwebengine_git.bb recipes-qt/qt5/qtwebglplugin_git.bb recipes-qt/qt5/qtwebsockets_git.bb recipes-qt/qt5/qtwebview_git.bb recipes-qt/qt5/qtx11extras_git.bb recipes-qt/qt5/qtxmlpatterns_git.bb Task-number: QTBUG-70847 Change-Id: I67e23c7020276516fcace20ff6a1eb698724dd22
-rw-r--r--recipes-python/pyqt5/python-pyqt5.inc (renamed from recipes-python/pyqt5/python-pyqt5_5.10.1.bb)29
-rw-r--r--recipes-python/pyqt5/python-pyqt5_5.11.3.bb8
-rw-r--r--recipes-python/pyqt5/python3-pyqt5_5.11.3.bb7
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb9
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb12
-rw-r--r--recipes-qt/qt5/qtbase/0016-Disable-ltcg-for-host_build.patch (renamed from recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch)2
-rw-r--r--recipes-qt/qt5/qtbase/0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch66
-rw-r--r--recipes-qt/qt5/qtbase/0018-Always-build-uic-and-qvkgen.patch (renamed from recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch)2
-rw-r--r--recipes-qt/qt5/qtbase/0019-Bootstrap-without-linkat-feature.patch (renamed from recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch)2
-rw-r--r--recipes-qt/qt5/qtbase_git.bb11
10 files changed, 116 insertions, 32 deletions
diff --git a/recipes-python/pyqt5/python-pyqt5_5.10.1.bb b/recipes-python/pyqt5/python-pyqt5.inc
index 505db59d..c5ff46cf 100644
--- a/recipes-python/pyqt5/python-pyqt5_5.10.1.bb
+++ b/recipes-python/pyqt5/python-pyqt5.inc
@@ -6,20 +6,16 @@ LICENSE = "GPLv3"
6LIC_FILES_CHKSUM = "\ 6LIC_FILES_CHKSUM = "\
7 file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \ 7 file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \
8" 8"
9DEPENDS = "sip sip-native qtbase python"
10
11SRC_URI = "\ 9SRC_URI = "\
12 ${SOURCEFORGE_MIRROR}/pyqt/PyQt5_gpl-${PV}.tar.gz \ 10 ${SOURCEFORGE_MIRROR}/pyqt/PyQt5_gpl-${PV}.tar.gz \
13" 11"
14SRC_URI[md5sum] = "be36c2abaffc9daa8b993f1ca982968f" 12SRC_URI[md5sum] = "aac3428e90eca5df68c5764282fd9b98"
15SRC_URI[sha256sum] = "9932e971e825ece4ea08f84ad95017837fa8f3f29c6b0496985fa1093661e9ef" 13SRC_URI[sha256sum] = "c9b57d15601d436faf35dacf8e0acefa220194829a653e771e80b189b3261073"
16 14
17S = "${WORKDIR}/PyQt5_gpl-${PV}" 15S = "${WORKDIR}/PyQt5_gpl-${PV}"
18 16
19 17inherit qmake5
20inherit qmake5 pythonnative python-dir distro_features_check 18DEPENDS = "qtbase"
21# depends on qt4-x11-free
22REQUIRED_DISTRO_FEATURES = "x11"
23 19
24export BUILD_SYS 20export BUILD_SYS
25export HOST_SYS 21export HOST_SYS
@@ -36,19 +32,19 @@ PYQT_MODULES_aarch64 = "QtCore QtGui QtNetwork QtWidgets"
36do_configure_prepend() { 32do_configure_prepend() {
37 cd ${S} 33 cd ${S}
38 echo "py_platform = linux" > pyqt.cfg 34 echo "py_platform = linux" > pyqt.cfg
39 echo "py_inc_dir = %(sysroot)/$includedir/python%(py_major).%(py_minor)" >> pyqt.cfg 35 echo "py_inc_dir = %(sysroot)/$includedir/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
40 echo "py_pylib_dir = %(sysroot)/${libdir}/python%(py_major).%(py_minor)" >> pyqt.cfg 36 echo "py_pylib_dir = %(sysroot)/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
41 echo "py_pylib_lib = python%(py_major).%(py_minor)mu" >> pyqt.cfg 37 echo "py_pylib_lib = python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
42 echo "pyqt_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> pyqt.cfg 38 echo "pyqt_module_dir = ${D}/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}/site-packages" >> pyqt.cfg
43 echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg 39 echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg
44 echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt5" >> pyqt.cfg 40 echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt5" >> pyqt.cfg
45 echo "pyuic_interpreter = ${D}/${bindir}/python%(py_major).%(py_minor)" >> pyqt.cfg 41 echo "pyuic_interpreter = ${D}/${bindir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
46 echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg 42 echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg
47 echo "qt_shared = True" >> pyqt.cfg 43 echo "qt_shared = True" >> pyqt.cfg
48 QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION` 44 QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION`
49 echo "[Qt $QT_VERSION]" >> pyqt.cfg 45 echo "[Qt $QT_VERSION]" >> pyqt.cfg
50 echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg 46 echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg
51 echo yes | python configure.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST} 47 echo yes | ${PYTHON} configure.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST}
52} 48}
53 49
54do_compile() { 50do_compile() {
@@ -61,7 +57,6 @@ do_install() {
61 oe_runmake install 57 oe_runmake install
62} 58}
63 59
64RDEPENDS_${PN} = "python-core python-sip qtbase" 60FILES_${PN} += "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages ${datadir}/sip/PyQt5/"
65
66FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/PyQt5/"
67 61
62RDEPENDS_${PN} = "qtbase"
diff --git a/recipes-python/pyqt5/python-pyqt5_5.11.3.bb b/recipes-python/pyqt5/python-pyqt5_5.11.3.bb
new file mode 100644
index 00000000..6b1b5701
--- /dev/null
+++ b/recipes-python/pyqt5/python-pyqt5_5.11.3.bb
@@ -0,0 +1,8 @@
1require python-pyqt5.inc
2
3inherit pythonnative python-dir
4
5DEPENDS += "sip sip-native python"
6
7RDEPENDS_${PN} += "python-core python-sip"
8
diff --git a/recipes-python/pyqt5/python3-pyqt5_5.11.3.bb b/recipes-python/pyqt5/python3-pyqt5_5.11.3.bb
new file mode 100644
index 00000000..200a8154
--- /dev/null
+++ b/recipes-python/pyqt5/python3-pyqt5_5.11.3.bb
@@ -0,0 +1,7 @@
1require python-pyqt5.inc
2
3inherit python3native python3-dir
4
5DEPENDS += "sip3 sip3-native python3"
6
7RDEPENDS_${PN} += "python3-core python3-sip3"
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 59cb83cb..01513a33 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.11 26# 5.11.meta-qt5-shared.12
27SRC_URI += "\ 27SRC_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 \
@@ -38,14 +38,15 @@ SRC_URI += "\
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://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ 40 file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \
41 file://0015-Disable-ltcg-for-host_build.patch \ 41 file://0016-Disable-ltcg-for-host_build.patch \
42 file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \
42" 43"
43 44
44# common for qtbase-native and nativesdk-qtbase 45# common for qtbase-native and nativesdk-qtbase
45# Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native 46# Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native
46# 5.11.meta-qt5-native.11 47# 5.11.meta-qt5-native.12
47SRC_URI += " \ 48SRC_URI += " \
48 file://0016-Always-build-uic-and-qvkgen.patch \ 49 file://0018-Always-build-uic-and-qvkgen.patch \
49" 50"
50 51
51# CMake's toolchain configuration of nativesdk-qtbase 52# CMake's toolchain configuration of nativesdk-qtbase
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index 7d40c5ec..814627a7 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.11 21# 5.11.meta-qt5-shared.12
22SRC_URI += "\ 22SRC_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 \
@@ -33,19 +33,20 @@ SRC_URI += "\
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://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ 35 file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \
36 file://0015-Disable-ltcg-for-host_build.patch \ 36 file://0016-Disable-ltcg-for-host_build.patch \
37 file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \
37" 38"
38 39
39# common for qtbase-native and nativesdk-qtbase 40# common for qtbase-native and nativesdk-qtbase
40# Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native 41# Patches from https://github.com/meta-qt5/qtbase/commits/b5.11-native
41# 5.11.meta-qt5-native.11 42# 5.11.meta-qt5-native.12
42SRC_URI += " \ 43SRC_URI += " \
43 file://0016-Always-build-uic-and-qvkgen.patch \ 44 file://0018-Always-build-uic-and-qvkgen.patch \
44" 45"
45 46
46# only for qtbase-native 47# only for qtbase-native
47SRC_URI += " \ 48SRC_URI += " \
48 file://0017-Bootstrap-without-linkat-feature.patch \ 49 file://0019-Bootstrap-without-linkat-feature.patch \
49" 50"
50 51
51CLEANBROKEN = "1" 52CLEANBROKEN = "1"
@@ -66,6 +67,7 @@ PACKAGECONFIG_CONFARGS = " \
66 -no-gui \ 67 -no-gui \
67 -no-sql-mysql \ 68 -no-sql-mysql \
68 -no-sql-sqlite \ 69 -no-sql-sqlite \
70 -no-sql-psql \
69 -no-opengl \ 71 -no-opengl \
70 -no-openssl \ 72 -no-openssl \
71 -no-xcb \ 73 -no-xcb \
diff --git a/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch b/recipes-qt/qt5/qtbase/0016-Disable-ltcg-for-host_build.patch
index 8b961e60..6d4e6968 100644
--- a/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch
+++ b/recipes-qt/qt5/qtbase/0016-Disable-ltcg-for-host_build.patch
@@ -1,4 +1,4 @@
1From 94383531bde019ba113cc416b5cf3627e18ffef3 Mon Sep 17 00:00:00 2001 1From 3b9861c92444d50198ca74e60bcf10738998b7e9 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Tue, 23 Oct 2018 09:54:57 +0300 3Date: Tue, 23 Oct 2018 09:54:57 +0300
4Subject: [PATCH] Disable ltcg for host_build 4Subject: [PATCH] Disable ltcg for host_build
diff --git a/recipes-qt/qt5/qtbase/0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch b/recipes-qt/qt5/qtbase/0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch
new file mode 100644
index 00000000..3460568c
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch
@@ -0,0 +1,66 @@
1From a154d5f20d85108fcbf36f9f39cb853438f98127 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Sat, 27 Oct 2018 12:29:31 +0000
4Subject: [PATCH] Qt5GuiConfigExtras.cmake.in: cope with variable path to
5 sysroot
6
7EGL is configured to need an include path into the recipe-specific sysroot.
8However users of the cmake file will have a different absolute path than that
9used when creating the cmake file from cmake.in in qtbase.
10
11Change to store the relative path within the sysroot and then prepend the
12currently used sysroot in the _qt5gui_find_extra_libs macro.
13
14Upstream-Status: Inappropriate [OE specific]
15
16Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
17---
18 src/gui/Qt5GuiConfigExtras.cmake.in | 22 ++++++++--------------
19 1 file changed, 8 insertions(+), 14 deletions(-)
20
21diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
22index 07869efd7d..671aa82167 100644
23--- a/src/gui/Qt5GuiConfigExtras.cmake.in
24+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
25@@ -75,21 +75,15 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE)
26
27 macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
28 set(Qt5Gui_${Name}_LIBRARIES)
29-!!IF !mac
30- set(Qt5Gui_${Name}_INCLUDE_DIRS ${IncDirs})
31-!!ELSE
32+
33 foreach(_dir ${IncDirs})
34- if (EXISTS ${_dir})
35- list(APPEND Qt5Gui_${Name}_INCLUDE_DIRS ${_dir})
36- else()
37- find_path(_actual_dir ${_dir}) # Look in sdk directories
38- if (_actual_dir)
39- list(APPEND Qt5Gui_${Name}_INCLUDE_DIRS ${_actual_dir})
40- endif()
41- unset(_actual_dir CACHE)
42+ find_path(_actual_dir ${_dir})
43+ if (_actual_dir)
44+ list(APPEND Qt5Gui_${Name}_INCLUDE_DIRS ${_actual_dir})
45 endif()
46+ unset(_actual_dir CACHE)
47 endforeach()
48-!!ENDIF
49+
50 foreach(_lib ${Libs})
51 string(REGEX REPLACE "[^_A-Za-z0-9]" "_" _cmake_lib_name ${_lib})
52 if (NOT TARGET Qt5::Gui_${_cmake_lib_name} AND NOT _Qt5Gui_${_cmake_lib_name}_LIBRARY_DONE)
53@@ -158,11 +152,11 @@ endmacro()
54
55
56 !!IF !isEmpty(CMAKE_EGL_LIBS)
57-_qt5gui_find_extra_libs(EGL \"$$CMAKE_EGL_LIBS\" \"$$CMAKE_EGL_LIBDIR\" \"$$CMAKE_EGL_INCDIRS\")
58+_qt5gui_find_extra_libs(EGL \"$$CMAKE_EGL_LIBS\" \"$$CMAKE_EGL_LIBDIR\" \"$$replace(CMAKE_EGL_INCDIRS,$$re_escape($$PKG_CONFIG_SYSROOT_DIR),)\")
59 !!ENDIF
60
61 !!IF !isEmpty(CMAKE_OPENGL_LIBS)
62-_qt5gui_find_extra_libs(OPENGL \"$$CMAKE_OPENGL_LIBS\" \"$$CMAKE_OPENGL_LIBDIR\" \"$$CMAKE_OPENGL_INCDIRS\")
63+_qt5gui_find_extra_libs(OPENGL \"$$CMAKE_OPENGL_LIBS\" \"$$CMAKE_OPENGL_LIBDIR\" \"$$replace(CMAKE_OPENGL_INCDIRS,$$re_escape($$PKG_CONFIG_SYSROOT_DIR),)\")
64
65 !!ENDIF
66
diff --git a/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0018-Always-build-uic-and-qvkgen.patch
index 732e2fb7..d2d00be0 100644
--- a/recipes-qt/qt5/qtbase/0016-Always-build-uic-and-qvkgen.patch
+++ b/recipes-qt/qt5/qtbase/0018-Always-build-uic-and-qvkgen.patch
@@ -1,4 +1,4 @@
1From 7b5433027e9c75902b83a2990e09ae221d98451e Mon Sep 17 00:00:00 2001 1From 531068a88afa3336455134d85c16934bb4002124 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 16 Nov 2013 00:32:30 +0100 3Date: Sat, 16 Nov 2013 00:32:30 +0100
4Subject: [PATCH] Always build uic and qvkgen 4Subject: [PATCH] Always build uic and qvkgen
diff --git a/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0019-Bootstrap-without-linkat-feature.patch
index 66dc8404..16923cd4 100644
--- a/recipes-qt/qt5/qtbase/0017-Bootstrap-without-linkat-feature.patch
+++ b/recipes-qt/qt5/qtbase/0019-Bootstrap-without-linkat-feature.patch
@@ -1,4 +1,4 @@
1From 739dd4920bc16919c81c62bcddadc6958599792c Mon Sep 17 00:00:00 2001 1From 0d6a38d7bec0a3017a9e325f5e2b6e6168359b33 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 24 Nov 2017 15:16:31 +0200 3Date: Fri, 24 Nov 2017 15:16:31 +0200
4Subject: [PATCH] Bootstrap without linkat feature 4Subject: [PATCH] Bootstrap without linkat feature
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index bd266f78..b516f570 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.11 17# 5.11.meta-qt5-shared.12
18SRC_URI += "\ 18SRC_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 \
@@ -29,10 +29,10 @@ SRC_URI += "\
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://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ 31 file://0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \
32 file://0015-Disable-ltcg-for-host_build.patch \ 32 file://0016-Disable-ltcg-for-host_build.patch \
33 file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \
33" 34"
34 35
35
36# for syncqt 36# for syncqt
37RDEPENDS_${PN}-tools += "perl" 37RDEPENDS_${PN}-tools += "perl"
38 38
@@ -172,6 +172,11 @@ deltask generate_qt_config_file
172XPLATFORM_toolchain-clang = "linux-oe-clang" 172XPLATFORM_toolchain-clang = "linux-oe-clang"
173XPLATFORM ?= "linux-oe-g++" 173XPLATFORM ?= "linux-oe-g++"
174 174
175# Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment
176# when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp
177ARM_INSTRUCTION_SET_armv4 = "arm"
178ARM_INSTRUCTION_SET_armv5 = "arm"
179
175do_configure() { 180do_configure() {
176 # Regenerate header files when they are included in source tarball 181 # Regenerate header files when they are included in source tarball
177 # Otherwise cmake files don't set PRIVATE_HEADERS correctly 182 # Otherwise cmake files don't set PRIVATE_HEADERS correctly