diff options
author | Ross Burton <ross.burton@intel.com> | 2012-11-19 14:22:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 15:31:47 +0000 |
commit | 1f71583dacaf2abde4930815b3415c3af104f514 (patch) | |
tree | 205b617c5ad55675e2a050ace6c933e29d30ecf2 /meta/recipes-qt/qt4 | |
parent | 4e2de8f749103a54d51f627e75401b70bb41d47c (diff) | |
download | poky-1f71583dacaf2abde4930815b3415c3af104f514.tar.gz |
qt4: remove 4.8.1
(From OE-Core rev: 5f6d7d61d79215ffe38aa6b122ae5ac0af7e859a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4')
30 files changed, 0 insertions, 1392 deletions
diff --git a/meta/recipes-qt/qt4/nativesdk-qt4-tools_4.8.1.bb b/meta/recipes-qt/qt4/nativesdk-qt4-tools_4.8.1.bb deleted file mode 100644 index 6d9800d259..0000000000 --- a/meta/recipes-qt/qt4/nativesdk-qt4-tools_4.8.1.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | require nativesdk-qt4-tools.inc | ||
2 | |||
3 | PR = "${INC_PR}.1" | ||
4 | |||
5 | SRC_URI += "file://0009-qmake-fix-source-file-references-in-qmake.pri.patch" | ||
6 | |||
7 | SRC_URI[md5sum] = "7960ba8e18ca31f0c6e4895a312f92ff" | ||
8 | SRC_URI[sha256sum] = "ef851a36aa41b4ad7a3e4c96ca27eaed2a629a6d2fa06c20f072118caed87ae8" | ||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1.inc b/meta/recipes-qt/qt4/qt4-4.8.1.inc deleted file mode 100644 index 4cf1222e0e..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1.inc +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | LICENSE = "LGPLv2.1 | GPLv3" | ||
2 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
3 | file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \ | ||
4 | file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354" | ||
5 | |||
6 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:" | ||
7 | |||
8 | SRC_URI = "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-${PV}.tar.gz \ | ||
9 | file://0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch \ | ||
10 | file://0004-configure-qmake-is-already-built-in-qt4-tools-native.patch \ | ||
11 | file://0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch \ | ||
12 | file://0009-qmake-fix-source-file-references-in-qmake.pri.patch \ | ||
13 | file://0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch \ | ||
14 | file://0011-freetype-host-includes.patch \ | ||
15 | file://0012-Add-2bpp-support.patch \ | ||
16 | file://0013-configure-add-crossarch-option.patch \ | ||
17 | file://0014-translations-fix-phony-translation-linking-error.patch \ | ||
18 | file://0015-configure-add-nostrip-for-debug-packages.patch \ | ||
19 | file://0016-configure-eval-QMAKE_CXX.patch \ | ||
20 | file://0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch \ | ||
21 | file://0018-configure-make-pulseaudio-a-configurable-option.patch \ | ||
22 | file://0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch \ | ||
23 | file://0020-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch \ | ||
24 | file://0021-webkit-disable-the-fuse-ld-gold-flag.patch \ | ||
25 | file://0022-webkit-fix-conflicting-types.patch \ | ||
26 | file://g++.conf \ | ||
27 | file://linux.conf \ | ||
28 | " | ||
29 | |||
30 | SRC_URI[md5sum] = "7960ba8e18ca31f0c6e4895a312f92ff" | ||
31 | SRC_URI[sha256sum] = "ef851a36aa41b4ad7a3e4c96ca27eaed2a629a6d2fa06c20f072118caed87ae8" | ||
32 | |||
33 | S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" | ||
34 | |||
35 | FILES_${QT_BASE_NAME}-tools_append = " ${bindir}/qml ${bindir}/qmlplugindump" | ||
36 | FILES_${QT_BASE_NAME}-tools-dbg_append = " ${bindir}/.debug/qml ${bindir}/.debug/qmlplugindump" | ||
37 | |||
38 | PACKAGES_append = " ${QT_BASE_NAME}-tests-dbg ${QT_BASE_NAME}-tests" | ||
39 | FILES_${QT_BASE_NAME}-tests-dbg = "/usr/tests/qt4/*/.debug" | ||
40 | FILES_${QT_BASE_NAME}-tests = "/usr/tests/qt4/*" | ||
41 | |||
42 | do_configure_prepend() { | ||
43 | for pro in $(find ${S} -name "*.pro") ; do | ||
44 | sed -i \ | ||
45 | -e 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' \ | ||
46 | -e 's:qtPrepareTool(LRELEASE, lrelease):LRELEASE = ${OE_QMAKE_LRELEASE}:g' $pro | ||
47 | done | ||
48 | |||
49 | sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf | ||
50 | sed -i \ | ||
51 | -e /QMAKE_MOC\ /d \ | ||
52 | -e /QMAKE_UIC\ /d \ | ||
53 | -e /QMAKE_UIC3\ /d \ | ||
54 | -e /QMAKE_RCC\ /d \ | ||
55 | ${S}/configure | ||
56 | |||
57 | # Avoid problems with Qt 4.8.0 configure setting QMAKE_LINK from LD (since we want the linker to be g++) | ||
58 | unset LD | ||
59 | } | ||
60 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch deleted file mode 100644 index a3a8dae641..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From 51c37481a0c0ea946567ea2344107428e6d71590 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/22] 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 2862c2c..3a36b01 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.7.12 | ||
43 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch deleted file mode 100644 index 021a6de41f..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 419b6a19d3d506880fa705682613eaaeb7dcd9cf 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/22] 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 f4b8461..4cee2e7 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.7.12 | ||
50 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch deleted file mode 100644 index 859a037aa8..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 96bee73bdf663ddeb2a5d48cab9c5e4df65ba295 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/22] 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.7.12 | ||
34 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch deleted file mode 100644 index e147375b7d..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0004-configure-qmake-is-already-built-in-qt4-tools-native.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From aa1788b0ec0b9b7c0e1a7c6bd9ef5c9555361014 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/22] 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 a706908..00b072a 100755 | ||
16 | --- a/configure | ||
17 | +++ b/configure | ||
18 | @@ -4816,7 +4816,7 @@ END { | ||
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.7.12 | ||
29 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch deleted file mode 100644 index 9171fa76dd..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0005-configure-set-LFLAGS-to-pick-up-zlib-from-staging.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 1602cdf7f3bb548e63fca40b5bff8b9a75a144c5 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/22] 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 00b072a..b1ba542 100755 | ||
15 | --- a/configure | ||
16 | +++ b/configure | ||
17 | @@ -611,7 +611,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.7.12 | ||
28 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch deleted file mode 100644 index 51a6cfc51e..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0006-configure-Use-OE_QMAKE_-values-to-specify-Qt-utility.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From 074881d57e5d7ad23a7a784a75f4ffebf091e543 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/22] 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 b1ba542..0231b7d 100755 | ||
17 | --- a/configure | ||
18 | +++ b/configure | ||
19 | @@ -8517,11 +8517,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.7.12 | ||
38 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch deleted file mode 100644 index 010575828e..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0007-dbus-Remove-const-usage-that-causes-compile-failure-.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From ff6a714f8256c6d98234066ba1788bee234b25a1 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/22] 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 5d97a8e..5014b8b 100644 | ||
21 | --- a/src/dbus/qdbusintegrator.cpp | ||
22 | +++ b/src/dbus/qdbusintegrator.cpp | ||
23 | @@ -72,7 +72,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.7.12 | ||
34 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch deleted file mode 100644 index 57071c7167..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0008-qmake.pro-Allow-building-a-separate-qmake-for-the-ta.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 049f44c260fb8956f0acf18355e3403638d2a084 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/22] 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.7.12 | ||
29 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0009-qmake-fix-source-file-references-in-qmake.pri.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0009-qmake-fix-source-file-references-in-qmake.pri.patch deleted file mode 100644 index 43072e0938..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0009-qmake-fix-source-file-references-in-qmake.pri.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From e863f35a80b130d8b520cdb7c81112a601157c44 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/22] 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 f2a3705..2d4e94c 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.7.12 | ||
52 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch deleted file mode 100644 index 38e3cdf60d..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 64c70ae60b96c940805ab50be3ce724df094eddc 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/22] 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 0231b7d..9650199f6 100755 | ||
23 | --- a/configure | ||
24 | +++ b/configure | ||
25 | @@ -5362,10 +5362,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.7.12 | ||
42 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0011-freetype-host-includes.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0011-freetype-host-includes.patch deleted file mode 100644 index 7f6ff32289..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0011-freetype-host-includes.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 9b05106d0bdfa84e8406633d71206ef1defaade8 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/22] 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.7.12 | ||
29 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0012-Add-2bpp-support.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0012-Add-2bpp-support.patch deleted file mode 100644 index 580ba4c8f5..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0012-Add-2bpp-support.patch +++ /dev/null | |||
@@ -1,318 +0,0 @@ | |||
1 | From 69ff4de0f06ba112a5ca531957937dd860d0f3f8 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/22] 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 9650199f6..7028ecf 100755 | ||
20 | --- a/configure | ||
21 | +++ b/configure | ||
22 | @@ -6917,6 +6917,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 | @@ -6935,11 +6936,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 d6c614d..504f3d3 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 3fe9713..933f489 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.7.12 | ||
318 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0013-configure-add-crossarch-option.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0013-configure-add-crossarch-option.patch deleted file mode 100644 index c1ec3b56cc..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0013-configure-add-crossarch-option.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | From 8ddc1820a8678fda3a9bf3da4fc256c22fbd9b51 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/22] 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 7028ecf..8eb138f 100755 | ||
15 | --- a/configure | ||
16 | +++ b/configure | ||
17 | @@ -1059,7 +1059,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|-buildkey|-sdk|-arch|-host-arch|-mysql_config) | ||
22 | + -prefix|-docdir|-headerdir|-plugindir|-importdir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-crossarch) | ||
23 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` | ||
24 | shift | ||
25 | VAL="$1" | ||
26 | @@ -1601,6 +1601,9 @@ while [ "$#" -gt 0 ]; do | ||
27 | case "$XPLATFORM" in *symbian*) XPLATFORM_SYMBIAN=yes;; esac | ||
28 | case "$XPLATFORM" in symbian-sbsv2) XPLATFORM_SYMBIAN_SBSV2=yes;; esac | ||
29 | ;; | ||
30 | + crossarch) | ||
31 | + CROSSARCH="$VAL" | ||
32 | + ;; | ||
33 | debug-and-release) | ||
34 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
35 | CFG_DEBUG_RELEASE="$VAL" | ||
36 | @@ -3200,6 +3203,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.7.12 | ||
47 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0014-translations-fix-phony-translation-linking-error.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0014-translations-fix-phony-translation-linking-error.patch deleted file mode 100644 index b788a68ece..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0014-translations-fix-phony-translation-linking-error.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 306e0987cfdc67db11abc7071c48b0d196e84c8e 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/22] 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.7.12 | ||
41 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0015-configure-add-nostrip-for-debug-packages.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0015-configure-add-nostrip-for-debug-packages.patch deleted file mode 100644 index 027633d276..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0015-configure-add-nostrip-for-debug-packages.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From c7ee6896f4894626986956cc8892a13fa9f7c2aa 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/22] 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 8eb138f..5cc755e 100755 | ||
19 | --- a/configure | ||
20 | +++ b/configure | ||
21 | @@ -631,6 +631,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.7.12 | ||
32 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0016-configure-eval-QMAKE_CXX.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0016-configure-eval-QMAKE_CXX.patch deleted file mode 100644 index 8b9b3bf911..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0016-configure-eval-QMAKE_CXX.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 3893ad264f85e4a0eec64017d515dddf9ee9ef88 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/22] 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 | configure | 3 ++- | ||
16 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/configure b/configure | ||
19 | index 5cc755e..1e6c910 100755 | ||
20 | --- a/configure | ||
21 | +++ b/configure | ||
22 | @@ -3329,7 +3329,8 @@ else | ||
23 | CFG_FRAMEWORK=no | ||
24 | fi | ||
25 | |||
26 | -QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1` | ||
27 | +QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | sed -n 's/$[(]\([0-9a-zA-Z_]*\)[)]/$\1/pg' | tail -1` | ||
28 | +QMAKE_CONF_COMPILER=`eval "echo $QMAKE_CONF_COMPILER"` | ||
29 | TEST_COMPILER="$CXX" | ||
30 | |||
31 | [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER | ||
32 | -- | ||
33 | 1.7.12 | ||
34 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch deleted file mode 100644 index 32649b4bf6..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0017-configure-ensure-we-identify-the-compiler-as-g-in-co.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From 965068125d1e83699442fca83f0c9fe05ecee564 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/22] 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 1e6c910..0edaad9 100755 | ||
32 | --- a/configure | ||
33 | +++ b/configure | ||
34 | @@ -7444,6 +7444,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.7.12 | ||
46 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0018-configure-make-pulseaudio-a-configurable-option.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0018-configure-make-pulseaudio-a-configurable-option.patch deleted file mode 100644 index 4d915607e2..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0018-configure-make-pulseaudio-a-configurable-option.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From d93ea994bf2ecee4775c68de645eac0cab248ac2 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/22] 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 0edaad9..3a63734 100755 | ||
19 | --- a/configure | ||
20 | +++ b/configure | ||
21 | @@ -1045,7 +1045,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 | @@ -2005,6 +2005,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.7.12 | ||
46 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch deleted file mode 100644 index 13229d47e3..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From 4811267206e20e5409df0500c02d7fe77caf5293 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ken Werner <ken.werner@linaro.org> | ||
3 | Date: Wed, 26 Sep 2012 20:53:35 +0200 | ||
4 | Subject: [PATCH 19/22] javascriptcore: Fix compile error when using | ||
5 | toolchains based on GCC 4.7. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
10 | --- | ||
11 | src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h | 4 +--- | ||
12 | .../javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h | 3 +-- | ||
13 | 2 files changed, 2 insertions(+), 5 deletions(-) | ||
14 | |||
15 | diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h | ||
16 | index 7c20272..917c0ff 100644 | ||
17 | --- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h | ||
18 | +++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h | ||
19 | @@ -57,9 +57,7 @@ namespace JSC { | ||
20 | |||
21 | class JSGlobalObject : public JSVariableObject { | ||
22 | protected: | ||
23 | - using JSVariableObject::JSVariableObjectData; | ||
24 | - | ||
25 | - struct JSGlobalObjectData : public JSVariableObjectData { | ||
26 | + struct JSGlobalObjectData : public JSVariableObject::JSVariableObjectData { | ||
27 | // We use an explicit destructor function pointer instead of a | ||
28 | // virtual destructor because we want to avoid adding a vtable | ||
29 | // pointer to this struct. Adding a vtable pointer would force the | ||
30 | diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h | ||
31 | index 2542878..637f62c 100644 | ||
32 | --- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h | ||
33 | +++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h | ||
34 | @@ -32,8 +32,7 @@ namespace JSC{ | ||
35 | |||
36 | class JSStaticScopeObject : public JSVariableObject { | ||
37 | protected: | ||
38 | - using JSVariableObject::JSVariableObjectData; | ||
39 | - struct JSStaticScopeObjectData : public JSVariableObjectData { | ||
40 | + struct JSStaticScopeObjectData : public JSVariableObjectData::JSVariableObjectData { | ||
41 | JSStaticScopeObjectData() | ||
42 | : JSVariableObjectData(&symbolTable, ®isterStore + 1) | ||
43 | { | ||
44 | -- | ||
45 | 1.7.12 | ||
46 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0020-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0020-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch deleted file mode 100644 index b763ac1c74..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0020-Fixes-for-gcc-4.7.0-particularly-on-qemux86.patch +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | From fb89f23c25363ac7b138fdba2bf5a9cdcaa7e840 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 20/22] 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.7.12 | ||
63 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0021-webkit-disable-the-fuse-ld-gold-flag.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0021-webkit-disable-the-fuse-ld-gold-flag.patch deleted file mode 100644 index 05dc806864..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0021-webkit-disable-the-fuse-ld-gold-flag.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 3a74f5cf7f92ff6bf6b69c7cf76f54516573abb7 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 21/22] 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.7.12 | ||
41 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/0022-webkit-fix-conflicting-types.patch b/meta/recipes-qt/qt4/qt4-4.8.1/0022-webkit-fix-conflicting-types.patch deleted file mode 100644 index bdd5d4fc84..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/0022-webkit-fix-conflicting-types.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 5cc08e33ea7ab5d32b6a14ccb23a366d56e50ea1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
3 | Date: Wed, 26 Sep 2012 20:56:33 +0200 | ||
4 | Subject: [PATCH 22/22] webkit: fix conflicting types | ||
5 | |||
6 | This patch fixes the type mismatch fixing this compile issue: | ||
7 | |||
8 | | | ||
9 | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/gthread.h:58:7: | ||
10 | error: 'union' tag used in naming 'struct _GMutex' [-Werror=permissive] | ||
11 | | In file included from ./wtf/Platform.h:1217:0, | ||
12 | | from ./config.h:30, | ||
13 | | from wtf/gobject/GOwnPtr.cpp:19: | ||
14 | | wtf/gobject/GTypedefs.h:55:16: note: 'struct _GMutex' was previously | ||
15 | declared here | ||
16 | |||
17 | Upstream-Status: Pending | ||
18 | |||
19 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
20 | --- | ||
21 | src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h | 2 +- | ||
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
23 | |||
24 | diff --git a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h | ||
25 | index c7f7ac4..f00e9cf 100644 | ||
26 | --- a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h | ||
27 | +++ b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h | ||
28 | @@ -52,7 +52,7 @@ typedef struct _GFile GFile; | ||
29 | typedef struct _GHashTable GHashTable; | ||
30 | typedef struct _GInputStream GInputStream; | ||
31 | typedef struct _GList GList; | ||
32 | -typedef struct _GMutex GMutex; | ||
33 | +typedef union _GMutex GMutex; | ||
34 | typedef struct _GPatternSpec GPatternSpec; | ||
35 | typedef struct _GPollableOutputStream GPollableOutputStream; | ||
36 | typedef struct _GSocketClient GSocketClient; | ||
37 | -- | ||
38 | 1.7.12 | ||
39 | |||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/g++.conf b/meta/recipes-qt/qt4/qt4-4.8.1/g++.conf deleted file mode 100644 index e58fb15718..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/g++.conf +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | # | ||
2 | # qmake configuration for common gcc | ||
3 | # | ||
4 | |||
5 | QMAKE_CC = $(OE_QMAKE_CC) | ||
6 | QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) | ||
7 | QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS) | ||
8 | QMAKE_CFLAGS_DEPS += -M | ||
9 | QMAKE_CFLAGS_WARN_ON += -Wall -W | ||
10 | QMAKE_CFLAGS_WARN_OFF += -w | ||
11 | QMAKE_CFLAGS_RELEASE += | ||
12 | QMAKE_CFLAGS_DEBUG += -g | ||
13 | QMAKE_CFLAGS_SHLIB += -fPIC | ||
14 | QMAKE_CFLAGS_STATIC_LIB += -fPIC | ||
15 | QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses | ||
16 | QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden | ||
17 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
18 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
19 | |||
20 | QMAKE_CXX = $(OE_QMAKE_CXX) | ||
21 | QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) | ||
22 | QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS | ||
23 | QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON | ||
24 | QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF | ||
25 | QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE | ||
26 | QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO | ||
27 | QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_DEBUG | ||
28 | QMAKE_CXXFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB | ||
29 | QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB | ||
30 | QMAKE_CXXFLAGS_YACC += $$QMAKE_CFLAGS_YACC | ||
31 | QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden | ||
32 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
33 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
34 | |||
35 | QMAKE_LINK = $(OE_QMAKE_LINK) | ||
36 | QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
37 | QMAKE_LINK_C = $(OE_QMAKE_LINK) | ||
38 | QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK) | ||
39 | QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
40 | QMAKE_LFLAGS_RELEASE += | ||
41 | QMAKE_LFLAGS_DEBUG += | ||
42 | QMAKE_LFLAGS_APP += | ||
43 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
44 | QMAKE_LFLAGS_RPATH = -Wl,-rpath-link, | ||
45 | |||
46 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
47 | |||
48 | # -Bsymbolic-functions (ld) support | ||
49 | QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions | ||
50 | QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list, | ||
51 | |||
52 | # some linking helper... | ||
53 | CONFIG += rpath_libdirs | ||
54 | |||
55 | # for the SDK | ||
56 | isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) | ||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/linux.conf b/meta/recipes-qt/qt4/qt4-4.8.1/linux.conf deleted file mode 100644 index 86703813ca..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/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.1/qte.sh b/meta/recipes-qt/qt4/qt4-4.8.1/qte.sh deleted file mode 100644 index 21d6ecbd6a..0000000000 --- a/meta/recipes-qt/qt4/qt4-4.8.1/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 | ||
diff --git a/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb b/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb deleted file mode 100644 index 5a3dc6537a..0000000000 --- a/meta/recipes-qt/qt4/qt4-embedded_4.8.1.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | require qt4-${PV}.inc | ||
2 | require qt4-embedded.inc | ||
3 | |||
4 | PR = "${INC_PR}.1" | ||
5 | |||
6 | QT_CONFIG_FLAGS_append_armv6 = " -no-neon " | ||
7 | |||
8 | QT_CONFIG_FLAGS += " \ | ||
9 | -exceptions \ | ||
10 | " | ||
11 | |||
diff --git a/meta/recipes-qt/qt4/qt4-native_4.8.1.bb b/meta/recipes-qt/qt4/qt4-native_4.8.1.bb deleted file mode 100644 index c09e6df111..0000000000 --- a/meta/recipes-qt/qt4/qt4-native_4.8.1.bb +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | require qt4-native.inc | ||
2 | |||
3 | PR = "${INC_PR}.1" | ||
4 | |||
5 | # Find the g++.conf/linux.conf in the right directory. | ||
6 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:" | ||
7 | |||
8 | TOBUILD := "src/tools/bootstrap ${TOBUILD}" | ||
9 | |||
10 | SRC_URI[md5sum] = "7960ba8e18ca31f0c6e4895a312f92ff" | ||
11 | SRC_URI[sha256sum] = "ef851a36aa41b4ad7a3e4c96ca27eaed2a629a6d2fa06c20f072118caed87ae8" | ||
12 | |||
diff --git a/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb b/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb deleted file mode 100644 index 9b03ff2f57..0000000000 --- a/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | require qt4-x11-free.inc | ||
2 | require qt4-${PV}.inc | ||
3 | |||
4 | PR = "${INC_PR}.1" | ||
5 | |||
6 | QT_CONFIG_FLAGS_append_armv6 = " -no-neon " | ||
7 | |||
8 | QT_CONFIG_FLAGS += " \ | ||
9 | -no-embedded \ | ||
10 | -xrandr \ | ||
11 | -x11" | ||