diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-02-27 11:12:46 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-02-27 18:28:08 +0100 |
commit | 4d4a34c5d29ef7b730eb9da87b39f91352ef66fa (patch) | |
tree | 8df0894830a43956bbf1c629dc3938f3f41ca10a | |
parent | fa521467249da68e89c762a178550c8109bccae3 (diff) | |
download | meta-qt5-4d4a34c5d29ef7b730eb9da87b39f91352ef66fa.tar.gz |
recipes: Refresh patches to match git recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
33 files changed, 249 insertions, 246 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc index 8a0b31a6..3bad980d 100644 --- a/recipes-qt/qt5/nativesdk-qtbase.inc +++ b/recipes-qt/qt5/nativesdk-qtbase.inc | |||
@@ -15,24 +15,24 @@ SRC_URI += "\ | |||
15 | file://0001-Add-linux-oe-g-platform.patch \ | 15 | file://0001-Add-linux-oe-g-platform.patch \ |
16 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | 16 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ |
17 | file://0003-Add-external-hostbindir-option.patch \ | 17 | file://0003-Add-external-hostbindir-option.patch \ |
18 | file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ | 18 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
19 | file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 19 | file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ |
20 | file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ | 20 | file://0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ |
21 | file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ | 21 | file://0007-configure-bump-path-length-from-256-to-512-character.patch \ |
22 | file://0008-configure-bump-path-length-from-256-to-512-character.patch \ | 22 | file://0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ |
23 | file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ | 23 | file://0009-QOpenGLPaintDevice-sub-area-support.patch \ |
24 | file://0010-QOpenGLPaintDevice-sub-area-support.patch \ | 24 | file://0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \ |
25 | " | 25 | " |
26 | 26 | ||
27 | # common for qtbase-native and nativesdk-qtbase | 27 | # common for qtbase-native and nativesdk-qtbase |
28 | SRC_URI += " \ | 28 | SRC_URI += " \ |
29 | file://0011-Always-build-uic.patch \ | 29 | file://0011-Always-build-uic.patch \ |
30 | file://0014-Add-external-hostbindir-option-native.patch \ | 30 | file://0012-Add-external-hostbindir-option-for-native-sdk.patch \ |
31 | " | 31 | " |
32 | 32 | ||
33 | # specific for nativesdk-qtbase | 33 | # specific for nativesdk-qtbase |
34 | SRC_URI += " \ | 34 | SRC_URI += " \ |
35 | file://0012-configure-preserve-built-qmake-and-swap-with-native-.patch \ | 35 | file://0013-configure-preserve-built-qmake-and-swap-with-native-.patch \ |
36 | " | 36 | " |
37 | 37 | ||
38 | # CMake's toolchain configuration of nativesdk-qtbase | 38 | # CMake's toolchain configuration of nativesdk-qtbase |
diff --git a/recipes-qt/qt5/qtbase-native.inc b/recipes-qt/qt5/qtbase-native.inc index 6a0191d3..7b44fb75 100644 --- a/recipes-qt/qt5/qtbase-native.inc +++ b/recipes-qt/qt5/qtbase-native.inc | |||
@@ -12,19 +12,19 @@ SRC_URI += "\ | |||
12 | file://0001-Add-linux-oe-g-platform.patch \ | 12 | file://0001-Add-linux-oe-g-platform.patch \ |
13 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | 13 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ |
14 | file://0003-Add-external-hostbindir-option.patch \ | 14 | file://0003-Add-external-hostbindir-option.patch \ |
15 | file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ | 15 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
16 | file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 16 | file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ |
17 | file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ | 17 | file://0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ |
18 | file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ | 18 | file://0007-configure-bump-path-length-from-256-to-512-character.patch \ |
19 | file://0008-configure-bump-path-length-from-256-to-512-character.patch \ | 19 | file://0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ |
20 | file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ | 20 | file://0009-QOpenGLPaintDevice-sub-area-support.patch \ |
21 | file://0010-QOpenGLPaintDevice-sub-area-support.patch \ | 21 | file://0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | # common for qtbase-native and nativesdk-qtbase | 24 | # common for qtbase-native and nativesdk-qtbase |
25 | SRC_URI += " \ | 25 | SRC_URI += " \ |
26 | file://0011-Always-build-uic.patch \ | 26 | file://0011-Always-build-uic.patch \ |
27 | file://0014-Add-external-hostbindir-option-native.patch \ | 27 | file://0012-Add-external-hostbindir-option-for-native-sdk.patch \ |
28 | " | 28 | " |
29 | 29 | ||
30 | QT_CONF_PATH = "${B}/qt.conf" | 30 | QT_CONF_PATH = "${B}/qt.conf" |
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index 4bb1a69e..c6fe358b 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/recipes-qt/qt5/qtbase.inc | |||
@@ -5,20 +5,19 @@ SRC_URI += "\ | |||
5 | file://0001-Add-linux-oe-g-platform.patch \ | 5 | file://0001-Add-linux-oe-g-platform.patch \ |
6 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | 6 | file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ |
7 | file://0003-Add-external-hostbindir-option.patch \ | 7 | file://0003-Add-external-hostbindir-option.patch \ |
8 | file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \ | 8 | file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ |
9 | file://0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \ | 9 | file://0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ |
10 | file://0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch \ | 10 | file://0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ |
11 | file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ | 11 | file://0007-configure-bump-path-length-from-256-to-512-character.patch \ |
12 | file://0008-configure-bump-path-length-from-256-to-512-character.patch \ | 12 | file://0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ |
13 | file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ | 13 | file://0009-QOpenGLPaintDevice-sub-area-support.patch \ |
14 | file://0010-QOpenGLPaintDevice-sub-area-support.patch \ | 14 | file://0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \ |
15 | file://0013-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch \ | ||
16 | " | 15 | " |
17 | 16 | ||
18 | # specific for qtbase | 17 | # specific for qtbase |
19 | SRC_URI += "\ | 18 | SRC_URI += "\ |
20 | file://0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \ | 19 | file://0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \ |
21 | file://0015-Set-paths-for-target-properly.patch \ | 20 | file://0012-Set-paths-for-target-properly.patch \ |
22 | " | 21 | " |
23 | 22 | ||
24 | DEPENDS += "qtbase-native" | 23 | DEPENDS += "qtbase-native" |
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 7a94dffe..5f7ab145 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,7 +1,7 @@ | |||
1 | From 81cd2947e9b1290498bdc2505a76fb053ff33be8 Mon Sep 17 00:00:00 2001 | 1 | From df887cc51d1cf5328e536708b461f475e9fb4577 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 01/11] Add linux-oe-g++ platform | 4 | Subject: [PATCH 01/13] 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 |
@@ -40,6 +40,7 @@ Subject: [PATCH 01/11] Add linux-oe-g++ platform | |||
40 | Upstream-Status: Inappropriate [embedded specific] | 40 | Upstream-Status: Inappropriate [embedded specific] |
41 | too OE specific, probably cannot be upstreamed | 41 | too OE specific, probably cannot be upstreamed |
42 | 42 | ||
43 | Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c | ||
43 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 44 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
44 | --- | 45 | --- |
45 | configure | 66 ++++++++++++++++------- | 46 | configure | 66 ++++++++++++++++------- |
@@ -51,7 +52,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
51 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 52 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
52 | 53 | ||
53 | diff --git a/configure b/configure | 54 | diff --git a/configure b/configure |
54 | index 229fb4e..b7a6fe3 100755 | 55 | index 5ad29bb..0bcc175 100755 |
55 | --- a/configure | 56 | --- a/configure |
56 | +++ b/configure | 57 | +++ b/configure |
57 | @@ -316,6 +316,16 @@ getQMakeConf() | 58 | @@ -316,6 +316,16 @@ getQMakeConf() |
@@ -195,7 +196,7 @@ index 6b37a04..dcf6025 100644 | |||
195 | write_file($$QMAKE_CONFIG_LOG, msg, append) | 196 | write_file($$QMAKE_CONFIG_LOG, msg, append) |
196 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf | 197 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf |
197 | new file mode 100644 | 198 | new file mode 100644 |
198 | index 0000000..ca26b10 | 199 | index 0000000..2ad2810 |
199 | --- /dev/null | 200 | --- /dev/null |
200 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 201 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
201 | @@ -0,0 +1,40 @@ | 202 | @@ -0,0 +1,40 @@ |
@@ -346,5 +347,5 @@ index 0000000..dd12003 | |||
346 | + | 347 | + |
347 | +#endif // QPLATFORMDEFS_H | 348 | +#endif // QPLATFORMDEFS_H |
348 | -- | 349 | -- |
349 | 2.1.3 | 350 | 2.3.1 |
350 | 351 | ||
diff --git a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch index bae0dd3b..f8420c04 100644 --- a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch +++ b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From aae38b0ff226f287ad40f6eb423f1b974f548b73 Mon Sep 17 00:00:00 2001 | 1 | From 046ff855191e587ce9263f40bd46183c175b6387 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 02/11] qlibraryinfo: allow to set qt.conf from the outside | 4 | Subject: [PATCH 02/13] qlibraryinfo: allow to set qt.conf from the outside |
5 | using the environment | 5 | using the environment |
6 | 6 | ||
7 | Allow to set a qt.conf from the outside using the environment. This allows | 7 | Allow to set a qt.conf from the outside using the environment. This allows |
@@ -19,10 +19,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
19 | 1 file changed, 4 insertions(+), 1 deletion(-) | 19 | 1 file changed, 4 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 21 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
22 | index 7ca0aa7..d68c51b 100644 | 22 | index d592032..c418c5e 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 | @@ -139,7 +139,10 @@ QLibrarySettings::QLibrarySettings() | 25 | @@ -138,7 +138,10 @@ QLibrarySettings::QLibrarySettings() |
26 | 26 | ||
27 | QSettings *QLibraryInfoPrivate::findConfiguration() | 27 | QSettings *QLibraryInfoPrivate::findConfiguration() |
28 | { | 28 | { |
@@ -35,5 +35,5 @@ index 7ca0aa7..d68c51b 100644 | |||
35 | if(!QFile::exists(qtconfig)) | 35 | if(!QFile::exists(qtconfig)) |
36 | qtconfig = qt_libraryInfoFile(); | 36 | qtconfig = qt_libraryInfoFile(); |
37 | -- | 37 | -- |
38 | 2.1.3 | 38 | 2.3.1 |
39 | 39 | ||
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch index 87e8f0f3..ff269677 100644 --- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch +++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f2d51e50a7fbdf485696d1b8b2d29e64c729c76b Mon Sep 17 00:00:00 2001 | 1 | From 6c015d77a95910deec0a8c4a265587578531b476 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 03/11] Add -external-hostbindir option | 4 | Subject: [PATCH 03/13] 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 |
@@ -31,10 +31,10 @@ Signed-off-by: Jonathan Liu <net147@gmail.com> | |||
31 | src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- | 31 | src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- |
32 | src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- | 32 | src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- |
33 | src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- | 33 | src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- |
34 | 11 files changed, 50 insertions(+), 13 deletions(-) | 34 | 7 files changed, 38 insertions(+), 12 deletions(-) |
35 | 35 | ||
36 | diff --git a/configure b/configure | 36 | diff --git a/configure b/configure |
37 | index b7a6fe3..d715f6c 100755 | 37 | index 0bcc175..996ce50 100755 |
38 | --- a/configure | 38 | --- a/configure |
39 | +++ b/configure | 39 | +++ b/configure |
40 | @@ -769,6 +769,7 @@ QT_HOST_BINS= | 40 | @@ -769,6 +769,7 @@ QT_HOST_BINS= |
@@ -95,10 +95,10 @@ index b7a6fe3..d715f6c 100755 | |||
95 | "qt_hostspec=$shortspec", | 95 | "qt_hostspec=$shortspec", |
96 | #endif | 96 | #endif |
97 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 97 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
98 | index a9a622d..b6f1db0 100644 | 98 | index 7961f65..e11b23d 100644 |
99 | --- a/mkspecs/features/qt_functions.prf | 99 | --- a/mkspecs/features/qt_functions.prf |
100 | +++ b/mkspecs/features/qt_functions.prf | 100 | +++ b/mkspecs/features/qt_functions.prf |
101 | @@ -191,7 +191,11 @@ defineTest(qtAddRpathLink) { | 101 | @@ -192,7 +192,11 @@ defineTest(qtAddRpathLink) { |
102 | defineTest(qtPrepareTool) { | 102 | defineTest(qtPrepareTool) { |
103 | cmd = $$eval(QT_TOOL.$${2}.binary) | 103 | cmd = $$eval(QT_TOOL.$${2}.binary) |
104 | isEmpty(cmd) { | 104 | isEmpty(cmd) { |
@@ -229,5 +229,5 @@ index 99d87e2..5621dc0 100644 | |||
229 | _qt5_Widgets_check_file_exists(${imported_location}) | 229 | _qt5_Widgets_check_file_exists(${imported_location}) |
230 | 230 | ||
231 | -- | 231 | -- |
232 | 2.1.3 | 232 | 2.3.1 |
233 | 233 | ||
diff --git a/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch b/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch deleted file mode 100644 index 83694b7d..00000000 --- a/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 13a61389aa33fdfd5d9a1adf824d98c5ebf1cdff Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 27 Apr 2013 22:33:33 +0200 | ||
4 | Subject: [PATCH 04/11] configureapp: Prefix default LIBDIRS and INCDIRS with | ||
5 | SYSROOT | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | again a bit OE specific | ||
9 | --- | ||
10 | tools/configure/configureapp.cpp | 4 ++-- | ||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp | ||
14 | index d0a62c8..b3f3ff8 100644 | ||
15 | --- a/tools/configure/configureapp.cpp | ||
16 | +++ b/tools/configure/configureapp.cpp | ||
17 | @@ -3384,8 +3384,8 @@ void Configure::generateQConfigPri() | ||
18 | configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl; | ||
19 | if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) { | ||
20 | // FIXME: add detection | ||
21 | - configStream << " QMAKE_DEFAULT_LIBDIRS = /lib /usr/lib" << endl; | ||
22 | - configStream << " QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include" << endl; | ||
23 | + configStream << " QMAKE_DEFAULT_LIBDIRS = $$[QT_SYSROOT]/lib $$[QT_SYSROOT]/usr/lib" << endl; | ||
24 | + configStream << " QMAKE_DEFAULT_INCDIRS = $$[QT_SYSROOT]/usr/include $$[QT_SYSROOT]/usr/local/include" << endl; | ||
25 | } | ||
26 | configStream << "}" << endl; | ||
27 | configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl; | ||
28 | -- | ||
29 | 2.1.3 | ||
30 | |||
diff --git a/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch index a6e90894..45fca3aa 100644 --- a/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch +++ b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 5778f98f990781710e72be8275dae32a7999330d Mon Sep 17 00:00:00 2001 | 1 | From 55e85e61eb93bce5b84f856ea5cc47af73e01a1d 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, 27 Apr 2013 23:15:37 +0200 | 3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 |
4 | Subject: [PATCH 05/11] qt_module: Fix pkgconfig and libtool replacements | 4 | Subject: [PATCH 04/13] qt_module: Fix pkgconfig and libtool replacements |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -67,7 +67,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | |||
67 | 2 files changed, 16 insertions(+), 1 deletion(-) | 67 | 2 files changed, 16 insertions(+), 1 deletion(-) |
68 | 68 | ||
69 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf | 69 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf |
70 | index af9d6ca..a4781d6 100644 | 70 | index eb65e73..4db40d0 100644 |
71 | --- a/mkspecs/features/qt_common.prf | 71 | --- a/mkspecs/features/qt_common.prf |
72 | +++ b/mkspecs/features/qt_common.prf | 72 | +++ b/mkspecs/features/qt_common.prf |
73 | @@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) { | 73 | @@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) { |
@@ -110,5 +110,5 @@ index d213f9e..915c596 100644 | |||
110 | } | 110 | } |
111 | 111 | ||
112 | -- | 112 | -- |
113 | 2.1.3 | 113 | 2.3.1 |
114 | 114 | ||
diff --git a/recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch b/recipes-qt/qt5/qtbase/0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch index 042d7638..4a71e0f2 100644 --- a/recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch +++ b/recipes-qt/qt5/qtbase/0005-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4a067c162d08596e3ec89dcfb3ecdf197b1bf22a Mon Sep 17 00:00:00 2001 | 1 | From 129d2a82da2ef6eede761967d981c5edcc0820d8 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, 21 Apr 2014 19:22:04 +0200 | 3 | Date: Mon, 21 Apr 2014 19:22:04 +0200 |
4 | Subject: [PATCH 06/11] Revert "eglfs: Print the chosen config in debug mode" | 4 | Subject: [PATCH 05/13] Revert "eglfs: Print the chosen config in debug mode" |
5 | 5 | ||
6 | With this change the build is failing with: | 6 | With this change the build is failing with: |
7 | | In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0, | 7 | | In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0, |
@@ -68,7 +68,7 @@ index c1a491c..7a0fc87 100644 | |||
68 | 68 | ||
69 | #ifdef Q_OS_UNIX | 69 | #ifdef Q_OS_UNIX |
70 | diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 70 | diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp |
71 | index 7cc3300..ccbd974 100644 | 71 | index 7cc3300..ccbd974a 100644 |
72 | --- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 72 | --- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp |
73 | +++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 73 | +++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp |
74 | @@ -37,7 +37,6 @@ | 74 | @@ -37,7 +37,6 @@ |
@@ -93,5 +93,5 @@ index 7cc3300..ccbd974 100644 | |||
93 | } | 93 | } |
94 | 94 | ||
95 | -- | 95 | -- |
96 | 2.1.3 | 96 | 2.3.1 |
97 | 97 | ||
diff --git a/recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch index c528f0c9..84e5dbac 100644 --- a/recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch +++ b/recipes-qt/qt5/qtbase/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 8e152449beb18454347cfdb300c50d113fa48383 Mon Sep 17 00:00:00 2001 | 1 | From f2092e73beaffe163a5c7f66f73956477f0d97a1 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: Wed, 19 Mar 2014 18:32:28 +0100 | 3 | Date: Wed, 19 Mar 2014 18:32:28 +0100 |
4 | Subject: [PATCH 07/11] qeglplatformintegration: Undefine CursorShape from X.h | 4 | Subject: [PATCH 06/13] qeglplatformintegration: Undefine CursorShape from X.h |
5 | 5 | ||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
7 | --- | 7 | --- |
@@ -26,5 +26,5 @@ index 4d7adce..c9b6873 100644 | |||
26 | 26 | ||
27 | class QEGLPlatformScreen; | 27 | class QEGLPlatformScreen; |
28 | -- | 28 | -- |
29 | 2.1.3 | 29 | 2.3.1 |
30 | 30 | ||
diff --git a/recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0007-configure-bump-path-length-from-256-to-512-character.patch index c20d6f15..1bbda758 100644 --- a/recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch +++ b/recipes-qt/qt5/qtbase/0007-configure-bump-path-length-from-256-to-512-character.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 3a31a14c9c244a22337f22d083a680f69a1b1ce8 Mon Sep 17 00:00:00 2001 | 1 | From 24e36583f44a17ce6d21e4392dd4f6a83ea9846a Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Mon, 11 Nov 2013 20:27:30 -0500 | 3 | Date: Mon, 11 Nov 2013 20:27:30 -0500 |
4 | Subject: [PATCH 08/11] configure: bump path length from 256 to 512 characters | 4 | Subject: [PATCH 07/13] configure: bump path length from 256 to 512 characters |
5 | 5 | ||
6 | Increase the path length that gets hardcoded into generated config.cpp file | 6 | Increase the path length that gets hardcoded into generated config.cpp file |
7 | from 256 to 512 characters, as nativesdk path can be quite long. | 7 | from 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 | ||
14 | diff --git a/configure b/configure | 14 | diff --git a/configure b/configure |
15 | index d715f6c..bd43281 100755 | 15 | index 996ce50..a40d471 100755 |
16 | --- a/configure | 16 | --- a/configure |
17 | +++ b/configure | 17 | +++ b/configure |
18 | @@ -3622,7 +3622,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ | 18 | @@ -3622,7 +3622,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ |
@@ -25,5 +25,5 @@ index d715f6c..bd43281 100755 | |||
25 | "qt_prfxpath=$QT_SYSROOT_PREFIX", | 25 | "qt_prfxpath=$QT_SYSROOT_PREFIX", |
26 | "qt_docspath=$QT_SYSROOT_DOCS", | 26 | "qt_docspath=$QT_SYSROOT_DOCS", |
27 | -- | 27 | -- |
28 | 2.1.3 | 28 | 2.3.1 |
29 | 29 | ||
diff --git a/recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch b/recipes-qt/qt5/qtbase/0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch index 200864a9..f908e780 100644 --- a/recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch +++ b/recipes-qt/qt5/qtbase/0008-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 621d867223a135a9babd452d4918200bc6d0463b Mon Sep 17 00:00:00 2001 | 1 | From 7886d849487f0c0bbfa54f9ef9708fdc9cc84c04 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, 5 Feb 2014 18:35:08 +0100 | 3 | Date: Wed, 5 Feb 2014 18:35:08 +0100 |
4 | Subject: [PATCH 09/11] eglfs: fix egl error for platforms only supporting one | 4 | Subject: [PATCH 08/13] eglfs: fix egl error for platforms only supporting one |
5 | window/surface | 5 | window/surface |
6 | MIME-Version: 1.0 | 6 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 7 | Content-Type: text/plain; charset=UTF-8 |
@@ -68,5 +68,5 @@ index f5839e0..5ebde6d 100644 | |||
68 | 68 | ||
69 | if (isRaster()) { | 69 | if (isRaster()) { |
70 | -- | 70 | -- |
71 | 2.1.3 | 71 | 2.3.1 |
72 | 72 | ||
diff --git a/recipes-qt/qt5/qtbase/0010-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase/0009-QOpenGLPaintDevice-sub-area-support.patch index 986d2a93..f7062ffe 100644 --- a/recipes-qt/qt5/qtbase/0010-QOpenGLPaintDevice-sub-area-support.patch +++ b/recipes-qt/qt5/qtbase/0009-QOpenGLPaintDevice-sub-area-support.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 46074ffb4525e8217acd78c9cbe29f3d62f85c78 Mon Sep 17 00:00:00 2001 | 1 | From 47ee1da94f74c46fd692bcd55c2770f6c3be92f3 Mon Sep 17 00:00:00 2001 |
2 | From: Jani Hautakangas <jani.hautakangas@ixonos.com> | 2 | From: Jani Hautakangas <jani.hautakangas@ixonos.com> |
3 | Date: Thu, 16 May 2013 09:52:07 +0300 | 3 | Date: Thu, 16 May 2013 09:52:07 +0300 |
4 | Subject: [PATCH 10/11] QOpenGLPaintDevice sub-area support | 4 | Subject: [PATCH 09/13] QOpenGLPaintDevice sub-area support |
5 | 5 | ||
6 | Allows creating QOpenGLPaintDevice targetting sub-area | 6 | Allows creating QOpenGLPaintDevice targetting sub-area |
7 | of binded framebuffer. | 7 | of binded framebuffer. |
@@ -81,10 +81,10 @@ index 0b01129..211f2f3 100644 | |||
81 | 81 | ||
82 | qreal dpmx; | 82 | qreal dpmx; |
83 | diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp | 83 | diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp |
84 | index c490726..1d775fd 100644 | 84 | index 8eeaa31..e17520e 100644 |
85 | --- a/src/gui/opengl/qopenglpaintengine.cpp | 85 | --- a/src/gui/opengl/qopenglpaintengine.cpp |
86 | +++ b/src/gui/opengl/qopenglpaintengine.cpp | 86 | +++ b/src/gui/opengl/qopenglpaintengine.cpp |
87 | @@ -2002,7 +2002,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) | 87 | @@ -2080,7 +2080,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) |
88 | for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) | 88 | for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) |
89 | d->vertexAttributeArraysEnabledState[i] = false; | 89 | d->vertexAttributeArraysEnabledState[i] = false; |
90 | 90 | ||
@@ -95,16 +95,16 @@ index c490726..1d775fd 100644 | |||
95 | d->width = sz.width(); | 95 | d->width = sz.width(); |
96 | d->height = sz.height(); | 96 | d->height = sz.height(); |
97 | d->mode = BrushDrawingMode; | 97 | d->mode = BrushDrawingMode; |
98 | @@ -2089,7 +2092,7 @@ void QOpenGL2PaintEngineEx::ensureActive() | 98 | @@ -2167,7 +2170,7 @@ void QOpenGL2PaintEngineEx::ensureActive() |
99 | d->device->ensureActiveTarget(); | 99 | d->device->ensureActiveTarget(); |
100 | 100 | ||
101 | d->transferMode(BrushDrawingMode); | 101 | d->transferMode(BrushDrawingMode); |
102 | - d->funcs.glViewport(0, 0, d->width, d->height); | 102 | - d->funcs.glViewport(0, 0, d->width, d->height); |
103 | + d->funcs.glViewport(d->x, d->y, d->width, d->height); | 103 | + d->funcs.glViewport(d->x, d->y, d->width, d->height); |
104 | d->needsSync = false; | 104 | d->needsSync = false; |
105 | d->lastMaskTextureUsed = 0; | ||
106 | d->shaderManager->setDirty(); | 105 | d->shaderManager->setDirty(); |
107 | @@ -2132,6 +2135,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | 106 | d->syncGlState(); |
107 | @@ -2209,6 +2212,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | ||
108 | if (bounds == QRect(0, 0, width, height)) { | 108 | if (bounds == QRect(0, 0, width, height)) { |
109 | funcs.glDisable(GL_SCISSOR_TEST); | 109 | funcs.glDisable(GL_SCISSOR_TEST); |
110 | } else { | 110 | } else { |
@@ -112,7 +112,7 @@ index c490726..1d775fd 100644 | |||
112 | funcs.glEnable(GL_SCISSOR_TEST); | 112 | funcs.glEnable(GL_SCISSOR_TEST); |
113 | setScissor(bounds); | 113 | setScissor(bounds); |
114 | } | 114 | } |
115 | @@ -2140,12 +2144,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | 115 | @@ -2217,12 +2221,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() |
116 | 116 | ||
117 | void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) | 117 | void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) |
118 | { | 118 | { |
@@ -128,10 +128,10 @@ index c490726..1d775fd 100644 | |||
128 | 128 | ||
129 | funcs.glScissor(left, bottom, width, height); | 129 | funcs.glScissor(left, bottom, width, height); |
130 | diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h | 130 | diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h |
131 | index 5ef0366..c5b517d 100644 | 131 | index 9722ea3..07e3163 100644 |
132 | --- a/src/gui/opengl/qopenglpaintengine_p.h | 132 | --- a/src/gui/opengl/qopenglpaintengine_p.h |
133 | +++ b/src/gui/opengl/qopenglpaintengine_p.h | 133 | +++ b/src/gui/opengl/qopenglpaintengine_p.h |
134 | @@ -256,6 +256,7 @@ public: | 134 | @@ -264,6 +264,7 @@ public: |
135 | QOpenGL2PaintEngineEx* q; | 135 | QOpenGL2PaintEngineEx* q; |
136 | QOpenGLEngineShaderManager* shaderManager; | 136 | QOpenGLEngineShaderManager* shaderManager; |
137 | QOpenGLPaintDevice* device; | 137 | QOpenGLPaintDevice* device; |
@@ -153,5 +153,5 @@ index cd268cd..997bc35 100644 | |||
153 | } else { | 153 | } else { |
154 | if (m_vao.isCreated()) { | 154 | if (m_vao.isCreated()) { |
155 | -- | 155 | -- |
156 | 2.1.3 | 156 | 2.3.1 |
157 | 157 | ||
diff --git a/recipes-qt/qt5/qtbase/0013-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch b/recipes-qt/qt5/qtbase/0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch index 6ea42bc5..188ae157 100644 --- a/recipes-qt/qt5/qtbase/0013-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch +++ b/recipes-qt/qt5/qtbase/0010-Make-Qt5GuiConfigExtras.cmake-find-gl-es-include-dir.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f5df17e2a02cf67f3436b7fe640c6bf54ba93ad6 Mon Sep 17 00:00:00 2001 | 1 | From d6158c2cb6ce64af531246636c3b2adb35afeb72 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: Thu, 18 Dec 2014 13:41:09 +0100 | 3 | Date: Thu, 18 Dec 2014 13:41:09 +0100 |
4 | Subject: [PATCH] Make Qt5GuiConfigExtras.cmake find gl(es) include dir | 4 | Subject: [PATCH 10/13] Make Qt5GuiConfigExtras.cmake find gl(es) include dir |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -38,5 +38,5 @@ index 9a846d4..07869ef 100644 | |||
38 | if (NOT _qt5gui_OPENGL_INCLUDE_DIR) | 38 | if (NOT _qt5gui_OPENGL_INCLUDE_DIR) |
39 | message(FATAL_ERROR \"Failed to find \\\"$$CMAKE_GL_HEADER_NAME\\\" in \\\"${_GL_INCDIRS}\\\".\") | 39 | message(FATAL_ERROR \"Failed to find \\\"$$CMAKE_GL_HEADER_NAME\\\" in \\\"${_GL_INCDIRS}\\\".\") |
40 | -- | 40 | -- |
41 | 1.8.3.1 | 41 | 2.3.1 |
42 | 42 | ||
diff --git a/recipes-qt/qt5/qtbase/0011-Always-build-uic.patch b/recipes-qt/qt5/qtbase/0011-Always-build-uic.patch index 86bf90d7..b0870c85 100644 --- a/recipes-qt/qt5/qtbase/0011-Always-build-uic.patch +++ b/recipes-qt/qt5/qtbase/0011-Always-build-uic.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d48323aae1bee4b2398d61e1777815ffac15ccce Mon Sep 17 00:00:00 2001 | 1 | From fa0cf613bc9ef4de65de12791eedc337de85d911 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 11/12] Always build uic | 4 | Subject: [PATCH 11/13] Always build uic |
5 | 5 | ||
6 | Even if we are not building gui or widgets. This tool is needed later | 6 | Even if we are not building gui or widgets. This tool is needed later |
7 | as a native tool when compiling the target. | 7 | as a native tool when compiling the target. |
@@ -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 81f4fa5..74ec23d 100644 | 17 | index 83f7587..9dbcf70 100644 |
18 | --- a/src/src.pro | 18 | --- a/src/src.pro |
19 | +++ b/src/src.pro | 19 | +++ b/src/src.pro |
20 | @@ -162,7 +162,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent | 20 | @@ -163,7 +163,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent |
21 | } | 21 | } |
22 | } | 22 | } |
23 | } | 23 | } |
@@ -27,5 +27,5 @@ index 81f4fa5..74ec23d 100644 | |||
27 | nacl: SUBDIRS -= src_network src_testlib | 27 | nacl: SUBDIRS -= src_network src_testlib |
28 | 28 | ||
29 | -- | 29 | -- |
30 | 2.1.3 | 30 | 2.3.1 |
31 | 31 | ||
diff --git a/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch index 4d4291cf..874bc697 100644 --- a/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch +++ b/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From ee542556da221be99fa3344630b78529555be2bc Mon Sep 17 00:00:00 2001 | 1 | From 7943ec2256163f6049d442ff00f579a5cbff5acc Mon Sep 17 00:00:00 2001 |
2 | From: Michael Krelin <hacker@klever.net> | 2 | From: Michael Krelin <hacker@klever.net> |
3 | Date: Mon, 29 Oct 2012 20:07:49 -0700 | 3 | Date: Mon, 29 Oct 2012 20:07:49 -0700 |
4 | Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build | 4 | Subject: [PATCH 11/13] qmake: don't build it in configure, but allow to build |
5 | it 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 |
@@ -18,13 +18,18 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
18 | qmake/qmake.pri | 3 ++- | 18 | qmake/qmake.pri | 3 ++- |
19 | qmake/qmake.pro | 2 ++ | 19 | qmake/qmake.pro | 2 ++ |
20 | 3 files changed, 5 insertions(+), 2 deletions(-) | 20 | 3 files changed, 5 insertions(+), 2 deletions(-) |
21 | --- | ||
22 | configure | 2 +- | ||
23 | qmake/qmake.pri | 3 ++- | ||
24 | qmake/qmake.pro | 1 + | ||
25 | 3 files changed, 4 insertions(+), 2 deletions(-) | ||
21 | 26 | ||
22 | diff --git a/configure b/configure | 27 | diff --git a/configure b/configure |
23 | index 43be722..39516d2 100755 | 28 | index a40d471..8d15f59 100755 |
24 | --- a/configure | 29 | --- a/configure |
25 | +++ b/configure | 30 | +++ b/configure |
26 | @@ -3759,7 +3759,7 @@ setBootstrapVariable() | 31 | @@ -3724,7 +3724,7 @@ setBootstrapEvalVariable() |
27 | } | 32 | |
28 | 33 | ||
29 | # build qmake | 34 | # build qmake |
30 | -if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 35 | -if true; then ###[ '!' -f "$outpath/bin/qmake" ]; |
@@ -33,7 +38,7 @@ index 43be722..39516d2 100755 | |||
33 | 38 | ||
34 | mkdir -p "$outpath/qmake" || exit | 39 | mkdir -p "$outpath/qmake" || exit |
35 | diff --git a/qmake/qmake.pri b/qmake/qmake.pri | 40 | diff --git a/qmake/qmake.pri b/qmake/qmake.pri |
36 | index 57dcbb0..e2c5845 100644 | 41 | index 4de41d6..69982b7 100644 |
37 | --- a/qmake/qmake.pri | 42 | --- a/qmake/qmake.pri |
38 | +++ b/qmake/qmake.pri | 43 | +++ b/qmake/qmake.pri |
39 | @@ -82,7 +82,8 @@ bootstrap { #Qt code | 44 | @@ -82,7 +82,8 @@ bootstrap { #Qt code |
@@ -47,7 +52,7 @@ index 57dcbb0..e2c5845 100644 | |||
47 | HEADERS+= \ | 52 | HEADERS+= \ |
48 | qbitarray.h \ | 53 | qbitarray.h \ |
49 | diff --git a/qmake/qmake.pro b/qmake/qmake.pro | 54 | diff --git a/qmake/qmake.pro b/qmake/qmake.pro |
50 | index 89d6ea5..7c605b9 100644 | 55 | index 89d6ea5..0ff4a96 100644 |
51 | --- a/qmake/qmake.pro | 56 | --- a/qmake/qmake.pro |
52 | +++ b/qmake/qmake.pro | 57 | +++ b/qmake/qmake.pro |
53 | @@ -8,6 +8,7 @@ CONFIG -= qt | 58 | @@ -8,6 +8,7 @@ CONFIG -= qt |
@@ -59,5 +64,5 @@ index 89d6ea5..7c605b9 100644 | |||
59 | VPATH += \ | 64 | VPATH += \ |
60 | ../src/corelib/global \ | 65 | ../src/corelib/global \ |
61 | -- | 66 | -- |
62 | 2.1.3 | 67 | 2.3.1 |
63 | 68 | ||
diff --git a/recipes-qt/qt5/qtbase/0014-Add-external-hostbindir-option-native.patch b/recipes-qt/qt5/qtbase/0012-Add-external-hostbindir-option-for-native-sdk.patch index 08a1cbd3..06476cb8 100644 --- a/recipes-qt/qt5/qtbase/0014-Add-external-hostbindir-option-native.patch +++ b/recipes-qt/qt5/qtbase/0012-Add-external-hostbindir-option-for-native-sdk.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f2d51e50a7fbdf485696d1b8b2d29e64c729c76b Mon Sep 17 00:00:00 2001 | 1 | From 932cb18540fc4634e02d048cf9ab9e519ce0811d 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 03/11] Add -external-hostbindir option | 4 | Subject: [PATCH 12/13] Add -external-hostbindir option for native(sdk) |
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 |
@@ -20,42 +20,18 @@ Upstream-Status: Pending | |||
20 | Oswald) but in 5.2.0 I've noticed that he added something similar for | 20 | Oswald) but in 5.2.0 I've noticed that he added something similar for |
21 | android builds | 21 | android builds |
22 | 22 | ||
23 | Change-Id: I4f6e634bf0b2cb96065ee5c38b9cd8a224c3bd37 | ||
23 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 24 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
24 | Signed-off-by: Simon Busch <morphis@gravedo.de> | 25 | Signed-off-by: Simon Busch <morphis@gravedo.de> |
25 | Signed-off-by: Jonathan Liu <net147@gmail.com> | 26 | Signed-off-by: Jonathan Liu <net147@gmail.com> |
27 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
26 | --- | 28 | --- |
27 | qmake/property.cpp | 1 + | 29 | qmake/property.cpp | 1 + |
28 | tools/configure/configureapp.cpp | 8 ++++++++ | 30 | src/corelib/global/qlibraryinfo.cpp | 3 ++- |
29 | src/corelib/global/qlibraryinfo.cpp | 3 ++- | 31 | src/corelib/global/qlibraryinfo.h | 1 + |
30 | src/corelib/global/qlibraryinfo.h | 1 + | 32 | tools/configure/configureapp.cpp | 8 ++++++++ |
31 | 1 files changed, 50 insertions(+), 13 deletions(-) | 33 | 4 files changed, 12 insertions(+), 1 deletion(-) |
32 | 34 | ||
33 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp | ||
34 | index 92422c2..d0a62c8 100644 | ||
35 | --- a/tools/configure/configureapp.cpp | ||
36 | +++ b/tools/configure/configureapp.cpp | ||
37 | @@ -1191,6 +1191,13 @@ void Configure::parseCmdLine() | ||
38 | dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); | ||
39 | } | ||
40 | |||
41 | + else if (configCmdLine.at(i) == "-external-hostbindir") { | ||
42 | + ++i; | ||
43 | + if (i == argCount) | ||
44 | + break; | ||
45 | + dictionary[ "QT_EXTERNAL_HOST_BINS" ] = configCmdLine.at(i); | ||
46 | + } | ||
47 | + | ||
48 | else if (configCmdLine.at(i) == "-make-tool") { | ||
49 | ++i; | ||
50 | if (i == argCount) | ||
51 | @@ -3995,6 +4002,7 @@ void Configure::generateQConfigCpp() | ||
52 | << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl | ||
53 | << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl | ||
54 | << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl | ||
55 | + << " \"qt_ebinpath=" << formatPath(dictionary["QT_EXTERNAL_HOST_BINS"]) << "\"," << endl | ||
56 | << " \"qt_targspec=" << targSpec << "\"," << endl | ||
57 | << " \"qt_hostspec=" << hostSpec << "\"," << endl | ||
58 | << "#endif" << endl | ||
59 | diff --git a/qmake/property.cpp b/qmake/property.cpp | 35 | diff --git a/qmake/property.cpp b/qmake/property.cpp |
60 | index 051e056..50da6ed 100644 | 36 | index 051e056..50da6ed 100644 |
61 | --- a/qmake/property.cpp | 37 | --- a/qmake/property.cpp |
@@ -69,10 +45,10 @@ index 051e056..50da6ed 100644 | |||
69 | { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, | 45 | { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, |
70 | }; | 46 | }; |
71 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 47 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
72 | index d68c51b..7191159 100644 | 48 | index c418c5e..c8c4188 100644 |
73 | --- a/src/corelib/global/qlibraryinfo.cpp | 49 | --- a/src/corelib/global/qlibraryinfo.cpp |
74 | +++ b/src/corelib/global/qlibraryinfo.cpp | 50 | +++ b/src/corelib/global/qlibraryinfo.cpp |
75 | @@ -349,7 +349,7 @@ QLibraryInfo::isDebugBuild() | 51 | @@ -348,7 +348,7 @@ QLibraryInfo::isDebugBuild() |
76 | */ | 52 | */ |
77 | 53 | ||
78 | static const struct { | 54 | static const struct { |
@@ -81,7 +57,7 @@ index d68c51b..7191159 100644 | |||
81 | } qtConfEntries[] = { | 57 | } qtConfEntries[] = { |
82 | { "Prefix", "." }, | 58 | { "Prefix", "." }, |
83 | { "Documentation", "doc" }, // should be ${Data}/doc | 59 | { "Documentation", "doc" }, // should be ${Data}/doc |
84 | @@ -375,6 +375,7 @@ static const struct { | 60 | @@ -374,6 +374,7 @@ static const struct { |
85 | { "HostBinaries", "bin" }, | 61 | { "HostBinaries", "bin" }, |
86 | { "HostLibraries", "lib" }, | 62 | { "HostLibraries", "lib" }, |
87 | { "HostData", "." }, | 63 | { "HostData", "." }, |
@@ -101,6 +77,32 @@ index 543c4b3..a02e03a 100644 | |||
101 | TargetSpecPath, | 77 | TargetSpecPath, |
102 | HostSpecPath, | 78 | HostSpecPath, |
103 | LastHostPath = HostSpecPath, | 79 | LastHostPath = HostSpecPath, |
80 | diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp | ||
81 | index 6e9d4aa..0ca4daf 100644 | ||
82 | --- a/tools/configure/configureapp.cpp | ||
83 | +++ b/tools/configure/configureapp.cpp | ||
84 | @@ -1191,6 +1191,13 @@ void Configure::parseCmdLine() | ||
85 | dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); | ||
86 | } | ||
87 | |||
88 | + else if (configCmdLine.at(i) == "-external-hostbindir") { | ||
89 | + ++i; | ||
90 | + if (i == argCount) | ||
91 | + break; | ||
92 | + dictionary[ "QT_EXTERNAL_HOST_BINS" ] = configCmdLine.at(i); | ||
93 | + } | ||
94 | + | ||
95 | else if (configCmdLine.at(i) == "-make-tool") { | ||
96 | ++i; | ||
97 | if (i == argCount) | ||
98 | @@ -4004,6 +4011,7 @@ void Configure::generateQConfigCpp() | ||
99 | << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl | ||
100 | << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl | ||
101 | << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl | ||
102 | + << " \"qt_ebinpath=" << formatPath(dictionary["QT_EXTERNAL_HOST_BINS"]) << "\"," << endl | ||
103 | << " \"qt_targspec=" << targSpec << "\"," << endl | ||
104 | << " \"qt_hostspec=" << hostSpec << "\"," << endl | ||
105 | << "#endif" << endl | ||
104 | -- | 106 | -- |
105 | 2.1.3 | 107 | 2.3.1 |
106 | 108 | ||
diff --git a/recipes-qt/qt5/qtbase/0015-Set-paths-for-target-properly.patch b/recipes-qt/qt5/qtbase/0012-Set-paths-for-target-properly.patch index 28512f0b..671c6365 100644 --- a/recipes-qt/qt5/qtbase/0015-Set-paths-for-target-properly.patch +++ b/recipes-qt/qt5/qtbase/0012-Set-paths-for-target-properly.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d84b7386902e024a0cfe5a6689930e5548a60480 Mon Sep 17 00:00:00 2001 | 1 | From 62ec5bc2946911b2cd2f577d58f07f566d84c88d 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: Thu, 22 Jan 2015 16:09:35 +0100 | 3 | Date: Thu, 22 Jan 2015 16:09:35 +0100 |
4 | Subject: [PATCH] Set paths for target properly | 4 | Subject: [PATCH 12/13] Set paths for target properly |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -10,14 +10,14 @@ Upstream-Status: Inappropriate [OE specific] | |||
10 | 10 | ||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> |
12 | --- | 12 | --- |
13 | configure | 42 +++++++++++++++++++++--------------------- | 13 | configure | 43 +++++++++++++++++++++---------------------- |
14 | 1 file changed, 21 insertions(+), 21 deletions(-) | 14 | 1 file changed, 21 insertions(+), 22 deletions(-) |
15 | 15 | ||
16 | diff --git a/configure b/configure | 16 | diff --git a/configure b/configure |
17 | index 43be722..0e1a64a 100755 | 17 | index 8d15f59..bf2bac0 100755 |
18 | --- a/configure | 18 | --- a/configure |
19 | +++ b/configure | 19 | +++ b/configure |
20 | @@ -3634,28 +3634,27 @@ static const char qt_configure_prefix_path_strs[][512 + 12] = { | 20 | @@ -3639,28 +3639,27 @@ static const char qt_configure_prefix_path_strs[][512 + 12] = { |
21 | "qt_xmplpath=$QT_SYSROOT_EXAMPLES", | 21 | "qt_xmplpath=$QT_SYSROOT_EXAMPLES", |
22 | "qt_tstspath=$QT_SYSROOT_TESTS", | 22 | "qt_tstspath=$QT_SYSROOT_TESTS", |
23 | #else | 23 | #else |
@@ -68,5 +68,5 @@ index 43be722..0e1a64a 100755 | |||
68 | }; | 68 | }; |
69 | static const char qt_configure_settings_path_str[256 + 12] = "qt_stngpath=$QT_INSTALL_SETTINGS"; | 69 | static const char qt_configure_settings_path_str[256 + 12] = "qt_stngpath=$QT_INSTALL_SETTINGS"; |
70 | -- | 70 | -- |
71 | 1.8.3.1 | 71 | 2.3.1 |
72 | 72 | ||
diff --git a/recipes-qt/qt5/qtbase/0014-fix-build-of-egl-integration.patch b/recipes-qt/qt5/qtbase/0013-Fix-build-of-egl-integration.patch index f21e8207..1fa4aca4 100644 --- a/recipes-qt/qt5/qtbase/0014-fix-build-of-egl-integration.patch +++ b/recipes-qt/qt5/qtbase/0013-Fix-build-of-egl-integration.patch | |||
@@ -1,13 +1,25 @@ | |||
1 | commit f8c8c79029867a087c9a753269d82b808c16f047 | 1 | From 2cece4539990f9e7b0239681bd2fc2808aeb8dbc Mon Sep 17 00:00:00 2001 |
2 | Author: Stephan Binner <stephan.binner@basyskom.com> | 2 | From: Stephan Binner <stephan.binner@basyskom.com> |
3 | Date: Mon Feb 2 13:10:50 2015 +0100 | 3 | Date: Mon, 2 Feb 2015 13:10:50 +0100 |
4 | Subject: [PATCH 13/13] Fix build of egl integration | ||
4 | 5 | ||
5 | Fix build of egl integration | 6 | Add missing includes and reorder includes to avoid X defines breakage |
6 | 7 | ||
7 | Add missing includes and reorder includes to avoid X defines breakage | 8 | Upstream-Status: Backport from 5.4 branch https://codereview.qt-project.org/#/c/105116/ |
8 | 9 | ||
9 | Change-Id: Iaf95ae2488df3d3301436262ed79f7091b4be0a9 | 10 | Change-Id: Iaf95ae2488df3d3301436262ed79f7091b4be0a9 |
10 | Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 11 | Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> |
12 | Signed-off-by: Stephan Binner <stephan.binner@basyskom.com> | ||
13 | --- | ||
14 | .../eglconvenience/qeglplatformcontext_p.h | 1 + | ||
15 | .../eglconvenience/qeglplatformintegration_p.h | 2 +- | ||
16 | src/plugins/platforms/eglfs/qeglfscontext.cpp | 13 +++++++------ | ||
17 | src/plugins/platforms/eglfs/qeglfshooks_stub.cpp | 2 +- | ||
18 | src/plugins/platforms/eglfs/qeglfsintegration.cpp | 20 ++++++++++---------- | ||
19 | src/plugins/platforms/eglfs/qeglfsscreen.cpp | 4 +++- | ||
20 | src/plugins/platforms/eglfs/qeglfswindow.cpp | 6 ++++-- | ||
21 | .../platforms/minimalegl/qminimaleglwindow.cpp | 4 ++-- | ||
22 | 8 files changed, 29 insertions(+), 23 deletions(-) | ||
11 | 23 | ||
12 | diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext_p.h b/src/platformsupport/eglconvenience/qeglplatformcontext_p.h | 24 | diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext_p.h b/src/platformsupport/eglconvenience/qeglplatformcontext_p.h |
13 | index 7825c7b..0c10710 100644 | 25 | index 7825c7b..0c10710 100644 |
@@ -22,7 +34,7 @@ index 7825c7b..0c10710 100644 | |||
22 | #include <qpa/qplatformopenglcontext.h> | 34 | #include <qpa/qplatformopenglcontext.h> |
23 | #include <QtCore/QVariant> | 35 | #include <QtCore/QVariant> |
24 | diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 36 | diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h |
25 | index 4d7adce..2b5d5f5 100644 | 37 | index c9b6873..a0aab03 100644 |
26 | --- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 38 | --- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h |
27 | +++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 39 | +++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h |
28 | @@ -45,9 +45,9 @@ | 40 | @@ -45,9 +45,9 @@ |
@@ -35,7 +47,7 @@ index 4d7adce..2b5d5f5 100644 | |||
35 | -#include <QtCore/QVariant> | 47 | -#include <QtCore/QVariant> |
36 | #include <EGL/egl.h> | 48 | #include <EGL/egl.h> |
37 | 49 | ||
38 | QT_BEGIN_NAMESPACE | 50 | // Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/ |
39 | diff --git a/src/plugins/platforms/eglfs/qeglfscontext.cpp b/src/plugins/platforms/eglfs/qeglfscontext.cpp | 51 | diff --git a/src/plugins/platforms/eglfs/qeglfscontext.cpp b/src/plugins/platforms/eglfs/qeglfscontext.cpp |
40 | index 6216fa8..6470280 100644 | 52 | index 6216fa8..6470280 100644 |
41 | --- a/src/plugins/platforms/eglfs/qeglfscontext.cpp | 53 | --- a/src/plugins/platforms/eglfs/qeglfscontext.cpp |
@@ -139,7 +151,7 @@ index cd68540..bc93fe2 100644 | |||
139 | QT_BEGIN_NAMESPACE | 151 | QT_BEGIN_NAMESPACE |
140 | 152 | ||
141 | diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp | 153 | diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp |
142 | index f5839e0..39a3ef9 100644 | 154 | index 5ebde6d..2c05979 100644 |
143 | --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp | 155 | --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp |
144 | +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp | 156 | +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp |
145 | @@ -31,8 +31,7 @@ | 157 | @@ -31,8 +31,7 @@ |
@@ -179,3 +191,6 @@ index 906a130..d4bee2c 100644 | |||
179 | QT_BEGIN_NAMESPACE | 191 | QT_BEGIN_NAMESPACE |
180 | 192 | ||
181 | QMinimalEglWindow::QMinimalEglWindow(QWindow *w) | 193 | QMinimalEglWindow::QMinimalEglWindow(QWindow *w) |
194 | -- | ||
195 | 2.3.1 | ||
196 | |||
diff --git a/recipes-qt/qt5/qtbase/0012-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase/0013-configure-preserve-built-qmake-and-swap-with-native-.patch index 6a428ed2..fb897c90 100644 --- a/recipes-qt/qt5/qtbase/0012-configure-preserve-built-qmake-and-swap-with-native-.patch +++ b/recipes-qt/qt5/qtbase/0013-configure-preserve-built-qmake-and-swap-with-native-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 9089bf90632ffc983625816c5b0f2f2509ffc176 Mon Sep 17 00:00:00 2001 | 1 | From 137890aa64442866a861f0a9f028ee632f19cae4 Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Mon, 11 Nov 2013 20:22:34 -0500 | 3 | Date: Mon, 11 Nov 2013 20:22:34 -0500 |
4 | Subject: [PATCH 12/12] configure: preserve built qmake and swap with native | 4 | Subject: [PATCH 13/13] configure: preserve built qmake and swap with native |
5 | one | 5 | one |
6 | 6 | ||
7 | Let configure script build the real qmake, but right after it's built, swap | 7 | Let configure script build the real qmake, but right after it's built, swap |
@@ -13,7 +13,7 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com> | |||
13 | 1 file changed, 2 insertions(+) | 13 | 1 file changed, 2 insertions(+) |
14 | 14 | ||
15 | diff --git a/configure b/configure | 15 | diff --git a/configure b/configure |
16 | index bd43281..d331711 100755 | 16 | index a40d471..c007427 100755 |
17 | --- a/configure | 17 | --- a/configure |
18 | +++ b/configure | 18 | +++ b/configure |
19 | @@ -3874,6 +3874,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 19 | @@ -3874,6 +3874,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; |
@@ -26,5 +26,5 @@ index bd43281..d331711 100755 | |||
26 | echo "Running configuration tests..." | 26 | echo "Running configuration tests..." |
27 | 27 | ||
28 | -- | 28 | -- |
29 | 2.1.3 | 29 | 2.3.1 |
30 | 30 | ||
diff --git a/recipes-qt/qt5/qtbase_5.4.1.bb b/recipes-qt/qt5/qtbase_5.4.1.bb index d4232191..fed9df46 100644 --- a/recipes-qt/qt5/qtbase_5.4.1.bb +++ b/recipes-qt/qt5/qtbase_5.4.1.bb | |||
@@ -3,7 +3,7 @@ require ${PN}.inc | |||
3 | 3 | ||
4 | # This patch is in 5.4 branch but didn't make it into 5.4.1 release | 4 | # This patch is in 5.4 branch but didn't make it into 5.4.1 release |
5 | SRC_URI += "\ | 5 | SRC_URI += "\ |
6 | file://0014-fix-build-of-egl-integration.patch \ | 6 | file://0013-Fix-build-of-egl-integration.patch \ |
7 | " | 7 | " |
8 | 8 | ||
9 | SRC_URI[md5sum] = "9507825e558c980fed602de1f16ec7ae" | 9 | SRC_URI[md5sum] = "9507825e558c980fed602de1f16ec7ae" |
diff --git a/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch b/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch index c597bce3..478862cc 100644 --- a/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch +++ b/recipes-qt/qt5/qtdeclarative/0001-qmltestexample-fix-link.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fd077fa40e7750f5836a07dde4f9c65864f87c3f Mon Sep 17 00:00:00 2001 | 1 | From ccfd4907a2683fb0840fa4fd6a9d979395f4331c Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> | 2 | From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> |
3 | Date: Sun, 26 May 2013 14:26:19 +0200 | 3 | Date: Sun, 26 May 2013 14:26:19 +0200 |
4 | Subject: [PATCH] qmltestexample: fix link | 4 | Subject: [PATCH] qmltestexample: fix link |
@@ -36,7 +36,7 @@ index b5893c5..1b00e6c 100644 | |||
36 | macx: CONFIG -= app_bundle | 36 | macx: CONFIG -= app_bundle |
37 | 37 | ||
38 | diff --git a/tests/auto/qml/qjsengine/qjsengine.pro b/tests/auto/qml/qjsengine/qjsengine.pro | 38 | diff --git a/tests/auto/qml/qjsengine/qjsengine.pro b/tests/auto/qml/qjsengine/qjsengine.pro |
39 | index a62eb75..73b6917 100644 | 39 | index fc2452c..919710f 100644 |
40 | --- a/tests/auto/qml/qjsengine/qjsengine.pro | 40 | --- a/tests/auto/qml/qjsengine/qjsengine.pro |
41 | +++ b/tests/auto/qml/qjsengine/qjsengine.pro | 41 | +++ b/tests/auto/qml/qjsengine/qjsengine.pro |
42 | @@ -1,7 +1,7 @@ | 42 | @@ -1,7 +1,7 @@ |
@@ -47,7 +47,7 @@ index a62eb75..73b6917 100644 | |||
47 | +QT += qml qml-private widgets testlib gui-private quick | 47 | +QT += qml qml-private widgets testlib gui-private quick |
48 | macx:CONFIG -= app_bundle | 48 | macx:CONFIG -= app_bundle |
49 | SOURCES += tst_qjsengine.cpp | 49 | SOURCES += tst_qjsengine.cpp |
50 | 50 | RESOURCES += qjsengine.qrc | |
51 | diff --git a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro | 51 | diff --git a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro |
52 | index c6d442e..3181dcd 100644 | 52 | index c6d442e..3181dcd 100644 |
53 | --- a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro | 53 | --- a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro |
@@ -84,5 +84,5 @@ index 1bb913e..56f2dd5 100644 | |||
84 | 84 | ||
85 | load(qt_tool) | 85 | load(qt_tool) |
86 | -- | 86 | -- |
87 | 2.1.1 | 87 | 2.3.1 |
88 | 88 | ||
diff --git a/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch b/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch index f473f23f..1e45f2aa 100644 --- a/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch +++ b/recipes-qt/qt5/qtimageformats/0001-qtimageformats.pro-Make-the-dependencies-determinist.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 862ce82f7c0237b839539332c860e12c7d3c3e67 Mon Sep 17 00:00:00 2001 | 1 | From 706c5aec2b49c685abe5e1ad4d09674d55add789 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, 4 Aug 2014 19:19:05 +0200 | 3 | Date: Mon, 4 Aug 2014 19:19:05 +0200 |
4 | Subject: [PATCH] qtimageformats.pro: Make the dependencies deterministic | 4 | Subject: [PATCH] qtimageformats.pro: Make the dependencies deterministic |
@@ -27,5 +27,5 @@ index 8382e5c..63d13ce 100644 | |||
27 | 27 | ||
28 | load(qt_parts) | 28 | load(qt_parts) |
29 | -- | 29 | -- |
30 | 2.1.1 | 30 | 2.3.1 |
31 | 31 | ||
diff --git a/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch b/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch index 8c6c4fa8..f66e864f 100644 --- a/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch +++ b/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4af76880d63e8d392eb8add8b8999e3f5031675a Mon Sep 17 00:00:00 2001 | 1 | From 6a570205a17663e6adce9e5613eb7694fe2874dc Mon Sep 17 00:00:00 2001 |
2 | From: Yoann Lopes <yoann.lopes@digia.com> | 2 | From: Yoann Lopes <yoann.lopes@digia.com> |
3 | Date: Thu, 31 Oct 2013 15:06:30 +0100 | 3 | Date: Thu, 31 Oct 2013 15:06:30 +0100 |
4 | Subject: [PATCH 1/2] Initial porting effort to GStreamer 1.0. | 4 | Subject: [PATCH] Initial porting effort to GStreamer 1.0. |
5 | 5 | ||
6 | Imported from git@github.com:jhodapp/qtmultimedia.git | 6 | Imported from git@github.com:jhodapp/qtmultimedia.git |
7 | 7 | ||
@@ -38,7 +38,7 @@ Conflicts: | |||
38 | src/gsttools/qgstreamervideowindow.cpp | 79 +++++++- | 38 | src/gsttools/qgstreamervideowindow.cpp | 79 +++++++- |
39 | src/gsttools/qgstutils.cpp | 27 ++- | 39 | src/gsttools/qgstutils.cpp | 27 ++- |
40 | src/gsttools/qgstvideobuffer.cpp | 18 +- | 40 | src/gsttools/qgstvideobuffer.cpp | 18 +- |
41 | src/gsttools/qvideosurfacegstsink.cpp | 138 +++++++++++++- | 41 | src/gsttools/qvideosurfacegstsink.cpp | 136 +++++++++++++- |
42 | src/multimedia/gsttools_headers/qgstappsrc_p.h | 3 + | 42 | src/multimedia/gsttools_headers/qgstappsrc_p.h | 3 + |
43 | .../qgstreameraudioprobecontrol_p.h | 5 +- | 43 | .../qgstreameraudioprobecontrol_p.h | 5 +- |
44 | .../qgstreamervideoprobecontrol_p.h | 4 + | 44 | .../qgstreamervideoprobecontrol_p.h | 4 + |
@@ -58,7 +58,7 @@ Conflicts: | |||
58 | .../mediaplayer/qgstreamerplayerserviceplugin.cpp | 27 ++- | 58 | .../mediaplayer/qgstreamerplayerserviceplugin.cpp | 27 ++- |
59 | .../mediaplayer/qgstreamerplayersession.cpp | 154 ++++++++++++++-- | 59 | .../mediaplayer/qgstreamerplayersession.cpp | 154 ++++++++++++++-- |
60 | .../mediaplayer/qgstreamerplayersession.h | 9 + | 60 | .../mediaplayer/qgstreamerplayersession.h | 9 + |
61 | 36 files changed, 872 insertions(+), 130 deletions(-) | 61 | 36 files changed, 871 insertions(+), 129 deletions(-) |
62 | 62 | ||
63 | diff --git a/config.tests/gstreamer/gstreamer.pro b/config.tests/gstreamer/gstreamer.pro | 63 | diff --git a/config.tests/gstreamer/gstreamer.pro b/config.tests/gstreamer/gstreamer.pro |
64 | index 02a7e34..6b9843a 100644 | 64 | index 02a7e34..6b9843a 100644 |
@@ -1032,7 +1032,7 @@ index a373dcc..587b010 100644 | |||
1032 | 1032 | ||
1033 | if (caps) { | 1033 | if (caps) { |
1034 | diff --git a/src/gsttools/qgstutils.cpp b/src/gsttools/qgstutils.cpp | 1034 | diff --git a/src/gsttools/qgstutils.cpp b/src/gsttools/qgstutils.cpp |
1035 | index 556fc03..5ea2c59 100644 | 1035 | index 1281d3f..fe3fba0 100644 |
1036 | --- a/src/gsttools/qgstutils.cpp | 1036 | --- a/src/gsttools/qgstutils.cpp |
1037 | +++ b/src/gsttools/qgstutils.cpp | 1037 | +++ b/src/gsttools/qgstutils.cpp |
1038 | @@ -89,8 +89,13 @@ static void addTagToMap(const GstTagList *list, | 1038 | @@ -89,8 +89,13 @@ static void addTagToMap(const GstTagList *list, |
@@ -1083,7 +1083,7 @@ index 556fc03..5ea2c59 100644 | |||
1083 | 1083 | ||
1084 | /*! | 1084 | /*! |
1085 | Builds GstCaps for an audio format. | 1085 | Builds GstCaps for an audio format. |
1086 | @@ -579,7 +602,7 @@ QByteArray QGstUtils::cameraDriver(const QString &device, GstElementFactory *fac | 1086 | @@ -581,7 +604,7 @@ QByteArray QGstUtils::cameraDriver(const QString &device, GstElementFactory *fac |
1087 | 1087 | ||
1088 | void qt_gst_object_ref_sink(gpointer object) | 1088 | void qt_gst_object_ref_sink(gpointer object) |
1089 | { | 1089 | { |
@@ -1134,7 +1134,7 @@ index 18702ec..93f22f5 100644 | |||
1134 | } | 1134 | } |
1135 | 1135 | ||
1136 | diff --git a/src/gsttools/qvideosurfacegstsink.cpp b/src/gsttools/qvideosurfacegstsink.cpp | 1136 | diff --git a/src/gsttools/qvideosurfacegstsink.cpp b/src/gsttools/qvideosurfacegstsink.cpp |
1137 | index f3e2d88..a964e82 100644 | 1137 | index f3e2d88..94aaee7 100644 |
1138 | --- a/src/gsttools/qvideosurfacegstsink.cpp | 1138 | --- a/src/gsttools/qvideosurfacegstsink.cpp |
1139 | +++ b/src/gsttools/qvideosurfacegstsink.cpp | 1139 | +++ b/src/gsttools/qvideosurfacegstsink.cpp |
1140 | @@ -43,7 +43,11 @@ | 1140 | @@ -43,7 +43,11 @@ |
@@ -1317,11 +1317,10 @@ index f3e2d88..a964e82 100644 | |||
1317 | "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, INT_MAX, 1, | 1317 | "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, INT_MAX, 1, |
1318 | "width" , GST_TYPE_INT_RANGE, 1, INT_MAX, | 1318 | "width" , GST_TYPE_INT_RANGE, 1, INT_MAX, |
1319 | "height" , GST_TYPE_INT_RANGE, 1, INT_MAX, | 1319 | "height" , GST_TYPE_INT_RANGE, 1, INT_MAX, |
1320 | - "format" , GST_TYPE_FOURCC, qt_yuvColorLookup[index].fourcc, | ||
1321 | +#if GST_CHECK_VERSION(1,0,0) | 1320 | +#if GST_CHECK_VERSION(1,0,0) |
1322 | + "format" , G_TYPE_STRING, gst_video_format_to_string(qt_yuvColorLookup[index].vfmt), | 1321 | + "format" , G_TYPE_STRING, gst_video_format_to_string(qt_yuvColorLookup[index].vfmt), |
1323 | +#else | 1322 | +#else |
1324 | + "format" , GST_TYPE_FOURCC, qt_yuvColorLookup[index].fourcc, | 1323 | "format" , GST_TYPE_FOURCC, qt_yuvColorLookup[index].fourcc, |
1325 | +#endif | 1324 | +#endif |
1326 | NULL)); | 1325 | NULL)); |
1327 | continue; | 1326 | continue; |
@@ -1689,10 +1688,10 @@ index f944a60..72d1cf1 100644 | |||
1689 | if (m_duration != duration) { | 1688 | if (m_duration != duration) { |
1690 | m_duration = duration; | 1689 | m_duration = duration; |
1691 | diff --git a/src/plugins/gstreamer/camerabin/camerabinsession.cpp b/src/plugins/gstreamer/camerabin/camerabinsession.cpp | 1690 | diff --git a/src/plugins/gstreamer/camerabin/camerabinsession.cpp b/src/plugins/gstreamer/camerabin/camerabinsession.cpp |
1692 | index a4038c5..9d1fdfa 100644 | 1691 | index 1ed663b..e0c6b50 100644 |
1693 | --- a/src/plugins/gstreamer/camerabin/camerabinsession.cpp | 1692 | --- a/src/plugins/gstreamer/camerabin/camerabinsession.cpp |
1694 | +++ b/src/plugins/gstreamer/camerabin/camerabinsession.cpp | 1693 | +++ b/src/plugins/gstreamer/camerabin/camerabinsession.cpp |
1695 | @@ -760,7 +760,11 @@ qint64 CameraBinSession::duration() const | 1694 | @@ -796,7 +796,11 @@ qint64 CameraBinSession::duration() const |
1696 | if (fileSink) { | 1695 | if (fileSink) { |
1697 | GstFormat format = GST_FORMAT_TIME; | 1696 | GstFormat format = GST_FORMAT_TIME; |
1698 | gint64 duration = 0; | 1697 | gint64 duration = 0; |
@@ -1704,7 +1703,7 @@ index a4038c5..9d1fdfa 100644 | |||
1704 | gst_object_unref(GST_OBJECT(fileSink)); | 1703 | gst_object_unref(GST_OBJECT(fileSink)); |
1705 | if (ret) | 1704 | if (ret) |
1706 | return duration / 1000000; | 1705 | return duration / 1000000; |
1707 | @@ -797,8 +801,13 @@ void CameraBinSession::setMetaData(const QMap<QByteArray, QVariant> &data) | 1706 | @@ -833,8 +837,13 @@ void CameraBinSession::setMetaData(const QMap<QByteArray, QVariant> &data) |
1708 | 1707 | ||
1709 | if (m_camerabin) { | 1708 | if (m_camerabin) { |
1710 | GstIterator *elements = gst_bin_iterate_all_by_interface(GST_BIN(m_camerabin), GST_TYPE_TAG_SETTER); | 1709 | GstIterator *elements = gst_bin_iterate_all_by_interface(GST_BIN(m_camerabin), GST_TYPE_TAG_SETTER); |
@@ -1718,7 +1717,7 @@ index a4038c5..9d1fdfa 100644 | |||
1718 | gst_tag_setter_reset_tags(GST_TAG_SETTER(element)); | 1717 | gst_tag_setter_reset_tags(GST_TAG_SETTER(element)); |
1719 | 1718 | ||
1720 | QMapIterator<QByteArray, QVariant> it(data); | 1719 | QMapIterator<QByteArray, QVariant> it(data); |
1721 | @@ -859,7 +868,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message) | 1720 | @@ -895,7 +904,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message) |
1722 | 1721 | ||
1723 | if (gm && GST_MESSAGE_TYPE(gm) == GST_MESSAGE_ELEMENT) { | 1722 | if (gm && GST_MESSAGE_TYPE(gm) == GST_MESSAGE_ELEMENT) { |
1724 | if (m_captureMode == QCamera::CaptureStillImage && | 1723 | if (m_captureMode == QCamera::CaptureStillImage && |
@@ -1730,7 +1729,7 @@ index a4038c5..9d1fdfa 100644 | |||
1730 | st = gst_message_get_structure(gm); | 1729 | st = gst_message_get_structure(gm); |
1731 | 1730 | ||
1732 | if (gst_structure_has_field_typed(st, "buffer", GST_TYPE_BUFFER)) { | 1731 | if (gst_structure_has_field_typed(st, "buffer", GST_TYPE_BUFFER)) { |
1733 | @@ -869,7 +882,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message) | 1732 | @@ -905,7 +918,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message) |
1734 | 1733 | ||
1735 | QImage img; | 1734 | QImage img; |
1736 | 1735 | ||
@@ -1742,7 +1741,7 @@ index a4038c5..9d1fdfa 100644 | |||
1742 | if (caps) { | 1741 | if (caps) { |
1743 | GstStructure *structure = gst_caps_get_structure(caps, 0); | 1742 | GstStructure *structure = gst_caps_get_structure(caps, 0); |
1744 | gint width = 0; | 1743 | gint width = 0; |
1745 | @@ -1142,7 +1159,11 @@ QList< QPair<int,int> > CameraBinSession::supportedFrameRates(const QSize &frame | 1744 | @@ -1178,7 +1195,11 @@ QList< QPair<int,int> > CameraBinSession::supportedFrameRates(const QSize &frame |
1746 | gst_structure_remove_all_fields(structure); | 1745 | gst_structure_remove_all_fields(structure); |
1747 | gst_structure_set_value(structure, "framerate", &rate); | 1746 | gst_structure_set_value(structure, "framerate", &rate); |
1748 | } | 1747 | } |
@@ -1754,7 +1753,7 @@ index a4038c5..9d1fdfa 100644 | |||
1754 | 1753 | ||
1755 | 1754 | ||
1756 | for (uint i=0; i<gst_caps_get_size(caps); i++) { | 1755 | for (uint i=0; i<gst_caps_get_size(caps); i++) { |
1757 | @@ -1262,7 +1283,11 @@ QList<QSize> CameraBinSession::supportedResolutions(QPair<int,int> rate, | 1756 | @@ -1298,7 +1319,11 @@ QList<QSize> CameraBinSession::supportedResolutions(QPair<int,int> rate, |
1758 | gst_structure_set_value(structure, "width", &w); | 1757 | gst_structure_set_value(structure, "width", &w); |
1759 | gst_structure_set_value(structure, "height", &h); | 1758 | gst_structure_set_value(structure, "height", &h); |
1760 | } | 1759 | } |
@@ -2365,5 +2364,5 @@ index f2e760a..50bda3d 100644 | |||
2365 | 2364 | ||
2366 | QT_END_NAMESPACE | 2365 | QT_END_NAMESPACE |
2367 | -- | 2366 | -- |
2368 | 2.1.3 | 2367 | 2.3.1 |
2369 | 2368 | ||
diff --git a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch index e4ad2210..f2e5339b 100644 --- a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch +++ b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ff3f521648906d07ddc1e1aecaddadb95b0314f3 Mon Sep 17 00:00:00 2001 | 1 | From 80d7d1844e6e088bde4c83881ea38a52a7e608c2 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: Wed, 11 Sep 2013 18:30:08 +0200 | 3 | Date: Wed, 11 Sep 2013 18:30:08 +0200 |
4 | Subject: [PATCH 1/3] Allow to build only lrelease + lupdate + lconvert | 4 | Subject: [PATCH 1/3] Allow to build only lrelease + lupdate + lconvert |
@@ -151,5 +151,5 @@ index df240e3..27ee687 100644 | |||
151 | installed_cmake.depends = cmake | 151 | installed_cmake.depends = cmake |
152 | 152 | ||
153 | -- | 153 | -- |
154 | 2.1.3 | 154 | 2.3.1 |
155 | 155 | ||
diff --git a/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch b/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch index 5cc317ce..c6cf4a6d 100644 --- a/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch +++ b/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 20dd8d70eb3db17173eb3965e757711cc694de2a Mon Sep 17 00:00:00 2001 | 1 | From 21163294f5f1ae633db63c5d27b458ba189dcc16 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: Fri, 17 Jan 2014 14:33:19 +0100 | 3 | Date: Fri, 17 Jan 2014 14:33:19 +0100 |
4 | Subject: [PATCH 2/3] assistant/help: fix linking of dependent libraries | 4 | Subject: [PATCH 2/3] assistant/help: fix linking of dependent libraries |
@@ -28,5 +28,5 @@ index 168d23d..a9c3b59 100644 | |||
28 | + | 28 | + |
29 | +LIBS += -lQt5CLucene | 29 | +LIBS += -lQt5CLucene |
30 | -- | 30 | -- |
31 | 2.1.3 | 31 | 2.3.1 |
32 | 32 | ||
diff --git a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch index bf5957bc..2e3349ba 100644 --- a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch +++ b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1d8bf41acc2235528f1d08505cf2dc8afd793aef Mon Sep 17 00:00:00 2001 | 1 | From e3aba30a9cece54dd6a7edfcb39cbb1805b3dcac 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 3/3] add noqtwebkit configuration | 4 | Subject: [PATCH 3/3] 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 5f96377..71acdfc 100644 | 19 | index 6e82b07..56df78c 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 @@ |
@@ -25,7 +25,7 @@ index 5f96377..71acdfc 100644 | |||
25 | QT += webkitwidgets | 25 | QT += webkitwidgets |
26 | } else { | 26 | } else { |
27 | DEFINES += QT_NO_WEBKIT | 27 | DEFINES += QT_NO_WEBKIT |
28 | @@ -72,7 +72,7 @@ SOURCES += aboutdialog.cpp \ | 28 | @@ -71,7 +71,7 @@ SOURCES += aboutdialog.cpp \ |
29 | openpageswidget.cpp \ | 29 | openpageswidget.cpp \ |
30 | openpagesmanager.cpp \ | 30 | openpagesmanager.cpp \ |
31 | openpagesswitcher.cpp | 31 | openpagesswitcher.cpp |
@@ -47,5 +47,5 @@ index 500a153..b60fa2d 100644 | |||
47 | win32: qtHaveModule(axcontainer): SUBDIRS += activeqt | 47 | win32: qtHaveModule(axcontainer): SUBDIRS += activeqt |
48 | qtHaveModule(quickwidgets): SUBDIRS += qquickwidget | 48 | qtHaveModule(quickwidgets): SUBDIRS += qquickwidget |
49 | -- | 49 | -- |
50 | 2.1.3 | 50 | 2.3.1 |
51 | 51 | ||
diff --git a/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch b/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch index ae3d998f..bcaf949e 100644 --- a/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch +++ b/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 99c49a3304c1d08d164e0df252ca85f426381bb7 Mon Sep 17 00:00:00 2001 | 1 | From 9a9bc002354966b757bed13582f0bb927c3e7cc8 Mon Sep 17 00:00:00 2001 |
2 | From: Simon Busch <morphis@gravedo.de> | 2 | From: Simon Busch <morphis@gravedo.de> |
3 | Date: Fri, 19 Jul 2013 13:35:14 +0000 | 3 | Date: Fri, 19 Jul 2013 13:35:14 +0000 |
4 | Subject: [PATCH] Install the qtwaylandscanner tool to the native side | 4 | Subject: [PATCH] Install the qtwaylandscanner tool to the native side |
@@ -28,5 +28,5 @@ index ac2d07b..7a46a24 100644 | |||
28 | +target.path = $$[QT_HOST_BINS] | 28 | +target.path = $$[QT_HOST_BINS] |
29 | +INSTALLS += target | 29 | +INSTALLS += target |
30 | -- | 30 | -- |
31 | 2.1.3 | 31 | 2.3.1 |
32 | 32 | ||
diff --git a/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch b/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch index 664fa3f9..a55db122 100644 --- a/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch +++ b/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cd1e17e8c6082fe8578d64baaff55f1f00c0f7a0 Mon Sep 17 00:00:00 2001 | 1 | From c4876f42d841db36197e5cb8a84c70df40a0f21e 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, 22 Feb 2014 17:47:44 +0100 | 3 | Date: Sat, 22 Feb 2014 17:47:44 +0100 |
4 | Subject: [PATCH] examples/wayland: include server-buffer only when building | 4 | Subject: [PATCH] examples/wayland: include server-buffer only when building |
@@ -27,5 +27,5 @@ index d633fb9..643c7cd 100644 | |||
27 | + } | 27 | + } |
28 | } | 28 | } |
29 | -- | 29 | -- |
30 | 2.1.3 | 30 | 2.3.1 |
31 | 31 | ||
diff --git a/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch b/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch index 34d9622e..e6d9199c 100644 --- a/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch +++ b/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 50ab1eaf41445459422ef1fd4070ee158ea55d1c Mon Sep 17 00:00:00 2001 | 1 | From 71c988d599f624aa78772f9d68aa637d420e69c2 Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Tue, 8 Oct 2013 00:18:10 -0400 | 3 | Date: Tue, 8 Oct 2013 00:18:10 -0400 |
4 | Subject: [PATCH] qtwebkit-examples: enable building examples by default | 4 | Subject: [PATCH] qtwebkit-examples: enable building examples by default |
@@ -25,5 +25,5 @@ index 3fcecf1..2da8a36 100644 | |||
25 | -SUBDIRS += doc | 25 | -SUBDIRS += doc |
26 | +SUBDIRS += doc examples | 26 | +SUBDIRS += doc examples |
27 | -- | 27 | -- |
28 | 1.8.3.2 | 28 | 2.3.1 |
29 | 29 | ||
diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc index 9ea44b61..a575d86d 100644 --- a/recipes-qt/qt5/qtwebkit.inc +++ b/recipes-qt/qt5/qtwebkit.inc | |||
@@ -10,7 +10,7 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt leveld | |||
10 | 10 | ||
11 | SRC_URI += "\ | 11 | SRC_URI += "\ |
12 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ | 12 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ |
13 | file://0002-qtwebkit-fix-textrel-x86.patch \ | 13 | file://0002-Remove-TEXTREL-tag-in-x86.patch \ |
14 | " | 14 | " |
15 | 15 | ||
16 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel" | 16 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel" |
diff --git a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch index 9324da9a..f1b9bdb7 100644 --- a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch +++ b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From fe714df9641286e3f005e0021e1c6462fb0b061e Mon Sep 17 00:00:00 2001 | 1 | From 97d4af4ea8708829d6df276ae741c2076cb472e8 Mon Sep 17 00:00:00 2001 |
2 | From: Trevor Woerner <trevor.woerner@linaro.org> | 2 | From: Trevor Woerner <trevor.woerner@linaro.org> |
3 | Date: Fri, 7 Feb 2014 04:07:17 +0100 | 3 | Date: Fri, 7 Feb 2014 04:07:17 +0100 |
4 | Subject: [PATCH] qtwebkit: fix QA issue (bad RPATH) | 4 | Subject: [PATCH 1/2] qtwebkit: fix QA issue (bad RPATH) |
5 | 5 | ||
6 | Building qtwebkit causes a QA issue such that QtWebPluginProcess and | 6 | Building qtwebkit causes a QA issue such that QtWebPluginProcess and |
7 | QtWebProcess contain bad RPATHs which point into the build location. This fix | 7 | QtWebProcess contain bad RPATHs which point into the build location. This fix |
@@ -9,21 +9,22 @@ adds a patch to not include the rpath.prf which causes this problem. | |||
9 | 9 | ||
10 | Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> | 10 | Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> |
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
12 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
13 | --- | 12 | --- |
14 | Tools/qmake/mkspecs/features/unix/default_post.prf | 2 -- | 13 | Tools/qmake/mkspecs/features/unix/default_post.prf | 1 - |
15 | 1 file changed, 2 deletions(-) | 14 | 1 file changed, 1 deletion(-) |
16 | 15 | ||
17 | diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf | 16 | diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf |
18 | index 9c52406..7ece013 100644 | 17 | index fd66af6..ef754c3 100644 |
19 | --- a/Tools/qmake/mkspecs/features/unix/default_post.prf | 18 | --- a/Tools/qmake/mkspecs/features/unix/default_post.prf |
20 | +++ b/Tools/qmake/mkspecs/features/unix/default_post.prf | 19 | +++ b/Tools/qmake/mkspecs/features/unix/default_post.prf |
21 | @@ -59,8 +59,6 @@ linux-*g++* { | 20 | @@ -61,7 +61,6 @@ linux-*g++* { |
22 | } | 21 | } |
23 | } | 22 | } |
24 | 23 | ||
25 | -contains(TEMPLATE, app): CONFIG += rpath | 24 | -contains(TEMPLATE, app): CONFIG += rpath |
26 | - | 25 | |
27 | CONFIG(debug, debug|release)|force_debug_info { | 26 | CONFIG(debug, debug|release)|force_debug_info { |
28 | # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase. | 27 | # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase. |
29 | !force_static_libs_as_shared:config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory | 28 | -- |
29 | 2.3.1 | ||
30 | |||
diff --git a/recipes-qt/qt5/qtwebkit/0002-qtwebkit-fix-textrel-x86.patch b/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch index e5f1538d..64bfa3e7 100644 --- a/recipes-qt/qt5/qtwebkit/0002-qtwebkit-fix-textrel-x86.patch +++ b/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From ecb13fa1c9fa45b7e307232b24331c040c88330b Mon Sep 17 00:00:00 2001 | ||
2 | From: Magnus Granberg <zorry@gentoo.org> | ||
3 | Date: Fri, 27 Feb 2015 11:55:09 +0100 | ||
4 | Subject: [PATCH 2/2] Remove TEXTREL tag in x86 | ||
5 | |||
1 | Fix textrel QA warnings when building qtwebkit for x86: | 6 | Fix textrel QA warnings when building qtwebkit for x86: |
2 | 7 | ||
3 | WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel] | 8 | WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel] |
@@ -14,27 +19,17 @@ part of qtwebkit yet ( https://bugs.webkit.org/show_bug.cgi?id=99683 ). | |||
14 | Upstream status [webkit] : backport | 19 | Upstream status [webkit] : backport |
15 | Upstream status [qtwebkit] : unclear | 20 | Upstream status [qtwebkit] : unclear |
16 | 21 | ||
17 | |||
18 | From: Magnus Granberg <zorry@gentoo.org> | ||
19 | Subject: Remove TEXTREL tag in x86 | ||
20 | Bug: https://bugs.webkit.org/show_bug.cgi?id=70610 | 22 | Bug: https://bugs.webkit.org/show_bug.cgi?id=70610 |
21 | Index: webkitgtk/Source/WTF/wtf/InlineASM.h | 23 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
22 | =================================================================== | 24 | --- |
23 | --- webkitgtk.orig/Source/WTF/wtf/InlineASM.h | 25 | Source/JavaScriptCore/jit/ThunkGenerators.cpp | 24 ++++++++++++++++++++++++ |
24 | +++ webkitgtk/Source/WTF/wtf/InlineASM.h | 26 | Source/WTF/wtf/InlineASM.h | 2 ++ |
25 | @@ -46,6 +46,8 @@ | 27 | 2 files changed, 26 insertions(+) |
26 | #define GLOBAL_REFERENCE(name) #name "@plt" | 28 | |
27 | #elif CPU(X86) && COMPILER(MINGW) | 29 | diff --git a/Source/JavaScriptCore/jit/ThunkGenerators.cpp b/Source/JavaScriptCore/jit/ThunkGenerators.cpp |
28 | #define GLOBAL_REFERENCE(name) "@" #name "@4" | 30 | index 9684df2..8af82d8 100644 |
29 | +#elif OS(LINUX) && CPU(X86) && defined(__PIC__) | 31 | --- a/Source/JavaScriptCore/jit/ThunkGenerators.cpp |
30 | +#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt" | 32 | +++ b/Source/JavaScriptCore/jit/ThunkGenerators.cpp |
31 | #else | ||
32 | #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) | ||
33 | #endif | ||
34 | Index: webkitgtk/Source/JavaScriptCore/jit/ThunkGenerators.cpp | ||
35 | =================================================================== | ||
36 | --- webkitgtk.orig/Source/JavaScriptCore/jit/ThunkGenerators.cpp | ||
37 | +++ webkitgtk/Source/JavaScriptCore/jit/ThunkGenerators.cpp | ||
38 | @@ -524,6 +524,30 @@ double jsRound(double d) | 33 | @@ -524,6 +524,30 @@ double jsRound(double d) |
39 | } \ | 34 | } \ |
40 | static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk; | 35 | static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk; |
@@ -66,3 +61,19 @@ Index: webkitgtk/Source/JavaScriptCore/jit/ThunkGenerators.cpp | |||
66 | #elif CPU(X86) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX)) | 61 | #elif CPU(X86) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX)) |
67 | #define defineUnaryDoubleOpWrapper(function) \ | 62 | #define defineUnaryDoubleOpWrapper(function) \ |
68 | asm( \ | 63 | asm( \ |
64 | diff --git a/Source/WTF/wtf/InlineASM.h b/Source/WTF/wtf/InlineASM.h | ||
65 | index 0a2fe78..2dc40ef 100644 | ||
66 | --- a/Source/WTF/wtf/InlineASM.h | ||
67 | +++ b/Source/WTF/wtf/InlineASM.h | ||
68 | @@ -46,6 +46,8 @@ | ||
69 | #define GLOBAL_REFERENCE(name) #name "@plt" | ||
70 | #elif CPU(X86) && COMPILER(MINGW) | ||
71 | #define GLOBAL_REFERENCE(name) "@" #name "@4" | ||
72 | +#elif OS(LINUX) && CPU(X86) && defined(__PIC__) | ||
73 | +#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt" | ||
74 | #else | ||
75 | #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) | ||
76 | #endif | ||
77 | -- | ||
78 | 2.3.1 | ||
79 | |||