summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-06-04 17:12:58 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-10 12:11:52 +0200
commitb4e270f9e2e5c632f0958af1a5131efb45bcd799 (patch)
tree9c0fe3a4f0fda7c9de63b55e8d8549c55d166410
parent06c25e6a6b9ff6f36f91412b2f8e10e8cd39bf3b (diff)
downloadmeta-qt5-b4e270f9e2e5c632f0958af1a5131efb45bcd799.tar.gz
qtbase: Refresh patches to match with stable* branches on github.com/meta-qt5
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb23
-rw-r--r--recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch4
-rw-r--r--recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch (renamed from recipes-qt/qt5/qtbase-git/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch)8
-rw-r--r--recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch (renamed from recipes-qt/qt5/qtbase-git/0002-Add-external-hostbindir-option.patch)10
-rw-r--r--recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch4
-rw-r--r--recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch81
-rw-r--r--recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch (renamed from recipes-qt/qt5/qtbase-git/0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch)4
-rw-r--r--recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch (renamed from recipes-qt/qt5/qtbase-git/0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch)4
-rw-r--r--recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch6
-rw-r--r--recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch (renamed from recipes-qt/qt5/qtbase-git/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch)4
-rw-r--r--recipes-qt/qt5/qtbase-git/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch (renamed from recipes-qt/qt5/qtbase-git/0001-Revert-Use-the-gcc-feature-in-simd.prf.patch)7
-rw-r--r--recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch (renamed from recipes-qt/qt5/qtbase-git/0006-Always-build-uic.patch)4
-rw-r--r--recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch (renamed from recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch)8
-rw-r--r--recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch (renamed from recipes-qt/qt5/qtbase-git/0007-configure-preserve-built-qmake-and-swap-with-native-.patch)7
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb20
-rw-r--r--recipes-qt/qt5/qtbase_git.bb24
16 files changed, 153 insertions, 65 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 7c456931..252cadaf 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -8,25 +8,28 @@ SRC_URI = "\
8 git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \ 8 git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
9" 9"
10 10
11# common with -native 11# common with -native and -nativesdk
12SRC_URI += "\ 12SRC_URI += "\
13 file://0001-Add-linux-oe-g-platform.patch \ 13 file://0001-Add-linux-oe-g-platform.patch \
14 file://0002-Add-external-hostbindir-option.patch \ 14 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
15 file://0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ 15 file://0003-Add-external-hostbindir-option.patch \
16 file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ 16 file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
17 file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ 17 file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
18 file://0001-Revert-Use-the-gcc-feature-in-simd.prf.patch \ 18 file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
19 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
20 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
21 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
22 file://0010-Revert-Use-the-gcc-feature-in-simd.prf.patch \
19" 23"
20 24
21# common with native version 25# common with -native version
22SRC_URI += " \ 26SRC_URI += " \
23 file://0006-Always-build-uic.patch \ 27 file://0011-Always-build-uic.patch \
24" 28"
25 29
26# specific for nativesdk version 30# specific for nativesdk version
27SRC_URI += " \ 31SRC_URI += " \
28 file://0007-configure-preserve-built-qmake-and-swap-with-native-.patch \ 32 file://0012-configure-preserve-built-qmake-and-swap-with-native-.patch \
29 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
30" 33"
31 34
32SRCREV = "267ba8b63e0fbf02cde4d2709397ed0e12f34ee2" 35SRCREV = "80b6fbc2d9dfc753d6570e971aa4cf4f3420585c"
diff --git a/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
index 95841ce3..eca6b36d 100644
--- a/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
@@ -1,7 +1,7 @@
1From e70bd40730582e5e5531fca51a1574cb306c40d3 Mon Sep 17 00:00:00 2001 1From 9c7d71880c6ec5b07e3030b7c7a23e004d5c60a2 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 15 Apr 2013 04:29:32 +0200 3Date: Mon, 15 Apr 2013 04:29:32 +0200
4Subject: [PATCH 1/8] Add linux-oe-g++ platform 4Subject: [PATCH 01/12] Add linux-oe-g++ platform
5 5
6* This qmake.conf unlike other platforms reads most variables from 6* This qmake.conf unlike other platforms reads most variables from
7 shell environment, because it's easier for qt recipes to export 7 shell environment, because it's easier for qt recipes to export
diff --git a/recipes-qt/qt5/qtbase-git/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
index 4b4e47ce..29f788e7 100644
--- a/recipes-qt/qt5/qtbase-git/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
+++ b/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
@@ -1,8 +1,8 @@
1From b76b34a03c3051cda5330c8ae9f5e2a26c5c4da6 Mon Sep 17 00:00:00 2001 1From ad884ab378939e685a3b00af03bb6875d9bdc1d5 Mon Sep 17 00:00:00 2001
2From: Holger Freyther <zecke@selfish.org> 2From: Holger Freyther <zecke@selfish.org>
3Date: Wed, 26 Sep 2012 17:22:30 +0200 3Date: Wed, 26 Sep 2012 17:22:30 +0200
4Subject: [PATCH 3/8] qlibraryinfo: allow to set qt.conf from the outside using 4Subject: [PATCH 02/12] qlibraryinfo: allow to set qt.conf from the outside
5 the environment 5 using the environment
6 6
7Allow to set a qt.conf from the outside using the environment. This allows 7Allow to set a qt.conf from the outside using the environment. This allows
8to inject new prefixes and other paths into qmake. This is needed when using 8to inject new prefixes and other paths into qmake. This is needed when using
@@ -19,7 +19,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
19 1 file changed, 4 insertions(+), 1 deletion(-) 19 1 file changed, 4 insertions(+), 1 deletion(-)
20 20
21diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 21diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
22index 3686b17..89e13cf 100644 22index 6d25325..80e0f30 100644
23--- a/src/corelib/global/qlibraryinfo.cpp 23--- a/src/corelib/global/qlibraryinfo.cpp
24+++ b/src/corelib/global/qlibraryinfo.cpp 24+++ b/src/corelib/global/qlibraryinfo.cpp
25@@ -153,7 +153,10 @@ QLibrarySettings::QLibrarySettings() 25@@ -153,7 +153,10 @@ QLibrarySettings::QLibrarySettings()
diff --git a/recipes-qt/qt5/qtbase-git/0002-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
index 81f18674..44d17ca6 100644
--- a/recipes-qt/qt5/qtbase-git/0002-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
@@ -1,7 +1,7 @@
1From eaa4a4c13e65e29e2214a01b69b77b9c6f2ada05 Mon Sep 17 00:00:00 2001 1From b45d963702c139ea4f5b5ce572d046511a878d81 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 6 Apr 2013 13:15:07 +0200 3Date: Sat, 6 Apr 2013 13:15:07 +0200
4Subject: [PATCH 2/8] Add -external-hostbindir option 4Subject: [PATCH 03/12] Add -external-hostbindir option
5 5
6* when cross-compiling it's sometimes useful to use existing tools from machine 6* when cross-compiling it's sometimes useful to use existing tools from machine
7 (or in OpenEmbedded built with separate native recipe) when building for target 7 (or in OpenEmbedded built with separate native recipe) when building for target
@@ -198,10 +198,10 @@ index 9bda70e..6e3605a 100644
198 _qt5_Core_check_file_exists(${imported_location}) 198 _qt5_Core_check_file_exists(${imported_location})
199 199
200diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 200diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
201index 6d25325..3686b17 100644 201index 80e0f30..89e13cf 100644
202--- a/src/corelib/global/qlibraryinfo.cpp 202--- a/src/corelib/global/qlibraryinfo.cpp
203+++ b/src/corelib/global/qlibraryinfo.cpp 203+++ b/src/corelib/global/qlibraryinfo.cpp
204@@ -333,7 +333,7 @@ QLibraryInfo::isDebugBuild() 204@@ -336,7 +336,7 @@ QLibraryInfo::isDebugBuild()
205 */ 205 */
206 206
207 static const struct { 207 static const struct {
@@ -210,7 +210,7 @@ index 6d25325..3686b17 100644
210 } qtConfEntries[] = { 210 } qtConfEntries[] = {
211 { "Prefix", "." }, 211 { "Prefix", "." },
212 { "Documentation", "doc" }, // should be ${Data}/doc 212 { "Documentation", "doc" }, // should be ${Data}/doc
213@@ -359,6 +359,7 @@ static const struct { 213@@ -362,6 +362,7 @@ static const struct {
214 { "HostBinaries", "bin" }, 214 { "HostBinaries", "bin" },
215 { "HostLibraries", "lib" }, 215 { "HostLibraries", "lib" },
216 { "HostData", "." }, 216 { "HostData", "." },
diff --git a/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch b/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
index 1e5ffacf..78fb3c66 100644
--- a/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
+++ b/recipes-qt/qt5/qtbase-git/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
@@ -1,7 +1,7 @@
1From 83205b1344e57e2cb0292cf1d276e40c7f45ca32 Mon Sep 17 00:00:00 2001 1From 8a14a69d5b0078554ed002e682c72e995b1e6320 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 22:33:33 +0200 3Date: Sat, 27 Apr 2013 22:33:33 +0200
4Subject: [PATCH 4/8] configureapp: Prefix default LIBDIRS and INCDIRS with 4Subject: [PATCH 04/12] configureapp: Prefix default LIBDIRS and INCDIRS with
5 SYSROOT 5 SYSROOT
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
diff --git a/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
new file mode 100644
index 00000000..29108cde
--- /dev/null
+++ b/recipes-qt/qt5/qtbase-git/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
@@ -0,0 +1,81 @@
1From 1e87c127c5d268870c51894c955bf24cde83ff69 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 23:15:37 +0200
4Subject: [PATCH 05/12] qt_module: Fix pkgconfig and libtool replacements
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9* in situation like this:
10 QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm
11 QT_INSTALL_LIBS:/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/lib
12 QT_INSTALL_LIBS/raw:/usr/lib
13 QT_INSTALL_LIBS/get:/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/lib
14
15 I don't want the replacement like this:
16 sed
17 -e "s,/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/include,/usr/include/qt5,g"
18 -e "s,/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/lib,/usr/lib,g"
19 "../../lib/pkgconfig/Qt5Core.pc"
20 >"/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/image/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/lib/pkgconfig/Qt5Core.pc"
21 because that way I'll end with -L/usr/lib in .pc file which is
22 cross-compile unfriendly, keeping ${libdir}/${includedir} works better
23 in my case
24
25* qt_module: Fix paths in .prl files
26* qmake does not prefix them with QT_SYSROOT when using them
27 so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE
28 variable, which is unsafe for cross-compilation
29* writting QT_SYSROOT in .prl files is dangerous for sstate when
30 builds are in different directories, so we need
31 SSTATE_SCAN_FILES += "*.pri *.prl"
32 to make them relocateble
33
34* fix paths in packageconfig files
35 This reverts parts of:
36
37 enable path replacement in installed prl files on all platforms
38
39 Task-number: QTBUG-33794
40 Change-Id: Id0d38715673b8a1c0c034e9c15783eb255c4315b
41 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
42
43Change-Id: Ie1c94b15f2a4e736b65b4d0924d99eb2a7d92a6c
44Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
45Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
46---
47 mkspecs/features/qt_module.prf | 14 ++++++++++++++
48 1 file changed, 14 insertions(+)
49
50diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
51index 8bf4c92..9737f8c 100644
52--- a/mkspecs/features/qt_module.prf
53+++ b/mkspecs/features/qt_module.prf
54@@ -188,10 +188,24 @@ unix|mingw {
55 QMAKE_PKGCONFIG_DESCRIPTION = $$replace(TARGET, ^Qt, "Qt ") module
56 QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
57
58+ pkgconfig_include_replace.match = $$rplbase/include
59+ pkgconfig_include_replace.replace = "\$$\\{includedir}"
60+ pkgconfig_include_replace.CONFIG = path
61+ QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_include_replace
62+
63+ pkgconfig_lib_replace.match = $$rplbase/lib
64+ pkgconfig_lib_replace.replace = "\$$\\{libdir}"
65+ pkgconfig_lib_replace.CONFIG = path
66+ QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_lib_replace
67+
68 unix {
69 CONFIG += create_libtool explicitlib
70 QMAKE_LIBTOOL_LIBDIR = $$qt_libdir
71 QMAKE_LIBTOOL_INSTALL_REPLACE += lib_replace
72+ lafile_replace.match = "-L$$[QT_INSTALL_LIBS/raw]"
73+ lafile_replace.replace = ""
74+ lafile_replace.CONFIG = path
75+ QMAKE_LIBTOOL_INSTALL_REPLACE += lafile_replace
76 }
77 }
78
79--
802.0.0
81
diff --git a/recipes-qt/qt5/qtbase-git/0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch b/recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
index 213a9c34..0e3bc99e 100644
--- a/recipes-qt/qt5/qtbase-git/0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
+++ b/recipes-qt/qt5/qtbase-git/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
@@ -1,7 +1,7 @@
1From 22775e5f0b1097964062fbcf1805a841f971de34 Mon Sep 17 00:00:00 2001 1From ca212fd10a95b2c694f3c89c3f22a2b0ae185198 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 21 Apr 2014 19:22:04 +0200 3Date: Mon, 21 Apr 2014 19:22:04 +0200
4Subject: [PATCH 5/8] Revert "eglfs: Print the chosen config in debug mode" 4Subject: [PATCH 06/12] Revert "eglfs: Print the chosen config in debug mode"
5 5
6This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e. 6This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e.
7--- 7---
diff --git a/recipes-qt/qt5/qtbase-git/0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
index 2f4d80cd..1f029a28 100644
--- a/recipes-qt/qt5/qtbase-git/0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch
+++ b/recipes-qt/qt5/qtbase-git/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
@@ -1,7 +1,7 @@
1From 959b2fb8d8eb5e755e3d9d3d3031b996f96fb23b Mon Sep 17 00:00:00 2001 1From 3d61189d1706d3367eada4e7db6f2c6c167130ce Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 19 Mar 2014 18:32:28 +0100 3Date: Wed, 19 Mar 2014 18:32:28 +0100
4Subject: [PATCH 8/8] qeglplatformintegration: Undefine CursorShape from X.h 4Subject: [PATCH 07/12] qeglplatformintegration: Undefine CursorShape from X.h
5 5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7--- 7---
diff --git a/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch
index e5a3890a..b1c4690b 100644
--- a/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch
+++ b/recipes-qt/qt5/qtbase-git/0008-configure-bump-path-length-from-256-to-512-character.patch
@@ -1,7 +1,7 @@
1From 3eabdee39cad37a4ce451486fce20680f169a0f1 Mon Sep 17 00:00:00 2001 1From 107fe67947ced65315550e6a7795be24efaab371 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 11 Nov 2013 20:27:30 -0500 3Date: Mon, 11 Nov 2013 20:27:30 -0500
4Subject: [PATCH 8/8] configure: bump path length from 256 to 512 characters 4Subject: [PATCH 08/12] configure: bump path length from 256 to 512 characters
5 5
6Increase the path length that gets hardcoded into generated config.cpp file 6Increase the path length that gets hardcoded into generated config.cpp file
7from 256 to 512 characters, as nativesdk path can be quite long. 7from 256 to 512 characters, as nativesdk path can be quite long.
@@ -12,7 +12,7 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
13 13
14diff --git a/configure b/configure 14diff --git a/configure b/configure
15index b7aac15..c51f785 100755 15index 48d5119..3c0347a 100755
16--- a/configure 16--- a/configure
17+++ b/configure 17+++ b/configure
18@@ -3573,7 +3573,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ 18@@ -3573,7 +3573,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
diff --git a/recipes-qt/qt5/qtbase-git/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch b/recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
index f8a789cd..cbd0bcd8 100644
--- a/recipes-qt/qt5/qtbase-git/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
+++ b/recipes-qt/qt5/qtbase-git/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
@@ -1,7 +1,7 @@
1From cc8bd33740ee16b29e0801dbc2228314ef3cef2f Mon Sep 17 00:00:00 2001 1From b8f2fdcd7683058554b5d76b270c5f4bb3d0b91a Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 5 Feb 2014 18:35:08 +0100 3Date: Wed, 5 Feb 2014 18:35:08 +0100
4Subject: [PATCH 7/8] eglfs: fix egl error for platforms only supporting one 4Subject: [PATCH 09/12] eglfs: fix egl error for platforms only supporting one
5 window/surface 5 window/surface
6MIME-Version: 1.0 6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8 7Content-Type: text/plain; charset=UTF-8
diff --git a/recipes-qt/qt5/qtbase-git/0001-Revert-Use-the-gcc-feature-in-simd.prf.patch b/recipes-qt/qt5/qtbase-git/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch
index 88f5c122..da05f28f 100644
--- a/recipes-qt/qt5/qtbase-git/0001-Revert-Use-the-gcc-feature-in-simd.prf.patch
+++ b/recipes-qt/qt5/qtbase-git/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch
@@ -1,10 +1,7 @@
1From 9d33599f12787f85a19e8147604f919ac40c02c1 Mon Sep 17 00:00:00 2001 1From 8d8db9db8518289f4c1856dd3062c2e324c5c9be Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 4 Jun 2014 15:26:11 +0200 3Date: Wed, 4 Jun 2014 15:26:11 +0200
4Subject: [PATCH] Revert "Use the "gcc" feature in simd.prf" 4Subject: [PATCH 10/12] Revert "Use the "gcc" feature in simd.prf"
5
6It's causing linker issues, see my comment in:
7https://bugreports.qt-project.org/browse/QTBUG-38544
8 5
9This reverts commit 3b00cc480400d47c59c29d3507c7fcdc9be2a489. 6This reverts commit 3b00cc480400d47c59c29d3507c7fcdc9be2a489.
10--- 7---
diff --git a/recipes-qt/qt5/qtbase-git/0006-Always-build-uic.patch b/recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch
index f425c3e7..a1af18e1 100644
--- a/recipes-qt/qt5/qtbase-git/0006-Always-build-uic.patch
+++ b/recipes-qt/qt5/qtbase-git/0011-Always-build-uic.patch
@@ -1,7 +1,7 @@
1From dd679f743291a924bed500a866eb05fab71c9978 Mon Sep 17 00:00:00 2001 1From 271db04ebfbaf67e2e8c30ff050510c5a42acfa4 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 6/8] Always build uic 4Subject: [PATCH 11/12] Always build uic
5 5
6Even if we are not building gui or widgets. This tool is needed later 6Even if we are not building gui or widgets. This tool is needed later
7as a native tool when compiling the target. 7as a native tool when compiling the target.
diff --git a/recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
index 6d79acb6..820fb21a 100644
--- a/recipes-qt/qt5/qtbase-git/0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
+++ b/recipes-qt/qt5/qtbase-git/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
@@ -1,8 +1,8 @@
1From d8e725cb2c25a443d888fe2652f9039e79ae75ac Mon Sep 17 00:00:00 2001 1From ac507c953112630d7e929be35586e97396b76327 Mon Sep 17 00:00:00 2001
2From: Michael Krelin <hacker@klever.net> 2From: Michael Krelin <hacker@klever.net>
3Date: Mon, 29 Oct 2012 20:07:49 -0700 3Date: Mon, 29 Oct 2012 20:07:49 -0700
4Subject: [PATCH 6/8] qmake: don't build it in configure, but allow to build it 4Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build
5 separately 5 it separately
6 6
7* it is already built in qtbase-native, so we don't need it in configure 7* it is already built in qtbase-native, so we don't need it in configure
8* allow building a separate qmake for the target 8* allow building a separate qmake for the target
@@ -20,7 +20,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20 2 files changed, 3 insertions(+), 1 deletion(-) 20 2 files changed, 3 insertions(+), 1 deletion(-)
21 21
22diff --git a/configure b/configure 22diff --git a/configure b/configure
23index 48d5119..2a42c08 100755 23index 3c0347a..a75ca11 100755
24--- a/configure 24--- a/configure
25+++ b/configure 25+++ b/configure
26@@ -3675,7 +3675,7 @@ setBootstrapEvalVariable() 26@@ -3675,7 +3675,7 @@ setBootstrapEvalVariable()
diff --git a/recipes-qt/qt5/qtbase-git/0007-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
index 79ac5e89..81b05f3d 100644
--- a/recipes-qt/qt5/qtbase-git/0007-configure-preserve-built-qmake-and-swap-with-native-.patch
+++ b/recipes-qt/qt5/qtbase-git/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
@@ -1,7 +1,8 @@
1From 3db5991e607a82403272b0ea821fc84e3c8b6d2a Mon Sep 17 00:00:00 2001 1From 11bd34bfe629767ec32a36593386ef0655e86f24 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 11 Nov 2013 20:22:34 -0500 3Date: Mon, 11 Nov 2013 20:22:34 -0500
4Subject: [PATCH 7/8] configure: preserve built qmake and swap with native one 4Subject: [PATCH 12/12] configure: preserve built qmake and swap with native
5 one
5 6
6Let configure script build the real qmake, but right after it's built, swap 7Let configure script build the real qmake, but right after it's built, swap
7it with a native qmake for further internal use, preserving the real one. 8it with a native qmake for further internal use, preserving the real one.
@@ -12,7 +13,7 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
12 1 file changed, 2 insertions(+) 13 1 file changed, 2 insertions(+)
13 14
14diff --git a/configure b/configure 15diff --git a/configure b/configure
15index 48d5119..b7aac15 100755 16index 3c0347a..c51f785 100755
16--- a/configure 17--- a/configure
17+++ b/configure 18+++ b/configure
18@@ -3825,6 +3825,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 19@@ -3825,6 +3825,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index e10748f0..79652920 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -5,19 +5,23 @@ SRC_URI = "\
5 git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \ 5 git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
6" 6"
7 7
8# common with -native 8# common with -native and -nativesdk
9SRC_URI += "\ 9SRC_URI += "\
10 file://0001-Add-linux-oe-g-platform.patch \ 10 file://0001-Add-linux-oe-g-platform.patch \
11 file://0002-Add-external-hostbindir-option.patch \ 11 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
12 file://0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ 12 file://0003-Add-external-hostbindir-option.patch \
13 file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ 13 file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
14 file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ 14 file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
15 file://0001-Revert-Use-the-gcc-feature-in-simd.prf.patch \ 15 file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
16 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
17 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
18 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
19 file://0010-Revert-Use-the-gcc-feature-in-simd.prf.patch \
16" 20"
17 21
18# specific for native version 22# common with -nativesdk version
19SRC_URI += " \ 23SRC_URI += " \
20 file://0006-Always-build-uic.patch \ 24 file://0011-Always-build-uic.patch \
21" 25"
22 26
23do_install_append() { 27do_install_append() {
@@ -26,4 +30,4 @@ do_install_append() {
26 ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt 30 ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
27} 31}
28 32
29SRCREV = "267ba8b63e0fbf02cde4d2709397ed0e12f34ee2" 33SRCREV = "80b6fbc2d9dfc753d6570e971aa4cf4f3420585c"
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 4f019be9..037a4f66 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -5,21 +5,23 @@ SRC_URI = "\
5 git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \ 5 git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
6" 6"
7 7
8# common with -native 8# common with -native and -nativesdk
9SRC_URI += "\ 9SRC_URI += "\
10 file://0001-Add-linux-oe-g-platform.patch \ 10 file://0001-Add-linux-oe-g-platform.patch \
11 file://0002-Add-external-hostbindir-option.patch \ 11 file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
12 file://0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ 12 file://0003-Add-external-hostbindir-option.patch \
13 file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ 13 file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
14 file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ 14 file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
15 file://0001-Revert-Use-the-gcc-feature-in-simd.prf.patch \ 15 file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \
16 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
17 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
18 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
19 file://0010-Revert-Use-the-gcc-feature-in-simd.prf.patch \
16" 20"
17 21
18# target specific 22# target specific
19SRC_URI += "\ 23SRC_URI += "\
20 file://0006-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \ 24 file://0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \
21 file://0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
22 file://0008-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
23" 25"
24 26
25SRCREV = "267ba8b63e0fbf02cde4d2709397ed0e12f34ee2" 27SRCREV = "80b6fbc2d9dfc753d6570e971aa4cf4f3420585c"