diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase')
14 files changed, 58 insertions, 130 deletions
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 568d2a40..e67df401 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From de9a457dacd9388e8ef145fce9cf4e1e1da6468b Mon Sep 17 00:00:00 2001 | 1 | From 566de5f3f4dc14bae25a1b77eb6859c820447a32 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/10] Add linux-oe-g++ platform | 4 | Subject: [PATCH 01/10] Add linux-oe-g++ platform |
@@ -52,7 +52,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
52 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 52 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
53 | 53 | ||
54 | diff --git a/configure b/configure | 54 | diff --git a/configure b/configure |
55 | index 8a4c89e..dfbb111 100755 | 55 | index cea62fb..e1929e7 100755 |
56 | --- a/configure | 56 | --- a/configure |
57 | +++ b/configure | 57 | +++ b/configure |
58 | @@ -342,6 +342,16 @@ getQMakeConf() | 58 | @@ -342,6 +342,16 @@ getQMakeConf() |
@@ -120,7 +120,7 @@ index 8a4c89e..dfbb111 100755 | |||
120 | fi'` | 120 | fi'` |
121 | eval "$cmd" | 121 | eval "$cmd" |
122 | done | 122 | done |
123 | @@ -3337,7 +3347,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then | 123 | @@ -3350,7 +3360,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then |
124 | [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no | 124 | [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no |
125 | fi | 125 | fi |
126 | 126 | ||
@@ -129,7 +129,7 @@ index 8a4c89e..dfbb111 100755 | |||
129 | 129 | ||
130 | TEST_COMPILER=$QMAKE_CONF_COMPILER | 130 | TEST_COMPILER=$QMAKE_CONF_COMPILER |
131 | 131 | ||
132 | @@ -3394,7 +3404,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then | 132 | @@ -3407,7 +3417,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then |
133 | exit 1 | 133 | exit 1 |
134 | fi | 134 | fi |
135 | fi | 135 | fi |
@@ -138,7 +138,7 @@ index 8a4c89e..dfbb111 100755 | |||
138 | 138 | ||
139 | GCC_MACHINE_DUMP= | 139 | GCC_MACHINE_DUMP= |
140 | case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac | 140 | case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac |
141 | @@ -3896,6 +3906,14 @@ setBootstrapVariable() | 141 | @@ -3909,6 +3919,14 @@ setBootstrapVariable() |
142 | getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" | 142 | getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" |
143 | } | 143 | } |
144 | 144 | ||
@@ -153,7 +153,7 @@ index 8a4c89e..dfbb111 100755 | |||
153 | # build qmake | 153 | # build qmake |
154 | if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 154 | if true; then ###[ '!' -f "$outpath/bin/qmake" ]; |
155 | echo "Creating qmake..." | 155 | echo "Creating qmake..." |
156 | @@ -3934,14 +3952,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 156 | @@ -3947,14 +3965,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; |
157 | fi | 157 | fi |
158 | 158 | ||
159 | [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM= | 159 | [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM= |
@@ -348,5 +348,5 @@ index 0000000..dd12003 | |||
348 | + | 348 | + |
349 | +#endif // QPLATFORMDEFS_H | 349 | +#endif // QPLATFORMDEFS_H |
350 | -- | 350 | -- |
351 | 2.5.0 | 351 | 2.5.3 |
352 | 352 | ||
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 57275176..800d42a8 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,4 +1,4 @@ | |||
1 | From 7ca620bb9f03ddc8536ac3c45b485cc83603f1c8 Mon Sep 17 00:00:00 2001 | 1 | From 9e987abf08c5841fcce3331aceec51e00a26dcc8 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/10] qlibraryinfo: allow to set qt.conf from the outside | 4 | Subject: [PATCH 02/10] qlibraryinfo: allow to set qt.conf from the outside |
@@ -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 | ||
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 2912e68..f663c88 100644 | 22 | index 0cfcc4e..c3b5c2d 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 | @@ -157,7 +157,10 @@ void QLibrarySettings::load() | 25 | @@ -157,7 +157,10 @@ void QLibrarySettings::load() |
@@ -35,5 +35,5 @@ index 2912e68..f663c88 100644 | |||
35 | return new QSettings(qtconfig, QSettings::IniFormat); | 35 | return new QSettings(qtconfig, QSettings::IniFormat); |
36 | #ifdef QT_BUILD_QMAKE | 36 | #ifdef QT_BUILD_QMAKE |
37 | -- | 37 | -- |
38 | 2.5.0 | 38 | 2.5.3 |
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 c44611d5..de8e1a4d 100644 --- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch +++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0ac23b38794bd4580428e11b2cf1c88eb7f410f3 Mon Sep 17 00:00:00 2001 | 1 | From 90f3f8f59dd23f67e14c9988c2f4449a31762752 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/10] Add -external-hostbindir option | 4 | Subject: [PATCH 03/10] Add -external-hostbindir option |
@@ -37,10 +37,10 @@ Conflicts: | |||
37 | 7 files changed, 37 insertions(+), 12 deletions(-) | 37 | 7 files changed, 37 insertions(+), 12 deletions(-) |
38 | 38 | ||
39 | diff --git a/configure b/configure | 39 | diff --git a/configure b/configure |
40 | index dfbb111..548dd0d 100755 | 40 | index e1929e7..a757ce5 100755 |
41 | --- a/configure | 41 | --- a/configure |
42 | +++ b/configure | 42 | +++ b/configure |
43 | @@ -806,6 +806,7 @@ QT_HOST_BINS= | 43 | @@ -809,6 +809,7 @@ QT_HOST_BINS= |
44 | QT_HOST_LIBS= | 44 | QT_HOST_LIBS= |
45 | QT_HOST_DATA= | 45 | QT_HOST_DATA= |
46 | QT_EXT_PREFIX= | 46 | QT_EXT_PREFIX= |
@@ -48,7 +48,7 @@ index dfbb111..548dd0d 100755 | |||
48 | 48 | ||
49 | #flags for SQL drivers | 49 | #flags for SQL drivers |
50 | QT_CFLAGS_PSQL= | 50 | QT_CFLAGS_PSQL= |
51 | @@ -925,6 +926,7 @@ while [ "$#" -gt 0 ]; do | 51 | @@ -928,6 +929,7 @@ while [ "$#" -gt 0 ]; do |
52 | -testsdir| \ | 52 | -testsdir| \ |
53 | -hostdatadir| \ | 53 | -hostdatadir| \ |
54 | -hostbindir| \ | 54 | -hostbindir| \ |
@@ -56,7 +56,7 @@ index dfbb111..548dd0d 100755 | |||
56 | -hostlibdir| \ | 56 | -hostlibdir| \ |
57 | -extprefix| \ | 57 | -extprefix| \ |
58 | -sysroot| \ | 58 | -sysroot| \ |
59 | @@ -1154,6 +1156,9 @@ while [ "$#" -gt 0 ]; do | 59 | @@ -1157,6 +1159,9 @@ while [ "$#" -gt 0 ]; do |
60 | extprefix) | 60 | extprefix) |
61 | QT_EXT_PREFIX="$VAL" | 61 | QT_EXT_PREFIX="$VAL" |
62 | ;; | 62 | ;; |
@@ -66,7 +66,7 @@ index dfbb111..548dd0d 100755 | |||
66 | pkg-config) | 66 | pkg-config) |
67 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | 67 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then |
68 | CFG_PKGCONFIG="$VAL" | 68 | CFG_PKGCONFIG="$VAL" |
69 | @@ -2380,6 +2385,10 @@ Installation options: | 69 | @@ -2383,6 +2388,10 @@ Installation options: |
70 | -hostdatadir <dir> . Data used by qmake will be installed to <dir> | 70 | -hostdatadir <dir> . Data used by qmake will be installed to <dir> |
71 | (default HOSTPREFIX) | 71 | (default HOSTPREFIX) |
72 | 72 | ||
@@ -77,7 +77,7 @@ index dfbb111..548dd0d 100755 | |||
77 | Configure options: | 77 | Configure options: |
78 | 78 | ||
79 | The defaults (*) are usually acceptable. A plus (+) denotes a default value | 79 | The defaults (*) are usually acceptable. A plus (+) denotes a default value |
80 | @@ -3097,6 +3106,11 @@ fi | 80 | @@ -3110,6 +3119,11 @@ fi |
81 | # command line and environment validation | 81 | # command line and environment validation |
82 | #------------------------------------------------------------------------------- | 82 | #------------------------------------------------------------------------------- |
83 | 83 | ||
@@ -225,5 +225,5 @@ index 99d87e2..5621dc0 100644 | |||
225 | _qt5_Widgets_check_file_exists(${imported_location}) | 225 | _qt5_Widgets_check_file_exists(${imported_location}) |
226 | 226 | ||
227 | -- | 227 | -- |
228 | 2.5.0 | 228 | 2.5.3 |
229 | 229 | ||
diff --git a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch index aef49995..e7155bb8 100644 --- a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch +++ b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bae1b8fbd3fe94a99a02fb751302baa788e9f2ff Mon Sep 17 00:00:00 2001 | 1 | From d28d15f9489ab9bb09627014003ad1bde2a79e1f 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 04/10] qt_module: Fix pkgconfig and libtool replacements | 4 | Subject: [PATCH 04/10] qt_module: Fix pkgconfig and libtool replacements |
@@ -67,7 +67,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | |||
67 | 2 files changed, 11 insertions(+), 1 deletion(-) | 67 | 2 files changed, 11 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 5861941..474827c 100644 | 70 | index 55f65b5..2412fdd 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 | @@ -36,7 +36,7 @@ contains(TEMPLATE, .*lib) { | 73 | @@ -36,7 +36,7 @@ contains(TEMPLATE, .*lib) { |
@@ -80,7 +80,7 @@ index 5861941..474827c 100644 | |||
80 | lib_replace.CONFIG = path | 80 | lib_replace.CONFIG = path |
81 | QMAKE_PRL_INSTALL_REPLACE += lib_replace | 81 | QMAKE_PRL_INSTALL_REPLACE += lib_replace |
82 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf | 82 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf |
83 | index 5412f37..5ab348a 100644 | 83 | index c89b6d2..23d4366 100644 |
84 | --- a/mkspecs/features/qt_module.prf | 84 | --- a/mkspecs/features/qt_module.prf |
85 | +++ b/mkspecs/features/qt_module.prf | 85 | +++ b/mkspecs/features/qt_module.prf |
86 | @@ -214,6 +214,11 @@ unix|mingw { | 86 | @@ -214,6 +214,11 @@ unix|mingw { |
@@ -108,5 +108,5 @@ index 5412f37..5ab348a 100644 | |||
108 | } | 108 | } |
109 | 109 | ||
110 | -- | 110 | -- |
111 | 2.5.0 | 111 | 2.5.3 |
112 | 112 | ||
diff --git a/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch index fbddae3b..0875bd88 100644 --- a/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch +++ b/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0b4d9044218df6e7fb700be6cfd21b4aaab24b18 Mon Sep 17 00:00:00 2001 | 1 | From c3f540be8541f71fdb7b7baa9000583a914ac7f7 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 05/10] qeglplatformintegration: Undefine CursorShape from X.h | 4 | Subject: [PATCH 05/10] qeglplatformintegration: Undefine CursorShape from X.h |
@@ -26,5 +26,5 @@ index 42fbf8c..8950f2d 100644 | |||
26 | 26 | ||
27 | class QEGLPlatformWindow; | 27 | class QEGLPlatformWindow; |
28 | -- | 28 | -- |
29 | 2.5.0 | 29 | 2.5.3 |
30 | 30 | ||
diff --git a/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch index 8f95480c..0635a2f5 100644 --- a/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch +++ b/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From fe6405c5a628c168e42138ac82ba70bb8c909d0b Mon Sep 17 00:00:00 2001 | 1 | From 37aec78ac44bad8754c3bd5b56836025e4eed50a Mon Sep 17 00:00:00 2001 |
2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 | 3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 |
4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters | 4 | Subject: [PATCH 06/10] 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. |
@@ -14,10 +14,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com> | |||
14 | 1 file changed, 3 insertions(+), 3 deletions(-) | 14 | 1 file changed, 3 insertions(+), 3 deletions(-) |
15 | 15 | ||
16 | diff --git a/configure b/configure | 16 | diff --git a/configure b/configure |
17 | index 22867a7..fe18487 100755 | 17 | index a757ce5..f0f42ab 100755 |
18 | --- a/configure | 18 | --- a/configure |
19 | +++ b/configure | 19 | +++ b/configure |
20 | @@ -3851,10 +3851,10 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ | 20 | @@ -3863,10 +3863,10 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ |
21 | static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20"; | 21 | static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20"; |
22 | 22 | ||
23 | /* Installation Info */ | 23 | /* Installation Info */ |
@@ -32,5 +32,5 @@ index 22867a7..fe18487 100755 | |||
32 | 32 | ||
33 | static const short qt_configure_str_offsets[] = { | 33 | static const short qt_configure_str_offsets[] = { |
34 | -- | 34 | -- |
35 | 2.2.0 | 35 | 2.5.3 |
36 | 36 | ||
diff --git a/recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch index eb2fd5a8..e2d21155 100644 --- a/recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch +++ b/recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7dfc673d6968ce890e5fad7fd8fd8a74c12b876b Mon Sep 17 00:00:00 2001 | 1 | From ca3b8fabcc38a9545e935a7c530565689fb85ff7 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 07/10] QOpenGLPaintDevice sub-area support | 4 | Subject: [PATCH 07/10] QOpenGLPaintDevice sub-area support |
@@ -153,5 +153,5 @@ index c179143..fad68d5 100644 | |||
153 | } else { | 153 | } else { |
154 | if (m_vao.isCreated()) { | 154 | if (m_vao.isCreated()) { |
155 | -- | 155 | -- |
156 | 2.5.0 | 156 | 2.5.3 |
157 | 157 | ||
diff --git a/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch b/recipes-qt/qt5/qtbase/0008-Always-build-uic.patch index 59266f48..d84e298b 100644 --- a/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch +++ b/recipes-qt/qt5/qtbase/0008-Always-build-uic.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From c6a58549ef110a31960fca80f6d3dcdcf4d9176a Mon Sep 17 00:00:00 2001 | 1 | From d1feb6d0a80460e66872749d931cddc8ed22851d 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 09/11] Always build uic | 4 | Subject: [PATCH 08/10] 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,7 +14,7 @@ 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 b4d62aa..5e19215 100644 | 17 | index 61e5ce2..a4047aa 100644 |
18 | --- a/src/src.pro | 18 | --- a/src/src.pro |
19 | +++ b/src/src.pro | 19 | +++ b/src/src.pro |
20 | @@ -182,7 +182,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent | 20 | @@ -182,7 +182,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent |
@@ -27,5 +27,5 @@ index b4d62aa..5e19215 100644 | |||
27 | nacl: SUBDIRS -= src_network src_testlib | 27 | nacl: SUBDIRS -= src_network src_testlib |
28 | 28 | ||
29 | -- | 29 | -- |
30 | 2.5.0 | 30 | 2.5.3 |
31 | 31 | ||
diff --git a/recipes-qt/qt5/qtbase/0008-Fix-build-with-clang-3.7.patch b/recipes-qt/qt5/qtbase/0008-Fix-build-with-clang-3.7.patch deleted file mode 100644 index 6583e80a..00000000 --- a/recipes-qt/qt5/qtbase/0008-Fix-build-with-clang-3.7.patch +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | From 63111eaec5cb758d99d68a4e9ec827b79121544b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 23 Aug 2015 15:19:41 -0700 | ||
4 | Subject: [PATCH 08/10] Fix build with clang 3.7 | ||
5 | |||
6 | Nullable is a language extension in clang 3.7 (indicating whether or | ||
7 | not a pointer can be null). | ||
8 | http://clang.llvm.org/docs/AttributeReference.html#nullable | ||
9 | Using it as a class name breaks building with this compiler | ||
10 | |||
11 | Upstream-Status: Backport | ||
12 | This is backport of https://codereview.qt-project.org/#/c/121545/ | ||
13 | |||
14 | /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/git/src/tools/qlalr/lalr.cpp:241:1: error: declaration of anonymous | ||
15 | struct must be a definition | ||
16 | struct _Nullable: public std::unary_function<Name, bool> | ||
17 | ^ | ||
18 | /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/git/src/tools/qlalr/lalr.cpp:241:56: error: expected unqualified-id | ||
19 | struct _Nullable: public std::unary_function<Name, bool> | ||
20 | ^ | ||
21 | /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/git/src/tools/qlalr/lalr.cpp:303:98: error: expected expression | ||
22 | NameList::iterator nn = std::find_if (rule->rhs.begin (), rule->rhs.end (), std::not1 (_Nullable (this))); | ||
23 | ^ | ||
24 | /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/git/src/tools/qlalr/lalr.cpp:638:107: error: expected expression | ||
25 | NameList::iterator first_not_nullable = std::find_if (dot, rule->rhs.end (), std::not1 (_Nullable (this))); | ||
26 | ^ | ||
27 | 4 errors generated. | ||
28 | |||
29 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
30 | --- | ||
31 | src/tools/qlalr/lalr.cpp | 8 ++++---- | ||
32 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
33 | |||
34 | diff --git a/src/tools/qlalr/lalr.cpp b/src/tools/qlalr/lalr.cpp | ||
35 | index 3d0d5de..3d780cd 100644 | ||
36 | --- a/src/tools/qlalr/lalr.cpp | ||
37 | +++ b/src/tools/qlalr/lalr.cpp | ||
38 | @@ -238,11 +238,11 @@ void Grammar::buildExtendedGrammar () | ||
39 | non_terminals.insert (accept_symbol); | ||
40 | } | ||
41 | |||
42 | -struct _Nullable: public std::unary_function<Name, bool> | ||
43 | +struct Nullable: public std::unary_function<Name, bool> | ||
44 | { | ||
45 | Automaton *_M_automaton; | ||
46 | |||
47 | - _Nullable (Automaton *aut): | ||
48 | + Nullable (Automaton *aut): | ||
49 | _M_automaton (aut) {} | ||
50 | |||
51 | bool operator () (Name name) const | ||
52 | @@ -300,7 +300,7 @@ void Automaton::buildNullables () | ||
53 | |||
54 | for (RulePointer rule = _M_grammar->rules.begin (); rule != _M_grammar->rules.end (); ++rule) | ||
55 | { | ||
56 | - NameList::iterator nn = std::find_if (rule->rhs.begin (), rule->rhs.end (), std::not1 (_Nullable (this))); | ||
57 | + NameList::iterator nn = std::find_if (rule->rhs.begin (), rule->rhs.end (), std::not1 (Nullable (this))); | ||
58 | |||
59 | if (nn == rule->rhs.end ()) | ||
60 | changed |= nullables.insert (rule->lhs).second; | ||
61 | @@ -635,7 +635,7 @@ void Automaton::buildIncludesDigraph () | ||
62 | if (! _M_grammar->isNonTerminal (*A)) | ||
63 | continue; | ||
64 | |||
65 | - NameList::iterator first_not_nullable = std::find_if (dot, rule->rhs.end (), std::not1 (_Nullable (this))); | ||
66 | + NameList::iterator first_not_nullable = std::find_if (dot, rule->rhs.end (), std::not1 (Nullable (this))); | ||
67 | if (first_not_nullable != rule->rhs.end ()) | ||
68 | continue; | ||
69 | |||
70 | -- | ||
71 | 2.5.0 | ||
72 | |||
diff --git a/recipes-qt/qt5/qtbase/0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase/0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch index 85213271..9bc13157 100644 --- a/recipes-qt/qt5/qtbase/0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch +++ b/recipes-qt/qt5/qtbase/0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 744fc89cd56387cac613534adc538900ed133b25 Mon Sep 17 00:00:00 2001 | 1 | From dcc588b11abdc12b4ed08534334e338f35d96ed1 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 09/10] qmake: don't build it in configure, but allow to build | 4 | Subject: [PATCH 08/10] 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 |
@@ -25,10 +25,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
25 | 3 files changed, 4 insertions(+), 2 deletions(-) | 25 | 3 files changed, 4 insertions(+), 2 deletions(-) |
26 | 26 | ||
27 | diff --git a/configure b/configure | 27 | diff --git a/configure b/configure |
28 | index b8f1fb9..c72b8ee 100755 | 28 | index f0f42ab..6f338f3 100755 |
29 | --- a/configure | 29 | --- a/configure |
30 | +++ b/configure | 30 | +++ b/configure |
31 | @@ -3929,7 +3929,7 @@ setBootstrapEvalVariable() | 31 | @@ -3942,7 +3942,7 @@ setBootstrapEvalVariable() |
32 | 32 | ||
33 | 33 | ||
34 | # build qmake | 34 | # build qmake |
@@ -64,5 +64,5 @@ index 89d6ea5..0ff4a96 100644 | |||
64 | VPATH += \ | 64 | VPATH += \ |
65 | ../src/corelib/global \ | 65 | ../src/corelib/global \ |
66 | -- | 66 | -- |
67 | 2.5.0 | 67 | 2.5.3 |
68 | 68 | ||
diff --git a/recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch b/recipes-qt/qt5/qtbase/0009-Add-external-hostbindir-option-for-native-sdk.patch index 4e770ee4..292ced81 100644 --- a/recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch +++ b/recipes-qt/qt5/qtbase/0009-Add-external-hostbindir-option-for-native-sdk.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b0ab57e1f0781b73830514ddc498f38da0886d15 Mon Sep 17 00:00:00 2001 | 1 | From 22c6746515470bab482b8cbb9a256033470d3647 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 10/11] Add -external-hostbindir option for native(sdk) | 4 | Subject: [PATCH 09/10] 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 |
@@ -37,10 +37,10 @@ Conflicts: | |||
37 | 5 files changed, 16 insertions(+), 1 deletion(-) | 37 | 5 files changed, 16 insertions(+), 1 deletion(-) |
38 | 38 | ||
39 | diff --git a/configure b/configure | 39 | diff --git a/configure b/configure |
40 | index b8f1fb9..1d2157f 100755 | 40 | index f0f42ab..04fd1ba 100755 |
41 | --- a/configure | 41 | --- a/configure |
42 | +++ b/configure | 42 | +++ b/configure |
43 | @@ -3833,6 +3833,7 @@ addConfStr "$CFG_SYSROOT" | 43 | @@ -3846,6 +3846,7 @@ addConfStr "$CFG_SYSROOT" |
44 | addConfStr "$QT_REL_HOST_BINS" | 44 | addConfStr "$QT_REL_HOST_BINS" |
45 | addConfStr "$QT_REL_HOST_LIBS" | 45 | addConfStr "$QT_REL_HOST_LIBS" |
46 | addConfStr "$QT_REL_HOST_DATA" | 46 | addConfStr "$QT_REL_HOST_DATA" |
@@ -61,7 +61,7 @@ index 817ae95..c69539f 100644 | |||
61 | { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, | 61 | { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, |
62 | }; | 62 | }; |
63 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 63 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
64 | index f663c88..675bd4c 100644 | 64 | index c3b5c2d..1381658 100644 |
65 | --- a/src/corelib/global/qlibraryinfo.cpp | 65 | --- a/src/corelib/global/qlibraryinfo.cpp |
66 | +++ b/src/corelib/global/qlibraryinfo.cpp | 66 | +++ b/src/corelib/global/qlibraryinfo.cpp |
67 | @@ -373,7 +373,7 @@ QLibraryInfo::isDebugBuild() | 67 | @@ -373,7 +373,7 @@ QLibraryInfo::isDebugBuild() |
@@ -130,5 +130,5 @@ index 3bf0546..53bf146 100644 | |||
130 | addConfStr(1, hostSpec); | 130 | addConfStr(1, hostSpec); |
131 | 131 | ||
132 | -- | 132 | -- |
133 | 2.5.0 | 133 | 2.5.3 |
134 | 134 | ||
diff --git a/recipes-qt/qt5/qtbase/0010-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch b/recipes-qt/qt5/qtbase/0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch index 0069a170..760f446c 100644 --- a/recipes-qt/qt5/qtbase/0010-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch +++ b/recipes-qt/qt5/qtbase/0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From bae2c6afb951d1352845ca257fdc2389f3fe851e Mon Sep 17 00:00:00 2001 | 1 | From b0648c997d24855b2a6f56fc61e3159af815fb4d Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Mon, 8 Jun 2015 13:59:25 -0700 | 3 | Date: Mon, 8 Jun 2015 13:59:25 -0700 |
4 | Subject: [PATCH 10/10] linux-oe-g++: Invert conditional for defining | 4 | Subject: [PATCH 09/10] linux-oe-g++: Invert conditional for defining |
5 | QT_SOCKLEN_T | 5 | QT_SOCKLEN_T |
6 | 6 | ||
7 | This helps to make sure that QT_SOCKLEN_T is defined to be 'int' | 7 | This helps to make sure that QT_SOCKLEN_T is defined to be 'int' |
@@ -32,5 +32,5 @@ index dd12003..8623651 100644 | |||
32 | 32 | ||
33 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) | 33 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) |
34 | -- | 34 | -- |
35 | 2.5.0 | 35 | 2.5.3 |
36 | 36 | ||
diff --git a/recipes-qt/qt5/qtbase/0011-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase/0010-configure-preserve-built-qmake-and-swap-with-native-.patch index 1bfe8255..9a8ddbbf 100644 --- a/recipes-qt/qt5/qtbase/0011-configure-preserve-built-qmake-and-swap-with-native-.patch +++ b/recipes-qt/qt5/qtbase/0010-configure-preserve-built-qmake-and-swap-with-native-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From cef1ac9fa399ad5c57480de26a1ef441414f125c Mon Sep 17 00:00:00 2001 | 1 | From 706d9a8b270d5eb803e93005cc90a1aa1553572a 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 11/11] configure: preserve built qmake and swap with native | 4 | Subject: [PATCH 10/10] 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,10 +13,10 @@ 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 1d2157f..bea14af 100755 | 16 | index 04fd1ba..8914e9c 100755 |
17 | --- a/configure | 17 | --- a/configure |
18 | +++ b/configure | 18 | +++ b/configure |
19 | @@ -4099,6 +4099,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | 19 | @@ -4112,6 +4112,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; |
20 | echo "Done." | 20 | echo "Done." |
21 | fi | 21 | fi |
22 | fi # Build qmake | 22 | fi # Build qmake |
@@ -26,5 +26,5 @@ index 1d2157f..bea14af 100755 | |||
26 | echo "Running configuration tests..." | 26 | echo "Running configuration tests..." |
27 | 27 | ||
28 | -- | 28 | -- |
29 | 2.5.0 | 29 | 2.5.3 |
30 | 30 | ||
diff --git a/recipes-qt/qt5/qtbase/0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch b/recipes-qt/qt5/qtbase/0010-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch index a1a8791e..b2dbbfd7 100644 --- a/recipes-qt/qt5/qtbase/0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch +++ b/recipes-qt/qt5/qtbase/0010-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch | |||
@@ -1,8 +1,8 @@ | |||
1 | From f8873b5ba0fa42cc0d2aadfd6c5a449b37799609 Mon Sep 17 00:00:00 2001 | 1 | From c09e6ef0bf6a879455ffee496c716a0bc1787cdf 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: Sat, 12 Sep 2015 12:58:46 +0200 | 3 | Date: Sat, 12 Sep 2015 12:58:46 +0200 |
4 | Subject: [PATCH] qeglplatformscreen.cpp: reorder headers to fix build with egl | 4 | Subject: [PATCH 10/10] qeglplatformscreen.cpp: reorder headers to fix build |
5 | enabled | 5 | with egl enabled |
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 |
8 | Content-Transfer-Encoding: 8bit | 8 | Content-Transfer-Encoding: 8bit |
@@ -45,5 +45,5 @@ index 61f8cdd..ceec797 100644 | |||
45 | 45 | ||
46 | QT_BEGIN_NAMESPACE | 46 | QT_BEGIN_NAMESPACE |
47 | -- | 47 | -- |
48 | 2.1.0 | 48 | 2.5.3 |
49 | 49 | ||