qt4: Add 4.7.0-beta1
Hello.
As announced earlier, here are the qt4 patches. The build works well with the latest OE.
Regards,
Matthias
PATCH 1/2 qt4: Add qt4-tools-native_4.7.0-beta1
--- recipes/qt4/qt4-tools-native_4.7.0-beta1.bb | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 recipes/qt4/qt4-tools-native_4.7.0-beta1.bb
recipes/qt4/qt4-tools-native_4.7.0-beta1.bb new file +12 -0
@@ -0,0 +1,12 @@ +DEFAULT_PREFERENCE = "-1" + +require qt4-tools-native.inc +LICENSE = "LGPLv2.1 GPLv3" +PR = "${INC_PR}.0" + +EXTRA_OECONF += " -no-fast -silent -no-rpath" + +TOBUILD := "src/tools/bootstrap ${TOBUILD}" + +SRC_URI[md5sum] = "128dae41b23bb427b735548c7864703a" +SRC_URI[sha256sum] = "1107de986e4dda7795d094a2a3b5d85027d780b9b63e9860957cb1d6c56c8929"
Signature · 1 line
1.7.0.4
Re: [PATCH 1/2] qt4: Add qt4-tools-native_4.7.0-beta1
Quoted 1 line · Matthias G??nther
---
Please add your own Signed-off-by line...
Quoted 30 lines
recipes/qt4/qt4-tools-native_4.7.0-beta1.bb | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 recipes/qt4/qt4-tools-native_4.7.0-beta1.bbrecipes/qt4/qt4-tools-native_4.7.0-beta1.bb new file +12
-0@@ -0,0 +1,12 @@ +DEFAULT_PREFERENCE = "-1" + +require qt4-tools-native.inc +LICENSE = "LGPLv2.1 GPLv3" +PR = "${INC_PR}.0" + +EXTRA_OECONF += " -no-fast -silent -no-rpath" + +TOBUILD := "src/tools/bootstrap ${TOBUILD}" + +SRC_URI[md5sum] = "128dae41b23bb427b735548c7864703a" +SRC_URI[sha256sum] = "1107de986e4dda7795d094a2a3b5d85027d780b9b63e9860957cb1d6c56c8929"Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
PATCH 2/2 qt4: Add qt4-x11-free_4.7.0-beta1
In reply to Matthias GüntherSeveral patches to disable not working parts in the beta version:
* tools/assistant
* examples/designer
* examples/dbus-remotecontrolledcar
* examples/help
* examples/declarative
* demos/browser
* demos/qtdemos
* demos/affine
* DEFAULT_PREFERENCE = "-1"
* New Qt Module / Lib "QtDeclarative" added for packaging.
* Qmlviewer named "qml" added to the tools package.
--- recipes/qt4/qt-4.7.0-beta1.inc | 73 ++++++++++++++++++++ .../0001-Added-Openembedded-crossarch-option.patch | 44 ++++++++++++ .../0002-Disable-tools-assistant.patch | 25 +++++++ .../0003-Disable-examples-designer.patch | 24 +++++++ ...isable-exaqmples-dbus-remotecontrolledcar.patch | 26 +++++++ .../0005-Disable-examples-help.patch | 25 +++++++ .../0006-Disable-demos-browser.patch | 24 +++++++ .../0007-Disable-demos-qtdemos.patch | 25 +++++++ .../0008-Disable-examples-declarative.patch | 24 +++++++ .../qt-4.7.0-beta1/0009-Disable-demos-affine.patch | 24 +++++++ recipes/qt4/qt4-x11-free_4.7.0-beta1.bb | 14 ++++ 11 files changed, 328 insertions(+), 0 deletions(-) create mode 100644 recipes/qt4/qt-4.7.0-beta1.inc create mode 100644 recipes/qt4/qt-4.7.0-beta1/0001-Added-Openembedded-crossarch-option.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0002-Disable-tools-assistant.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0003-Disable-examples-designer.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0004-Disable-exaqmples-dbus-remotecontrolledcar.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0005-Disable-examples-help.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0006-Disable-demos-browser.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0007-Disable-demos-qtdemos.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0008-Disable-examples-declarative.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0009-Disable-demos-affine.patch create mode 100644 recipes/qt4/qt4-x11-free_4.7.0-beta1.bb
recipes/qt4/qt-4.7.0-beta1.inc new file +73 -0
@@ -0,0 +1,73 @@ +DEFAULT_PREFERENCE = "-1" +LICENSE = "LGPLv2.1 GPLv3" + +FILESPATHPKG .= ":qt-${PV}" + +SRC_URI = "\ + ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ + file://0004-no-qmake.patch \ + file://hack-out-pg_config.patch \ + file://0006-freetype-host-includes.patch \ + file://0001-Added-Openembedded-crossarch-option.patch \ + file://0002-Disable-tools-assistant.patch \ + file://0003-Disable-examples-designer.patch \ + file://0004-Disable-exaqmples-dbus-remotecontrolledcar.patch \ + file://0005-Disable-examples-help.patch \ + file://0006-Disable-demos-browser.patch \ + file://0007-Disable-demos-qtdemos.patch \ + file://0008-Disable-examples-declarative.patch \ + file://0009-Disable-demos-affine.patch \ + file://g++.conf \ + file://linux.conf \ + " + +S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" + +QT_LIB_NAMES += "QtDeclarative" +FILES_${QT_BASE_NAME}-tools += "${bindir}/qml" + +do_configure_prepend() { + for pro in $(find ${S} -name "*.pro") ; do + sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro + done + + sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf + sed -i \ + -e /QMAKE_MOC\ /d \ + -e /QMAKE_UIC\ /d \ + -e /QMAKE_UIC3\ /d \ + -e /QMAKE_RCC\ /d \ + ${S}/configure +} + +do_configure_append() { + sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile +} + +QT_GLFLAGS ?= "" +QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}" + +do_compile() { + # Fixup missing wsegl header in some SGX SDKs + if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then + cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/ + fi + + unset CFLAGS CXXFLAGS + install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc + install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc + install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic + install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease + + oe_runmake ${EXTRA_ENV} +} + +do_install_append() { + install -d ${D}${bindir} + for i in rcc uic moc ; do + install -m 0755 ${S}/bin/$i ${D}${bindir}/ + done +} + +SRC_URI[md5sum] = "128dae41b23bb427b735548c7864703a" +SRC_URI[sha256sum] = "1107de986e4dda7795d094a2a3b5d85027d780b9b63e9860957cb1d6c56c8929"
recipes/qt4/qt-4.7.0-beta1/0001-Added-Openembedded-crossarch-option.patch new file +44 -0
44 lines not on this page · raw message
recipes/qt4/qt-4.7.0-beta1/0002-Disable-tools-assistant.patch new file +25 -0
@@ -0,0 +1,25 @@ +From f107d9957f8382dfc2c7b28248eee2d628342a93 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 19:41:13 +0200 +Subject: [PATCH 2/9] Disable tools/assistant + +--- + tools/tools.pro | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/tools/tools.pro b/tools/tools.pro +index 7598962..1d35a3f 100644 +--- a/tools/tools.pro ++++ b/tools/tools.pro +@@ -9,7 +9,7 @@ TEMPLATE = subdirs + } else:wince* { + SUBDIRS = qtestlib designer + } else { +- SUBDIRS = assistant \ ++ SUBDIRS = \ + pixeltool \ + porting \ + qtestlib \ +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0003-Disable-examples-designer.patch new file +24 -0
@@ -0,0 +1,24 @@ +From 82aaf21a465d0d693916c4b82932371a090482a7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 20:33:11 +0200 +Subject: [PATCH 3/9] Disable examples/designer + +--- + examples/examples.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/examples/examples.pro b/examples/examples.pro +index 43cad55..785c35c 100644 +--- a/examples/examples.pro ++++ b/examples/examples.pro +@@ -53,7 +53,6 @@ contains(QT_CONFIG, script): SUBDIRS += script + contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon + embedded:SUBDIRS += qws + !wince*:!symbian: { +- !contains(QT_EDITION, Console):!contains(QT_CONFIG, no-gui):contains(QT_BUILD_PARTS, tools):SUBDIRS += designer + contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib help + } else { + contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0004-Disable-exaqmples-dbus-remotecontrolledcar.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 753cc5766d51c5b7d599fada569d6b262f2a3b1a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 20:49:30 +0200 +Subject: [PATCH 4/9] Disable exaqmples/dbus/remotecontrolledcar + +--- + examples/dbus/dbus.pro | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +diff --git a/examples/dbus/dbus.pro b/examples/dbus/dbus.pro +index e599334..daa89b0 100644 +--- a/examples/dbus/dbus.pro ++++ b/examples/dbus/dbus.pro +@@ -4,8 +4,7 @@ SUBDIRS = listnames \ + complexpingpong + + !contains(QT_CONFIG, no-gui) { +- SUBDIRS += dbus-chat \ +- remotecontrolledcar ++ SUBDIRS += dbus-chat + } + + # install +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0005-Disable-examples-help.patch new file +25 -0
@@ -0,0 +1,25 @@ +From c7f749b564b473f0160a201c769153cfcaf3bc0b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 14:27:22 +0200 +Subject: [PATCH 5/9] Disable examples/help + +--- + examples/examples.pro | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/examples/examples.pro b/examples/examples.pro +index 785c35c..e37f580 100644 +--- a/examples/examples.pro ++++ b/examples/examples.pro +@@ -53,7 +53,7 @@ contains(QT_CONFIG, script): SUBDIRS += script + contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon + embedded:SUBDIRS += qws + !wince*:!symbian: { +- contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib help ++ contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib + } else { + contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib + } +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0006-Disable-demos-browser.patch new file +24 -0
@@ -0,0 +1,24 @@ +From 11657d8c4b964b7c16b1d216522a92d6280007e1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 15:53:29 +0200 +Subject: [PATCH 6/9] Disable /demos/browser + +--- + demos/demos.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/demos/demos.pro b/demos/demos.pro +index 5e8a4ea..8008ccb 100644 +--- a/demos/demos.pro ++++ b/demos/demos.pro +@@ -56,7 +56,6 @@ wince*:SUBDIRS += demos_sqlbrowser + } + } + contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer +-contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):!symbian:SUBDIRS += demos_browser + contains(QT_CONFIG, multimedia):SUBDIRS += demos_multimedia + contains(QT_CONFIG, declarative):SUBDIRS += demos_declarative + +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0007-Disable-demos-qtdemos.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 6a4b829736399fef4a6f1d3223cf0d813caf7062 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 16:00:06 +0200 +Subject: [PATCH 7/9] Disable demos/qtdemos + +--- + demos/demos.pro | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/demos/demos.pro b/demos/demos.pro +index 8008ccb..a0691bc 100644 +--- a/demos/demos.pro ++++ b/demos/demos.pro +@@ -51,7 +51,7 @@ wince*|symbian|embedded|x11: SUBDIRS += demos_embedded + + !cross_compile:{ + contains(QT_BUILD_PARTS, tools):{ +-!wince*:SUBDIRS += demos_sqlbrowser demos_qtdemo ++!wince*:SUBDIRS += demos_sqlbrowser + wince*:SUBDIRS += demos_sqlbrowser + } + } +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0008-Disable-examples-declarative.patch new file +24 -0
@@ -0,0 +1,24 @@ +From 1b855a946a1d060c52ddb04f308fb25f1d391b6a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 19:49:45 +0200 +Subject: [PATCH 8/9] Disable examples/declarative + +--- + examples/examples.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/examples/examples.pro b/examples/examples.pro +index e37f580..8681a41 100644 +--- a/examples/examples.pro ++++ b/examples/examples.pro +@@ -60,7 +60,6 @@ embedded:SUBDIRS += qws + contains(QT_CONFIG, opengl): SUBDIRS += opengl + contains(QT_CONFIG, openvg): SUBDIRS += openvg + contains(QT_CONFIG, dbus): SUBDIRS += dbus +-contains(QT_CONFIG, declarative): SUBDIRS += declarative + win32: SUBDIRS += activeqt + contains(QT_CONFIG, xmlpatterns):!contains(QT_CONFIG, no-gui): SUBDIRS += xmlpatterns + contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows +-- +1.7.0.4 +
recipes/qt4/qt-4.7.0-beta1/0009-Disable-demos-affine.patch new file +24 -0
@@ -0,0 +1,24 @@ +From ab87c21fab1b2bb3e593a27e4a08ba66e689f724 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 20:46:18 +0200 +Subject: [PATCH 9/9] Disable demos/affine + +--- + demos/demos.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/demos/demos.pro b/demos/demos.pro +index a0691bc..082a77d 100644 +--- a/demos/demos.pro ++++ b/demos/demos.pro +@@ -6,7 +6,6 @@ SUBDIRS = \ + demos_deform \ + demos_gradients \ + demos_pathstroke \ +- demos_affine \ + demos_composition \ + demos_books \ + demos_interview \ +-- +1.7.0.4 +
recipes/qt4/qt4-x11-free_4.7.0-beta1.bb new file +14 -0
@@ -0,0 +1,14 @@ +DEFAULT_PREFERENCE = "-1" + +require qt4-x11-free.inc +PR = "${INC_PR}.0" + +QT_CONFIG_FLAGS_append_armv6 = " -no-neon " + +require qt-${PV}.inc + +QT_CONFIG_FLAGS += " \ + -no-embedded \ + -xrandr \ + -x11" +
Signature · 1 line
1.7.0.4
Re: [PATCH 2/2] qt4: Add qt4-x11-free_4.7.0-beta1
Will there be a Qt Embedded version?
Quoted 440 lines · Matthias G??nther
Several patches to disable not working parts in the beta version:
*tools/assistant
* examples/designer
* examples/dbus-remotecontrolledcar
* examples/help
* examples/declarative
* demos/browser
* demos/qtdemos
* demos/affine*
DEFAULT_PREFERENCE= "-1"
* New Qt Module / Lib "QtDeclarative" added for packaging.
* Qmlviewer named "qml" added to the tools package.--- recipes/qt4/qt-4.7.0-beta1.inc | 73 ++++++++++++++++++++ .../0001-Added-Openembedded-crossarch-option.patch | 44 ++++++++++++ .../0002-Disable-tools-assistant.patch | 25 +++++++ .../0003-Disable-examples-designer.patch | 24 +++++++ ...isable-exaqmples-dbus-remotecontrolledcar.patch | 26 +++++++ .../0005-Disable-examples-help.patch | 25 +++++++ .../0006-Disable-demos-browser.patch | 24 +++++++ .../0007-Disable-demos-qtdemos.patch | 25 +++++++ .../0008-Disable-examples-declarative.patch | 24 +++++++ .../qt-4.7.0-beta1/0009-Disable-demos-affine.patch | 24 +++++++ recipes/qt4/qt4-x11-free_4.7.0-beta1.bb | 14 ++++ 11 files changed, 328 insertions(+), 0 deletions(-) create mode 100644 recipes/qt4/qt-4.7.0-beta1.inc create mode 100644 recipes/qt4/qt-4.7.0-beta1/0001-Added-Openembedded-crossarch-option.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0002-Disable-tools-assistant.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0003-Disable-examples-designer.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0004-Disable-exaqmples-dbus-remotecontrolledcar.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0005-Disable-examples-help.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0006-Disable-demos-browser.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0007-Disable-demos-qtdemos.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0008-Disable-examples-declarative.patch create mode 100644 recipes/qt4/qt-4.7.0-beta1/0009-Disable-demos-affine.patch create mode 100644 recipes/qt4/qt4-x11-free_4.7.0-beta1.bbrecipes/qt4/qt-4.7.0-beta1.inc new file +73
-0@@ -0,0 +1,73 @@ +DEFAULT_PREFERENCE = "-1" +LICENSE = "LGPLv2.1 GPLv3" + +FILESPATHPKG .= ":qt-${PV}" + +SRC_URI = "\ + ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ + file://0004-no-qmake.patch \ + file://hack-out-pg_config.patch \ + file://0006-freetype-host-includes.patch \ + file://0001-Added-Openembedded-crossarch-option.patch \ + file://0002-Disable-tools-assistant.patch \ + file://0003-Disable-examples-designer.patch \ + file://0004-Disable-exaqmples-dbus-remotecontrolledcar.patch \ + file://0005-Disable-examples-help.patch \ + file://0006-Disable-demos-browser.patch \ + file://0007-Disable-demos-qtdemos.patch \ + file://0008-Disable-examples-declarative.patch \ + file://0009-Disable-demos-affine.patch \ + file://g++.conf \ + file://linux.conf \ + " + +S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" + +QT_LIB_NAMES += "QtDeclarative" +FILES_${QT_BASE_NAME}-tools += "${bindir}/qml" + +do_configure_prepend() { + for pro in $(find ${S} -name "*.pro") ; do + sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro + done + + sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf + sed -i \ + -e /QMAKE_MOC\ /d \ + -e /QMAKE_UIC\ /d \ + -e /QMAKE_UIC3\ /d \ + -e /QMAKE_RCC\ /d \ + ${S}/configure +} + +do_configure_append() { + sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile +} + +QT_GLFLAGS ?= "" +QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}" + +do_compile() { + # Fixup missing wsegl header in some SGX SDKs + if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then + cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/ + fi + + unset CFLAGS CXXFLAGS + install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc + install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc + install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic + install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease + + oe_runmake ${EXTRA_ENV} +} + +do_install_append() { + install -d ${D}${bindir} + for i in rcc uic moc ; do + install -m 0755 ${S}/bin/$i ${D}${bindir}/ + done +} + +SRC_URI[md5sum] = "128dae41b23bb427b735548c7864703a" +SRC_URI[sha256sum] = "1107de986e4dda7795d094a2a3b5d85027d780b9b63e9860957cb1d6c56c8929"recipes/qt4/qt-4.7.0-beta1/0001-Added-Openembedded-crossarch-option.patch new file +44
-0@@ -0,0 +1,44 @@ +From b1ba119f6a824dc01bd42ee00dba4a1653867b72 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 16:52:45 +0200 +Subject: [PATCH 1/9] Added Openembedded "-crossarch" option + +--- + configure | 7 ++++++- + 1 files changed, 6 insertions(+), 1 deletions(-) + +diff --git a/configure b/configure +index facd192..9d15136 100755 +--- a/configure ++++ b/configure +@@ -954,7 +954,7 @@ while [ "$#" -gt 0 ]; do + shift + VAL=$1 + ;; +- -prefix|-docdir|-headerdir|-plugindir|-importdir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config) ++ -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) + VAR=`echo $1 | sed "s,^-\(.*\),\1,"` + shift + VAL="$1" +@@ -1443,6 +1443,9 @@ while [ "$#" -gt 0 ]; do + xplatform) + XPLATFORM="$VAL" + ;; ++ crossarch) ++ CROSSARCH="$VAL" ++ ;; + debug-and-release) + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then + CFG_DEBUG_RELEASE="$VAL" +@@ -2918,6 +2921,8 @@ elif [ "$PLATFORM_MAC" = "yes" ] || [ -z "$CFG_ARCH" ]; then + 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" +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0002-Disable-tools-assistant.patch new file +25
-0@@ -0,0 +1,25 @@ +From f107d9957f8382dfc2c7b28248eee2d628342a93 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 19:41:13 +0200 +Subject: [PATCH 2/9] Disable tools/assistant + +--- + tools/tools.pro | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/tools/tools.pro b/tools/tools.pro +index 7598962..1d35a3f 100644 +--- a/tools/tools.pro ++++ b/tools/tools.pro +@@ -9,7 +9,7 @@ TEMPLATE = subdirs + } else:wince* { + SUBDIRS = qtestlib designer + } else { +- SUBDIRS = assistant \ ++ SUBDIRS = \ + pixeltool \ + porting \ + qtestlib \ +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0003-Disable-examples-designer.patch new file +24
-0@@ -0,0 +1,24 @@ +From 82aaf21a465d0d693916c4b82932371a090482a7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 20:33:11 +0200 +Subject: [PATCH 3/9] Disable examples/designer + +--- + examples/examples.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/examples/examples.pro b/examples/examples.pro +index 43cad55..785c35c 100644 +--- a/examples/examples.pro ++++ b/examples/examples.pro +@@ -53,7 +53,6 @@ contains(QT_CONFIG, script): SUBDIRS += script + contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon + embedded:SUBDIRS += qws + !wince*:!symbian: { +- !contains(QT_EDITION, Console):!contains(QT_CONFIG, no-gui):contains(QT_BUILD_PARTS, tools):SUBDIRS += designer + contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib help + } else { + contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0004-Disable-exaqmples-dbus-remotecontrolledcar.patch new file +26
-0@@ -0,0 +1,26 @@ +From 753cc5766d51c5b7d599fada569d6b262f2a3b1a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Wed, 12 May 2010 20:49:30 +0200 +Subject: [PATCH 4/9] Disable exaqmples/dbus/remotecontrolledcar + +--- + examples/dbus/dbus.pro | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +diff --git a/examples/dbus/dbus.pro b/examples/dbus/dbus.pro +index e599334..daa89b0 100644 +--- a/examples/dbus/dbus.pro ++++ b/examples/dbus/dbus.pro +@@ -4,8 +4,7 @@ SUBDIRS = listnames \ + complexpingpong + + !contains(QT_CONFIG, no-gui) { +- SUBDIRS += dbus-chat \ +- remotecontrolledcar ++ SUBDIRS += dbus-chat + } + + # install +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0005-Disable-examples-help.patch new file +25
-0@@ -0,0 +1,25 @@ +From c7f749b564b473f0160a201c769153cfcaf3bc0b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 14:27:22 +0200 +Subject: [PATCH 5/9] Disable examples/help + +--- + examples/examples.pro | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/examples/examples.pro b/examples/examples.pro +index 785c35c..e37f580 100644 +--- a/examples/examples.pro ++++ b/examples/examples.pro +@@ -53,7 +53,7 @@ contains(QT_CONFIG, script): SUBDIRS += script + contains(QT_CONFIG, phonon):!static: SUBDIRS += phonon + embedded:SUBDIRS += qws + !wince*:!symbian: { +- contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib help ++ contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib + } else { + contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib + } +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0006-Disable-demos-browser.patch new file +24
-0@@ -0,0 +1,24 @@ +From 11657d8c4b964b7c16b1d216522a92d6280007e1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 15:53:29 +0200 +Subject: [PATCH 6/9] Disable /demos/browser + +--- + demos/demos.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/demos/demos.pro b/demos/demos.pro +index 5e8a4ea..8008ccb 100644 +--- a/demos/demos.pro ++++ b/demos/demos.pro +@@ -56,7 +56,6 @@ wince*:SUBDIRS += demos_sqlbrowser + } + } + contains(QT_CONFIG, phonon):!static:SUBDIRS += demos_mediaplayer +-contains(QT_CONFIG, webkit):contains(QT_CONFIG, svg):!symbian:SUBDIRS += demos_browser + contains(QT_CONFIG, multimedia):SUBDIRS += demos_multimedia + contains(QT_CONFIG, declarative):SUBDIRS += demos_declarative + +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0007-Disable-demos-qtdemos.patch new file +25
-0@@ -0,0 +1,25 @@ +From 6a4b829736399fef4a6f1d3223cf0d813caf7062 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 16:00:06 +0200 +Subject: [PATCH 7/9] Disable demos/qtdemos + +--- + demos/demos.pro | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/demos/demos.pro b/demos/demos.pro +index 8008ccb..a0691bc 100644 +--- a/demos/demos.pro ++++ b/demos/demos.pro +@@ -51,7 +51,7 @@ wince*|symbian|embedded|x11: SUBDIRS += demos_embedded + + !cross_compile:{ + contains(QT_BUILD_PARTS, tools):{ +-!wince*:SUBDIRS += demos_sqlbrowser demos_qtdemo ++!wince*:SUBDIRS += demos_sqlbrowser + wince*:SUBDIRS += demos_sqlbrowser + } + } +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0008-Disable-examples-declarative.patch new file +24
-0@@ -0,0 +1,24 @@ +From 1b855a946a1d060c52ddb04f308fb25f1d391b6a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 19:49:45 +0200 +Subject: [PATCH 8/9] Disable examples/declarative + +--- + examples/examples.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/examples/examples.pro b/examples/examples.pro +index e37f580..8681a41 100644 +--- a/examples/examples.pro ++++ b/examples/examples.pro +@@ -60,7 +60,6 @@ embedded:SUBDIRS += qws + contains(QT_CONFIG, opengl): SUBDIRS += opengl + contains(QT_CONFIG, openvg): SUBDIRS += openvg + contains(QT_CONFIG, dbus): SUBDIRS += dbus +-contains(QT_CONFIG, declarative): SUBDIRS += declarative + win32: SUBDIRS += activeqt + contains(QT_CONFIG, xmlpatterns):!contains(QT_CONFIG, no-gui): SUBDIRS += xmlpatterns + contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows +-- +1.7.0.4 +recipes/qt4/qt-4.7.0-beta1/0009-Disable-demos-affine.patch new file +24
-0@@ -0,0 +1,24 @@ +From ab87c21fab1b2bb3e593a27e4a08ba66e689f724 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <[email protected]> +Date: Thu, 13 May 2010 20:46:18 +0200 +Subject: [PATCH 9/9] Disable demos/affine + +--- + demos/demos.pro | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/demos/demos.pro b/demos/demos.pro +index a0691bc..082a77d 100644 +--- a/demos/demos.pro ++++ b/demos/demos.pro +@@ -6,7 +6,6 @@ SUBDIRS = \ + demos_deform \ + demos_gradients \ + demos_pathstroke \ +- demos_affine \ + demos_composition \ + demos_books \ + demos_interview \ +-- +1.7.0.4 +recipes/qt4/qt4-x11-free_4.7.0-beta1.bb new file +14
-0@@ -0,0 +1,14 @@ +DEFAULT_PREFERENCE = "-1" + +require qt4-x11-free.inc +PR = "${INC_PR}.0" + +QT_CONFIG_FLAGS_append_armv6 = " -no-neon " + +require qt-${PV}.inc + +QT_CONFIG_FLAGS += " \ + -no-embedded \ + -xrandr \ + -x11" +Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 4 lines · Matthias G??nther
Hello.
As announced earlier, here are the qt4 patches. The build works well with the latest OE.
Thanks! I'm still learning QML, but now I should be able to do tests on the target! :)
Signature · 1 line
Denys
Quoted 8 lines · Denys Dmytriyenko
Quoted 4 lines · Matthias G??nther
Hello.
As announced earlier, here are the qt4 patches. The build works well with the latest OE.
Thanks! I'm still learning QML, but now I should be able to do tests on the target! :)
QML is really interesting! I'm sure it will make its way :) Btw, the recipe is already in OE.
Regards,
Matthias