diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-19 23:28:48 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-20 14:18:37 +0200 |
commit | b9fec03db878745066f91f354f82ec9c0002f34a (patch) | |
tree | 95fcda1e09acf40607b61075b8c52a349f63282e | |
parent | 75291e7614115dc89045fcf6650bbdead071da03 (diff) | |
download | meta-qt5-b9fec03db878745066f91f354f82ec9c0002f34a.tar.gz |
qtbase-5.0.2: refresh patches to apply cleanly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20 files changed, 66 insertions, 67 deletions
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch index 1d74b3f6..fdd96fee 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d64321c240cbb949b9e55e2cd448c78bf9865c56 Mon Sep 17 00:00:00 2001 | 1 | From d64321c240cbb949b9e55e2cd448c78bf9865c56 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/16] Add linux-oe-g++ platform | 4 | Subject: [PATCH 01/22] 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 |
@@ -300,5 +300,5 @@ index 0000000..dd12003 | |||
300 | + | 300 | + |
301 | +#endif // QPLATFORMDEFS_H | 301 | +#endif // QPLATFORMDEFS_H |
302 | -- | 302 | -- |
303 | 1.8.2.1 | 303 | 1.8.3.2 |
304 | 304 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase-5.0.2/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch index e741ca18..f59089cf 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 542325db6c9e9e2ffc2390b8eb1f8b16e674ca41 Mon Sep 17 00:00:00 2001 | 1 | From 542325db6c9e9e2ffc2390b8eb1f8b16e674ca41 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/16] qlibraryinfo: allow to set qt.conf from the outside | 4 | Subject: [PATCH 02/22] 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 |
@@ -32,5 +32,5 @@ index 5fb9640..6b40731 100644 | |||
32 | if(!QFile::exists(qtconfig)) | 32 | if(!QFile::exists(qtconfig)) |
33 | qtconfig = qt_libraryInfoFile(); | 33 | qtconfig = qt_libraryInfoFile(); |
34 | -- | 34 | -- |
35 | 1.8.2.1 | 35 | 1.8.3.2 |
36 | 36 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase-5.0.2/0003-Add-external-hostbindir-option.patch index 2ade1790..ce27eb6b 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0003-Add-external-hostbindir-option.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0003-Add-external-hostbindir-option.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 943c30aa55fbf1e330e7c987e989ddbd656e69c0 Mon Sep 17 00:00:00 2001 | 1 | From 943c30aa55fbf1e330e7c987e989ddbd656e69c0 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/16] Add -external-hostbindir option | 4 | Subject: [PATCH 03/22] 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 |
@@ -217,5 +217,5 @@ index 22ee456..cfc6f97 100644 | |||
217 | << " \"qt_hostspec=" << hostSpec << "\"," << endl | 217 | << " \"qt_hostspec=" << hostSpec << "\"," << endl |
218 | << "#endif" << endl | 218 | << "#endif" << endl |
219 | -- | 219 | -- |
220 | 1.8.2.1 | 220 | 1.8.3.2 |
221 | 221 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0004-qt_functions-temporary-remove-isEmpty-check.patch b/recipes-qt/qt5/qtbase-5.0.2/0004-qt_functions-temporary-remove-isEmpty-check.patch index 572d25cb..cd0ca884 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0004-qt_functions-temporary-remove-isEmpty-check.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0004-qt_functions-temporary-remove-isEmpty-check.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2a3c7bb40de7ae8f060e69bdaa77522172101f00 Mon Sep 17 00:00:00 2001 | 1 | From 2a3c7bb40de7ae8f060e69bdaa77522172101f00 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, 17 Apr 2013 18:06:25 +0200 | 3 | Date: Wed, 17 Apr 2013 18:06:25 +0200 |
4 | Subject: [PATCH 04/16] qt_functions: temporary remove isEmpty check | 4 | Subject: [PATCH 04/22] qt_functions: temporary remove isEmpty check |
5 | 5 | ||
6 | * now we assume that every build will provide QT_EXTERNAL_HOST_BINS value | 6 | * now we assume that every build will provide QT_EXTERNAL_HOST_BINS value |
7 | * isEmpty works correctly only with qmake variables (e.g. $$FOO - | 7 | * isEmpty works correctly only with qmake variables (e.g. $$FOO - |
@@ -46,5 +46,5 @@ index 8a636c7..0dad97c 100644 | |||
46 | isEmpty(MODULE):MODULE = $$TARGET | 46 | isEmpty(MODULE):MODULE = $$TARGET |
47 | 47 | ||
48 | -- | 48 | -- |
49 | 1.8.2.1 | 49 | 1.8.3.2 |
50 | 50 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0005-qmake-is-already-built-in-qtbase-native.patch b/recipes-qt/qt5/qtbase-5.0.2/0005-qmake-is-already-built-in-qtbase-native.patch index b2121cf0..dd8abfa7 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0005-qmake-is-already-built-in-qtbase-native.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0005-qmake-is-already-built-in-qtbase-native.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 7b37f7fa8c68c1807eeb45936154a42c34cda666 Mon Sep 17 00:00:00 2001 | 1 | From 7b37f7fa8c68c1807eeb45936154a42c34cda666 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 05/16] qmake is already built in qtbase-native | 4 | Subject: [PATCH 05/22] qmake is already built in qtbase-native |
5 | 5 | ||
6 | Ported from OE by: Yu Ke <ke.yu@intel.com> | 6 | Ported from OE by: Yu Ke <ke.yu@intel.com> |
7 | Upstream-Status: Inappropriate [configuration] | 7 | Upstream-Status: Inappropriate [configuration] |
@@ -26,5 +26,5 @@ index 1ca5b4e..546bed2 100755 | |||
26 | 26 | ||
27 | mkdir -p "$outpath/qmake" || exit | 27 | mkdir -p "$outpath/qmake" || exit |
28 | -- | 28 | -- |
29 | 1.8.2.1 | 29 | 1.8.3.2 |
30 | 30 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0006-Allow-building-a-separate-qmake-for-the-target.patch b/recipes-qt/qt5/qtbase-5.0.2/0006-Allow-building-a-separate-qmake-for-the-target.patch index 97333149..43504c59 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0006-Allow-building-a-separate-qmake-for-the-target.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0006-Allow-building-a-separate-qmake-for-the-target.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 76537aca4118f5f7c336b7d17594c9644b6272b5 Mon Sep 17 00:00:00 2001 | 1 | From 76537aca4118f5f7c336b7d17594c9644b6272b5 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
3 | Date: Mon, 29 Oct 2012 20:26:36 -0700 | 3 | Date: Mon, 29 Oct 2012 20:26:36 -0700 |
4 | Subject: [PATCH 06/16] Allow building a separate qmake for the target | 4 | Subject: [PATCH 06/22] Allow building a separate qmake for the target |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [config] | 6 | Upstream-Status: Inappropriate [config] |
7 | 7 | ||
@@ -25,5 +25,5 @@ index 0d92ac2..9be0e9b 100644 | |||
25 | OBJECTS_DIR = . | 25 | OBJECTS_DIR = . |
26 | MOC_DIR = . | 26 | MOC_DIR = . |
27 | -- | 27 | -- |
28 | 1.8.2.1 | 28 | 1.8.3.2 |
29 | 29 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch b/recipes-qt/qt5/qtbase-5.0.2/0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch index 0eb735c8..20e5e757 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a1d0c7fb8fd689af7d3616ecf5d6aaf5ffd84bc9 Mon Sep 17 00:00:00 2001 | 1 | From a1d0c7fb8fd689af7d3616ecf5d6aaf5ffd84bc9 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 22:33:33 +0200 | 3 | Date: Sat, 27 Apr 2013 22:33:33 +0200 |
4 | Subject: [PATCH 07/16] configureapp: Prefix default LIBDIRS and INCDIRS with | 4 | Subject: [PATCH 07/22] configureapp: Prefix default LIBDIRS and INCDIRS with |
5 | SYSROOT | 5 | SYSROOT |
6 | 6 | ||
7 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
@@ -27,5 +27,5 @@ index cfc6f97..d0e17fa 100644 | |||
27 | if (dictionary["QT_EDITION"].contains("OPENSOURCE")) | 27 | if (dictionary["QT_EDITION"].contains("OPENSOURCE")) |
28 | configStream << "QT_EDITION = " << QLatin1String("OpenSource") << endl; | 28 | configStream << "QT_EDITION = " << QLatin1String("OpenSource") << endl; |
29 | -- | 29 | -- |
30 | 1.8.2.1 | 30 | 1.8.3.2 |
31 | 31 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0008-qt_module-Fix-pkgconfig-replacement.patch b/recipes-qt/qt5/qtbase-5.0.2/0008-qt_module-Fix-pkgconfig-replacement.patch index dee753bb..83da0d23 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0008-qt_module-Fix-pkgconfig-replacement.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0008-qt_module-Fix-pkgconfig-replacement.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 8a97079c1b17f27256a4a816e5cc85344c29ac6f Mon Sep 17 00:00:00 2001 | 1 | From 8a97079c1b17f27256a4a816e5cc85344c29ac6f 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 08/16] qt_module: Fix pkgconfig replacement | 4 | Subject: [PATCH 08/22] qt_module: Fix pkgconfig replacement |
5 | 5 | ||
6 | * in situation like this: | 6 | * in situation like this: |
7 | QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm | 7 | QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm |
@@ -64,5 +64,5 @@ index 1132943..7fbfd8d 100644 | |||
64 | 64 | ||
65 | unix|win32-g++* { | 65 | unix|win32-g++* { |
66 | -- | 66 | -- |
67 | 1.8.2.1 | 67 | 1.8.3.2 |
68 | 68 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0009-qt_module-Fix-paths-in-.prl-files.patch b/recipes-qt/qt5/qtbase-5.0.2/0009-qt_module-Fix-paths-in-.prl-files.patch index b7f64839..5687e8f1 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0009-qt_module-Fix-paths-in-.prl-files.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0009-qt_module-Fix-paths-in-.prl-files.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a70d48880e27586efe5f6aa195385207abf3cead Mon Sep 17 00:00:00 2001 | 1 | From a70d48880e27586efe5f6aa195385207abf3cead 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: Sun, 28 Apr 2013 12:56:55 +0200 | 3 | Date: Sun, 28 Apr 2013 12:56:55 +0200 |
4 | Subject: [PATCH 09/16] qt_module: Fix paths in .prl files | 4 | Subject: [PATCH 09/22] qt_module: Fix paths in .prl files |
5 | 5 | ||
6 | * qmake does not prefix them with QT_SYSROOT when using them | 6 | * qmake does not prefix them with QT_SYSROOT when using them |
7 | so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE | 7 | so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE |
@@ -58,5 +58,5 @@ index 7fbfd8d..226119f 100644 | |||
58 | QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_include_replace pkgconfig_lib_replace | 58 | QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_include_replace pkgconfig_lib_replace |
59 | QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace | 59 | QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace |
60 | -- | 60 | -- |
61 | 1.8.2.1 | 61 | 1.8.3.2 |
62 | 62 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0010-wayland-scanner-disable-silent-rules.patch b/recipes-qt/qt5/qtbase-5.0.2/0010-wayland-scanner-disable-silent-rules.patch index 1e8bfb7e..f5b53385 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0010-wayland-scanner-disable-silent-rules.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0010-wayland-scanner-disable-silent-rules.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 505bbe468956de2fdf2f27e8905582fe438d3b35 Mon Sep 17 00:00:00 2001 | 1 | From 505bbe468956de2fdf2f27e8905582fe438d3b35 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: Sun, 5 May 2013 11:18:34 +0200 | 3 | Date: Sun, 5 May 2013 11:18:34 +0200 |
4 | Subject: [PATCH 10/16] wayland-scanner: disable silent rules | 4 | Subject: [PATCH 10/22] wayland-scanner: disable silent rules |
5 | 5 | ||
6 | * for some reason "$$qtwayland-server-header.commands" on second line gets expanded as -server-header.commands | 6 | * for some reason "$$qtwayland-server-header.commands" on second line gets expanded as -server-header.commands |
7 | 7 | ||
@@ -42,5 +42,5 @@ index 90e1e0f..0750849 100644 | |||
42 | +#silent:wayland-code.commands = @echo Wayland code header ${QMAKE_FILE_IN} && $$wayland-code.commands | 42 | +#silent:wayland-code.commands = @echo Wayland code header ${QMAKE_FILE_IN} && $$wayland-code.commands |
43 | QMAKE_EXTRA_COMPILERS += wayland-code | 43 | QMAKE_EXTRA_COMPILERS += wayland-code |
44 | -- | 44 | -- |
45 | 1.8.2.1 | 45 | 1.8.3.2 |
46 | 46 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch b/recipes-qt/qt5/qtbase-5.0.2/0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch index 1cb7e007..a5e6a6ef 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a2439736a0efb80aea1746b0aada551ff63ad7e6 Mon Sep 17 00:00:00 2001 | 1 | From a2439736a0efb80aea1746b0aada551ff63ad7e6 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, 8 May 2013 23:54:35 +0200 | 3 | Date: Wed, 8 May 2013 23:54:35 +0200 |
4 | Subject: [PATCH 11/16] configure: don't export SYSTEM_VARIABLES to .qmake.vars | 4 | Subject: [PATCH 11/22] configure: don't export SYSTEM_VARIABLES to .qmake.vars |
5 | 5 | ||
6 | * linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is | 6 | * linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is |
7 | causing issues as we need g++ to be used as linker | 7 | causing issues as we need g++ to be used as linker |
@@ -40,5 +40,5 @@ index 546bed2..34074ee 100755 | |||
40 | mkdir -p "$outpath/config.tests" | 40 | mkdir -p "$outpath/config.tests" |
41 | rm -f "$outpath/config.tests/.qmake.cache" | 41 | rm -f "$outpath/config.tests/.qmake.cache" |
42 | -- | 42 | -- |
43 | 1.8.2.1 | 43 | 1.8.3.2 |
44 | 44 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch b/recipes-qt/qt5/qtbase-5.0.2/0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch index 3346566c..60d4a5cc 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From dd7756dd5a3c3eb677c3bacce257c1c8bbf03098 Mon Sep 17 00:00:00 2001 | 1 | From dd7756dd5a3c3eb677c3bacce257c1c8bbf03098 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: Thu, 9 May 2013 10:06:50 +0200 | 3 | Date: Thu, 9 May 2013 10:06:50 +0200 |
4 | Subject: [PATCH 12/16] configure.prf: Allow to add extra arguments to make | 4 | Subject: [PATCH 12/22] configure.prf: Allow to add extra arguments to make |
5 | 5 | ||
6 | * sometimes we would like to add -e or define some variable and respect it from both | 6 | * sometimes we would like to add -e or define some variable and respect it from both |
7 | Makefiles used in configure tests and also Makefiles to build the application | 7 | Makefiles used in configure tests and also Makefiles to build the application |
@@ -33,5 +33,5 @@ index 39144e7..de48b07 100644 | |||
33 | msg = "test $$1 succeeded" | 33 | msg = "test $$1 succeeded" |
34 | write_file($$QMAKE_CONFIG_LOG, msg, append) | 34 | write_file($$QMAKE_CONFIG_LOG, msg, append) |
35 | -- | 35 | -- |
36 | 1.8.2.1 | 36 | 1.8.3.2 |
37 | 37 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0013-Disable-mkv8snapshot.patch b/recipes-qt/qt5/qtbase-5.0.2/0013-Disable-mkv8snapshot.patch index decdc501..7f4d47e7 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0013-Disable-mkv8snapshot.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0013-Disable-mkv8snapshot.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 78b716520396b5317a8b91dbca183483bea8b1d2 Mon Sep 17 00:00:00 2001 | 1 | From 78b716520396b5317a8b91dbca183483bea8b1d2 Mon Sep 17 00:00:00 2001 |
2 | From: Mikko Levonmaa <mikko.levonmaa@palm.com> | 2 | From: Mikko Levonmaa <mikko.levonmaa@palm.com> |
3 | Date: Tue, 8 Jan 2013 15:58:29 -0800 | 3 | Date: Tue, 8 Jan 2013 15:58:29 -0800 |
4 | Subject: [PATCH 13/16] Disable mkv8snapshot | 4 | Subject: [PATCH 13/22] Disable mkv8snapshot |
5 | 5 | ||
6 | It seems to generate code that throws SIGILL, so disabling it | 6 | It seems to generate code that throws SIGILL, so disabling it |
7 | 7 | ||
@@ -42,5 +42,5 @@ index 34074ee..ac09bbf 100755 | |||
42 | CFG_JAVASCRIPTCORE_JIT=auto | 42 | CFG_JAVASCRIPTCORE_JIT=auto |
43 | CFG_PKGCONFIG=auto | 43 | CFG_PKGCONFIG=auto |
44 | -- | 44 | -- |
45 | 1.8.2.1 | 45 | 1.8.3.2 |
46 | 46 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0014-enables-tslib-device-to-be-read-from-env-variable.patch b/recipes-qt/qt5/qtbase-5.0.2/0014-enables-tslib-device-to-be-read-from-env-variable.patch index 306e1379..d407deb4 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0014-enables-tslib-device-to-be-read-from-env-variable.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0014-enables-tslib-device-to-be-read-from-env-variable.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f8336efd143109c3478e5548360248f99b645548 Mon Sep 17 00:00:00 2001 | 1 | From f8336efd143109c3478e5548360248f99b645548 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: Mon, 27 May 2013 18:32:37 +0200 | 3 | Date: Mon, 27 May 2013 18:32:37 +0200 |
4 | Subject: [PATCH 14/16] enables tslib device to be read from env variable | 4 | Subject: [PATCH 14/22] enables tslib device to be read from env variable |
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 |
@@ -30,5 +30,5 @@ index 6986fd5..2ed4a69 100644 | |||
30 | device = specification.toLocal8Bit(); | 30 | device = specification.toLocal8Bit(); |
31 | 31 | ||
32 | -- | 32 | -- |
33 | 1.8.2.1 | 33 | 1.8.3.2 |
34 | 34 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0015-qtbase-allow-build-of-examples.patch b/recipes-qt/qt5/qtbase-5.0.2/0015-qtbase-allow-build-of-examples.patch index 15e96bd3..d824eed1 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0015-qtbase-allow-build-of-examples.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0015-qtbase-allow-build-of-examples.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a21c676a69388cd8cdf0bb28184de2bee58def0e Mon Sep 17 00:00:00 2001 | 1 | From a21c676a69388cd8cdf0bb28184de2bee58def0e 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: Sat, 25 May 2013 17:34:32 +0200 | 3 | Date: Sat, 25 May 2013 17:34:32 +0200 |
4 | Subject: [PATCH 15/16] qtbase: allow build of examples | 4 | Subject: [PATCH 15/22] qtbase: allow build of examples |
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 |
@@ -45,5 +45,5 @@ index 479a16a..ca1b0c7 100644 | |||
45 | - } | 45 | - } |
46 | } | 46 | } |
47 | -- | 47 | -- |
48 | 1.8.2.1 | 48 | 1.8.3.2 |
49 | 49 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0016-Allow-tslib-to-be-specified-at-configure-time.patch b/recipes-qt/qt5/qtbase-5.0.2/0016-Allow-tslib-to-be-specified-at-configure-time.patch index 387961b4..882d7de5 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0016-Allow-tslib-to-be-specified-at-configure-time.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0016-Allow-tslib-to-be-specified-at-configure-time.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 665841d6c38faecbf7848c0f4bbf3b0537b6a0a1 Mon Sep 17 00:00:00 2001 | 1 | From 665841d6c38faecbf7848c0f4bbf3b0537b6a0a1 Mon Sep 17 00:00:00 2001 |
2 | From: Michael Brasser <michael.brasser@live.com> | 2 | From: Michael Brasser <michael.brasser@live.com> |
3 | Date: Tue, 26 Mar 2013 09:22:51 -0500 | 3 | Date: Tue, 26 Mar 2013 09:22:51 -0500 |
4 | Subject: [PATCH 16/16] Allow tslib to be specified at configure time. | 4 | Subject: [PATCH 16/22] Allow tslib to be specified at configure time. |
5 | 5 | ||
6 | Change-Id: I0ebf0eeea7e6a0b8136fb805f34f04082bc58c5e | 6 | Change-Id: I0ebf0eeea7e6a0b8136fb805f34f04082bc58c5e |
7 | Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 7 | Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> |
@@ -68,5 +68,5 @@ index 078db2f..18a8295 100644 | |||
68 | + SUBDIRS += tslib | 68 | + SUBDIRS += tslib |
69 | +} | 69 | +} |
70 | -- | 70 | -- |
71 | 1.8.2.1 | 71 | 1.8.3.2 |
72 | 72 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0017-Rename-qAbs-Function-for-timeval.patch b/recipes-qt/qt5/qtbase-5.0.2/0017-Rename-qAbs-Function-for-timeval.patch index d6ab7637..78a6b48a 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0017-Rename-qAbs-Function-for-timeval.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0017-Rename-qAbs-Function-for-timeval.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 126d2c4beff40bc51a1912a752b23c178eac59b5 Mon Sep 17 00:00:00 2001 | 1 | From 126d2c4beff40bc51a1912a752b23c178eac59b5 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?David=20E=2E=20Narv=C3=A1ez?= <david.narvaez@computer.org> | 2 | From: =?UTF-8?q?David=20E=2E=20Narv=C3=A1ez?= <david.narvaez@computer.org> |
3 | Date: Sat, 23 Feb 2013 23:14:50 -0500 | 3 | Date: Sat, 23 Feb 2013 23:14:50 -0500 |
4 | Subject: [PATCH 17/17] Rename qAbs Function for timeval | 4 | Subject: [PATCH 17/22] Rename qAbs Function for timeval |
5 | 5 | ||
6 | This decouples it from qAbs which is declared as a constexpr under | 6 | This decouples it from qAbs which is declared as a constexpr under |
7 | certain compilation flags and enables for qtbase to be compiled with | 7 | certain compilation flags and enables for qtbase to be compiled with |
@@ -40,5 +40,5 @@ index 0eee425..7a29247 100644 | |||
40 | 40 | ||
41 | /* | 41 | /* |
42 | -- | 42 | -- |
43 | 1.8.2.1 | 43 | 1.8.3.2 |
44 | 44 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0018-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase-5.0.2/0018-QOpenGLPaintDevice-sub-area-support.patch index 9d581f82..cbf4aed1 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0018-QOpenGLPaintDevice-sub-area-support.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0018-QOpenGLPaintDevice-sub-area-support.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2efd051d3093ee4e4091a8947f28d9bd528f2e9e Mon Sep 17 00:00:00 2001 | 1 | From c2c17a3198c85366f34b24abc80b20f27307d751 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] QOpenGLPaintDevice sub-area support | 4 | Subject: [PATCH 18/22] 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. |
@@ -10,15 +10,15 @@ Upstream-Status: Pending | |||
10 | 10 | ||
11 | Change-Id: Ida2f079aa1ac0b87d36b54129e226399dbcdda80 | 11 | Change-Id: Ida2f079aa1ac0b87d36b54129e226399dbcdda80 |
12 | --- | 12 | --- |
13 | src/gui/opengl/qopenglpaintdevice.cpp | 12 ++++++++++++ | 13 | src/gui/opengl/qopenglpaintdevice.cpp | 12 ++++++++++++ |
14 | src/gui/opengl/qopenglpaintdevice.h | 2 ++ | 14 | src/gui/opengl/qopenglpaintdevice.h | 2 ++ |
15 | src/gui/opengl/qopenglpaintengine.cpp | 10 +++++++--- | 15 | src/gui/opengl/qopenglpaintengine.cpp | 10 +++++++--- |
16 | src/gui/opengl/qopenglpaintengine_p.h | 1 + | 16 | src/gui/opengl/qopenglpaintengine_p.h | 1 + |
17 | src/gui/opengl/qopengltextureglyphcache.cpp | 2 +- | 17 | src/gui/opengl/qopengltextureglyphcache.cpp | 2 +- |
18 | 5 files changed, 23 insertions(+), 4 deletions(-) | 18 | 5 files changed, 23 insertions(+), 4 deletions(-) |
19 | 19 | ||
20 | diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp | 20 | diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp |
21 | index f0e7e49..fe9a30c 100644 | 21 | index 0b3d9dc..5f4f1c9 100644 |
22 | --- a/src/gui/opengl/qopenglpaintdevice.cpp | 22 | --- a/src/gui/opengl/qopenglpaintdevice.cpp |
23 | +++ b/src/gui/opengl/qopenglpaintdevice.cpp | 23 | +++ b/src/gui/opengl/qopenglpaintdevice.cpp |
24 | @@ -111,6 +111,7 @@ class QOpenGLPaintDevicePrivate | 24 | @@ -111,6 +111,7 @@ class QOpenGLPaintDevicePrivate |
@@ -29,7 +29,7 @@ index f0e7e49..fe9a30c 100644 | |||
29 | QSize size; | 29 | QSize size; |
30 | QOpenGLContext *ctx; | 30 | QOpenGLContext *ctx; |
31 | 31 | ||
32 | @@ -159,6 +160,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height) | 32 | @@ -158,6 +159,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height) |
33 | { | 33 | { |
34 | } | 34 | } |
35 | 35 | ||
@@ -42,7 +42,7 @@ index f0e7e49..fe9a30c 100644 | |||
42 | /*! | 42 | /*! |
43 | Destroys the QOpenGLPaintDevice. | 43 | Destroys the QOpenGLPaintDevice. |
44 | */ | 44 | */ |
45 | @@ -228,6 +235,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const | 45 | @@ -226,6 +233,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const |
46 | return d_ptr->ctx; | 46 | return d_ptr->ctx; |
47 | } | 47 | } |
48 | 48 | ||
@@ -55,7 +55,7 @@ index f0e7e49..fe9a30c 100644 | |||
55 | Returns the pixel size of the paint device. | 55 | Returns the pixel size of the paint device. |
56 | 56 | ||
57 | diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h | 57 | diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h |
58 | index c05571c..01eb1bc 100644 | 58 | index 66850c7..6f8a849 100644 |
59 | --- a/src/gui/opengl/qopenglpaintdevice.h | 59 | --- a/src/gui/opengl/qopenglpaintdevice.h |
60 | +++ b/src/gui/opengl/qopenglpaintdevice.h | 60 | +++ b/src/gui/opengl/qopenglpaintdevice.h |
61 | @@ -62,12 +62,14 @@ public: | 61 | @@ -62,12 +62,14 @@ public: |
@@ -72,12 +72,12 @@ index c05571c..01eb1bc 100644 | |||
72 | + QPoint offset() const; | 72 | + QPoint offset() const; |
73 | QSize size() const; | 73 | QSize size() const; |
74 | void setSize(const QSize &size); | 74 | void setSize(const QSize &size); |
75 | void setDevicePixelRatio(qreal devicePixelRatio); | 75 | |
76 | diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp | 76 | diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp |
77 | index 0782e42..52afc60 100644 | 77 | index 9fd8a7a..df29159 100644 |
78 | --- a/src/gui/opengl/qopenglpaintengine.cpp | 78 | --- a/src/gui/opengl/qopenglpaintengine.cpp |
79 | +++ b/src/gui/opengl/qopenglpaintengine.cpp | 79 | +++ b/src/gui/opengl/qopenglpaintengine.cpp |
80 | @@ -1978,7 +1978,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) | 80 | @@ -1935,7 +1935,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) |
81 | for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) | 81 | for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) |
82 | d->vertexAttributeArraysEnabledState[i] = false; | 82 | d->vertexAttributeArraysEnabledState[i] = false; |
83 | 83 | ||
@@ -88,7 +88,7 @@ index 0782e42..52afc60 100644 | |||
88 | d->width = sz.width(); | 88 | d->width = sz.width(); |
89 | d->height = sz.height(); | 89 | d->height = sz.height(); |
90 | d->mode = BrushDrawingMode; | 90 | d->mode = BrushDrawingMode; |
91 | @@ -2066,7 +2069,7 @@ void QOpenGL2PaintEngineEx::ensureActive() | 91 | @@ -2023,7 +2026,7 @@ void QOpenGL2PaintEngineEx::ensureActive() |
92 | d->device->ensureActiveTarget(); | 92 | d->device->ensureActiveTarget(); |
93 | 93 | ||
94 | d->transferMode(BrushDrawingMode); | 94 | d->transferMode(BrushDrawingMode); |
@@ -97,7 +97,7 @@ index 0782e42..52afc60 100644 | |||
97 | d->needsSync = false; | 97 | d->needsSync = false; |
98 | d->lastMaskTextureUsed = 0; | 98 | d->lastMaskTextureUsed = 0; |
99 | d->shaderManager->setDirty(); | 99 | d->shaderManager->setDirty(); |
100 | @@ -2109,6 +2112,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | 100 | @@ -2066,6 +2069,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() |
101 | if (bounds == QRect(0, 0, width, height)) { | 101 | if (bounds == QRect(0, 0, width, height)) { |
102 | glDisable(GL_SCISSOR_TEST); | 102 | glDisable(GL_SCISSOR_TEST); |
103 | } else { | 103 | } else { |
@@ -105,7 +105,7 @@ index 0782e42..52afc60 100644 | |||
105 | glEnable(GL_SCISSOR_TEST); | 105 | glEnable(GL_SCISSOR_TEST); |
106 | setScissor(bounds); | 106 | setScissor(bounds); |
107 | } | 107 | } |
108 | @@ -2117,14 +2121,14 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() | 108 | @@ -2074,14 +2078,14 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() |
109 | 109 | ||
110 | void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) | 110 | void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) |
111 | { | 111 | { |
@@ -123,10 +123,10 @@ index 0782e42..52afc60 100644 | |||
123 | } | 123 | } |
124 | 124 | ||
125 | diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h | 125 | diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h |
126 | index d51f0e5..0d4b38d 100644 | 126 | index 93e1b42..d84e8c7 100644 |
127 | --- a/src/gui/opengl/qopenglpaintengine_p.h | 127 | --- a/src/gui/opengl/qopenglpaintengine_p.h |
128 | +++ b/src/gui/opengl/qopenglpaintengine_p.h | 128 | +++ b/src/gui/opengl/qopenglpaintengine_p.h |
129 | @@ -264,6 +264,7 @@ public: | 129 | @@ -261,6 +261,7 @@ public: |
130 | QOpenGL2PaintEngineEx* q; | 130 | QOpenGL2PaintEngineEx* q; |
131 | QOpenGLEngineShaderManager* shaderManager; | 131 | QOpenGLEngineShaderManager* shaderManager; |
132 | QOpenGLPaintDevice* device; | 132 | QOpenGLPaintDevice* device; |
@@ -135,7 +135,7 @@ index d51f0e5..0d4b38d 100644 | |||
135 | QOpenGLContext *ctx; | 135 | QOpenGLContext *ctx; |
136 | EngineMode mode; | 136 | EngineMode mode; |
137 | diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp | 137 | diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp |
138 | index 83f4075..ec29900 100644 | 138 | index b751629..8822faf 100644 |
139 | --- a/src/gui/opengl/qopengltextureglyphcache.cpp | 139 | --- a/src/gui/opengl/qopengltextureglyphcache.cpp |
140 | +++ b/src/gui/opengl/qopengltextureglyphcache.cpp | 140 | +++ b/src/gui/opengl/qopengltextureglyphcache.cpp |
141 | @@ -268,7 +268,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) | 141 | @@ -268,7 +268,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) |
@@ -148,5 +148,5 @@ index 83f4075..ec29900 100644 | |||
148 | } else { | 148 | } else { |
149 | m_blitProgram->disableAttributeArray(int(QT_VERTEX_COORDS_ATTR)); | 149 | m_blitProgram->disableAttributeArray(int(QT_VERTEX_COORDS_ATTR)); |
150 | -- | 150 | -- |
151 | 1.7.9.5 | 151 | 1.8.3.2 |
152 | 152 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0019-Fix-FBO-restoring-in-QOpenGLTextureGlyphCache.patch b/recipes-qt/qt5/qtbase-5.0.2/0019-Fix-FBO-restoring-in-QOpenGLTextureGlyphCache.patch index 96b0a71a..e47c7b6d 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0019-Fix-FBO-restoring-in-QOpenGLTextureGlyphCache.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0019-Fix-FBO-restoring-in-QOpenGLTextureGlyphCache.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From dd2a427857612798071d3f8c23286322654669d6 Mon Sep 17 00:00:00 2001 | 1 | From edea45b25b50932c8c072679d36e97b3cc3c1326 Mon Sep 17 00:00:00 2001 |
2 | From: Valery Volgutov <valery.volgutov@lge.com> | 2 | From: Valery Volgutov <valery.volgutov@lge.com> |
3 | Date: Tue, 21 May 2013 12:02:19 -0700 | 3 | Date: Tue, 21 May 2013 12:02:19 -0700 |
4 | Subject: [PATCH] Fix FBO restoring in QOpenGLTextureGlyphCache | 4 | Subject: [PATCH 19/22] Fix FBO restoring in QOpenGLTextureGlyphCache |
5 | 5 | ||
6 | QOpenGLTextureGlyphCache::restoreTextureData restores FBO which | 6 | QOpenGLTextureGlyphCache::restoreTextureData restores FBO which |
7 | was binded before restoreTextureData call. More specifically, | 7 | was binded before restoreTextureData call. More specifically, |
@@ -15,13 +15,12 @@ GL_FRAMEBUFFER_BINDING query and restoring it. | |||
15 | 15 | ||
16 | Upstream-Status: Backport | 16 | Upstream-Status: Backport |
17 | https://codereview.qt-project.org/#change,56608 | 17 | https://codereview.qt-project.org/#change,56608 |
18 | |||
19 | --- | 18 | --- |
20 | src/gui/opengl/qopengltextureglyphcache.cpp | 5 ++++- | 19 | src/gui/opengl/qopengltextureglyphcache.cpp | 5 ++++- |
21 | 1 file changed, 4 insertions(+), 1 deletion(-) | 20 | 1 file changed, 4 insertions(+), 1 deletion(-) |
22 | 21 | ||
23 | diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp | 22 | diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp |
24 | index 4e20f6a..3e66bad 100644 | 23 | index 8822faf..022356a 100644 |
25 | --- a/src/gui/opengl/qopengltextureglyphcache.cpp | 24 | --- a/src/gui/opengl/qopengltextureglyphcache.cpp |
26 | +++ b/src/gui/opengl/qopengltextureglyphcache.cpp | 25 | +++ b/src/gui/opengl/qopengltextureglyphcache.cpp |
27 | @@ -147,6 +147,9 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) | 26 | @@ -147,6 +147,9 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) |
@@ -42,7 +41,7 @@ index 4e20f6a..3e66bad 100644 | |||
42 | + funcs.glBindFramebuffer(GL_FRAMEBUFFER, saveFbo); | 41 | + funcs.glBindFramebuffer(GL_FRAMEBUFFER, saveFbo); |
43 | 42 | ||
44 | if (pex != 0) { | 43 | if (pex != 0) { |
45 | glViewport(0, 0, pex->width, pex->height); | 44 | glViewport(pex->x, pex->y, pex->width, pex->height); |
46 | -- | 45 | -- |
47 | 1.7.9.5 | 46 | 1.8.3.2 |
48 | 47 | ||
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0020-Use-BGRA-extension-in-bindTexture.patch b/recipes-qt/qt5/qtbase-5.0.2/0020-Use-BGRA-extension-in-bindTexture.patch index 6e881837..fb384f76 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0020-Use-BGRA-extension-in-bindTexture.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0020-Use-BGRA-extension-in-bindTexture.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | From 9108a53309ae584d6622881b418742a9213cb9f1 Mon Sep 17 00:00:00 2001 | 1 | From 87380175cdb88ceadeec5773d8bc40ec08c4e3d6 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: Mon, 27 May 2013 15:25:25 -0700 | 3 | Date: Mon, 27 May 2013 15:25:25 -0700 |
4 | Subject: [PATCH] Use BGRA extension in bindTexture | 4 | Subject: [PATCH 20/22] Use BGRA extension in bindTexture |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Change-Id: I18aecc87c5c7d4483cabe5555da33ca6bb8580f1 | 8 | Change-Id: I18aecc87c5c7d4483cabe5555da33ca6bb8580f1 |
9 | --- | 9 | --- |
10 | src/gui/opengl/qopengltexturecache.cpp | 6 ++---- | 10 | src/gui/opengl/qopengltexturecache.cpp | 6 ++---- |
11 | 1 file changed, 2 insertions(+), 4 deletions(-) | 11 | 1 file changed, 2 insertions(+), 4 deletions(-) |
12 | 12 | ||
13 | diff --git a/src/gui/opengl/qopengltexturecache.cpp b/src/gui/opengl/qopengltexturecache.cpp | 13 | diff --git a/src/gui/opengl/qopengltexturecache.cpp b/src/gui/opengl/qopengltexturecache.cpp |
14 | index 05e9bd4..a268f23 100644 | 14 | index fffc368..11c8b59 100644 |
15 | --- a/src/gui/opengl/qopengltexturecache.cpp | 15 | --- a/src/gui/opengl/qopengltexturecache.cpp |
16 | +++ b/src/gui/opengl/qopengltexturecache.cpp | 16 | +++ b/src/gui/opengl/qopengltexturecache.cpp |
17 | @@ -171,7 +171,7 @@ static inline void qgl_byteSwapImage(QImage &img) | 17 | @@ -171,7 +171,7 @@ static inline void qgl_byteSwapImage(QImage &img) |
@@ -35,5 +35,5 @@ index 05e9bd4..a268f23 100644 | |||
35 | int cost = tx.width() * tx.height() * 4 / 1024; | 35 | int cost = tx.width() * tx.height() * 4 / 1024; |
36 | m_cache.insert(key, new QOpenGLCachedTexture(id, context), cost); | 36 | m_cache.insert(key, new QOpenGLCachedTexture(id, context), cost); |
37 | -- | 37 | -- |
38 | 1.7.9.5 | 38 | 1.8.3.2 |
39 | 39 | ||