Qt4 cleanup
cover Qt4 cleanup
From: Paul Eggleton <[email protected]>
Remove Qt 4.6.3 in favour of 4.7.3 (which should be binary compatible with 4.6.x), add Upstream-Status to remaining patches and re-enable some patches that were missed with the original upgrade to 4.7.x.
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: paule/qt4-cleanup-core
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt4-cleanup-core
Thanks,
Paul Eggleton <[email protected]>
---
Paul Eggleton (3):
qt4: remove Qt 4.6.3
qt4: add comments and Upstream-Status to all patches
qt4: re-enable two 4.6.x patches in 4.7.3
meta/recipes-qt/qt4/files/0001-cross-compile.patch | 36 ------ .../qt4/files/0002-fix-resinit-declaration.patch | 22 ---- meta/recipes-qt/qt4/files/0004-no-qmake.patch | 1 + .../qt4/files/0006-freetype-host-includes.patch | 3 +- meta/recipes-qt/qt4/files/0008-qt-lib-infix.patch | 7 +- meta/recipes-qt/qt4/files/0009-support-2bpp.patch | 5 + .../files/0010-no-simpledecoration-example.patch | 14 -- ...klist-fraudulent-comodo-certificates-patch.diff | 134 -------------------- .../recipes-qt/qt4/files/compile.test-lflags.patch | 4 + meta/recipes-qt/qt4/files/configure-lflags.patch | 5 + meta/recipes-qt/qt4/files/configure-paths.patch | 5 + meta/recipes-qt/qt4/files/fix-config-tests.patch | 2 + meta/recipes-qt/qt4/files/g++.conf | 53 -------- meta/recipes-qt/qt4/files/hack-out-pg_config.patch | 30 ----- meta/recipes-qt/qt4/files/linux.conf | 54 -------- meta/recipes-qt/qt4/files/mips-relocate.patch | 28 ---- meta/recipes-qt/qt4/files/qmake-exists-check.patch | 1 + meta/recipes-qt/qt4/files/qt-config.patch | 5 + .../qt4/files/qthelp-lib-qtclucene.patch | 86 ------------- meta/recipes-qt/qt4/qt-4.6.3.inc | 57 --------- meta/recipes-qt/qt4/qt-4.7.3.inc | 2 + .../0001-Added-Openembedded-crossarch-option.patch | 5 +- .../qt4/qt-4.7.3/hack-out-pg2-4.7.0.patch | 12 ++ meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb | 9 -- meta/recipes-qt/qt4/qt4-embedded_4.7.3.bb | 2 +- meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb | 11 -- meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb | 6 - meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf | 54 -------- meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb | 6 - meta/recipes-qt/qt4/qt4-x11-free_4.7.3.bb | 2 +- 30 files changed, 56 insertions(+), 605 deletions(-) delete mode 100644 meta/recipes-qt/qt4/files/0001-cross-compile.patch delete mode 100644 meta/recipes-qt/qt4/files/0002-fix-resinit-declaration.patch delete mode 100644 meta/recipes-qt/qt4/files/0010-no-simpledecoration-example.patch delete mode 100644 meta/recipes-qt/qt4/files/blacklist-fraudulent-comodo-certificates-patch.diff delete mode 100644 meta/recipes-qt/qt4/files/g++.conf delete mode 100644 meta/recipes-qt/qt4/files/hack-out-pg_config.patch delete mode 100644 meta/recipes-qt/qt4/files/linux.conf delete mode 100644 meta/recipes-qt/qt4/files/mips-relocate.patch delete mode 100644 meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch delete mode 100644 meta/recipes-qt/qt4/qt-4.6.3.inc delete mode 100644 meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb delete mode 100644 meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb delete mode 100644 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb delete mode 100644 meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf delete mode 100644 meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
Signature · 1 line
1.7.4.1
PATCH 1/3 qt4: remove Qt 4.6.3
From: Paul Eggleton <[email protected]>
We should only have one version of Qt4 supported in oe-core.
--- meta/recipes-qt/qt4/files/0001-cross-compile.patch | 36 ------ .../qt4/files/0002-fix-resinit-declaration.patch | 22 ---- .../files/0010-no-simpledecoration-example.patch | 14 -- ...klist-fraudulent-comodo-certificates-patch.diff | 134 -------------------- meta/recipes-qt/qt4/files/g++.conf | 53 -------- meta/recipes-qt/qt4/files/hack-out-pg_config.patch | 30 ----- meta/recipes-qt/qt4/files/linux.conf | 54 -------- meta/recipes-qt/qt4/files/mips-relocate.patch | 28 ---- .../qt4/files/qthelp-lib-qtclucene.patch | 86 ------------- meta/recipes-qt/qt4/qt-4.6.3.inc | 57 --------- meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb | 9 -- meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb | 11 -- meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb | 6 - meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf | 54 -------- meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb | 6 - 15 files changed, 0 insertions(+), 600 deletions(-) delete mode 100644 meta/recipes-qt/qt4/files/0001-cross-compile.patch delete mode 100644 meta/recipes-qt/qt4/files/0002-fix-resinit-declaration.patch delete mode 100644 meta/recipes-qt/qt4/files/0010-no-simpledecoration-example.patch delete mode 100644 meta/recipes-qt/qt4/files/blacklist-fraudulent-comodo-certificates-patch.diff delete mode 100644 meta/recipes-qt/qt4/files/g++.conf delete mode 100644 meta/recipes-qt/qt4/files/hack-out-pg_config.patch delete mode 100644 meta/recipes-qt/qt4/files/linux.conf delete mode 100644 meta/recipes-qt/qt4/files/mips-relocate.patch delete mode 100644 meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch delete mode 100644 meta/recipes-qt/qt4/qt-4.6.3.inc delete mode 100644 meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb delete mode 100644 meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb delete mode 100644 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb delete mode 100644 meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf delete mode 100644 meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
meta/recipes-qt/qt4/files/0001-cross-compile.patch deleted +0 -36
@@ -1,36 +0,0 @@ -Add configure option "crossarch" for cross compiling - -Ported from OE by: Yu Ke <[email protected]> - -Index: qt-embedded-linux-opensource-src-4.4.3/configure -=================================================================== ---- qt-embedded-linux-opensource-src-4.4.3.orig/configure 2009-03-26 17:02:45.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.4.3/configure 2009-03-26 17:03:43.000000000 +0100 -@@ -726,7 +726,7 @@ - UNKNOWN_ARG=yes - fi - ;; -- -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config) -+ -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-crossarch) - VAR=`echo $1 | sed "s,^-\(.*\),\1,"` - shift - VAL="$1" -@@ -1143,6 +1143,9 @@ - xplatform) - XPLATFORM="$VAL" - ;; -+ crossarch) -+ CROSSARCH="$VAL" -+ ;; - debug-and-release) - if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then - CFG_DEBUG_RELEASE="$VAL" -@@ -2405,6 +2408,8 @@ - CFG_ARCH=$CFG_HOST_ARCH - fi - -+CFG_ARCH="$CROSSARCH" -+ - if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then - if [ "$OPT_VERBOSE" = "yes" ]; then - echo " '$CFG_ARCH' is supported"
meta/recipes-qt/qt4/files/0002-fix-resinit-declaration.patch deleted +0 -22
@@ -1,22 +0,0 @@ -From acfeb18aa94bad6b2066e91cd15570889baaa252 Mon Sep 17 00:00:00 2001 -From: Michael Krelin <[email protected]> -Date: Sat, 2 Jun 2007 16:04:01 +0200 -Subject: [PATCH] fix resinit declaration - ---- - src/qt3support/network/q3dns.cpp | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -Index: qt-embedded-linux-opensource-src-4.4.3/src/qt3support/network/q3dns.cpp -=================================================================== ---- qt-embedded-linux-opensource-src-4.4.3.orig/src/qt3support/network/q3dns.cpp 2008-09-27 11:01:28.000000000 +0200 -+++ qt-embedded-linux-opensource-src-4.4.3/src/qt3support/network/q3dns.cpp 2009-03-26 17:04:05.000000000 +0100 -@@ -44,7 +44,7 @@ - # include <netinet/in.h> - # include <arpa/nameser.h> - # include <resolv.h> --extern "C" int res_init(); -+extern "C" int res_init() throw(); - #endif - - // POSIX Large File Support redefines open -> open64
meta/recipes-qt/qt4/files/0010-no-simpledecoration-example.patch deleted +0 -14
@@ -1,14 +0,0 @@ - -Ported from OE by: Yu Ke <[email protected]> - ---- /tmp/qws.pro 2009-12-10 19:30:08.000000000 +0100 -+++ qt-everywhere-opensource-src-4.6.0/examples/qws/qws.pro 2009-12-10 19:30:21.000000000 +0100 -@@ -1,7 +1,7 @@ - TEMPLATE = subdirs - # no /dev/fbX - !qnx:!vxworks:SUBDIRS = framebuffer --SUBDIRS += mousecalibration simpledecoration -+SUBDIRS += mousecalibration - - # install - sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro
meta/recipes-qt/qt4/files/blacklist-fraudulent-comodo-certificates-patch.diff deleted +0 -134
134 lines not on this page · raw message
meta/recipes-qt/qt4/files/g++.conf deleted +0 -53
53 lines not on this page · raw message
meta/recipes-qt/qt4/files/hack-out-pg_config.patch deleted +0 -30
@@ -1,30 +0,0 @@ -Hack to not use the pg_config of the host system which will add /usr/include - -pg_config is a native binary so using that when cross compiling -will always fail. The commented out fix would do, but for OE -our -platform and -xplatform is the same so we are actually not -really cross compiling. Just comment out the test, we are passing -the location to the postgres headers and if they are okay we -will padd. - -Ported from OE by: Yu Ke <[email protected]> - -Index: qt-embedded-linux-opensource-src-4.5.2/configure -=================================================================== ---- qt-embedded-linux-opensource-src-4.5.2.orig/configure 2009-08-10 03:03:04.000000000 +0200 -+++ qt-embedded-linux-opensource-src-4.5.2/configure 2009-08-10 03:58:11.000000000 +0200 -@@ -4401,10 +4402,10 @@ - ;; - psql) - if [ "$CFG_SQL_psql" != "no" ]; then -- if "$WHICH" pg_config >/dev/null 2>&1; then -- QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null` -- QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null` -- fi -+# if [ "$QT_CROSS_COMPILE" = "no" ] && "$WHICH" pg_config >/dev/null 2>&1; then -+# QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null` -+# QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null` -+# fi - [ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL" - [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL" - if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/psql "PostgreSQL" $QT_LFLAGS_PSQL $L_FLAGS $QT_CFLAGS_PSQL $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then
meta/recipes-qt/qt4/files/linux.conf deleted +0 -54
54 lines not on this page · raw message
meta/recipes-qt/qt4/files/mips-relocate.patch deleted +0 -28
@@ -1,28 +0,0 @@ -Disable the LDFLAGS "-Bsymbolic-functions" for mips - -"-Bsymbolic-functions" flag makes ld to bind the global function symbol of shared library at compiling time, thus reduce the runtime relocation cost. - -However, this flag in binutil 2.20 cause QT4 mips building failure, which is "final link failed: Bad value" error in libQtWebKit.so linking stage. If downgrad to binutil 2.19, this error disappears. further investigation showes commit http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/scripttempl/mips.sc.diff?r1=1.2&r2=1.3&cvsroot=src cause this error. - -So this patch disable this flag for QT4 mips. If future binutils version fix this issue, this patch can be safely removed. - -Signed-off-by: Yu Ke <[email protected]> - -diff --git a/configure b/configure -index ca14279..5db9926 100755 ---- a/configure -+++ b/configure -@@ -3035,6 +3035,13 @@ if [ "$CFG_REDUCE_RELOCATIONS" != "no" ]; then - fi - fi - -+# Temporily disable -Bsymbolic-functions for mips, because libQtWebKit can not pass the build -+# if has -Bsymbolic-functions and binutil 2.20 -+# -Bsymbolic-functions is OK in binutil 2.19 -+if [ "$CFG_ARCH" = "mips" ]; then -+ CFG_REDUCE_RELOCATIONS=no -+fi -+ - # auto-detect GNU make support - if [ "$CFG_USE_GNUMAKE" = "auto" ] && "$MAKE" -v | grep "GNU Make" >/dev/null 2>&1; then - CFG_USE_GNUMAKE=yes
meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch deleted +0 -86
86 lines not on this page · raw message
meta/recipes-qt/qt4/qt-4.6.3.inc deleted +0 -57
57 lines not on this page · raw message
meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb deleted +0 -9
@@ -1,9 +0,0 @@ -require qt-${PV}.inc -require qt4-embedded.inc - -SRC_URI += "file://qthelp-lib-qtclucene.patch" - -PR = "${INC_PR}.2" - -QT_CONFIG_FLAGS_append_armv6 = " -no-neon " -
meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb deleted +0 -11
@@ -1,11 +0,0 @@ -require qt4-tools-native.inc - -PR = "${INC_PR}.0" - -EXTRA_OECONF += " -no-fast -silent -no-rpath" - -TOBUILD := "src/tools/bootstrap ${TOBUILD}" - -SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072" -SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768" -
meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require qt4-tools-nativesdk.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072" -SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"
meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf deleted +0 -54
54 lines not on this page · raw message
meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require qt-${PV}.inc -require qt4-x11-free.inc - -PR = "${INC_PR}.1" - -QT_CONFIG_FLAGS += " -xrandr "
Signature · 1 line
1.7.4.1
PATCH 2/3 qt4: add comments and Upstream-Status to all patches
In reply to Paul EggletonFrom: Paul Eggleton <[email protected]>
--- meta/recipes-qt/qt4/files/0004-no-qmake.patch | 1 + .../qt4/files/0006-freetype-host-includes.patch | 3 ++- meta/recipes-qt/qt4/files/0008-qt-lib-infix.patch | 7 ++++++- meta/recipes-qt/qt4/files/0009-support-2bpp.patch | 5 +++++ .../recipes-qt/qt4/files/compile.test-lflags.patch | 4 ++++ meta/recipes-qt/qt4/files/configure-lflags.patch | 5 +++++ meta/recipes-qt/qt4/files/configure-paths.patch | 5 +++++ meta/recipes-qt/qt4/files/fix-config-tests.patch | 2 ++ meta/recipes-qt/qt4/files/qmake-exists-check.patch | 1 + meta/recipes-qt/qt4/files/qt-config.patch | 5 +++++ .../0001-Added-Openembedded-crossarch-option.patch | 5 ++++- .../qt4/qt-4.7.3/hack-out-pg2-4.7.0.patch | 12 ++++++++++++ 12 files changed, 52 insertions(+), 3 deletions(-)
meta/recipes-qt/qt4/files/0004-no-qmake.patch +1 -0
@@ -6,6 +6,7 @@ Subject: [PATCH] no qmake qmake is already built in qt4-tools-native, so disable it Ported from OE by: Yu Ke <[email protected]> +Upstream-Status: Inappropriate [configuration] --- configure | 2 +-
meta/recipes-qt/qt4/files/0006-freetype-host-includes.patch +2 -1
@@ -3,9 +3,10 @@ From: Michael Krelin <[email protected]> Date: Mon, 4 Jun 2007 14:48:50 +0200 Subject: [PATCH] freetype host includes -Host include path should not be used in corss compiling case. +Host include path should not be used in cross compiling case. Ported from OE by: Yu Ke <[email protected]> +Upstream-Status: Pending --- config.tests/unix/freetype/freetype.pri | 2 +-
meta/recipes-qt/qt4/files/0008-qt-lib-infix.patch +6 -1
@@ -1,6 +1,11 @@ -Add lib infix to distinguish different qt compile version: e.g. "E" for embedded, "" for X11 +Add lib infix for QtUiTools to distinguish different Qt edition: e.g. "E" for embedded, "" for X11 +Patch has been accepted upstream and should be included in the next major version (4.8.0), see: +http://bugreports.qt.nokia.com/browse/QTBUG-7169 + +Original Author: Jeremy Lainé <[email protected]> Ported from OE by: Yu Ke <[email protected]> +Upstream-Status: Accepted --- /tmp/uitools.prf 2009-12-01 18:38:22.000000000 +0100 +++ qt-everywhere-opensource-src-4.6.0/mkspecs/features/uitools.prf 2009-12-01 18:58:16.000000000 +0100
meta/recipes-qt/qt4/files/0009-support-2bpp.patch +5 -0
@@ -1,5 +1,10 @@ Add 2bpp support +Submitted upstream but rejected as being "out of scope": +http://bugreports.qt.nokia.com/browse/QTBUG-3468 + +Upstream-Status: Denied +Original author: Jeremy Lainé <[email protected]> Ported from OE by: Yu Ke <[email protected]> diff -urN qt-embedded-linux-opensource-src-4.4.3.orig/configure qt-embedded-linux-opensource-src-4.4.3/configure
meta/recipes-qt/qt4/files/compile.test-lflags.patch +4 -0
@@ -1,3 +1,7 @@ +Pass through LDFLAGS to configure tests + +Upstream-Status: Inappropriate [configuration] + Index: qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test =================================================================== --- qt-everywhere-opensource-src-4.6.3.orig/config.tests/unix/compile.test 2010-06-02 06:03:18.000000000 +0400
meta/recipes-qt/qt4/files/configure-lflags.patch +5 -0
@@ -1,3 +1,8 @@ +qt4-tools-native: set LFLAGS to pick up zlib from staging + +Original Author: Jeremy Lainé <[email protected]> +Upstream-Status: Pending + Index: qtopia-core-opensource-src-4.3.3/configure =================================================================== --- qtopia-core-opensource-src-4.3.3.orig/configure 2008-01-14 08:53:51.000000000 +0000
meta/recipes-qt/qt4/files/configure-paths.patch +5 -0
@@ -1,3 +1,8 @@ +Use OE_QMAKE_* values to specify Qt utility paths + +Signed-off-by: Paul Eggleton <[email protected]> +Upstream-Status: Inappropriate [configuration] + Index: qt-everywhere-opensource-src-4.6.3/configure =================================================================== --- qt-everywhere-opensource-src-4.6.3.orig/configure 2011-01-10 15:47:37.100607001 +0000
meta/recipes-qt/qt4/files/fix-config-tests.patch +2 -0
@@ -2,7 +2,9 @@ Fix invocation in case of "ccache some-compiler-gcc". As the command "ccache som both visibility and relocs were affected. +Original Author: Holger Hans Peter Freyther <[email protected]> Ported from OE by: Yu Ke <[email protected]> +Upstream-Status: Pending Index: qt-x11-opensource-src-4.5.2/config.tests/unix/bsymbolic_functions.test ===================================================================
meta/recipes-qt/qt4/files/qmake-exists-check.patch +1 -0
@@ -4,6 +4,7 @@ qt4-tools-nativesdk patch to avoids building qmake in configure if it already ex (as it will, since we symlink it in from the native sysroot in do_configure) Signed-off-by: Paul Eggleton <[email protected]> +Upstream-Status: Inappropriate [configuration] --- qt-everywhere-opensource-src-4.6.3.orig/configure 2011-01-10 12:01:56.260607001 +0000 +++ qt-everywhere-opensource-src-4.6.3/configure 2011-01-10 12:02:20.584607015 +0000
meta/recipes-qt/qt4/files/qt-config.patch +5 -0
@@ -1,5 +1,10 @@ +Allow to set a qt.conf from the outside using the environment. This allows +to inject new prefixes and other paths into qmake. This is needed when using +the same qmake binary to build qt/x11 and qt/embedded +Original Author: Holger Freyther <[email protected]> Ported from OE by: Yu Ke <[email protected]> +Upstream-Status: Pending --- /tmp/qlibraryinfo.cpp 2008-08-02 17:16:41.000000000 +0200 +++ qt-embedded-linux-opensource-src-4.4.1/src/corelib/global/qlibraryinfo.cpp 2008-08-02 17:17:42.000000000 +0200
meta/recipes-qt/qt4/qt-4.7.3/0001-Added-Openembedded-crossarch-option.patch +4 -1
@@ -1,8 +1,11 @@ From b1ba119f6a824dc01bd42ee00dba4a1653867b72 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +From: Matthias Günther <[email protected]> Date: Wed, 12 May 2010 16:52:45 +0200 Subject: [PATCH 1/9] Added Openembedded "-crossarch" option +Original Author: Michael Lauer <[email protected]> +Upstream-Status: Pending + --- configure | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-qt/qt4/qt-4.7.3/hack-out-pg2-4.7.0.patch +12 -0
@@ -1,3 +1,15 @@ +Hack to not use the pg_config of the host system which will add /usr/include + +pg_config is a native binary so using that when cross compiling +will always fail. The commented out fix would do, but for OE +our -platform and -xplatform is the same so we are actually not +really cross compiling. Just comment out the test, we are passing +the location to the postgres headers and if they are okay we +will pad. + +Original Author: Holger Hans Peter Freyther <[email protected]> +Upstream-Status: Inappropriate [configuration] + Index: qt-everywhere-opensource-src-4.7.0/configure =================================================================== --- qt-everywhere-opensource-src-4.7.0.orig/configure 2010-09-22 15:43:51.191162141 -0400
Signature · 1 line
1.7.4.1
PATCH 3/3 qt4: re-enable two 4.6.x patches in 4.7.3
In reply to Paul EggletonFrom: Paul Eggleton <[email protected]>
Two patches that were being applied in 4.6.x are now applied for 4.7.3. The functions of these two patches are:
* Add support for 2bpp (only affects qt4-embedded)
* Use correct infix on QtUiTools library (only affects qt4-embedded as qt4-x11-free does not define an infix)
--- meta/recipes-qt/qt4/qt-4.7.3.inc | 2 ++ meta/recipes-qt/qt4/qt4-embedded_4.7.3.bb | 2 +- meta/recipes-qt/qt4/qt4-x11-free_4.7.3.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-qt/qt4/qt-4.7.3.inc +2 -0
@@ -9,6 +9,8 @@ SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}. file://0004-no-qmake.patch \ file://hack-out-pg2-4.7.0.patch \ file://0006-freetype-host-includes.patch \ + file://0008-qt-lib-infix.patch \ + file://0009-support-2bpp.patch \ file://0001-Added-Openembedded-crossarch-option.patch \ file://g++.conf \ file://linux.conf \
meta/recipes-qt/qt4/qt4-embedded_4.7.3.bb +1 -1
@@ -1,7 +1,7 @@ require qt-${PV}.inc require qt4-embedded.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
meta/recipes-qt/qt4/qt4-x11-free_4.7.3.bb +1 -1
@@ -1,7 +1,7 @@ require qt4-x11-free.inc require qt-${PV}.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
Signature · 1 line
1.7.4.1
Op 18 mei 2011, om 11:08 heeft Paul Eggleton het volgende geschreven:
Quoted 9 lines
From: Paul Eggleton <[email protected]>
Remove Qt 4.6.3 in favour of 4.7.3 (which should be binary compatible with 4.6.x), add Upstream-Status to remaining patches and re-enable some patches that were missed with the original upgrade to 4.7.x.
Pull URL:
git://git.openembedded.org/openembedded-core-contrib
Branch: paule/qt4-cleanup-core
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt4-cleanup-core
I haven't build tested it yet, but the series looks good to me from a quick glance.
Quoted 66 lines
Thanks,
Paul Eggleton <[email protected]>
---Paul Eggleton (3):
qt4: remove Qt 4.6.3
qt4: add comments and Upstream-Status to all patches
qt4: re-enable two 4.6.x patches in 4.7.3meta/recipes-qt/qt4/files/0001-cross-compile.patch | 36 ------ .../qt4/files/0002-fix-resinit-declaration.patch | 22 ---- meta/recipes-qt/qt4/files/0004-no-qmake.patch | 1 + .../qt4/files/0006-freetype-host-includes.patch | 3 +- meta/recipes-qt/qt4/files/0008-qt-lib-infix.patch | 7 +- meta/recipes-qt/qt4/files/0009-support-2bpp.patch | 5 + .../files/0010-no-simpledecoration-example.patch | 14 -- ...klist-fraudulent-comodo-certificates-patch.diff | 134 -------------------- .../recipes-qt/qt4/files/compile.test-lflags.patch | 4 + meta/recipes-qt/qt4/files/configure-lflags.patch | 5 + meta/recipes-qt/qt4/files/configure-paths.patch | 5 + meta/recipes-qt/qt4/files/fix-config-tests.patch | 2 + meta/recipes-qt/qt4/files/g++.conf | 53 -------- meta/recipes-qt/qt4/files/hack-out-pg_config.patch | 30 ----- meta/recipes-qt/qt4/files/linux.conf | 54 -------- meta/recipes-qt/qt4/files/mips-relocate.patch | 28 ---- meta/recipes-qt/qt4/files/qmake-exists-check.patch | 1 + meta/recipes-qt/qt4/files/qt-config.patch | 5 + .../qt4/files/qthelp-lib-qtclucene.patch | 86 ------------- meta/recipes-qt/qt4/qt-4.6.3.inc | 57 --------- meta/recipes-qt/qt4/qt-4.7.3.inc | 2 + .../0001-Added-Openembedded-crossarch-option.patch | 5 +- .../qt4/qt-4.7.3/hack-out-pg2-4.7.0.patch | 12 ++ meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb | 9 -- meta/recipes-qt/qt4/qt4-embedded_4.7.3.bb | 2 +- meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb | 11 -- meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb | 6 - meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf | 54 -------- meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb | 6 - meta/recipes-qt/qt4/qt4-x11-free_4.7.3.bb | 2 +- 30 files changed, 56 insertions(+), 605 deletions(-)delete mode 100644
meta/recipes-qt/qt4/files/0001-cross-compile.patch
delete mode 100644meta/recipes-qt/qt4/files/0002-fix-resinit-declaration.patchdelete mode 100644meta/recipes-qt/qt4/files/0010-no-simpledecoration-example.patchdelete mode 100644meta/recipes-qt/qt4/files/blacklist-fraudulent-comodo-certificates-patch.diffdelete mode 100644meta/recipes-qt/qt4/files/g++.conf
delete mode 100644meta/recipes-qt/qt4/files/hack-out-pg_config.patch
delete mode 100644meta/recipes-qt/qt4/files/linux.conf
delete mode 100644meta/recipes-qt/qt4/files/mips-relocate.patch
delete mode 100644meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch
delete mode 100644 meta/recipes-qt/qt4/qt-4.6.3.inc
delete mode 100644 meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb
delete mode 100644 meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb
delete mode 100644 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb
delete mode 100644meta/recipes-qt/qt4/qt4-x11-free-4.6.3/linux.conf
delete mode 100644 meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bbSignature · 7 lines
1.7.4.1 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 15 lines · Paul Eggleton
From: Paul Eggleton <[email protected]>
Remove Qt 4.6.3 in favour of 4.7.3 (which should be binary compatible with 4.6.x), add Upstream-Status to remaining patches and re-enable some patches that were missed with the original upgrade to 4.7.x.
Pull URL:
git://git.openembedded.org/openembedded-core-contrib
Branch: paule/qt4-cleanup-core
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qt4-cleanup-coreThanks,
Paul Eggleton <[email protected]>
---
Quoted 4 lines
Paul Eggleton (3):
qt4: remove Qt 4.6.3
qt4: add comments and Upstream-Status to all patches
qt4: re-enable two 4.6.x patches in 4.7.3
I think the previous questions on the mailing list provided enough time for discussion of this so merged to master, thanks.
Cheers,
Richard