Qt4 recipe fix; fixes configure so compiler is,, detected, properly, and QXMLPatterns gets built
A message that is not in the archive (sent off-list or not yet received): mailman.157.1280347758.17151.openembedded-devel@lists.openembedded.org
I have updated the patch to include incrementing the INC_PR numbers in .inc files. Please see attached (or the URL below).
http://home.comcast.net/~jay.snyder/Qt4-recipe-compiler-fix/Qt4-recipe-compiler-fix.patch
Regards,
Jay
home/oe/local/recipes/qt4/files/configure-conf_compiler-fix.patch renamed from home/oe/2010-06-23/openembedded/recipes/qt4/files/configure-conf_compiler-fix.patch +12 -0
@@ -0,0 +1,12 @@ +Index qt-everywhere-opensource-src-4.6.0.orig/configure +=================================================================== +--- qt-everywhere-opensource-src-4.6.0/configure.orig 2009-12-10 15:49:49.000000000 -0500 ++++ qt-everywhere-opensource-src-4.6.0/configure 2009-12-10 15:50:20.000000000 -0500 +@@ -2917,6 +2917,7 @@ + fi + + QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1` ++eval QMAKE_CONF_COMPILER=$(echo $QMAKE_CONF_COMPILER | sed "s/(/{/" | sed "s/)/}/") + TEST_COMPILER="$CC" + [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER +
home/oe/local/recipes/qt4/qt-4.6.0.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt-4.6.0.inc +1 -0
@@ -3,6 +3,7 @@ FILESPATHPKG .= ":qt-${PV}" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0004-no-qmake.patch \
home/oe/local/recipes/qt4/qt-4.6.2.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt-4.6.2.inc +1 -0
@@ -3,6 +3,7 @@ FILESPATHPKG .= ":qt-${PV}" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0004-no-qmake.patch \
home/oe/local/recipes/qt4/qt4-embedded.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt4-embedded.inc +2 -1
@@ -4,7 +4,7 @@ PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" DEPENDS += "directfb tslib" -INC_PR = "r20" +INC_PR = "r21" QT_BASE_NAME ?= "qt4-embedded" QT_BASE_LIB ?= "libqt-embedded"
@@ -12,6 +12,7 @@ QT_LIBINFIX = "E" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0003-no-tools.patch \
home/oe/local/recipes/qt4/qt4-embedded.inc.~1~ renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt4-embedded.inc.~1~ +52 -0
52 lines not on this page · raw message
home/oe/local/recipes/qt4/qt4-x11-free.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt4-x11-free.inc +2 -1
@@ -5,9 +5,10 @@ LICENSE = "GPL QPL" DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" -INC_PR = "r18" +INC_PR = "r19" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0003-no-tools.patch \
home/oe/local/recipes/qt4/qt4-x11-free.inc.~1~ renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt4-x11-free.inc.~1~ +35 -0
@@ -0,0 +1,35 @@ +DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version." +SECTION = "x11/libs" +PRIORITY = "optional" +HOMEPAGE = "http://www.trolltech.com" +LICENSE = "GPL QPL" +DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" + +INC_PR = "r18" + +SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ + file://0001-cross-compile.patch \ + file://0002-fix-resinit-declaration.patch \ + file://0003-no-tools.patch \ + file://0004-no-qmake.patch \ + file://0006-freetype-host-includes.patch \ + file://0007-openssl-host-includes.patch \ + file://0008-qt-lib-infix.patch \ + file://fix-config-tests.patch \ + file://g++.conf \ + file://linux.conf \ + " +S = "${WORKDIR}/qt-x11-opensource-src-${PV}" + +QT_GLFLAGS ?= "-no-opengl" +QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}" +QT_BASE_NAME ?= "qt4" +QT_BASE_LIB ?= "libqt" +QT_DIR_NAME = "qt4" +QT_LIBINFIX = "" + +require qt4.inc + +inherit qt4x11 +