diff options
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 4 | ||||
-rw-r--r-- | recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch | 75 | ||||
-rw-r--r-- | recipes-qt/qt5/ogl-runtime/0003-Fix-build-on-musl-libc.patch | 26 | ||||
-rw-r--r-- | recipes-qt/qt5/ogl-runtime_git.bb | 8 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch | 24 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-git.inc | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 5 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 20 | ||||
-rw-r--r-- | recipes-qt/qt5/qttools/run-ptest | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch | 23 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 1 |
12 files changed, 54 insertions, 137 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 8a4b471b..2a26e776 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -76,8 +76,9 @@ FILES_${PN} += " \ | |||
76 | DEBIAN_NOAUTONAME_${PN} = "1" | 76 | DEBIAN_NOAUTONAME_${PN} = "1" |
77 | 77 | ||
78 | PACKAGECONFIG ?= "" | 78 | PACKAGECONFIG ?= "" |
79 | PACKAGECONFIG[gui] = "-gui -qpa minimal,-no-gui," | 79 | PACKAGECONFIG[gui] = "-gui -qpa offscreen,-no-gui," |
80 | PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif," | 80 | PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif," |
81 | PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl" | ||
81 | 82 | ||
82 | QT_CONFIG_FLAGS += " \ | 83 | QT_CONFIG_FLAGS += " \ |
83 | -shared \ | 84 | -shared \ |
@@ -112,7 +113,6 @@ do_configure() { | |||
112 | -no-sql-mysql \ | 113 | -no-sql-mysql \ |
113 | -no-sql-sqlite \ | 114 | -no-sql-sqlite \ |
114 | -no-opengl \ | 115 | -no-opengl \ |
115 | -no-openssl \ | ||
116 | -no-xcb \ | 116 | -no-xcb \ |
117 | -no-feature-bearermanagement \ | 117 | -no-feature-bearermanagement \ |
118 | -no-icu \ | 118 | -no-icu \ |
diff --git a/recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch b/recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch deleted file mode 100644 index fcf6915d..00000000 --- a/recipes-qt/qt5/ogl-runtime/0002-Fix-format-security-issues.patch +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | From c80b588cc3e11a80ffedd778fab3f19c686552f7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Mon, 5 Aug 2019 14:24:44 +0300 | ||
4 | Subject: [PATCH] Fix format-security issues | ||
5 | |||
6 | format not a string literal and no format arguments [-Wformat-security] | ||
7 | |||
8 | Change-Id: I04c1d1598948b664b9d85036030c6f89fcf3c8b7 | ||
9 | --- | ||
10 | src/render/backends/gl/Q3DSRenderBackendGLES2.cpp | 4 ++-- | ||
11 | src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp | 8 ++++---- | ||
12 | 2 files changed, 6 insertions(+), 6 deletions(-) | ||
13 | |||
14 | diff --git a/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp b/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp | ||
15 | index ac5b992..02046ac 100644 | ||
16 | --- a/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp | ||
17 | +++ b/src/render/backends/gl/Q3DSRenderBackendGLES2.cpp | ||
18 | @@ -663,7 +663,7 @@ NVRenderBackendGLES2Impl::CreateRenderbuffer(NVRenderRenderBufferFormats::Enum s | ||
19 | // check for error | ||
20 | GLenum error = m_glFunctions->glGetError(); | ||
21 | if (error != GL_NO_ERROR) { | ||
22 | - qCCritical(GL_ERROR, GLConversion::processGLError(error)); | ||
23 | + qCCritical(GL_ERROR) << GLConversion::processGLError(error); | ||
24 | QT3DS_ASSERT(false); | ||
25 | GL_CALL_EXTRA_FUNCTION(glDeleteRenderbuffers(1, &bufID)); | ||
26 | bufID = 0; | ||
27 | @@ -699,7 +699,7 @@ bool NVRenderBackendGLES2Impl::ResizeRenderbuffer(NVRenderBackendRenderbufferObj | ||
28 | // check for error | ||
29 | GLenum error = m_glFunctions->glGetError(); | ||
30 | if (error != GL_NO_ERROR) { | ||
31 | - qCCritical(GL_ERROR, GLConversion::processGLError(error)); | ||
32 | + qCCritical(GL_ERROR) << GLConversion::processGLError(error); | ||
33 | QT3DS_ASSERT(false); | ||
34 | success = false; | ||
35 | } | ||
36 | diff --git a/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp b/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp | ||
37 | index 0fe6e0f..5dfe9d1 100644 | ||
38 | --- a/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp | ||
39 | +++ b/src/render/backends/gl/Qt3DSRenderBackendGLBase.cpp | ||
40 | @@ -604,7 +604,7 @@ NVRenderBackendGLBase::CreateBuffer(size_t size, NVRenderBufferBindFlags bindFla | ||
41 | } else { | ||
42 | GL_CALL_FUNCTION(glDeleteBuffers(1, &bufID)); | ||
43 | bufID = 0; | ||
44 | - qCCritical(GL_ERROR, GLConversion::processGLError(target)); | ||
45 | + qCCritical(GL_ERROR) << GLConversion::processGLError(target); | ||
46 | } | ||
47 | } | ||
48 | |||
49 | @@ -832,7 +832,7 @@ NVRenderBackendGLBase::CreateRenderbuffer(NVRenderRenderBufferFormats::Enum stor | ||
50 | // check for error | ||
51 | GLenum error = m_glFunctions->glGetError(); | ||
52 | if (error != GL_NO_ERROR) { | ||
53 | - qCCritical(GL_ERROR, GLConversion::processGLError(error)); | ||
54 | + qCCritical(GL_ERROR) << GLConversion::processGLError(error); | ||
55 | QT3DS_ASSERT(false); | ||
56 | GL_CALL_FUNCTION(glDeleteRenderbuffers(1, &bufID)); | ||
57 | bufID = 0; | ||
58 | @@ -869,7 +869,7 @@ bool NVRenderBackendGLBase::ResizeRenderbuffer(NVRenderBackendRenderbufferObject | ||
59 | // check for error | ||
60 | GLenum error = m_glFunctions->glGetError(); | ||
61 | if (error != GL_NO_ERROR) { | ||
62 | - qCCritical(GL_ERROR, GLConversion::processGLError(error)); | ||
63 | + qCCritical(GL_ERROR) << GLConversion::processGLError(error); | ||
64 | QT3DS_ASSERT(false); | ||
65 | success = false; | ||
66 | } | ||
67 | @@ -1306,7 +1306,7 @@ bool NVRenderBackendGLBase::compileSource(GLuint shaderID, NVConstDataRef<QT3DSI | ||
68 | GLenum binaryError = m_glFunctions->glGetError(); | ||
69 | if (binaryError != GL_NO_ERROR) { | ||
70 | shaderStatus = GL_FALSE; | ||
71 | - qCCritical(GL_ERROR, GLConversion::processGLError(binaryError)); | ||
72 | + qCCritical(GL_ERROR) << GLConversion::processGLError(binaryError); | ||
73 | } | ||
74 | } | ||
75 | |||
diff --git a/recipes-qt/qt5/ogl-runtime/0003-Fix-build-on-musl-libc.patch b/recipes-qt/qt5/ogl-runtime/0003-Fix-build-on-musl-libc.patch deleted file mode 100644 index 5fe840a0..00000000 --- a/recipes-qt/qt5/ogl-runtime/0003-Fix-build-on-musl-libc.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From f654a25f9df6583532798f30181d149d51b23808 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 8 Aug 2019 08:34:47 +0300 | ||
4 | Subject: [PATCH] Fix build on musl libc | ||
5 | |||
6 | Use bits/local_lim.h only with glibc as it's not available | ||
7 | on musl libc. | ||
8 | |||
9 | Change-Id: Ibffa4ab5649b544664f99b16e94d6865148eeeb5 | ||
10 | --- | ||
11 | src/foundation/linux/Qt3DSLinuxThread.cpp | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/foundation/linux/Qt3DSLinuxThread.cpp b/src/foundation/linux/Qt3DSLinuxThread.cpp | ||
15 | index fa6e069..99c4c3a 100644 | ||
16 | --- a/src/foundation/linux/Qt3DSLinuxThread.cpp | ||
17 | +++ b/src/foundation/linux/Qt3DSLinuxThread.cpp | ||
18 | @@ -35,7 +35,7 @@ | ||
19 | #include "foundation/Qt3DSAssert.h" | ||
20 | #include "foundation/Qt3DSIntrinsics.h" | ||
21 | #include "foundation/Qt3DSBroadcastingAllocator.h" | ||
22 | -#if !defined(QT3DS_APPLE) && !defined(ANDROID) && !defined(__CYGWIN__) && !defined(__QNX__) && !defined(__INTEGRITY) | ||
23 | +#if !defined(QT3DS_APPLE) && !defined(ANDROID) && !defined(__CYGWIN__) && !defined(__QNX__) && !defined(__INTEGRITY) && defined(__GLIBC__) | ||
24 | #include <bits/local_lim.h> // PTHREAD_STACK_MIN | ||
25 | #endif | ||
26 | #include <stdio.h> | ||
diff --git a/recipes-qt/qt5/ogl-runtime_git.bb b/recipes-qt/qt5/ogl-runtime_git.bb index 97e25bc1..912f5dc1 100644 --- a/recipes-qt/qt5/ogl-runtime_git.bb +++ b/recipes-qt/qt5/ogl-runtime_git.bb | |||
@@ -9,20 +9,18 @@ LIC_FILES_CHKSUM = " \ | |||
9 | 9 | ||
10 | DEPENDS += "qtbase qtdeclarative qtquickcontrols2" | 10 | DEPENDS += "qtbase qtdeclarative qtquickcontrols2" |
11 | 11 | ||
12 | QT_MODULE_BRANCH = "2.4" | 12 | QT_MODULE_BRANCH = "2.5" |
13 | QT_MODULE_BRANCH_EASTL = "master" | 13 | QT_MODULE_BRANCH_EASTL = "master" |
14 | QT_GIT_PROJECT = "qt3dstudio" | 14 | QT_GIT_PROJECT = "qt3dstudio" |
15 | PV = "2.4+git${SRCPV}" | 15 | PV = "2.5.0+git${SRCPV}" |
16 | 16 | ||
17 | SRC_URI += " \ | 17 | SRC_URI += " \ |
18 | ${QT_GIT}/qt3dstudio-eastl.git;name=EASTL;branch=${QT_MODULE_BRANCH_EASTL};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/EASTL \ | 18 | ${QT_GIT}/qt3dstudio-eastl.git;name=EASTL;branch=${QT_MODULE_BRANCH_EASTL};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/EASTL \ |
19 | file://0001-Fix-examples-build-error.patch \ | 19 | file://0001-Fix-examples-build-error.patch \ |
20 | file://0002-Fix-format-security-issues.patch \ | ||
21 | file://0003-Fix-build-on-musl-libc.patch \ | ||
22 | file://0001-Qt3DSSimpleTypes-make-QT3DSU64-as-unsigned-long-on-l.patch \ | 20 | file://0001-Qt3DSSimpleTypes-make-QT3DSU64-as-unsigned-long-on-l.patch \ |
23 | " | 21 | " |
24 | 22 | ||
25 | SRCREV_ogl-runtime = "a41270dced230d90e0e07f2ebb880e4f97317a7f" | 23 | SRCREV_ogl-runtime = "25236c672d81a73ee8754dbd764eb8a2a26d866e" |
26 | SRCREV_EASTL = "31697c758f2ed19bd7c6bbe61f1b91f9e12035b5" | 24 | SRCREV_EASTL = "31697c758f2ed19bd7c6bbe61f1b91f9e12035b5" |
27 | SRCREV = "${SRCREV_ogl-runtime}" | 25 | SRCREV = "${SRCREV_ogl-runtime}" |
28 | 26 | ||
diff --git a/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch index 214a4034..d17f60b4 100644 --- a/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch +++ b/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 33299724b8719d53b26c9055a76a61c358270110 Mon Sep 17 00:00:00 2001 | 1 | From ec7aec2f6c56889c96dc12af46059a7f3d4c3a37 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 |
@@ -6,15 +6,29 @@ Subject: [PATCH] Link with libexecinfo on musl | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
8 | --- | 8 | --- |
9 | src/plugins/debugger/debugger.pro | 1 + | 9 | src/plugins/debugger/debugger.pro | 1 + |
10 | 1 file changed, 1 insertion(+) | 10 | src/plugins/qmldesigner/designercore/designercore-lib.pri | 2 ++ |
11 | 2 files changed, 3 insertions(+) | ||
11 | 12 | ||
12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro | 13 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro |
13 | index acbf5136b9..159139eb2b 100644 | 14 | index f5a34aa0d5..4a1359dd5c 100644 |
14 | --- a/src/plugins/debugger/debugger.pro | 15 | --- a/src/plugins/debugger/debugger.pro |
15 | +++ b/src/plugins/debugger/debugger.pro | 16 | +++ b/src/plugins/debugger/debugger.pro |
16 | @@ -139,3 +139,4 @@ include(console/console.pri) | 17 | @@ -141,3 +141,4 @@ include(console/console.pri) |
17 | include(analyzer/analyzer.pri) | 18 | include(analyzer/analyzer.pri) |
18 | 19 | ||
19 | include(shared/shared.pri) | 20 | include(shared/shared.pri) |
20 | +LIBS *= -lexecinfo | 21 | +LIBS *= -lexecinfo |
22 | diff --git a/src/plugins/qmldesigner/designercore/designercore-lib.pri b/src/plugins/qmldesigner/designercore/designercore-lib.pri | ||
23 | index 935b29728e..31527267fd 100644 | ||
24 | --- a/src/plugins/qmldesigner/designercore/designercore-lib.pri | ||
25 | +++ b/src/plugins/qmldesigner/designercore/designercore-lib.pri | ||
26 | @@ -2,6 +2,8 @@ include($$PWD/filemanager/filemanager.pri) | ||
27 | |||
28 | QT += network | ||
29 | |||
30 | +LIBS *= -lexecinfo | ||
31 | + | ||
32 | DEFINES += TEST_EXPORTS | ||
33 | DEFINES += DESIGNER_CORE_LIBRARY | ||
34 | INCLUDEPATH += $$PWD \ | ||
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc index 09d00f31..a9152255 100644 --- a/recipes-qt/qt5/qt5-git.inc +++ b/recipes-qt/qt5/qt5-git.inc | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | QT_MODULE ?= "${BPN}" | 4 | QT_MODULE ?= "${BPN}" |
5 | QT_MODULE_BRANCH ?= "5.13" | 5 | QT_MODULE_BRANCH ?= "5.13" |
6 | QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}" | 6 | QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1" |
7 | 7 | ||
8 | # each module needs to define valid SRCREV | 8 | # each module needs to define valid SRCREV |
9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 4af7f8c0..b88b83e2 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -58,8 +58,9 @@ XPLATFORM_toolchain-clang = "linux-oe-clang" | |||
58 | XPLATFORM ?= "linux-oe-g++" | 58 | XPLATFORM ?= "linux-oe-g++" |
59 | 59 | ||
60 | PACKAGECONFIG ?= "" | 60 | PACKAGECONFIG ?= "" |
61 | PACKAGECONFIG[gui] = "-gui -qpa minimal,-no-gui," | 61 | PACKAGECONFIG[gui] = "-gui -qpa offscreen,-no-gui," |
62 | PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif," | 62 | PACKAGECONFIG[imageformats] = "-qt-libpng -qt-libjpeg -gif -ico, -no-libpng -no-libjpeg -no-ico -no-gif," |
63 | PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl" | ||
63 | 64 | ||
64 | QT_CONFIG_FLAGS = " \ | 65 | QT_CONFIG_FLAGS = " \ |
65 | -sysroot ${STAGING_DIR_NATIVE} \ | 66 | -sysroot ${STAGING_DIR_NATIVE} \ |
@@ -74,7 +75,7 @@ QT_CONFIG_FLAGS = " \ | |||
74 | -no-sql-sqlite \ | 75 | -no-sql-sqlite \ |
75 | -no-sql-psql \ | 76 | -no-sql-psql \ |
76 | -no-opengl \ | 77 | -no-opengl \ |
77 | -no-openssl \ | 78 | -no-vulkan \ |
78 | -no-xcb \ | 79 | -no-xcb \ |
79 | -no-icu \ | 80 | -no-icu \ |
80 | -verbose \ | 81 | -verbose \ |
diff --git a/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch b/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch index b56224b9..7c77805d 100644 --- a/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch +++ b/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch | |||
@@ -22,7 +22,7 @@ index a94f6d0eeb..ccab725843 100644 | |||
22 | static:no-static-ltcg { | 22 | static:no-static-ltcg { |
23 | # Static library but no-static-ltcg enabled: skip LTCG | 23 | # Static library but no-static-ltcg enabled: skip LTCG |
24 | -} else: CONFIG(release, debug|release) { | 24 | -} else: CONFIG(release, debug|release) { |
25 | +} else: CONFIG(release, debug|release)!host_build { | 25 | +} else: CONFIG(release, debug|release):!host_build { |
26 | # We need fat object files when creating static libraries on some platforms | 26 | # We need fat object files when creating static libraries on some platforms |
27 | # so the linker will know to load a particular object from the library | 27 | # so the linker will know to load a particular object from the library |
28 | # in the first place. On others, we have special ar and nm to create the symbol | 28 | # in the first place. On others, we have special ar and nm to create the symbol |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 05bc716d..eaca3666 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -50,7 +50,7 @@ PACKAGECONFIG_DISTRO ?= "" | |||
50 | PACKAGECONFIG_RELEASE ?= "release" | 50 | PACKAGECONFIG_RELEASE ?= "release" |
51 | # This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency | 51 | # This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency |
52 | # PACKAGECONFIG_OPENSSL ?= "openssl" | 52 | # PACKAGECONFIG_OPENSSL ?= "openssl" |
53 | PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev evdev widgets tools libs freetype tests \ | 53 | PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev evdev widgets tools libs freetype tests pcre \ |
54 | ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \ | 54 | ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \ |
55 | ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)} \ | 55 | ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)} \ |
56 | " | 56 | " |
@@ -277,22 +277,4 @@ INSANE_SKIP_${PN}-mkspecs += "file-rdeps" | |||
277 | 277 | ||
278 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" | 278 | RRECOMMENDS_${PN}-plugins += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', '', d)}" |
279 | 279 | ||
280 | TARGET_MKSPEC ?= "linux-g++" | ||
281 | |||
282 | # use clean mkspecs on target | ||
283 | pkg_postinst_${PN}-tools () { | ||
284 | sed -i \ | ||
285 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ | ||
286 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ | ||
287 | $D${OE_QMAKE_PATH_BINS}/qt.conf | ||
288 | } | ||
289 | |||
290 | pkg_postinst_${PN}-mkspecs () { | ||
291 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri | ||
292 | sed -i \ | ||
293 | -e 's: cross_compile : :g' \ | ||
294 | -e 's:HOST_QT_TOOLS =.*::g' \ | ||
295 | $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qmodule.pri | ||
296 | } | ||
297 | |||
298 | SRCREV = "a7a24784eeba6747d319eb911583bdd99ef38cdb" | 280 | SRCREV = "a7a24784eeba6747d319eb911583bdd99ef38cdb" |
diff --git a/recipes-qt/qt5/qttools/run-ptest b/recipes-qt/qt5/qttools/run-ptest index 5cd5e27e..ae671a72 100644 --- a/recipes-qt/qt5/qttools/run-ptest +++ b/recipes-qt/qt5/qttools/run-ptest | |||
@@ -1,4 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | ./tst_qtdiag | 3 | ./tst_qtdiag |
4 | ./tst_qtattributionsscanner | ||
diff --git a/recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch b/recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch new file mode 100644 index 00000000..3047230c --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0004-musl-allow-build-without-glibc.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From a1c248259f3d8561d6e2c75a56edf4a72c393843 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 15 Aug 2019 07:52:53 +0300 | ||
4 | Subject: [PATCH] musl: allow build without glibc | ||
5 | |||
6 | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> | ||
7 | --- | ||
8 | mkspecs/features/configure.prf | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf | ||
12 | index cc84182b..f1310f75 100644 | ||
13 | --- a/mkspecs/features/configure.prf | ||
14 | +++ b/mkspecs/features/configure.prf | ||
15 | @@ -75,7 +75,7 @@ defineTest(runConfigure) { | ||
16 | return(false) | ||
17 | } | ||
18 | |||
19 | - !qtConfig(webengine-system-glibc) { | ||
20 | + false:!qtConfig(webengine-system-glibc) { | ||
21 | skipBuild("A suitable version >= 2.27 of libc could not be found.") | ||
22 | return(false) | ||
23 | } | ||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index dc41c517..66b159a9 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -146,6 +146,7 @@ SRC_URI += " \ | |||
146 | SRC_URI_append_libc-musl = "\ | 146 | SRC_URI_append_libc-musl = "\ |
147 | file://0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ | 147 | file://0002-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ |
148 | file://0003-musl-link-against-libexecinfo.patch \ | 148 | file://0003-musl-link-against-libexecinfo.patch \ |
149 | file://0004-musl-allow-build-without-glibc.patch \ | ||
149 | " | 150 | " |
150 | 151 | ||
151 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/73-based | 152 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/73-based |