diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-04 09:50:32 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-05 15:44:13 +0100 |
commit | 0463e5c173fed7f081760dea6e8f1bbe4cdbb2e8 (patch) | |
tree | dbf652bc6adf22bc60c0fc5f9d77f21de9f5fa5b /meta/recipes-qt/qt4/qt4-4.8.4 | |
parent | 262fa7ee4608c02e41092d3dccaf81463dd4f833 (diff) | |
download | poky-0463e5c173fed7f081760dea6e8f1bbe4cdbb2e8.tar.gz |
qt4: upgrade to 4.8.5
Removed patches integrated upstream.
Added INSANE_SKIP libdir for examples packages as it includes plugin
shared libraries outside of libdir.
(From OE-Core rev: f119566477243ce43b727492dc78b9cb3dd76de4)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.4')
30 files changed, 0 insertions, 1708 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch deleted file mode 100644 index d8b0a09d17..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From 55097d27e8b746b3d5ff437939caf1fa43c0d62b Mon Sep 17 00:00:00 2001 | ||
2 | From: Holger Freyther <zecke@selfish.org> | ||
3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 | ||
4 | Subject: [PATCH 01/21] qlibraryinfo: allow to set qt.conf from the outside | ||
5 | using the environment | ||
6 | |||
7 | Allow to set a qt.conf from the outside using the environment. This allows | ||
8 | to inject new prefixes and other paths into qmake. This is needed when using | ||
9 | the same qmake binary to build qt/x11 and qt/embedded | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
14 | --- | ||
15 | src/corelib/global/qlibraryinfo.cpp | 5 +++++ | ||
16 | 1 file changed, 5 insertions(+) | ||
17 | |||
18 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | ||
19 | index 180dc39..4adad35 100644 | ||
20 | --- a/src/corelib/global/qlibraryinfo.cpp | ||
21 | +++ b/src/corelib/global/qlibraryinfo.cpp | ||
22 | @@ -54,6 +54,7 @@ | ||
23 | QT_BEGIN_NAMESPACE | ||
24 | extern QString qmake_libraryInfoFile(); | ||
25 | QT_END_NAMESPACE | ||
26 | +#include <stdlib.h> | ||
27 | #else | ||
28 | # include "qcoreapplication.h" | ||
29 | #endif | ||
30 | @@ -112,6 +113,10 @@ QSettings *QLibraryInfoPrivate::findConfiguration() | ||
31 | #ifdef BOOTSTRAPPING | ||
32 | if(!QFile::exists(qtconfig)) | ||
33 | qtconfig = qmake_libraryInfoFile(); | ||
34 | + if (!QFile::exists(qtconfig)) { | ||
35 | + QByteArray config = getenv("QT_CONF_PATH"); | ||
36 | + qtconfig = QFile::decodeName(config); | ||
37 | + } | ||
38 | #else | ||
39 | if (!QFile::exists(qtconfig) && QCoreApplication::instance()) { | ||
40 | #ifdef Q_OS_MAC | ||
41 | -- | ||
42 | 1.8.0 | ||
43 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch deleted file mode 100644 index 98fc88738f..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 5e6b1051afa3099a02a758b0596236759d70670e Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Wed, 26 Sep 2012 20:18:08 +0200 | ||
4 | Subject: [PATCH 02/21] qkbdtty_qws: fix build with old kernel headers | ||
5 | |||
6 | This issue is that with C++ compiler process an old version of kernel | ||
7 | header file, coincidently that file has a variable named 'new': | ||
8 | |||
9 | * 'embedded/qkbdtty_qws.cpp' include 'linux/vt.h'; | ||
10 | * '/usr/include/linux/vt.h' has below code on SLED-11.x: | ||
11 | + unsigned int new; | ||
12 | |||
13 | On mostly hosts it has been changed to: new -> newev. | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | |||
17 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
18 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
19 | --- | ||
20 | src/gui/embedded/qkbdtty_qws.cpp | 12 ++++++++++++ | ||
21 | 1 file changed, 12 insertions(+) | ||
22 | |||
23 | diff --git a/src/gui/embedded/qkbdtty_qws.cpp b/src/gui/embedded/qkbdtty_qws.cpp | ||
24 | index a46811b..762138f 100644 | ||
25 | --- a/src/gui/embedded/qkbdtty_qws.cpp | ||
26 | +++ b/src/gui/embedded/qkbdtty_qws.cpp | ||
27 | @@ -54,8 +54,20 @@ | ||
28 | |||
29 | #if defined Q_OS_LINUX | ||
30 | # include <linux/kd.h> | ||
31 | + | ||
32 | +/* Workaround kernel headers using "new" as variable name. The problem | ||
33 | + is specific to SLED-11, other distros use "newev" rather than "new" */ | ||
34 | +#ifdef __cplusplus | ||
35 | +#warning "workaround kernel headers using new as variable name on SLED 11" | ||
36 | +#define new newev | ||
37 | +#endif | ||
38 | + | ||
39 | # include <linux/vt.h> //TODO: move vt handling somewhere else (QLinuxFbScreen?) | ||
40 | |||
41 | +#ifdef __cplusplus | ||
42 | +#undef new | ||
43 | +#endif | ||
44 | + | ||
45 | # include "qscreen_qws.h" | ||
46 | # include "qwindowsystem_qws.h" | ||
47 | # include "qapplication.h" | ||
48 | -- | ||
49 | 1.8.0 | ||
50 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch deleted file mode 100644 index ecaea51e08..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From b6805e883c078f7647d9234aca4e3513ebd1c9bf Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 1 May 2012 07:48:15 +0200 | ||
4 | Subject: [PATCH 03/21] webkit2: set OUTPUT_DIR value if empty | ||
5 | |||
6 | Without this do_configure was trying to create /include/WebCore/libdummy.prl in root of build host filesystem | ||
7 | now it's in proper place ${WORKDIR}/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/include/WebCore/libdummy.prl | ||
8 | |||
9 | First reported here: | ||
10 | http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg24436.html | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
15 | --- | ||
16 | src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro | 2 ++ | ||
17 | 1 file changed, 2 insertions(+) | ||
18 | |||
19 | diff --git a/src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro b/src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro | ||
20 | index 006a88c..5e17193 100644 | ||
21 | --- a/src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro | ||
22 | +++ b/src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro | ||
23 | @@ -3,6 +3,8 @@ TARGET = dummy | ||
24 | |||
25 | CONFIG -= debug_and_release | ||
26 | |||
27 | +isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../.. | ||
28 | + | ||
29 | CONFIG(standalone_package) { | ||
30 | isEmpty(WEBKIT2_GENERATED_SOURCES_DIR):WEBKIT2_GENERATED_SOURCES_DIR = $$PWD/generated | ||
31 | isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = $$PWD/../WebCore/generated | ||
32 | -- | ||
33 | 1.8.0 | ||
34 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch deleted file mode 100644 index 1eb8a5843a..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From af699c6e8cf9fb28d6f8b789bf33d53b47edaec7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Krelin <hacker@klever.net> | ||
3 | Date: Wed, 26 Sep 2012 20:24:20 +0200 | ||
4 | Subject: [PATCH 04/21] configure: qmake is already built in qt4-tools-native, | ||
5 | so disable it | ||
6 | |||
7 | Upstream-Status: Inappropriate [configuration] | ||
8 | |||
9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
10 | --- | ||
11 | configure | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/configure b/configure | ||
15 | index e3d464b..cc04b27 100755 | ||
16 | --- a/configure | ||
17 | +++ b/configure | ||
18 | @@ -4899,7 +4899,7 @@ setBootstrapVariable() | ||
19 | } | ||
20 | |||
21 | # build qmake | ||
22 | -if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
23 | +if false; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
24 | echo "Creating qmake. Please wait..." | ||
25 | |||
26 | OLD_QCONFIG_H= | ||
27 | -- | ||
28 | 1.8.0 | ||
29 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch deleted file mode 100644 index 1a8f2b7f94..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From ac93237bc90ea7773c0ef5275962baba01d4a9c7 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= <jeremy.laine@m4x.org> | ||
3 | Date: Wed, 26 Sep 2012 20:27:44 +0200 | ||
4 | Subject: [PATCH 05/21] configure: set LFLAGS to pick up zlib from staging | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | --- | ||
10 | configure | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/configure b/configure | ||
14 | index cc04b27..5a7c4ee 100755 | ||
15 | --- a/configure | ||
16 | +++ b/configure | ||
17 | @@ -690,7 +690,7 @@ fi | ||
18 | # initalize variables | ||
19 | #------------------------------------------------------------------------------- | ||
20 | |||
21 | -SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS" | ||
22 | +SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS LFLAGS" | ||
23 | for varname in $SYSTEM_VARIABLES; do | ||
24 | qmakevarname="${varname}" | ||
25 | # use LDFLAGS for autoconf compat, but qmake uses QMAKE_LFLAGS | ||
26 | -- | ||
27 | 1.8.0 | ||
28 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch deleted file mode 100644 index 90ebf75095..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From 0bc0db83812b5900dc4e6ffa96bdeab46b6adcae Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 26 Sep 2012 20:29:09 +0200 | ||
4 | Subject: [PATCH 06/21] configure: Use OE_QMAKE_* values to specify Qt utility | ||
5 | paths | ||
6 | |||
7 | Upstream-Status: Inappropriate [configuration] | ||
8 | |||
9 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
10 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
11 | --- | ||
12 | configure | 10 +++++----- | ||
13 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
14 | |||
15 | diff --git a/configure b/configure | ||
16 | index 5a7c4ee..db4d044 100755 | ||
17 | --- a/configure | ||
18 | +++ b/configure | ||
19 | @@ -8683,11 +8683,11 @@ QMAKE_ABSOLUTE_SOURCE_ROOT = \$\$QT_SOURCE_TREE | ||
20 | QMAKE_MOC_SRC = \$\$QT_BUILD_TREE/src/moc | ||
21 | |||
22 | #local paths that cannot be queried from the QT_INSTALL_* properties while building QTDIR | ||
23 | -QMAKE_MOC = \$\$QT_BUILD_TREE/bin/moc | ||
24 | -QMAKE_UIC = \$\$QT_BUILD_TREE/bin/uic | ||
25 | -QMAKE_UIC3 = \$\$QT_BUILD_TREE/bin/uic3 | ||
26 | -QMAKE_RCC = \$\$QT_BUILD_TREE/bin/rcc | ||
27 | -QMAKE_QDBUSXML2CPP = \$\$QT_BUILD_TREE/bin/qdbusxml2cpp | ||
28 | +QMAKE_MOC = \${OE_QMAKE_MOC} | ||
29 | +QMAKE_UIC = \${OE_QMAKE_UIC} | ||
30 | +QMAKE_UIC3 = \${OE_QMAKE_UIC3} | ||
31 | +QMAKE_RCC = \${OE_QMAKE_RCC} | ||
32 | +QMAKE_QDBUSXML2CPP = \${OE_QMAKE_QDBUSXML2CPP} | ||
33 | QMAKE_INCDIR_QT = \$\$QT_BUILD_TREE/include | ||
34 | QMAKE_LIBDIR_QT = \$\$QT_BUILD_TREE/lib | ||
35 | |||
36 | -- | ||
37 | 1.8.0 | ||
38 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch deleted file mode 100644 index 7d3b336f77..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 2011bb8029480af1d1266f258e5a5f5cef7392d3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Pavel Heimlich <tropikhajma@gmail.com> | ||
3 | Date: Wed, 26 Sep 2012 20:31:10 +0200 | ||
4 | Subject: [PATCH 07/21] dbus: Remove "const" usage that causes compile failure | ||
5 | building nativesdk-qt4-tools | ||
6 | |||
7 | Patch has apparently been rejected upstream, not because it is invalid | ||
8 | but because the submitter did not submit a merge request for it, so the | ||
9 | validity of the patch upstream is uncertain. For further details see: | ||
10 | http://bugreports.qt.nokia.com/browse/QTBUG-17962 | ||
11 | |||
12 | Upstream-Status: Denied [possible retry] | ||
13 | |||
14 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
15 | --- | ||
16 | src/dbus/qdbusintegrator.cpp | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp | ||
20 | index 0f0b647..aa4cbab 100644 | ||
21 | --- a/src/dbus/qdbusintegrator.cpp | ||
22 | +++ b/src/dbus/qdbusintegrator.cpp | ||
23 | @@ -73,7 +73,7 @@ QT_BEGIN_NAMESPACE | ||
24 | static bool isDebugging; | ||
25 | #define qDBusDebug if (!::isDebugging); else qDebug | ||
26 | |||
27 | -Q_GLOBAL_STATIC_WITH_ARGS(const QString, orgFreedesktopDBusString, (QLatin1String(DBUS_SERVICE_DBUS))) | ||
28 | +Q_GLOBAL_STATIC_WITH_ARGS(QString, orgFreedesktopDBusString, (QLatin1String(DBUS_SERVICE_DBUS))) | ||
29 | |||
30 | static inline QString dbusServiceString() | ||
31 | { return *orgFreedesktopDBusString(); } | ||
32 | -- | ||
33 | 1.8.0 | ||
34 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch deleted file mode 100644 index ec07f41403..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 64ce5d0e7c19436b928a2a0d9d192f56be3c9bb2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 26 Sep 2012 20:32:41 +0200 | ||
4 | Subject: [PATCH 08/21] qmake.pro: Allow building a separate qmake for the | ||
5 | target | ||
6 | |||
7 | Upstream-Status: Inappropriate [config] | ||
8 | |||
9 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
10 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
11 | --- | ||
12 | qmake/qmake.pro | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/qmake/qmake.pro b/qmake/qmake.pro | ||
16 | index 38e0fce..53b1ffb 100644 | ||
17 | --- a/qmake/qmake.pro | ||
18 | +++ b/qmake/qmake.pro | ||
19 | @@ -7,6 +7,7 @@ CONFIG += console bootstrap | ||
20 | CONFIG -= qt shared app_bundle uic | ||
21 | DEFINES += QT_BUILD_QMAKE QT_BOOTSTRAPPED | ||
22 | DESTDIR = ../bin/ | ||
23 | +TARGET = qmake2 | ||
24 | |||
25 | OBJECTS_DIR = . | ||
26 | MOC_DIR = . | ||
27 | -- | ||
28 | 1.8.0 | ||
29 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0009-qmake-fix-source-file-references-in-qmake.pri.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0009-qmake-fix-source-file-references-in-qmake.pri.patch deleted file mode 100644 index 45b8c10fbe..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0009-qmake-fix-source-file-references-in-qmake.pri.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From e129dc0d6cde69dd15d1836c4111e0526fc29161 Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 26 Sep 2012 20:33:49 +0200 | ||
4 | Subject: [PATCH 09/21] qmake: fix source file references in qmake.pri | ||
5 | |||
6 | Fix duplicate entries in SOURCES and HEADERS, and fix the source file | ||
7 | list for the split of qlocale.cpp. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | qmake/qmake.pri | 8 ++++---- | ||
15 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
16 | |||
17 | diff --git a/qmake/qmake.pri b/qmake/qmake.pri | ||
18 | index 31f67f4..9081669 100644 | ||
19 | --- a/qmake/qmake.pri | ||
20 | +++ b/qmake/qmake.pri | ||
21 | @@ -22,8 +22,7 @@ SOURCES += project.cpp property.cpp main.cpp generators/makefile.cpp \ | ||
22 | generators/symbian/initprojectdeploy_symbian.cpp \ | ||
23 | generators/integrity/gbuild.cpp \ | ||
24 | windows/registry.cpp \ | ||
25 | - symbian/epocroot.cpp \ | ||
26 | - generators/integrity/gbuild.cpp | ||
27 | + symbian/epocroot.cpp | ||
28 | |||
29 | HEADERS += project.h property.h generators/makefile.h \ | ||
30 | generators/unix/unixmake.h meta.h option.h cachekeys.h \ | ||
31 | @@ -40,8 +39,7 @@ HEADERS += project.h property.h generators/makefile.h \ | ||
32 | generators/symbian/initprojectdeploy_symbian.h \ | ||
33 | generators/integrity/gbuild.h \ | ||
34 | windows/registry_p.h \ | ||
35 | - symbian/epocroot_p.h \ | ||
36 | - generators/integrity/gbuild.h | ||
37 | + symbian/epocroot_p.h | ||
38 | |||
39 | contains(QT_EDITION, OpenSource) { | ||
40 | DEFINES += QMAKE_OPENSOURCE_EDITION | ||
41 | @@ -72,6 +70,8 @@ bootstrap { #Qt code | ||
42 | qlist.cpp \ | ||
43 | qlinkedlist.cpp \ | ||
44 | qlocale.cpp \ | ||
45 | + qlocale_tools.cpp \ | ||
46 | + qlocale_unix.cpp \ | ||
47 | qmalloc.cpp \ | ||
48 | qmap.cpp \ | ||
49 | qmetatype.cpp \ | ||
50 | -- | ||
51 | 1.8.0 | ||
52 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch deleted file mode 100644 index 1d2ddab490..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 4888791d1899f781af710dd8813887dea52fda59 Mon Sep 17 00:00:00 2001 | ||
2 | From: Holger Freyther <zecke@selfish.org> | ||
3 | Date: Wed, 26 Sep 2012 20:36:38 +0200 | ||
4 | Subject: [PATCH 10/21] configure: Hack to not use the pg_config of the host | ||
5 | system which will add /usr/include | ||
6 | |||
7 | pg_config is a native binary so using that when cross compiling | ||
8 | will always fail. The commented out fix would do, but for OE | ||
9 | our -platform and -xplatform is the same so we are actually not | ||
10 | really cross compiling. Just comment out the test, we are passing | ||
11 | the location to the postgres headers and if they are okay we | ||
12 | will pad. | ||
13 | |||
14 | Upstream-Status: Inappropriate [configuration] | ||
15 | |||
16 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
17 | --- | ||
18 | configure | 8 ++++---- | ||
19 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
20 | |||
21 | diff --git a/configure b/configure | ||
22 | index db4d044..35a8fe7 100755 | ||
23 | --- a/configure | ||
24 | +++ b/configure | ||
25 | @@ -5511,10 +5511,10 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do | ||
26 | psql) | ||
27 | if [ "$CFG_SQL_psql" != "no" ]; then | ||
28 | # Be careful not to use native pg_config when cross building. | ||
29 | - if [ "$XPLATFORM_MINGW" != "yes" ] && "$WHICH" pg_config >/dev/null 2>&1; then | ||
30 | - QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null` | ||
31 | - QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null` | ||
32 | - fi | ||
33 | +# if [ "$XPLATFORM_MINGW" != "yes" ] && "$WHICH" pg_config >/dev/null 2>&1; then | ||
34 | +# QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null` | ||
35 | +# QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null` | ||
36 | +# fi | ||
37 | [ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL" | ||
38 | [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL" | ||
39 | # But, respect PSQL_LIBS if set | ||
40 | -- | ||
41 | 1.8.0 | ||
42 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0011-freetype-host-includes.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0011-freetype-host-includes.patch deleted file mode 100644 index e0879c5615..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0011-freetype-host-includes.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 3fcffa79e6a5f0448cbfe2bb33fe1218f5dae61d Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Krelin <hacker@klever.net> | ||
3 | Date: Mon, 4 Jun 2007 14:48:50 +0200 | ||
4 | Subject: [PATCH 11/21] freetype host includes | ||
5 | |||
6 | Host include path should not be used in cross compiling case. | ||
7 | |||
8 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | config.tests/unix/freetype/freetype.pri | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/config.tests/unix/freetype/freetype.pri b/config.tests/unix/freetype/freetype.pri | ||
17 | index 7ef1cf9..b362fcd 100644 | ||
18 | --- a/config.tests/unix/freetype/freetype.pri | ||
19 | +++ b/config.tests/unix/freetype/freetype.pri | ||
20 | @@ -1,5 +1,5 @@ | ||
21 | !cross_compile { | ||
22 | - TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH | ||
23 | + TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH | ||
24 | # LSB doesn't allow using headers from /include or /usr/include | ||
25 | linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH | ||
26 | for(p, TRY_INCLUDEPATHS) { | ||
27 | -- | ||
28 | 1.8.0 | ||
29 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0012-Add-2bpp-support.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0012-Add-2bpp-support.patch deleted file mode 100644 index 8402eab635..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0012-Add-2bpp-support.patch +++ /dev/null | |||
@@ -1,318 +0,0 @@ | |||
1 | From 8744273fc452eb54bbeeb7d15823009ce926c6fa Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= <jeremy.laine@m4x.org> | ||
3 | Date: Wed, 26 Sep 2012 20:39:21 +0200 | ||
4 | Subject: [PATCH 12/21] Add 2bpp support | ||
5 | |||
6 | Submitted upstream but rejected as being "out of scope": | ||
7 | http://bugreports.qt.nokia.com/browse/QTBUG-3468 | ||
8 | |||
9 | Upstream-Status: Denied | ||
10 | |||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | configure | 5 +- | ||
14 | src/gui/embedded/qscreen_qws.cpp | 211 ++++++++++++++++++++++++++++++++ | ||
15 | src/gui/embedded/qscreenlinuxfb_qws.cpp | 4 +- | ||
16 | 3 files changed, 216 insertions(+), 4 deletions(-) | ||
17 | |||
18 | diff --git a/configure b/configure | ||
19 | index 35a8fe7..79c1c7b 100755 | ||
20 | --- a/configure | ||
21 | +++ b/configure | ||
22 | @@ -7063,6 +7063,7 @@ if [ "$CFG_QWS_DEPTHS" = "prompted" -a "$PROMPT_FOR_DEPTHS" = "yes" ]; then | ||
23 | echo "Choose pixel-depths to support:" | ||
24 | echo | ||
25 | echo " 1. 1bpp, black/white" | ||
26 | + echo " 2. 2bpp, grayscale" | ||
27 | echo " 4. 4bpp, grayscale" | ||
28 | echo " 8. 8bpp, paletted" | ||
29 | echo " 12. 12bpp, rgb 4-4-4" | ||
30 | @@ -7081,11 +7082,11 @@ if [ "$CFG_QWS_DEPTHS" = "prompted" -a "$PROMPT_FOR_DEPTHS" = "yes" ]; then | ||
31 | fi | ||
32 | if [ -n "$CFG_QWS_DEPTHS" -a "$PLATFORM_QWS" = "yes" ]; then | ||
33 | if [ "$CFG_QWS_DEPTHS" = "all" ]; then | ||
34 | - CFG_QWS_DEPTHS="1 4 8 12 15 16 18 24 32 generic" | ||
35 | + CFG_QWS_DEPTHS="1 2 4 8 12 15 16 18 24 32 generic" | ||
36 | fi | ||
37 | for D in `echo "$CFG_QWS_DEPTHS" | sed -e 's/,/ /g'`; do | ||
38 | case $D in | ||
39 | - 1|4|8|12|15|16|18|24|32) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_$D";; | ||
40 | + 1|2|4|8|12|15|16|18|24|32) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_$D";; | ||
41 | generic) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_GENERIC";; | ||
42 | esac | ||
43 | done | ||
44 | diff --git a/src/gui/embedded/qscreen_qws.cpp b/src/gui/embedded/qscreen_qws.cpp | ||
45 | index b307bf2..88950b3 100644 | ||
46 | --- a/src/gui/embedded/qscreen_qws.cpp | ||
47 | +++ b/src/gui/embedded/qscreen_qws.cpp | ||
48 | @@ -469,6 +469,58 @@ static void solidFill_gray4(QScreen *screen, const QColor &color, | ||
49 | } | ||
50 | #endif // QT_QWS_DEPTH_4 | ||
51 | |||
52 | +#ifdef QT_QWS_DEPTH_2 | ||
53 | +static inline void qt_rectfill_gray2(quint8 *dest, quint8 value, | ||
54 | + int x, int y, int width, int height, | ||
55 | + int stride) | ||
56 | +{ | ||
57 | + const int pixelsPerByte = 4; | ||
58 | + const int alignWidth = qMin(width, (4 - (x & 3)) & 3); | ||
59 | + const int doAlign = (alignWidth > 0 ? 1 : 0); | ||
60 | + const int alignStart = pixelsPerByte - 1 - (x & 3); | ||
61 | + const int alignStop = alignStart - (alignWidth - 1); | ||
62 | + const quint8 alignMask = ((1 << (2 * alignWidth)) - 1) << (2 * alignStop); | ||
63 | + const int tailWidth = (width - alignWidth) & 3; | ||
64 | + const int doTail = (tailWidth > 0 ? 1 : 0); | ||
65 | + const quint8 tailMask = (1 << (2 * (pixelsPerByte - tailWidth))) - 1; | ||
66 | + const int width8 = (width - alignWidth) / pixelsPerByte; | ||
67 | + | ||
68 | + dest += y * stride + x / pixelsPerByte; | ||
69 | + stride -= (doAlign + width8); | ||
70 | + | ||
71 | + for (int j = 0; j < height; ++j) { | ||
72 | + if (doAlign) { | ||
73 | + *dest = (*dest & ~alignMask) | (value & alignMask); | ||
74 | + ++dest; | ||
75 | + } | ||
76 | + if (width8) { | ||
77 | + qt_memfill<quint8>(dest, value, width8); | ||
78 | + dest += width8; | ||
79 | + } | ||
80 | + if (doTail) | ||
81 | + *dest = (*dest & tailMask) | (value & ~tailMask); | ||
82 | + dest += stride; | ||
83 | + } | ||
84 | +} | ||
85 | + | ||
86 | +static void solidFill_gray2(QScreen *screen, const QColor &color, | ||
87 | + const QRegion ®ion) | ||
88 | +{ | ||
89 | + quint8 *dest = reinterpret_cast<quint8*>(screen->base()); | ||
90 | + const quint8 c = qGray(color.rgba()) >> 6; | ||
91 | + const quint8 c8 = (c << 6) | (c << 4) | (c << 2) | c; | ||
92 | + | ||
93 | + const int stride = screen->linestep(); | ||
94 | + const QVector<QRect> rects = region.rects(); | ||
95 | + | ||
96 | + for (int i = 0; i < rects.size(); ++i) { | ||
97 | + const QRect r = rects.at(i); | ||
98 | + qt_rectfill_gray2(dest, c8, r.x(), r.y(), r.width(), r.height(), | ||
99 | + stride); | ||
100 | + } | ||
101 | +} | ||
102 | +#endif // QT_QWS_DEPTH_2 | ||
103 | + | ||
104 | #ifdef QT_QWS_DEPTH_1 | ||
105 | static inline void qt_rectfill_mono(quint8 *dest, quint8 value, | ||
106 | int x, int y, int width, int height, | ||
107 | @@ -576,6 +628,11 @@ void qt_solidFill_setup(QScreen *screen, const QColor &color, | ||
108 | screen->d_ptr->solidFill = solidFill_gray4; | ||
109 | break; | ||
110 | #endif | ||
111 | +#ifdef QT_QWS_DEPTH_2 | ||
112 | + case 2: | ||
113 | + screen->d_ptr->solidFill = solidFill_gray2; | ||
114 | + break; | ||
115 | +#endif | ||
116 | #ifdef QT_QWS_DEPTH_1 | ||
117 | case 1: | ||
118 | screen->d_ptr->solidFill = solidFill_mono; | ||
119 | @@ -1006,6 +1063,149 @@ static void blit_4(QScreen *screen, const QImage &image, | ||
120 | } | ||
121 | #endif // QT_QWS_DEPTH_4 | ||
122 | |||
123 | +#ifdef QT_QWS_DEPTH_2 | ||
124 | + | ||
125 | +struct qgray2 { quint8 dummy; } Q_PACKED; | ||
126 | + | ||
127 | +template <typename SRC> | ||
128 | +static inline quint8 qt_convertToGray2(SRC color); | ||
129 | + | ||
130 | +template <> | ||
131 | +inline quint8 qt_convertToGray2(quint32 color) | ||
132 | +{ | ||
133 | + return qGray(color) >> 6; | ||
134 | +} | ||
135 | + | ||
136 | +template <> | ||
137 | +inline quint8 qt_convertToGray2(quint16 color) | ||
138 | +{ | ||
139 | + const int r = (color & 0xf800) >> 11; | ||
140 | + const int g = (color & 0x07e0) >> 6; // only keep 5 bit | ||
141 | + const int b = (color & 0x001f); | ||
142 | + return (r * 11 + g * 16 + b * 5) >> 8; | ||
143 | +} | ||
144 | + | ||
145 | +template <> | ||
146 | +inline quint8 qt_convertToGray2(qrgb444 color) | ||
147 | +{ | ||
148 | + return qt_convertToGray2(quint32(color)); | ||
149 | +} | ||
150 | + | ||
151 | +template <> | ||
152 | +inline quint8 qt_convertToGray2(qargb4444 color) | ||
153 | +{ | ||
154 | + return qt_convertToGray2(quint32(color)); | ||
155 | +} | ||
156 | + | ||
157 | +template <typename SRC> | ||
158 | +static inline void qt_rectconvert_gray2(qgray2 *dest2, const SRC *src, | ||
159 | + int x, int y, int width, int height, | ||
160 | + int dstStride, int srcStride) | ||
161 | +{ | ||
162 | + const int pixelsPerByte = 4; | ||
163 | + quint8 *dest8 = reinterpret_cast<quint8*>(dest2) | ||
164 | + + y * dstStride + x / pixelsPerByte; | ||
165 | + const int alignWidth = qMin(width, (4 - (x & 3)) & 3); | ||
166 | + const int doAlign = (alignWidth > 0 ? 1 : 0); | ||
167 | + const int alignStart = pixelsPerByte - 1 - (x & 3); | ||
168 | + const int alignStop = alignStart - (alignWidth - 1); | ||
169 | + const quint8 alignMask = ((1 << (2 * alignWidth)) - 1) << (2 * alignStop); | ||
170 | + const int tailWidth = (width - alignWidth) & 3; | ||
171 | + const int doTail = (tailWidth > 0 ? 1 : 0); | ||
172 | + const quint8 tailMask = (1 << (2 * (pixelsPerByte - tailWidth))) - 1; | ||
173 | + const int width8 = (width - alignWidth) / pixelsPerByte; | ||
174 | + | ||
175 | + srcStride = srcStride / sizeof(SRC) - (width8 * pixelsPerByte + alignWidth); | ||
176 | + dstStride -= (width8 + doAlign); | ||
177 | + | ||
178 | + for (int j = 0; j < height; ++j) { | ||
179 | + if (doAlign) { | ||
180 | + quint8 d = *dest8 & ~alignMask; | ||
181 | + for (int i = alignStart; i >= alignStop; --i) | ||
182 | + d |= qt_convertToGray2<SRC>(*src++) << (2 * i); | ||
183 | + *dest8++ = d; | ||
184 | + } | ||
185 | + for (int i = 0; i < width8; ++i) { | ||
186 | + *dest8 = (qt_convertToGray2<SRC>(src[0]) << 6) | ||
187 | + | (qt_convertToGray2<SRC>(src[1]) << 4) | ||
188 | + | (qt_convertToGray2<SRC>(src[2]) << 2) | ||
189 | + | (qt_convertToGray2<SRC>(src[3])); | ||
190 | + src += 4; | ||
191 | + ++dest8; | ||
192 | + } | ||
193 | + if (doTail) { | ||
194 | + quint8 d = *dest8 & tailMask; | ||
195 | + switch (tailWidth) { | ||
196 | + case 3: d |= qt_convertToGray2<SRC>(src[2]) << 2; | ||
197 | + case 2: d |= qt_convertToGray2<SRC>(src[1]) << 4; | ||
198 | + case 1: d |= qt_convertToGray2<SRC>(src[0]) << 6; | ||
199 | + } | ||
200 | + *dest8 = d; | ||
201 | + } | ||
202 | + | ||
203 | + dest8 += dstStride; | ||
204 | + src += srcStride; | ||
205 | + } | ||
206 | +} | ||
207 | + | ||
208 | +template <> | ||
209 | +void qt_rectconvert(qgray2 *dest, const quint32 *src, | ||
210 | + int x, int y, int width, int height, | ||
211 | + int dstStride, int srcStride) | ||
212 | +{ | ||
213 | + qt_rectconvert_gray2<quint32>(dest, src, x, y, width, height, | ||
214 | + dstStride, srcStride); | ||
215 | +} | ||
216 | + | ||
217 | +template <> | ||
218 | +void qt_rectconvert(qgray2 *dest, const quint16 *src, | ||
219 | + int x, int y, int width, int height, | ||
220 | + int dstStride, int srcStride) | ||
221 | +{ | ||
222 | + qt_rectconvert_gray2<quint16>(dest, src, x, y, width, height, | ||
223 | + dstStride, srcStride); | ||
224 | +} | ||
225 | + | ||
226 | +template <> | ||
227 | +void qt_rectconvert(qgray2 *dest, const qrgb444 *src, | ||
228 | + int x, int y, int width, int height, | ||
229 | + int dstStride, int srcStride) | ||
230 | +{ | ||
231 | + qt_rectconvert_gray2<qrgb444>(dest, src, x, y, width, height, | ||
232 | + dstStride, srcStride); | ||
233 | +} | ||
234 | + | ||
235 | +template <> | ||
236 | +void qt_rectconvert(qgray2 *dest, const qargb4444 *src, | ||
237 | + int x, int y, int width, int height, | ||
238 | + int dstStride, int srcStride) | ||
239 | +{ | ||
240 | + qt_rectconvert_gray2<qargb4444>(dest, src, x, y, width, height, | ||
241 | + dstStride, srcStride); | ||
242 | +} | ||
243 | + | ||
244 | +static void blit_2(QScreen *screen, const QImage &image, | ||
245 | + const QPoint &topLeft, const QRegion ®ion) | ||
246 | +{ | ||
247 | + switch (image.format()) { | ||
248 | + case QImage::Format_ARGB32_Premultiplied: | ||
249 | + blit_template<qgray2, quint32>(screen, image, topLeft, region); | ||
250 | + return; | ||
251 | + case QImage::Format_RGB16: | ||
252 | + blit_template<qgray2, quint16>(screen, image, topLeft, region); | ||
253 | + return; | ||
254 | + case QImage::Format_RGB444: | ||
255 | + blit_template<qgray2, qrgb444>(screen, image, topLeft, region); | ||
256 | + return; | ||
257 | + case QImage::Format_ARGB4444_Premultiplied: | ||
258 | + blit_template<qgray2, qargb4444>(screen, image, topLeft, region); | ||
259 | + return; | ||
260 | + default: | ||
261 | + qCritical("blit_2(): Image format %d not supported!", image.format()); | ||
262 | + } | ||
263 | +} | ||
264 | +#endif // QT_QWS_DEPTH_2 | ||
265 | + | ||
266 | #ifdef QT_QWS_DEPTH_1 | ||
267 | |||
268 | struct qmono { quint8 dummy; } Q_PACKED; | ||
269 | @@ -1259,6 +1459,11 @@ void qt_blit_setup(QScreen *screen, const QImage &image, | ||
270 | screen->d_ptr->blit = blit_4; | ||
271 | break; | ||
272 | #endif | ||
273 | +#ifdef QT_QWS_DEPTH_2 | ||
274 | + case 2: | ||
275 | + screen->d_ptr->blit = blit_2; | ||
276 | + break; | ||
277 | +#endif | ||
278 | #ifdef QT_QWS_DEPTH_1 | ||
279 | case 1: | ||
280 | screen->d_ptr->blit = blit_1; | ||
281 | @@ -2146,6 +2351,8 @@ int QScreen::alloc(unsigned int r,unsigned int g,unsigned int b) | ||
282 | } | ||
283 | } else if (d == 4) { | ||
284 | ret = qGray(r, g, b) >> 4; | ||
285 | + } else if (d == 2) { | ||
286 | + ret = qGray(r, g, b) >> 6; | ||
287 | } else if (d == 1) { | ||
288 | ret = qGray(r, g, b) >= 128; | ||
289 | } else { | ||
290 | @@ -2216,6 +2423,10 @@ bool QScreen::supportsDepth(int d) const | ||
291 | } else if(d==1) { | ||
292 | return true; | ||
293 | #endif | ||
294 | +#ifdef QT_QWS_DEPTH_2 | ||
295 | + } else if(d==2) { | ||
296 | + return true; | ||
297 | +#endif | ||
298 | #ifdef QT_QWS_DEPTH_4 | ||
299 | } else if(d==4) { | ||
300 | return true; | ||
301 | diff --git a/src/gui/embedded/qscreenlinuxfb_qws.cpp b/src/gui/embedded/qscreenlinuxfb_qws.cpp | ||
302 | index 6f3caad..14159ee 100644 | ||
303 | --- a/src/gui/embedded/qscreenlinuxfb_qws.cpp | ||
304 | +++ b/src/gui/embedded/qscreenlinuxfb_qws.cpp | ||
305 | @@ -466,8 +466,8 @@ bool QLinuxFbScreen::connect(const QString &displaySpec) | ||
306 | setupOffScreen(); | ||
307 | |||
308 | // Now read in palette | ||
309 | - if((vinfo.bits_per_pixel==8) || (vinfo.bits_per_pixel==4)) { | ||
310 | - screencols= (vinfo.bits_per_pixel==8) ? 256 : 16; | ||
311 | + if((vinfo.bits_per_pixel==8) || (vinfo.bits_per_pixel==4) || (vinfo.bits_per_pixel==2)) { | ||
312 | + screencols= 1 << vinfo.bits_per_pixel; | ||
313 | int loopc; | ||
314 | ::fb_cmap startcmap; | ||
315 | startcmap.start=0; | ||
316 | -- | ||
317 | 1.8.0 | ||
318 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0013-configure-add-crossarch-option.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0013-configure-add-crossarch-option.patch deleted file mode 100644 index aa464fd1ed..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0013-configure-add-crossarch-option.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | From 549342fa380ed2a9ad41be3d04ee2f0585f6a465 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Lauer <mickey@vanille-media.de> | ||
3 | Date: Wed, 26 Sep 2012 20:41:32 +0200 | ||
4 | Subject: [PATCH 13/21] configure: add "-crossarch" option | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | --- | ||
10 | configure | 7 ++++++- | ||
11 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/configure b/configure | ||
14 | index 79c1c7b..7983c3d 100755 | ||
15 | --- a/configure | ||
16 | +++ b/configure | ||
17 | @@ -1153,7 +1153,7 @@ while [ "$#" -gt 0 ]; do | ||
18 | shift | ||
19 | VAL=$1 | ||
20 | ;; | ||
21 | - -prefix|-docdir|-headerdir|-plugindir|-importdir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-device-option|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-sysroot) | ||
22 | + -prefix|-docdir|-headerdir|-plugindir|-importdir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-device-option|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-sysroot|-crossarch) | ||
23 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` | ||
24 | shift | ||
25 | VAL="$1" | ||
26 | @@ -1709,6 +1709,9 @@ while [ "$#" -gt 0 ]; do | ||
27 | DEV_VAL=`echo $VAL | sed "s,^.*=\(.*\),\1,"` | ||
28 | DeviceVar set $DEV_VAR $DEV_VAL | ||
29 | ;; | ||
30 | + crossarch) | ||
31 | + CROSSARCH="$VAL" | ||
32 | + ;; | ||
33 | debug-and-release) | ||
34 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
35 | CFG_DEBUG_RELEASE="$VAL" | ||
36 | @@ -3324,6 +3327,8 @@ arm*) | ||
37 | ;; | ||
38 | esac | ||
39 | |||
40 | +CFG_ARCH="$CROSSARCH" | ||
41 | + | ||
42 | if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then | ||
43 | if [ "$OPT_VERBOSE" = "yes" ]; then | ||
44 | echo " '$CFG_ARCH' is supported" | ||
45 | -- | ||
46 | 1.8.0 | ||
47 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0014-translations-fix-phony-translation-linking-error.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0014-translations-fix-phony-translation-linking-error.patch deleted file mode 100644 index 66724a8ecf..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0014-translations-fix-phony-translation-linking-error.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 21af8f6d21b28a53041affb11b58d6316023fa92 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Wed, 26 Sep 2012 20:45:10 +0200 | ||
4 | Subject: [PATCH 14/21] translations: fix phony translation linking error | ||
5 | |||
6 | | .../usr/lib/crt1.o: In function `_start': | ||
7 | | .../../sysdeps/i386/elf/start.S:115: undefined reference to `main' | ||
8 | | collect2: ld returned 1 exit status | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | translations/translations.pro | 4 ++-- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/translations/translations.pro b/translations/translations.pro | ||
18 | index dc99beb..0d98829 100644 | ||
19 | --- a/translations/translations.pro | ||
20 | +++ b/translations/translations.pro | ||
21 | @@ -101,7 +101,7 @@ updateqm.name = LRELEASE ${QMAKE_FILE_IN} | ||
22 | updateqm.CONFIG += no_link | ||
23 | QMAKE_EXTRA_COMPILERS += updateqm | ||
24 | |||
25 | -isEmpty(vcproj) { | ||
26 | +!isEmpty(vcproj) { | ||
27 | QMAKE_LINK = @: IGNORE THIS LINE | ||
28 | OBJECTS_DIR = | ||
29 | win32:CONFIG -= embed_manifest_exe | ||
30 | @@ -111,7 +111,7 @@ isEmpty(vcproj) { | ||
31 | phony_src.input = PHONY_DEPS | ||
32 | phony_src.output = phony.c | ||
33 | phony_src.variable_out = GENERATED_SOURCES | ||
34 | - phony_src.commands = echo int main() { return 0; } > phony.c | ||
35 | + phony_src.commands = echo \"int main() { return 0; }\" > phony.c | ||
36 | phony_src.name = CREATE phony.c | ||
37 | phony_src.CONFIG += combine | ||
38 | QMAKE_EXTRA_COMPILERS += phony_src | ||
39 | -- | ||
40 | 1.8.0 | ||
41 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0015-configure-add-nostrip-for-debug-packages.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0015-configure-add-nostrip-for-debug-packages.patch deleted file mode 100644 index b5db49128c..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0015-configure-add-nostrip-for-debug-packages.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 9250fed086a4a8a645a972764a9bf34e4566ec2e Mon Sep 17 00:00:00 2001 | ||
2 | From: Fathi Boudra <fabo@debian.org> | ||
3 | Date: Wed, 26 Sep 2012 20:46:14 +0200 | ||
4 | Subject: [PATCH 15/21] configure: add nostrip for debug packages | ||
5 | |||
6 | Qt is built in release mode and strip files by default. | ||
7 | Set CONFIG+=nostrip to avoid the stripping and | ||
8 | let dh_strip do it to generate debug packages. | ||
9 | |||
10 | Upstream-Status: Inappropriate [Configuration] | ||
11 | |||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | configure | 2 ++ | ||
15 | 1 file changed, 2 insertions(+) | ||
16 | |||
17 | diff --git a/configure b/configure | ||
18 | index 7983c3d..d02824b 100755 | ||
19 | --- a/configure | ||
20 | +++ b/configure | ||
21 | @@ -710,6 +710,8 @@ mkdir -p "$outpath/config.tests" | ||
22 | rm -f "$outpath/config.tests/.qmake.cache" | ||
23 | cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache" | ||
24 | |||
25 | +QMakeVar add CONFIG nostrip | ||
26 | + | ||
27 | QMakeVar add styles "cde mac motif plastique cleanlooks windows" | ||
28 | QMakeVar add decorations "default windows styled" | ||
29 | QMakeVar add mouse-drivers "pc" | ||
30 | -- | ||
31 | 1.8.0 | ||
32 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0016-configure-eval-QMAKE_CXX.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0016-configure-eval-QMAKE_CXX.patch deleted file mode 100644 index 9c3de47b4b..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0016-configure-eval-QMAKE_CXX.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 8403634a71f067eec514b6d2193cf41e281dff8e Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 26 Sep 2012 20:47:08 +0200 | ||
4 | Subject: [PATCH 16/21] configure: eval QMAKE_CXX | ||
5 | |||
6 | Allow expansion of $(...) references in QMAKE_CXX (currently its value | ||
7 | is $(OE_QMAKE_CXX)) in order to allow compiler version check to succeed | ||
8 | which allows WebKit to be enabled. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
13 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
14 | |||
15 | Conflicts: | ||
16 | configure | ||
17 | --- | ||
18 | configure | 3 ++- | ||
19 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/configure b/configure | ||
22 | index d02824b..891d6e7 100755 | ||
23 | --- a/configure | ||
24 | +++ b/configure | ||
25 | @@ -3409,7 +3409,8 @@ else | ||
26 | CFG_FRAMEWORK=no | ||
27 | fi | ||
28 | |||
29 | -QMAKE_CONF_COMPILER=`getXQMakeConf QMAKE_CXX` | ||
30 | +QMAKE_CONF_COMPILER=`getXQMakeConf QMAKE_CXX | sed -n 's/$[(]\([0-9a-zA-Z_]*\)[)]/$\1/pg'` | ||
31 | +QMAKE_CONF_COMPILER=`eval "echo $QMAKE_CONF_COMPILER"` | ||
32 | TEST_COMPILER="$CXX" | ||
33 | |||
34 | [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER | ||
35 | -- | ||
36 | 1.8.0 | ||
37 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch deleted file mode 100644 index 9471966660..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From d2bb701b551402f0befddd0e906423596bdc0df7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 26 Sep 2012 20:48:37 +0200 | ||
4 | Subject: [PATCH 17/21] configure: ensure we identify the compiler as g++ in | ||
5 | configure | ||
6 | |||
7 | Our PLATFORM in OE is ${TARGET_OS}-oe-g++, and previously the configure | ||
8 | script was interpreting from this that the compiler was "oe-g++" and | ||
9 | thus | ||
10 | g++ specific checks were not being run since this string did not match; | ||
11 | among other things this resulted in a compiler version check in the | ||
12 | QtWebKit build code not working, and hence the following error at build | ||
13 | time: | ||
14 | |||
15 | ./wtf/NullPtr.h:48:1: error: identifier 'nullptr' will become a keyword | ||
16 | in C++0x [-Werror=c++0x-compat] | ||
17 | |||
18 | The easiest thing since our PLATFORM is entirely artificial is to just | ||
19 | force COMPILER to "g++" in the configure script if it is detected as | ||
20 | "oe-g++". | ||
21 | |||
22 | Upstream-Status: Inappropriate [configuration] | ||
23 | |||
24 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
25 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
26 | --- | ||
27 | configure | 3 +++ | ||
28 | 1 file changed, 3 insertions(+) | ||
29 | |||
30 | diff --git a/configure b/configure | ||
31 | index 891d6e7..7031898 100755 | ||
32 | --- a/configure | ||
33 | +++ b/configure | ||
34 | @@ -7592,6 +7592,9 @@ elif [ "$XPLATFORM" != "$PLATFORM" ]; then | ||
35 | else | ||
36 | COMPILER=`echo $PLATFORM | cut -f 2- -d-` | ||
37 | fi | ||
38 | +case $COMPILER in | ||
39 | + *oe-g++) COMPILER="g++" ;; | ||
40 | +esac | ||
41 | if [ "$CFG_EXCEPTIONS" = "unspecified" -a "$PLATFORM_QWS" = "yes" ]; then | ||
42 | CFG_EXCEPTIONS=no | ||
43 | fi | ||
44 | -- | ||
45 | 1.8.0 | ||
46 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0018-configure-make-pulseaudio-a-configurable-option.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0018-configure-make-pulseaudio-a-configurable-option.patch deleted file mode 100644 index 19cdd4c57d..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0018-configure-make-pulseaudio-a-configurable-option.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From d6dc1a7d6594d7e395347732a3e553fc82ccab3d Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Tue, 28 Feb 2012 15:10:24 +0000 | ||
4 | Subject: [PATCH 18/21] configure: make pulseaudio a configurable option | ||
5 | |||
6 | Allows disabling pulseaudio support within phonon at configure time. | ||
7 | (This is the Qt 4.8.0 version.) | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | configure | 9 ++++++++- | ||
15 | 1 file changed, 8 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/configure b/configure | ||
18 | index 7031898..a4a42f1 100755 | ||
19 | --- a/configure | ||
20 | +++ b/configure | ||
21 | @@ -1139,7 +1139,7 @@ while [ "$#" -gt 0 ]; do | ||
22 | VAL=no | ||
23 | ;; | ||
24 | #Qt style yes options | ||
25 | - -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xsync|-xinput|-egl|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-carbon|-universal|-harfbuzz|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-audio-backend|-svg|-declarative|-declarative-debug|-javascript-jit|-script|-scripttools|-rpath|-force-pkg-config|-s60|-usedeffiles|-icu) | ||
26 | + -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xsync|-xinput|-egl|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-pulseaudio|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-carbon|-universal|-harfbuzz|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-audio-backend|-svg|-declarative|-declarative-debug|-javascript-jit|-script|-scripttools|-rpath|-force-pkg-config|-s60|-usedeffiles|-icu) | ||
27 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` | ||
28 | VAL=yes | ||
29 | ;; | ||
30 | @@ -2120,6 +2120,13 @@ while [ "$#" -gt 0 ]; do | ||
31 | UNKNOWN_OPT=yes | ||
32 | fi | ||
33 | ;; | ||
34 | + pulseaudio) | ||
35 | + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
36 | + CFG_PULSEAUDIO="$VAL" | ||
37 | + else | ||
38 | + UNKNOWN_OPT=yes | ||
39 | + fi | ||
40 | + ;; | ||
41 | gtkstyle) | ||
42 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
43 | CFG_QGTKSTYLE="$VAL" | ||
44 | -- | ||
45 | 1.8.0 | ||
46 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0019-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0019-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch deleted file mode 100644 index a83d2470a1..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0019-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | From 1f1da2f24d3028b250dbc2e98e2b7e37862b3771 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Wed, 26 Sep 2012 20:54:38 +0200 | ||
4 | Subject: [PATCH 19/21] Fixes for gcc 4.7.0, particularly on qemux86 | ||
5 | |||
6 | Origin: upstream, http://trac.webkit.org/changeset/93631 | ||
7 | Origin: upstream, http://trac.webkit.org/changeset/113848 | ||
8 | |||
9 | Bug: https://bugs.webkit.org/show_bug.cgi?id=62168 | ||
10 | Bug: https://bugs.webkit.org/show_bug.cgi?id=83584 | ||
11 | |||
12 | RP 2012/04/30 | ||
13 | |||
14 | Upstream-Status: Backport | ||
15 | |||
16 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
17 | --- | ||
18 | src/3rdparty/webkit/Source/WebCore/dom/Element.cpp | 2 +- | ||
19 | src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | 2 +- | ||
20 | .../webkit/Source/WebCore/platform/graphics/TiledBackingStoreClient.h | 1 + | ||
21 | 3 files changed, 3 insertions(+), 2 deletions(-) | ||
22 | |||
23 | diff --git a/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp b/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp | ||
24 | index 32e47ca..b8e7389 100644 | ||
25 | --- a/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp | ||
26 | +++ b/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp | ||
27 | @@ -1080,7 +1080,7 @@ void Element::recalcStyle(StyleChange change) | ||
28 | { | ||
29 | // Ref currentStyle in case it would otherwise be deleted when setRenderStyle() is called. | ||
30 | RefPtr<RenderStyle> currentStyle(renderStyle()); | ||
31 | - bool hasParentStyle = parentNodeForRenderingAndStyle() ? parentNodeForRenderingAndStyle()->renderStyle() : false; | ||
32 | + bool hasParentStyle = parentNodeForRenderingAndStyle() ? static_cast<bool>(parentNodeForRenderingAndStyle()->renderStyle()) : false; | ||
33 | bool hasDirectAdjacentRules = currentStyle && currentStyle->childrenAffectedByDirectAdjacentRules(); | ||
34 | bool hasIndirectAdjacentRules = currentStyle && currentStyle->childrenAffectedByForwardPositionalRules(); | ||
35 | |||
36 | diff --git a/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp b/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | ||
37 | index d66075e..ab8f111 100644 | ||
38 | --- a/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | ||
39 | +++ b/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | ||
40 | @@ -74,7 +74,7 @@ PassRefPtr<HTMLImageElement> HTMLImageElement::createForJSConstructor(Document* | ||
41 | RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document)); | ||
42 | if (optionalWidth) | ||
43 | image->setWidth(*optionalWidth); | ||
44 | - if (optionalHeight > 0) | ||
45 | + if (optionalHeight) | ||
46 | image->setHeight(*optionalHeight); | ||
47 | return image.release(); | ||
48 | } | ||
49 | diff --git a/src/3rdparty/webkit/Source/WebCore/platform/graphics/TiledBackingStoreClient.h b/src/3rdparty/webkit/Source/WebCore/platform/graphics/TiledBackingStoreClient.h | ||
50 | index 6087ec3..6d748f6 100644 | ||
51 | --- a/src/3rdparty/webkit/Source/WebCore/platform/graphics/TiledBackingStoreClient.h | ||
52 | +++ b/src/3rdparty/webkit/Source/WebCore/platform/graphics/TiledBackingStoreClient.h | ||
53 | @@ -25,6 +25,7 @@ namespace WebCore { | ||
54 | #if ENABLE(TILED_BACKING_STORE) | ||
55 | class TiledBackingStoreClient { | ||
56 | public: | ||
57 | + virtual ~TiledBackingStoreClient() { } | ||
58 | virtual void tiledBackingStorePaintBegin() = 0; | ||
59 | virtual void tiledBackingStorePaint(GraphicsContext*, const IntRect&) = 0; | ||
60 | virtual void tiledBackingStorePaintEnd(const Vector<IntRect>& paintedArea) = 0; | ||
61 | -- | ||
62 | 1.8.0 | ||
63 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0020-webkit-disable-the-fuse-ld-gold-flag.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0020-webkit-disable-the-fuse-ld-gold-flag.patch deleted file mode 100644 index 92eddebaec..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0020-webkit-disable-the-fuse-ld-gold-flag.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From d90b496f9ffdc828928ef84afad43260ea67ec1f Mon Sep 17 00:00:00 2001 | ||
2 | From: Ken Werner <ken.werner@linaro.org> | ||
3 | Date: Wed, 26 Sep 2012 20:55:21 +0200 | ||
4 | Subject: [PATCH 20/21] webkit: disable the -fuse-ld=gold flag | ||
5 | |||
6 | This option is a Debian/Ubuntu specific extension to the g++ and causes upstream GCC to throw an error. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Ken Werner <ken.werner@linaro.org> | ||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | src/3rdparty/webkit/Source/common.pri | 12 ++++++------ | ||
14 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
15 | |||
16 | diff --git a/src/3rdparty/webkit/Source/common.pri b/src/3rdparty/webkit/Source/common.pri | ||
17 | index 0f62e14..d81a1f0 100644 | ||
18 | --- a/src/3rdparty/webkit/Source/common.pri | ||
19 | +++ b/src/3rdparty/webkit/Source/common.pri | ||
20 | @@ -3,12 +3,12 @@ | ||
21 | contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1 | ||
22 | contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0 | ||
23 | |||
24 | -linux-g++ { | ||
25 | -isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) { | ||
26 | - message(Using gold linker) | ||
27 | - QMAKE_LFLAGS+=-fuse-ld=gold | ||
28 | -} | ||
29 | -} | ||
30 | +#linux-g++ { | ||
31 | +#isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) { | ||
32 | +# message(Using gold linker) | ||
33 | +# QMAKE_LFLAGS+=-fuse-ld=gold | ||
34 | +#} | ||
35 | +#} | ||
36 | |||
37 | # We use this flag on production branches | ||
38 | # See https://bugs.webkit.org/show_bug.cgi?id=60824 | ||
39 | -- | ||
40 | 1.8.0 | ||
41 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0021-configure-make-qt4-native-work-with-long-building-pa.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0021-configure-make-qt4-native-work-with-long-building-pa.patch deleted file mode 100644 index dbc90227a5..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0021-configure-make-qt4-native-work-with-long-building-pa.patch +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | From 6742ac7ea6fd1e9c82ecb5305f84e721242f857d Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Wed, 5 Dec 2012 07:48:15 +0200 | ||
4 | Subject: [PATCH 21/21] configure: make qt4-native work with long building | ||
5 | path. | ||
6 | |||
7 | Upstream-Status: Submitted | ||
8 | |||
9 | Reference: https://bugreports.qt-project.org/browse/QTBUG-28292 | ||
10 | |||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | configure | 52 ++++++++++++++++++++++++++-------------------------- | ||
15 | 1 file changed, 26 insertions(+), 26 deletions(-) | ||
16 | |||
17 | diff --git a/configure b/configure | ||
18 | index a4a42f1..2358563 100755 | ||
19 | --- a/configure | ||
20 | +++ b/configure | ||
21 | @@ -4779,8 +4779,8 @@ DEMOS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_demopath=$QT_INST | ||
22 | TODAY=`date +%Y-%m-%d` | ||
23 | cat > "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF | ||
24 | /* License Info */ | ||
25 | -static const char qt_configure_licensee_str [256 + 12] = "$LICENSE_USER_STR"; | ||
26 | -static const char qt_configure_licensed_products_str [256 + 12] = "$LICENSE_PRODUCTS_STR"; | ||
27 | +static const char qt_configure_licensee_str [512 + 12] = "$LICENSE_USER_STR"; | ||
28 | +static const char qt_configure_licensed_products_str [512 + 12] = "$LICENSE_PRODUCTS_STR"; | ||
29 | |||
30 | /* Installation date */ | ||
31 | static const char qt_configure_installation [12+11] = "qt_instdate=$TODAY"; | ||
32 | @@ -4805,36 +4805,36 @@ if [ ! -z "$QT_HOST_PREFIX" ]; then | ||
33 | |||
34 | #if defined(QT_BOOTSTRAPPED) || defined(QT_BUILD_QMAKE) | ||
35 | /* Installation Info */ | ||
36 | -static const char qt_configure_prefix_path_str [256 + 12] = "$HOSTPREFIX_PATH_STR"; | ||
37 | -static const char qt_configure_documentation_path_str[256 + 12] = "$HOSTDOCUMENTATION_PATH_STR"; | ||
38 | -static const char qt_configure_headers_path_str [256 + 12] = "$HOSTHEADERS_PATH_STR"; | ||
39 | -static const char qt_configure_libraries_path_str [256 + 12] = "$HOSTLIBRARIES_PATH_STR"; | ||
40 | -static const char qt_configure_binaries_path_str [256 + 12] = "$HOSTBINARIES_PATH_STR"; | ||
41 | -static const char qt_configure_plugins_path_str [256 + 12] = "$HOSTPLUGINS_PATH_STR"; | ||
42 | -static const char qt_configure_imports_path_str [256 + 12] = "$HOSTIMPORTS_PATH_STR"; | ||
43 | -static const char qt_configure_data_path_str [256 + 12] = "$HOSTDATA_PATH_STR"; | ||
44 | -static const char qt_configure_translations_path_str [256 + 12] = "$HOSTTRANSLATIONS_PATH_STR"; | ||
45 | -static const char qt_configure_settings_path_str [256 + 12] = "$HOSTSETTINGS_PATH_STR"; | ||
46 | -static const char qt_configure_examples_path_str [256 + 12] = "$HOSTEXAMPLES_PATH_STR"; | ||
47 | -static const char qt_configure_demos_path_str [256 + 12] = "$HOSTDEMOS_PATH_STR"; | ||
48 | +static const char qt_configure_prefix_path_str [512 + 12] = "$HOSTPREFIX_PATH_STR"; | ||
49 | +static const char qt_configure_documentation_path_str[512 + 12] = "$HOSTDOCUMENTATION_PATH_STR"; | ||
50 | +static const char qt_configure_headers_path_str [512 + 12] = "$HOSTHEADERS_PATH_STR"; | ||
51 | +static const char qt_configure_libraries_path_str [512 + 12] = "$HOSTLIBRARIES_PATH_STR"; | ||
52 | +static const char qt_configure_binaries_path_str [512 + 12] = "$HOSTBINARIES_PATH_STR"; | ||
53 | +static const char qt_configure_plugins_path_str [512 + 12] = "$HOSTPLUGINS_PATH_STR"; | ||
54 | +static const char qt_configure_imports_path_str [512 + 12] = "$HOSTIMPORTS_PATH_STR"; | ||
55 | +static const char qt_configure_data_path_str [512 + 12] = "$HOSTDATA_PATH_STR"; | ||
56 | +static const char qt_configure_translations_path_str [512 + 12] = "$HOSTTRANSLATIONS_PATH_STR"; | ||
57 | +static const char qt_configure_settings_path_str [512 + 12] = "$HOSTSETTINGS_PATH_STR"; | ||
58 | +static const char qt_configure_examples_path_str [512 + 12] = "$HOSTEXAMPLES_PATH_STR"; | ||
59 | +static const char qt_configure_demos_path_str [512 + 12] = "$HOSTDEMOS_PATH_STR"; | ||
60 | #else // QT_BOOTSTRAPPED | ||
61 | EOF | ||
62 | fi | ||
63 | |||
64 | cat >> "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF | ||
65 | /* Installation Info */ | ||
66 | -static const char qt_configure_prefix_path_str [256 + 12] = "$PREFIX_PATH_STR"; | ||
67 | -static const char qt_configure_documentation_path_str[256 + 12] = "$DOCUMENTATION_PATH_STR"; | ||
68 | -static const char qt_configure_headers_path_str [256 + 12] = "$HEADERS_PATH_STR"; | ||
69 | -static const char qt_configure_libraries_path_str [256 + 12] = "$LIBRARIES_PATH_STR"; | ||
70 | -static const char qt_configure_binaries_path_str [256 + 12] = "$BINARIES_PATH_STR"; | ||
71 | -static const char qt_configure_plugins_path_str [256 + 12] = "$PLUGINS_PATH_STR"; | ||
72 | -static const char qt_configure_imports_path_str [256 + 12] = "$IMPORTS_PATH_STR"; | ||
73 | -static const char qt_configure_data_path_str [256 + 12] = "$DATA_PATH_STR"; | ||
74 | -static const char qt_configure_translations_path_str [256 + 12] = "$TRANSLATIONS_PATH_STR"; | ||
75 | -static const char qt_configure_settings_path_str [256 + 12] = "$SETTINGS_PATH_STR"; | ||
76 | -static const char qt_configure_examples_path_str [256 + 12] = "$EXAMPLES_PATH_STR"; | ||
77 | -static const char qt_configure_demos_path_str [256 + 12] = "$DEMOS_PATH_STR"; | ||
78 | +static const char qt_configure_prefix_path_str [512 + 12] = "$PREFIX_PATH_STR"; | ||
79 | +static const char qt_configure_documentation_path_str[512 + 12] = "$DOCUMENTATION_PATH_STR"; | ||
80 | +static const char qt_configure_headers_path_str [512 + 12] = "$HEADERS_PATH_STR"; | ||
81 | +static const char qt_configure_libraries_path_str [512 + 12] = "$LIBRARIES_PATH_STR"; | ||
82 | +static const char qt_configure_binaries_path_str [512 + 12] = "$BINARIES_PATH_STR"; | ||
83 | +static const char qt_configure_plugins_path_str [512 + 12] = "$PLUGINS_PATH_STR"; | ||
84 | +static const char qt_configure_imports_path_str [512 + 12] = "$IMPORTS_PATH_STR"; | ||
85 | +static const char qt_configure_data_path_str [512 + 12] = "$DATA_PATH_STR"; | ||
86 | +static const char qt_configure_translations_path_str [512 + 12] = "$TRANSLATIONS_PATH_STR"; | ||
87 | +static const char qt_configure_settings_path_str [512 + 12] = "$SETTINGS_PATH_STR"; | ||
88 | +static const char qt_configure_examples_path_str [512 + 12] = "$EXAMPLES_PATH_STR"; | ||
89 | +static const char qt_configure_demos_path_str [512 + 12] = "$DEMOS_PATH_STR"; | ||
90 | EOF | ||
91 | |||
92 | if [ ! -z "$QT_HOST_PREFIX" ]; then | ||
93 | -- | ||
94 | 1.8.0 | ||
95 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0022-ssl-certificates-blacklist-mis-issued-turktrust-certificates.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0022-ssl-certificates-blacklist-mis-issued-turktrust-certificates.patch deleted file mode 100644 index 8caef97405..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0022-ssl-certificates-blacklist-mis-issued-turktrust-certificates.patch +++ /dev/null | |||
@@ -1,108 +0,0 @@ | |||
1 | From 451462b1e0304e0cb6c2872e4f5688bc2e556dca Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Hartmann <phartmann@rim.com> | ||
3 | Date: Fri, 4 Jan 2013 11:06:14 +0100 | ||
4 | Subject: [PATCH] SSL certificates: blacklist mis-issued Turktrust certificates | ||
5 | |||
6 | Those certificates have erroneously set the CA attribute to true, | ||
7 | meaning everybody in possesion of their keys can issue certificates on | ||
8 | their own. | ||
9 | |||
10 | backport of bf5e7fb2652669599a508e049b46ebd5cd3206e5 from qtbase | ||
11 | |||
12 | Task-number: QTBUG-28937 | ||
13 | Change-Id: Iee57c6f983fee61c13c3b66ed874300ef8e80c23 | ||
14 | Reviewed-by: Richard J. Moore <rich@kde.org> | ||
15 | |||
16 | Upstream-Status: Accepted https://codereview.qt-project.org/#change,43968 | ||
17 | --- | ||
18 | src/network/ssl/qsslcertificate.cpp | 3 ++ | ||
19 | ...ted-turktrust-e-islem.kktcmerkezbankasi.org.pem | 24 +++++++++++++++ | ||
20 | .../blacklisted-turktrust-ego.gov.tr.pem | 31 ++++++++++++++++++++ | ||
21 | 3 files changed, 58 insertions(+), 0 deletions(-) | ||
22 | create mode 100644 tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-e-islem.kktcmerkezbankasi.org.pem | ||
23 | create mode 100644 tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-ego.gov.tr.pem | ||
24 | |||
25 | diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp | ||
26 | index 038187f..37799d1 100644 | ||
27 | --- a/src/network/ssl/qsslcertificate.cpp | ||
28 | +++ b/src/network/ssl/qsslcertificate.cpp | ||
29 | @@ -825,6 +825,9 @@ static const char *certificate_blacklist[] = { | ||
30 | |||
31 | "120001705", "Digisign Server ID (Enrich)", // (Malaysian) Digicert Sdn. Bhd. cross-signed by Verizon CyberTrust | ||
32 | "1276011370", "Digisign Server ID - (Enrich)", // (Malaysian) Digicert Sdn. Bhd. cross-signed by Entrust | ||
33 | + | ||
34 | + "2087", "*.EGO.GOV.TR", // Turktrust mis-issued intermediate certificate | ||
35 | + "2148", "e-islem.kktcmerkezbankasi.org", // Turktrust mis-issued intermediate certificate | ||
36 | 0 | ||
37 | }; | ||
38 | |||
39 | diff --git a/tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-e-islem.kktcmerkezbankasi.org.pem b/tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-e-islem.kktcmerkezbankasi.org.pem | ||
40 | new file mode 100644 | ||
41 | index 0000000..33f2ef4 | ||
42 | --- /dev/null | ||
43 | +++ b/tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-e-islem.kktcmerkezbankasi.org.pem | ||
44 | @@ -0,0 +1,24 @@ | ||
45 | +-----BEGIN CERTIFICATE----- | ||
46 | +MIID8DCCAtigAwIBAgICCGQwDQYJKoZIhvcNAQEFBQAwgawxPTA7BgNVBAMMNFTD | ||
47 | +nFJLVFJVU1QgRWxla3Ryb25payBTdW51Y3UgU2VydGlmaWthc8SxIEhpem1ldGxl | ||
48 | +cmkxCzAJBgNVBAYTAlRSMV4wXAYDVQQKDFVUw5xSS1RSVVNUIEJpbGdpIMSwbGV0 | ||
49 | +acWfaW0gdmUgQmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAo | ||
50 | +YykgS2FzxLFtICAyMDA1MB4XDTExMDgwODA3MDc1MVoXDTIxMDgwNTA3MDc1MVow | ||
51 | +gaMxCzAJBgNVBAYTAlRSMRAwDgYDVQQIEwdMZWZrb3NhMRAwDgYDVQQHEwdMZWZr | ||
52 | +b3NhMRwwGgYDVQQKExNLS1RDIE1lcmtleiBCYW5rYXNpMSYwJAYDVQQDEx1lLWlz | ||
53 | +bGVtLmtrdGNtZXJrZXpiYW5rYXNpLm9yZzEqMCgGCSqGSIb3DQEJARYbaWxldGlA | ||
54 | +a2t0Y21lcmtlemJhbmthc2kub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB | ||
55 | +CgKCAQEAw1hUpuRFY67NsZ6C9rzRAPCb9RVpi4nZzJIA1TvIfr4hMPM0X5jseMf5 | ||
56 | +GvgJQ+cBMZtooDd7BbZNy2z7O5A+8PYFaMDdokCENx2ePIqAVuO6C5UAqM7J3n6R | ||
57 | +rhjOvqiw6dTQMbtXhjFao+YMuBVvRuuhGHBDK3Je64T/KLzcmAUlRJEuy+ZMe7Aa | ||
58 | +tUaSDr/jy5DMA5xEYOdsnS5Zo30lRG+9vqbxb8CQi+E97sNjY+W4lEgJKQWMNh5r | ||
59 | +Cxo4Hinkm3CKyKX3PAS+DDVI3LQiCiIQUOMA2+1P5aTPTkpqlbjqhbWTWAPWOKCF | ||
60 | +9d83p3RMXOYt5GahS8rg5u6+toEC1QIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAQYw | ||
61 | +DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAwjWz5tsUvYORVW8K | ||
62 | +JSK/biHFrAnFotMtoTKEewRmnYaYjwXIr1IPaBqhjkGGviLN2eOH/v97Uli6HC4l | ||
63 | +zhKHfMQUS9KF/f5nGcH8iQBy/gmFsfJQ1KDC6GNM4CfMGIzyxjYhP0VzdUtKX3PA | ||
64 | +l5EqgMUcdqRDy6Ruz55+JkdvCL1nAC7xH+czJcZVwysTdGfLTCh6VtYPgIkeL6U8 | ||
65 | +3xQAyMuOHm72exJljYFqIsiNvGE0KufCqCuH1PD97IXMrLlwGmKKg5jP349lySBp | ||
66 | +Jjm6RDqCTT+6dUl2jkVbeNmco99Y7AOdtLsOdXBMCo5x8lK8zwQWFrzEms0joHXC | ||
67 | +pWfGWA== | ||
68 | +-----END CERTIFICATE----- | ||
69 | diff --git a/tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-ego.gov.tr.pem b/tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-ego.gov.tr.pem | ||
70 | new file mode 100644 | ||
71 | index 0000000..e9d048f | ||
72 | --- /dev/null | ||
73 | +++ b/tests/auto/qsslcertificate/more-certificates/blacklisted-turktrust-ego.gov.tr.pem | ||
74 | @@ -0,0 +1,31 @@ | ||
75 | +-----BEGIN CERTIFICATE----- | ||
76 | +MIIFPTCCBCWgAwIBAgICCCcwDQYJKoZIhvcNAQEFBQAwgawxPTA7BgNVBAMMNFTD | ||
77 | +nFJLVFJVU1QgRWxla3Ryb25payBTdW51Y3UgU2VydGlmaWthc8SxIEhpem1ldGxl | ||
78 | +cmkxCzAJBgNVBAYTAlRSMV4wXAYDVQQKDFVUw5xSS1RSVVNUIEJpbGdpIMSwbGV0 | ||
79 | +acWfaW0gdmUgQmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAo | ||
80 | +YykgS2FzxLFtICAyMDA1MB4XDTExMDgwODA3MDc1MVoXDTIxMDcwNjA3MDc1MVow | ||
81 | +bjELMAkGA1UEBhMCVFIxDzANBgNVBAgMBkFOS0FSQTEPMA0GA1UEBwwGQU5LQVJB | ||
82 | +MQwwCgYDVQQKDANFR08xGDAWBgNVBAsMD0VHTyBCSUxHSSBJU0xFTTEVMBMGA1UE | ||
83 | +AwwMKi5FR08uR09WLlRSMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA | ||
84 | +v5zoj2Bpdl7R1M/zF6Qf4su2F8vDqISKvuTuyJhNAHhFGHCsHjaixGMHspuz0l3V | ||
85 | +50kq/ECWbN8kKaeTrB112QOrWTU276iup1Gh+OlEOiR9vlQ4VAP00dWUjD6z9HQF | ||
86 | +Ci8W3EsEtiiHiYOU9BcPpPkaUbECwP4nGVwR8aPwhB5PGBJc98romdvciYkUpSOO | ||
87 | +wkuSRtooA7tRlLFu72QaNpXN1NueB36I3aajPk0YyiXy2w8XlgK7QI4PSSBnSq+Q | ||
88 | +blFocWVmLhF94je7py6lCnllrIFXpR3FWZLD5GcI6HKlBS78AQ+IMBLFHhsEVw5N | ||
89 | +Qj90chSZClfBWBZzIaV9RwIDAQABo4IBpDCCAaAwHwYDVR0jBBgwFoAUq042AzDS | ||
90 | +29UKaL6HpVBs/PZwpSUwHQYDVR0OBBYEFGT7G4Y9uEryRIL5Vj3qJsD047M0MA4G | ||
91 | +A1UdDwEB/wQEAwIBBjBFBgNVHSAEPjA8MDoGCWCGGAMAAwEBATAtMCsGCCsGAQUF | ||
92 | +BwIBFh9odHRwOi8vd3d3LnR1cmt0cnVzdC5jb20udHIvc3VlMA8GA1UdEwEB/wQF | ||
93 | +MAMBAf8wSQYDVR0fBEIwQDA+oDygOoY4aHR0cDovL3d3dy50dXJrdHJ1c3QuY29t | ||
94 | +LnRyL3NpbC9UVVJLVFJVU1RfU1NMX1NJTF9zMi5jcmwwgaoGCCsGAQUFBwEBBIGd | ||
95 | +MIGaMG4GCCsGAQUFBzAChmJodHRwOi8vd3d3LnR1cmt0cnVzdC5jb20udHIvc2Vy | ||
96 | +dGlmaWthbGFyL1RVUktUUlVTVF9FbGVrdHJvbmlrX1N1bnVjdV9TZXJ0aWZpa2Fz | ||
97 | +aV9IaXptZXRsZXJpX3MyLmNydDAoBggrBgEFBQcwAYYcaHR0cDovL29jc3AudHVy | ||
98 | +a3RydXN0LmNvbS50cjANBgkqhkiG9w0BAQUFAAOCAQEAj89QCCyoW0S20EcYDZAn | ||
99 | +vFLFmougK97Bt68iV1OM622+Cyeyf4Sz+1LBk1f9ni3fGT0Q+RWZJYWq5YuSBiLV | ||
100 | +gk3NLcxnwe3wmnvErUgq1QDtAaNlBWMEMklOlWGfJ0eWaillUskJbDd4KwgZHDEj | ||
101 | +7g/jYEQqU1t0zoJdwM/zNsnLHkhwcWZ5PQnnbpff1Ct/1LH/8pdy2eRDmRmqniLU | ||
102 | +h8r2lZfJeudVZG6yIbxsqP3t2JCq5c2P1jDhAGF3g9DiskH0CzsRdbVpoWdr+PY1 | ||
103 | +Xz/19G8XEpX9r+IBJhLdbkpVo0Qh0A10mzFP/GUk5f/8nho2HvLaVMhWv1qKcF8I | ||
104 | +hQ== | ||
105 | +-----END CERTIFICATE----- | ||
106 | -- | ||
107 | 1.7.1 | ||
108 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0023-qtnetwork-blacklist-two-more-certificates.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0023-qtnetwork-blacklist-two-more-certificates.patch deleted file mode 100644 index 54171f7647..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0023-qtnetwork-blacklist-two-more-certificates.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 180bf94c241728dd6d6f100437914d3cb11cbc30 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Petersson <Martin.Petersson@nokia.com> | ||
3 | Date: Wed, 7 Mar 2012 12:05:59 +0100 | ||
4 | Subject: [PATCH] QtNetwork: blacklist two more certificates | ||
5 | |||
6 | The comodogate 72:03:21:05:c5:0c:08:57:3d:8e:a5:30:4e:fe:e8:b0 | ||
7 | certificate is a test certificate and the MD5 Collisions was created | ||
8 | as a proof of concept deliberately made to be expired at the time | ||
9 | of it's creation. | ||
10 | |||
11 | Task-number: QTBUG-24654 | ||
12 | (cherry picked from commit 4c0df9feb2b44d0c4fcaa5076f00aa08fbc1dda5) | ||
13 | |||
14 | Signed-off-by: Peter Hartmann <phartmann@rim.com> | ||
15 | |||
16 | Apparently this commit was forgotten to cherry-pick to Qt 4. | ||
17 | |||
18 | Change-Id: I86949eaa3c02483b0b66b4a620bfa88aaa9aa99b | ||
19 | Reviewed-by: Richard J. Moore <rich@kde.org> | ||
20 | |||
21 | Upstream-Status: Accepted https://codereview.qt-project.org/#change,43992 | ||
22 | --- | ||
23 | src/network/ssl/qsslcertificate.cpp | 2 ++ | ||
24 | 1 files changed, 2 insertions(+), 0 deletions(-) | ||
25 | |||
26 | diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp | ||
27 | index 37799d1..300a261 100644 | ||
28 | --- a/src/network/ssl/qsslcertificate.cpp | ||
29 | +++ b/src/network/ssl/qsslcertificate.cpp | ||
30 | @@ -825,6 +825,8 @@ static const char *certificate_blacklist[] = { | ||
31 | |||
32 | "120001705", "Digisign Server ID (Enrich)", // (Malaysian) Digicert Sdn. Bhd. cross-signed by Verizon CyberTrust | ||
33 | "1276011370", "Digisign Server ID - (Enrich)", // (Malaysian) Digicert Sdn. Bhd. cross-signed by Entrust | ||
34 | + "72:03:21:05:c5:0c:08:57:3d:8e:a5:30:4e:fe:e8:b0", "UTN-USERFirst-Hardware", // comodogate test certificate | ||
35 | + "41", "MD5 Collisions Inc. (http://www.phreedom.org/md5)", // http://www.phreedom.org/research/rogue-ca/ | ||
36 | |||
37 | "2087", "*.EGO.GOV.TR", // Turktrust mis-issued intermediate certificate | ||
38 | "2148", "e-islem.kktcmerkezbankasi.org", // Turktrust mis-issued intermediate certificate | ||
39 | -- | ||
40 | 1.7.1 | ||
41 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0024-Change-all-shmget-calls-to-user-only-memory.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0024-Change-all-shmget-calls-to-user-only-memory.patch deleted file mode 100644 index 6c796a36c9..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0024-Change-all-shmget-calls-to-user-only-memory.patch +++ /dev/null | |||
@@ -1,147 +0,0 @@ | |||
1 | From 20b26bdb3dd5e46b01b9a7e1ce8342074df3c89c Mon Sep 17 00:00:00 2001 | ||
2 | From: Thiago Macieira <thiago.macieira@intel.com> | ||
3 | Date: Sat, 22 Dec 2012 08:32:12 -0800 | ||
4 | Subject: [PATCH] Change all shmget calls to user-only memory | ||
5 | |||
6 | Drop the read and write permissions for group and other users in the | ||
7 | system. | ||
8 | |||
9 | Change-Id: I8fc753f09126651af3fb82df3049050f0b14e876 | ||
10 | (cherry-picked from Qt 5 commit 856f209fb63ae336bfb389a12d2a75fa886dc1c5) | ||
11 | Reviewed-by: Richard J. Moore <rich@kde.org> | ||
12 | |||
13 | Upstream-Status: Accepted http://qt.gitorious.org/qt/qt/commit/20b26bdb3dd5e46b01b9a7e1ce8342074df3c89c | ||
14 | --- | ||
15 | src/corelib/kernel/qsharedmemory_unix.cpp | 6 +++--- | ||
16 | src/corelib/kernel/qsystemsemaphore_unix.cpp | 4 ++-- | ||
17 | src/gui/image/qnativeimage.cpp | 2 +- | ||
18 | src/gui/image/qpixmap_x11.cpp | 2 +- | ||
19 | src/plugins/platforms/xcb/qxcbwindowsurface.cpp | 2 +- | ||
20 | src/plugins/platforms/xlib/qxlibwindowsurface.cpp | 2 +- | ||
21 | .../auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp | 2 +- | ||
22 | tools/qvfb/qvfbshmem.cpp | 4 ++-- | ||
23 | 8 files changed, 12 insertions(+), 12 deletions(-) | ||
24 | |||
25 | diff --git a/src/corelib/kernel/qsharedmemory_unix.cpp b/src/corelib/kernel/qsharedmemory_unix.cpp | ||
26 | index 20d76e3..4cf3acf 100644 | ||
27 | --- a/src/corelib/kernel/qsharedmemory_unix.cpp | ||
28 | +++ b/src/corelib/kernel/qsharedmemory_unix.cpp | ||
29 | @@ -238,7 +238,7 @@ bool QSharedMemoryPrivate::create(int size) | ||
30 | } | ||
31 | |||
32 | // create | ||
33 | - if (-1 == shmget(unix_key, size, 0666 | IPC_CREAT | IPC_EXCL)) { | ||
34 | + if (-1 == shmget(unix_key, size, 0600 | IPC_CREAT | IPC_EXCL)) { | ||
35 | QString function = QLatin1String("QSharedMemory::create"); | ||
36 | switch (errno) { | ||
37 | case EINVAL: | ||
38 | @@ -293,7 +293,7 @@ bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) | ||
39 | { | ||
40 | #ifndef QT_POSIX_IPC | ||
41 | // grab the shared memory segment id | ||
42 | - int id = shmget(unix_key, 0, (mode == QSharedMemory::ReadOnly ? 0444 : 0660)); | ||
43 | + int id = shmget(unix_key, 0, (mode == QSharedMemory::ReadOnly ? 0400 : 0600)); | ||
44 | if (-1 == id) { | ||
45 | setErrorString(QLatin1String("QSharedMemory::attach (shmget)")); | ||
46 | return false; | ||
47 | @@ -381,7 +381,7 @@ bool QSharedMemoryPrivate::detach() | ||
48 | size = 0; | ||
49 | |||
50 | // Get the number of current attachments | ||
51 | - int id = shmget(unix_key, 0, 0444); | ||
52 | + int id = shmget(unix_key, 0, 0400); | ||
53 | cleanHandle(); | ||
54 | |||
55 | struct shmid_ds shmid_ds; | ||
56 | diff --git a/src/corelib/kernel/qsystemsemaphore_unix.cpp b/src/corelib/kernel/qsystemsemaphore_unix.cpp | ||
57 | index fad9acc..e77456b 100644 | ||
58 | --- a/src/corelib/kernel/qsystemsemaphore_unix.cpp | ||
59 | +++ b/src/corelib/kernel/qsystemsemaphore_unix.cpp | ||
60 | @@ -153,10 +153,10 @@ key_t QSystemSemaphorePrivate::handle(QSystemSemaphore::AccessMode mode) | ||
61 | } | ||
62 | |||
63 | // Get semaphore | ||
64 | - semaphore = semget(unix_key, 1, 0666 | IPC_CREAT | IPC_EXCL); | ||
65 | + semaphore = semget(unix_key, 1, 0600 | IPC_CREAT | IPC_EXCL); | ||
66 | if (-1 == semaphore) { | ||
67 | if (errno == EEXIST) | ||
68 | - semaphore = semget(unix_key, 1, 0666 | IPC_CREAT); | ||
69 | + semaphore = semget(unix_key, 1, 0600 | IPC_CREAT); | ||
70 | if (-1 == semaphore) { | ||
71 | setErrorString(QLatin1String("QSystemSemaphore::handle")); | ||
72 | cleanHandle(); | ||
73 | diff --git a/src/gui/image/qnativeimage.cpp b/src/gui/image/qnativeimage.cpp | ||
74 | index 9654afe..fef38c5 100644 | ||
75 | --- a/src/gui/image/qnativeimage.cpp | ||
76 | +++ b/src/gui/image/qnativeimage.cpp | ||
77 | @@ -176,7 +176,7 @@ QNativeImage::QNativeImage(int width, int height, QImage::Format format,bool /* | ||
78 | |||
79 | bool ok; | ||
80 | xshminfo.shmid = shmget(IPC_PRIVATE, xshmimg->bytes_per_line * xshmimg->height, | ||
81 | - IPC_CREAT | 0777); | ||
82 | + IPC_CREAT | 0700); | ||
83 | ok = xshminfo.shmid != -1; | ||
84 | if (ok) { | ||
85 | xshmimg->data = (char*)shmat(xshminfo.shmid, 0, 0); | ||
86 | diff --git a/src/gui/image/qpixmap_x11.cpp b/src/gui/image/qpixmap_x11.cpp | ||
87 | index 280d8bd..88c9b7b 100644 | ||
88 | --- a/src/gui/image/qpixmap_x11.cpp | ||
89 | +++ b/src/gui/image/qpixmap_x11.cpp | ||
90 | @@ -193,7 +193,7 @@ static bool qt_create_mitshm_buffer(const QPaintDevice* dev, int w, int h) | ||
91 | bool ok; | ||
92 | xshminfo.shmid = shmget(IPC_PRIVATE, | ||
93 | xshmimg->bytes_per_line * xshmimg->height, | ||
94 | - IPC_CREAT | 0777); | ||
95 | + IPC_CREAT | 0700); | ||
96 | ok = xshminfo.shmid != -1; | ||
97 | if (ok) { | ||
98 | xshmimg->data = (char*)shmat(xshminfo.shmid, 0, 0); | ||
99 | diff --git a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp | ||
100 | index b6a42d8..0d56821 100644 | ||
101 | --- a/src/plugins/platforms/xcb/qxcbwindowsurface.cpp | ||
102 | +++ b/src/plugins/platforms/xcb/qxcbwindowsurface.cpp | ||
103 | @@ -98,7 +98,7 @@ QXcbShmImage::QXcbShmImage(QXcbScreen *screen, const QSize &size, uint depth, QI | ||
104 | 0); | ||
105 | |||
106 | m_shm_info.shmid = shmget (IPC_PRIVATE, | ||
107 | - m_xcb_image->stride * m_xcb_image->height, IPC_CREAT|0777); | ||
108 | + m_xcb_image->stride * m_xcb_image->height, IPC_CREAT|0600); | ||
109 | |||
110 | m_shm_info.shmaddr = m_xcb_image->data = (quint8 *)shmat (m_shm_info.shmid, 0, 0); | ||
111 | m_shm_info.shmseg = xcb_generate_id(xcb_connection()); | ||
112 | diff --git a/src/plugins/platforms/xlib/qxlibwindowsurface.cpp b/src/plugins/platforms/xlib/qxlibwindowsurface.cpp | ||
113 | index bf003eb..46a2f97 100644 | ||
114 | --- a/src/plugins/platforms/xlib/qxlibwindowsurface.cpp | ||
115 | +++ b/src/plugins/platforms/xlib/qxlibwindowsurface.cpp | ||
116 | @@ -99,7 +99,7 @@ void QXlibWindowSurface::resizeShmImage(int width, int height) | ||
117 | |||
118 | |||
119 | image_info->shminfo.shmid = shmget (IPC_PRIVATE, | ||
120 | - image->bytes_per_line * image->height, IPC_CREAT|0777); | ||
121 | + image->bytes_per_line * image->height, IPC_CREAT|0700); | ||
122 | |||
123 | image_info->shminfo.shmaddr = image->data = (char*)shmat (image_info->shminfo.shmid, 0, 0); | ||
124 | image_info->shminfo.readOnly = False; | ||
125 | diff --git a/tools/qvfb/qvfbshmem.cpp b/tools/qvfb/qvfbshmem.cpp | ||
126 | index 7f9671f..84b6ebe 100644 | ||
127 | --- a/tools/qvfb/qvfbshmem.cpp | ||
128 | +++ b/tools/qvfb/qvfbshmem.cpp | ||
129 | @@ -176,13 +176,13 @@ QShMemViewProtocol::QShMemViewProtocol(int displayid, const QSize &s, | ||
130 | uint data_offset_value = sizeof(QVFbHeader); | ||
131 | |||
132 | int dataSize = bpl * h + data_offset_value; | ||
133 | - shmId = shmget(key, dataSize, IPC_CREAT | 0666); | ||
134 | + shmId = shmget(key, dataSize, IPC_CREAT | 0600); | ||
135 | if (shmId != -1) | ||
136 | data = (unsigned char *)shmat(shmId, 0, 0); | ||
137 | else { | ||
138 | struct shmid_ds shm; | ||
139 | shmctl(shmId, IPC_RMID, &shm); | ||
140 | - shmId = shmget(key, dataSize, IPC_CREAT | 0666); | ||
141 | + shmId = shmget(key, dataSize, IPC_CREAT | 0600); | ||
142 | if (shmId == -1) { | ||
143 | perror("QShMemViewProtocol::QShMemViewProtocol"); | ||
144 | qFatal("Cannot get shared memory 0x%08x", key); | ||
145 | -- | ||
146 | 1.7.1 | ||
147 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch deleted file mode 100644 index 498f14f69a..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0025-Remove-unnecessary-typedef-found-by-gcc4-8.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From https://codereview.qt-project.org/p/qt/qt | ||
2 | * branch refs/changes/22/53322/2 -> FETCH_HEAD | ||
3 | From 28524b867ee8c9784f00eec0f07e4d9491a651b8 Mon Sep 17 00:00:00 2001 | ||
4 | From: Thiago Macieira <thiago.macieira@intel.com> | ||
5 | Date: Tue, 9 Apr 2013 16:41:23 -0700 | ||
6 | Subject: [PATCH] Remove unnecessary typedef, found by GCC 4.8 | ||
7 | |||
8 | qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs] | ||
9 | |||
10 | Qt5 commit: d4c241a98059edaa7a4b15beb1cfd16ed041284e (qtbase) | ||
11 | Task-number: QTBUG-30594 | ||
12 | Change-Id: Icc69e41c2d4e11962f0c8434236d4847b46e7d9d | ||
13 | |||
14 | Upstream-Status: Pending for 4.8.5 [1] | ||
15 | |||
16 | [1] https://codereview.qt-project.org/#change,53322 | ||
17 | |||
18 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
19 | --- | ||
20 | src/corelib/concurrent/qtconcurrentfilter.h | 1 - | ||
21 | 1 files changed, 0 insertions(+), 1 deletions(-) | ||
22 | |||
23 | diff --git a/src/corelib/concurrent/qtconcurrentfilter.h b/src/corelib/concurrent/qtconcurrentfilter.h | ||
24 | index 50b58bd..5a70182 100644 | ||
25 | --- a/src/corelib/concurrent/qtconcurrentfilter.h | ||
26 | +++ b/src/corelib/concurrent/qtconcurrentfilter.h | ||
27 | @@ -105,7 +105,6 @@ namespace QtConcurrent { | ||
28 | template <typename Sequence, typename KeepFunctor, typename ReduceFunctor> | ||
29 | ThreadEngineStarter<void> filterInternal(Sequence &sequence, KeepFunctor keep, ReduceFunctor reduce) | ||
30 | { | ||
31 | - typedef typename Sequence::const_iterator Iterator; | ||
32 | typedef FilterKernel<Sequence, KeepFunctor, ReduceFunctor> KernelType; | ||
33 | return startThreadEngine(new KernelType(sequence, keep, reduce)); | ||
34 | } | ||
35 | -- | ||
36 | 1.7.4.4 | ||
37 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch deleted file mode 100644 index a37e35f980..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 1c75ea0332054c420efd676c147e45eee43e0118 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jonathan Liu <net147@gmail.com> | ||
3 | Date: Thu, 6 Jun 2013 12:42:13 +1000 | ||
4 | Subject: [PATCH] Don't overwrite QMAKE_QT_CONFIG with empty value | ||
5 | |||
6 | If the mkspec sets QMAKE_QT_CONFIG, QMAKE_QT_CONFIG may be overwritten | ||
7 | with an empty value from .qmake.cache. Avoid this by first checking | ||
8 | if the value from .qmake.cache is not empty before assigning it to | ||
9 | QMAKE_QT_CONFIG. | ||
10 | |||
11 | Upstream-Status: Submitted | ||
12 | https://codereview.qt-project.org/#change,58109 | ||
13 | |||
14 | Change-Id: I95fa630139b8798156a2fb15d0dde630a0a53a0a | ||
15 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
16 | --- | ||
17 | mkspecs/features/qt_config.prf | 6 +++++- | ||
18 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/mkspecs/features/qt_config.prf b/mkspecs/features/qt_config.prf | ||
21 | index fc14cdd..e059b7e 100644 | ||
22 | --- a/mkspecs/features/qt_config.prf | ||
23 | +++ b/mkspecs/features/qt_config.prf | ||
24 | @@ -1,7 +1,11 @@ | ||
25 | # This file is loaded by the mkspecs, before .qmake.cache has been loaded. | ||
26 | # Consequently, we have to do some stunts to get values out of the cache. | ||
27 | |||
28 | -exists($$_QMAKE_CACHE_):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG) | ||
29 | +exists($$_QMAKE_CACHE_) { | ||
30 | + qdd = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG) | ||
31 | + !isEmpty(qdd): QMAKE_QT_CONFIG = $$qdd | ||
32 | + unset(qdd) | ||
33 | +} | ||
34 | isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) { | ||
35 | qdd = $$QT_BUILD_TREE | ||
36 | isEmpty(qdd):exists($$_QMAKE_CACHE_): qdd = $$fromfile($$_QMAKE_CACHE_, QT_BUILD_TREE) | ||
37 | -- | ||
38 | 1.8.2.3 | ||
39 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0027-tools.pro-disable-qmeegographicssystemhelper.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0027-tools.pro-disable-qmeegographicssystemhelper.patch deleted file mode 100644 index 6e30aeed02..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/0027-tools.pro-disable-qmeegographicssystemhelper.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 0460e2a5f13aaf0081c3c9fec89280046842ddbb Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Wed, 3 Jul 2013 17:48:30 +0100 | ||
4 | Subject: [PATCH] tools.pro: disable qmeegographicssystemhelper | ||
5 | |||
6 | We don't want this enabled just because we have EGL and OpenGL ES 2.0 | ||
7 | enabled. | ||
8 | |||
9 | Upstream-Status: Inappropriate [config] | ||
10 | |||
11 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
12 | --- | ||
13 | tools/tools.pro | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/tools/tools.pro b/tools/tools.pro | ||
17 | index 0e27053..2d3f36d 100644 | ||
18 | --- a/tools/tools.pro | ||
19 | +++ b/tools/tools.pro | ||
20 | @@ -49,4 +49,4 @@ QTDIR_build:REQUIRES = "contains(QT_CONFIG, full-config)" | ||
21 | |||
22 | !win32:!embedded:!mac:!symbian:CONFIG += x11 | ||
23 | |||
24 | -x11:contains(QT_CONFIG, opengles2):contains(QT_CONFIG, egl):SUBDIRS += qmeegographicssystemhelper | ||
25 | +#x11:contains(QT_CONFIG, opengles2):contains(QT_CONFIG, egl):SUBDIRS += qmeegographicssystemhelper | ||
26 | -- | ||
27 | 1.8.1.2 | ||
28 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf deleted file mode 100644 index 8755031017..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | # | ||
2 | # qmake configuration for common gcc | ||
3 | # | ||
4 | |||
5 | QMAKE_COMPILER = gcc | ||
6 | |||
7 | QMAKE_CC = $(OE_QMAKE_CC) | ||
8 | QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) | ||
9 | QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS) | ||
10 | QMAKE_CFLAGS_DEPS += -M | ||
11 | QMAKE_CFLAGS_WARN_ON += -Wall -W | ||
12 | QMAKE_CFLAGS_WARN_OFF += -w | ||
13 | QMAKE_CFLAGS_RELEASE += | ||
14 | QMAKE_CFLAGS_DEBUG += -g | ||
15 | QMAKE_CFLAGS_SHLIB += -fPIC | ||
16 | QMAKE_CFLAGS_STATIC_LIB += -fPIC | ||
17 | QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses | ||
18 | QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden | ||
19 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
20 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
21 | |||
22 | QMAKE_CXX = $(OE_QMAKE_CXX) | ||
23 | QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) | ||
24 | QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS | ||
25 | QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON | ||
26 | QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF | ||
27 | QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE | ||
28 | QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO | ||
29 | QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_DEBUG | ||
30 | QMAKE_CXXFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB | ||
31 | QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB | ||
32 | QMAKE_CXXFLAGS_YACC += $$QMAKE_CFLAGS_YACC | ||
33 | QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden | ||
34 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
35 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
36 | |||
37 | QMAKE_LINK = $(OE_QMAKE_LINK) | ||
38 | QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
39 | QMAKE_LINK_C = $(OE_QMAKE_LINK) | ||
40 | QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK) | ||
41 | QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
42 | QMAKE_LFLAGS_RELEASE += | ||
43 | QMAKE_LFLAGS_DEBUG += | ||
44 | QMAKE_LFLAGS_APP += | ||
45 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
46 | QMAKE_LFLAGS_RPATH = -Wl,-rpath-link, | ||
47 | |||
48 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
49 | |||
50 | # -Bsymbolic-functions (ld) support | ||
51 | QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions | ||
52 | QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list, | ||
53 | |||
54 | # do not depend on gdb | ||
55 | CONFIG -= gdb_dwarf_index | ||
56 | |||
57 | # some linking helper... | ||
58 | CONFIG += rpath_libdirs | ||
59 | |||
60 | # for the SDK | ||
61 | isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) | ||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/linux.conf b/meta/recipes-qt/qt4/qt4-4.8.4/linux.conf deleted file mode 100644 index 86703813ca..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/linux.conf +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | # | ||
2 | # qmake configuration for common linux | ||
3 | # | ||
4 | |||
5 | QMAKE_CFLAGS_THREAD += -D_REENTRANT | ||
6 | QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD | ||
7 | |||
8 | QMAKE_INCDIR = | ||
9 | QMAKE_LIBDIR = | ||
10 | QMAKE_INCDIR_X11 = | ||
11 | QMAKE_LIBDIR_X11 = | ||
12 | QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
13 | QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
14 | QMAKE_INCDIR_OPENGL = | ||
15 | QMAKE_LIBDIR_OPENGL = | ||
16 | QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL | ||
17 | QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL | ||
18 | QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL | ||
19 | QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL | ||
20 | QMAKE_INCDIR_EGL = | ||
21 | QMAKE_LIBDIR_EGL = | ||
22 | QMAKE_INCDIR_OPENVG = | ||
23 | QMAKE_LIBDIR_OPENVG = | ||
24 | |||
25 | |||
26 | QMAKE_LIBS = | ||
27 | QMAKE_LIBS_DYNLOAD = -ldl | ||
28 | QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
29 | QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) | ||
30 | QMAKE_LIBS_NIS = -lnsl | ||
31 | QMAKE_LIBS_EGL = -lEGL | ||
32 | QMAKE_LIBS_OPENGL = -lGL | ||
33 | QMAKE_LIBS_OPENGL_QT = -lGL | ||
34 | QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM | ||
35 | QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 | ||
36 | QMAKE_LIBS_OPENVG = -lOpenVG | ||
37 | QMAKE_LIBS_THREAD = -lpthread | ||
38 | |||
39 | QMAKE_MOC = $(OE_QMAKE_MOC) | ||
40 | QMAKE_UIC = $(OE_QMAKE_UIC) | ||
41 | QMAKE_UIC3 = $(OE_QMAKE_UIC3) | ||
42 | QMAKE_RCC = $(OE_QMAKE_RCC) | ||
43 | QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML) | ||
44 | QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP) | ||
45 | |||
46 | QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
47 | QMAKE_OBJCOPY = objcopy | ||
48 | QMAKE_RANLIB = | ||
49 | |||
50 | QMAKE_TAR = tar -cf | ||
51 | QMAKE_GZIP = gzip -9f | ||
52 | |||
53 | QMAKE_COPY = cp -f | ||
54 | QMAKE_COPY_FILE = $(COPY) | ||
55 | QMAKE_COPY_DIR = $(COPY) -r | ||
56 | QMAKE_MOVE = mv -f | ||
57 | QMAKE_DEL_FILE = rm -f | ||
58 | QMAKE_DEL_DIR = rmdir | ||
59 | QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
60 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
61 | QMAKE_CHK_DIR_EXISTS = test -d | ||
62 | QMAKE_MKDIR = mkdir -p | ||
63 | QMAKE_INSTALL_FILE = install -m 644 -p | ||
64 | QMAKE_INSTALL_PROGRAM = install -m 755 -p | ||
65 | |||
66 | include(unix.conf) | ||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/qte.sh b/meta/recipes-qt/qt4/qt4-4.8.4/qte.sh deleted file mode 100644 index 21d6ecbd6a..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.4/qte.sh +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ -e /dev/input/touchscreen0 ] | ||
4 | then | ||
5 | QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0 | ||
6 | export QWS_MOUSE_PROTO | ||
7 | fi | ||