Pull request for new qt4 toolchain (and other mostly qt4 fixes)
Hello!
Please pull qt4 toolchain support from the following repository:git://github.com/booxter/oedev.git
If you want me to send patches to the ML please tell me then.
Thanks.
Quoted 5 lines · Ihar Hrachyshka
Hello!
Please pull qt4 toolchain support from the following repository:
git://github.com/booxter/oedev.git
If you want me to send patches to the ML please tell me then.
Yes, please post at least the summary of changes and such to the ML. Thanks.
Signature · 1 line
Tom Rini
cover different qt4 related patches
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config to INC_PR.
PATCH 1/12 qt4-embedded: reworked directory layout for the next changes.
--- recipes/qt4/files/0003-no-tools.patch | 16 ------- .../qt4/files/0006-freetype-host-includes.patch | 23 ---------- recipes/qt4/files/0007-openssl-host-includes.patch | 23 ---------- recipes/qt4/files/0008-qt-lib-infix.patch | 45 -------------------- recipes/qt4/files/4.5.1/0003-no-tools.patch | 18 -------- .../files/4.5.1/0006-freetype-host-includes.patch | 20 --------- .../files/4.5.1/0007-openssl-host-includes.patch | 20 --------- recipes/qt4/files/4.5.1/0008-qt-lib-infix.patch | 34 --------------- .../4.5.1/0010-no-simpledecoration-example.patch | 9 ---- recipes/qt4/qt4-embedded-4.4.3/0003-no-tools.patch | 16 +++++++ .../0006-freetype-host-includes.patch | 23 ++++++++++ .../0007-openssl-host-includes.patch | 23 ++++++++++ .../qt4/qt4-embedded-4.4.3/0008-qt-lib-infix.patch | 45 ++++++++++++++++++++ recipes/qt4/qt4-embedded-4.5.1/0003-no-tools.patch | 18 ++++++++ .../0006-freetype-host-includes.patch | 20 +++++++++ .../0007-openssl-host-includes.patch | 20 +++++++++ .../qt4/qt4-embedded-4.5.1/0008-qt-lib-infix.patch | 34 +++++++++++++++ .../0010-no-simpledecoration-example.patch | 9 ++++ recipes/qt4/qt4-embedded.inc | 40 +++++++++++++++++ recipes/qt4/qt4-embedded_4.4.3.bb | 40 +---------------- recipes/qt4/qt4-embedded_4.5.1.bb | 41 ++---------------- 21 files changed, 254 insertions(+), 283 deletions(-) delete mode 100644 recipes/qt4/files/0003-no-tools.patch delete mode 100644 recipes/qt4/files/0006-freetype-host-includes.patch delete mode 100644 recipes/qt4/files/0007-openssl-host-includes.patch delete mode 100644 recipes/qt4/files/0008-qt-lib-infix.patch delete mode 100644 recipes/qt4/files/4.5.1/0003-no-tools.patch delete mode 100644 recipes/qt4/files/4.5.1/0006-freetype-host-includes.patch delete mode 100644 recipes/qt4/files/4.5.1/0007-openssl-host-includes.patch delete mode 100644 recipes/qt4/files/4.5.1/0008-qt-lib-infix.patch delete mode 100644 recipes/qt4/files/4.5.1/0010-no-simpledecoration-example.patch create mode 100644 recipes/qt4/qt4-embedded-4.4.3/0003-no-tools.patch create mode 100644 recipes/qt4/qt4-embedded-4.4.3/0006-freetype-host-includes.patch create mode 100644 recipes/qt4/qt4-embedded-4.4.3/0007-openssl-host-includes.patch create mode 100644 recipes/qt4/qt4-embedded-4.4.3/0008-qt-lib-infix.patch create mode 100644 recipes/qt4/qt4-embedded-4.5.1/0003-no-tools.patch create mode 100644 recipes/qt4/qt4-embedded-4.5.1/0006-freetype-host-includes.patch create mode 100644 recipes/qt4/qt4-embedded-4.5.1/0007-openssl-host-includes.patch create mode 100644 recipes/qt4/qt4-embedded-4.5.1/0008-qt-lib-infix.patch create mode 100644 recipes/qt4/qt4-embedded-4.5.1/0010-no-simpledecoration-example.patch create mode 100644 recipes/qt4/qt4-embedded.inc
recipes/qt4/files/0003-no-tools.patch deleted +0 -16
@@ -1,16 +0,0 @@ ---- /tmp/src.pro 2008-07-08 10:43:30.000000000 +0200 -+++ qt-embedded-linux-opensource-src-4.4.0/src/src.pro 2008-07-08 11:28:24.000000000 +0200 -@@ -6,12 +6,9 @@ - wince*:{ - SRC_SUBDIRS += src_corelib src_xml src_gui src_sql src_network src_script src_testlib - } else { -- SRC_SUBDIRS += src_tools_moc src_tools_rcc src_tools_uic src_corelib src_xml src_network src_gui src_sql src_script src_testlib -+ SRC_SUBDIRS += src_corelib src_xml src_network src_gui src_sql src_script src_testlib - contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_qt3support - contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus -- !cross_compile { -- contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3 -- } - } - win32:!contains(QT_EDITION, OpenSource|Console): { - SRC_SUBDIRS += src_activeqt
recipes/qt4/files/0006-freetype-host-includes.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001 -From: Michael Krelin <[email protected]> -Date: Mon, 4 Jun 2007 14:48:50 +0200 -Subject: [PATCH] freetype host includes - ---- - config.tests/unix/freetype/freetype.pri | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/config.tests/unix/freetype/freetype.pri b/config.tests/unix/freetype/freetype.pri -index 84974bf..ab9a6f2 100644 ---- a/config.tests/unix/freetype/freetype.pri -+++ b/config.tests/unix/freetype/freetype.pri -@@ -1,5 +1,5 @@ - !cross_compile { -- TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH -+ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH - for(p, TRY_INCLUDEPATHS) { - p = $$join(p, "", "", "/freetype2") - exists($$p):INCLUDEPATH *= $$p --- -1.5.0.7 -
recipes/qt4/files/0007-openssl-host-includes.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From d45943adb443ad4b85ca4504952dee743c675e1e Mon Sep 17 00:00:00 2001 -From: Michael Krelin <[email protected]> -Date: Mon, 4 Jun 2007 14:58:34 +0200 -Subject: [PATCH] openssl host includes - ---- - config.tests/unix/openssl/openssl.pri | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/config.tests/unix/openssl/openssl.pri b/config.tests/unix/openssl/openssl.pri -index 756e5fe..19b4061 100644 ---- a/config.tests/unix/openssl/openssl.pri -+++ b/config.tests/unix/openssl/openssl.pri -@@ -1,5 +1,5 @@ - !cross_compile { -- TRY_INCLUDEPATHS = /include /usr/include /usr/local/include $$QMAKE_INCDIR $$INCLUDEPATH -+ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH - for(p, TRY_INCLUDEPATHS) { - pp = $$join(p, "", "", "/openssl") - exists($$pp):INCLUDEPATH *= $$p --- -1.5.0.7 -
recipes/qt4/files/0008-qt-lib-infix.patch deleted +0 -45
45 lines not on this page · raw message
recipes/qt4/files/4.5.1/0003-no-tools.patch deleted +0 -18
@@ -1,18 +0,0 @@ -Index: qt-embedded-linux-opensource-src-4.5.0/src/src.pro -=================================================================== ---- qt-embedded-linux-opensource-src-4.5.0.orig/src/src.pro 2009-02-25 22:32:41.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.5.0/src/src.pro 2009-03-26 17:11:07.000000000 +0100 -@@ -6,12 +6,9 @@ - wince*:{ - SRC_SUBDIRS += src_corelib src_xml src_gui src_sql src_network src_script src_testlib - } else { -- SRC_SUBDIRS += src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_uic src_corelib src_xml src_network src_gui src_sql src_script src_testlib -+ SRC_SUBDIRS += src_corelib src_xml src_network src_gui src_sql src_script src_testlib - contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_qt3support - contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus -- !cross_compile { -- contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3 -- } - } - win32:!contains(QT_EDITION, OpenSource|Console): { - SRC_SUBDIRS += src_activeqt
recipes/qt4/files/4.5.1/0006-freetype-host-includes.patch deleted +0 -20
@@ -1,20 +0,0 @@ -From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001 -From: Michael Krelin <[email protected]> -Date: Mon, 4 Jun 2007 14:48:50 +0200 -Subject: [PATCH] freetype host includes - ---- - config.tests/unix/freetype/freetype.pri | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri -=================================================================== ---- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/freetype/freetype.pri 2009-02-25 22:32:32.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri 2009-03-26 17:14:16.000000000 +0100 -@@ -1,5 +1,5 @@ - !cross_compile { -- TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH -+ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH - # LSB doesn't allow using headers from /include or /usr/include - linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH - for(p, TRY_INCLUDEPATHS) {
recipes/qt4/files/4.5.1/0007-openssl-host-includes.patch deleted +0 -20
@@ -1,20 +0,0 @@ -From d45943adb443ad4b85ca4504952dee743c675e1e Mon Sep 17 00:00:00 2001 -From: Michael Krelin <[email protected]> -Date: Mon, 4 Jun 2007 14:58:34 +0200 -Subject: [PATCH] openssl host includes - ---- - config.tests/unix/openssl/openssl.pri | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/openssl/openssl.pri -=================================================================== ---- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/openssl/openssl.pri 2009-02-25 22:32:32.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/openssl/openssl.pri 2009-03-26 17:16:28.000000000 +0100 -@@ -1,5 +1,5 @@ - !cross_compile { -- TRY_INCLUDEPATHS = /include /usr/include /usr/local/include $$QMAKE_INCDIR $$INCLUDEPATH -+ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH - # LSB doesn't allow using headers from /include or /usr/include - linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH - for(p, TRY_INCLUDEPATHS) {
recipes/qt4/files/4.5.1/0008-qt-lib-infix.patch deleted +0 -34
@@ -1,34 +0,0 @@ -Index: qt-embedded-linux-opensource-src-4.5.0/mkspecs/features/uitools.prf -=================================================================== ---- qt-embedded-linux-opensource-src-4.5.0.orig/mkspecs/features/uitools.prf 2009-02-25 22:32:34.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.5.0/mkspecs/features/uitools.prf 2009-03-26 17:17:27.000000000 +0100 -@@ -2,10 +2,10 @@ - qt:load(qt) - - # Include the correct version of the UiLoader library --QTUITOOLS_LINKAGE = -lQtUiTools -+QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX} - CONFIG(debug, debug|release) { -- mac: QTUITOOLS_LINKAGE = -lQtUiTools_debug -- win32: QTUITOOLS_LINKAGE = -lQtUiToolsd -+ mac: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}_debug -+ win32: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}d - } - LIBS += $$QTUITOOLS_LINKAGE - -Index: qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/uitools/uitools.pro -=================================================================== ---- qt-embedded-linux-opensource-src-4.5.0.orig/tools/designer/src/uitools/uitools.pro 2009-02-25 22:32:42.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/uitools/uitools.pro 2009-03-26 17:17:27.000000000 +0100 -@@ -1,5 +1,5 @@ - TEMPLATE = lib --TARGET = $$qtLibraryTarget(QtUiTools) -+TARGET = QtUiTools - QT += xml - CONFIG += qt staticlib - DESTDIR = ../../../../lib -@@ -39,3 +39,4 @@ - QMAKE_PKGCONFIG_REQUIRES += QtXml - } - -+TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
recipes/qt4/files/4.5.1/0010-no-simpledecoration-example.patch deleted +0 -9
@@ -1,9 +0,0 @@ ---- qt-embedded-linux-opensource-src-4.5.0.orig/examples/qws/qws.pro 2009-02-25 22:32:34.000000000 +0100 -+++ qt-embedded-linux-opensource-src-4.5.0/examples/qws/qws.pro 2009-03-26 19:53:19.000000000 +0100 -@@ -1,5 +1,5 @@ - TEMPLATE = subdirs --SUBDIRS = framebuffer mousecalibration simpledecoration -+SUBDIRS = framebuffer mousecalibration - - # install - sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro
recipes/qt4/qt4-embedded-4.4.3/0003-no-tools.patch new file +16 -0
@@ -0,0 +1,16 @@ +--- /tmp/src.pro 2008-07-08 10:43:30.000000000 +0200 ++++ qt-embedded-linux-opensource-src-4.4.0/src/src.pro 2008-07-08 11:28:24.000000000 +0200 +@@ -6,12 +6,9 @@ + wince*:{ + SRC_SUBDIRS += src_corelib src_xml src_gui src_sql src_network src_script src_testlib + } else { +- SRC_SUBDIRS += src_tools_moc src_tools_rcc src_tools_uic src_corelib src_xml src_network src_gui src_sql src_script src_testlib ++ SRC_SUBDIRS += src_corelib src_xml src_network src_gui src_sql src_script src_testlib + contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_qt3support + contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus +- !cross_compile { +- contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3 +- } + } + win32:!contains(QT_EDITION, OpenSource|Console): { + SRC_SUBDIRS += src_activeqt
recipes/qt4/qt4-embedded-4.4.3/0006-freetype-host-includes.patch new file +23 -0
@@ -0,0 +1,23 @@ +From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001 +From: Michael Krelin <[email protected]> +Date: Mon, 4 Jun 2007 14:48:50 +0200 +Subject: [PATCH] freetype host includes + +--- + config.tests/unix/freetype/freetype.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/config.tests/unix/freetype/freetype.pri b/config.tests/unix/freetype/freetype.pri +index 84974bf..ab9a6f2 100644 +--- a/config.tests/unix/freetype/freetype.pri ++++ b/config.tests/unix/freetype/freetype.pri +@@ -1,5 +1,5 @@ + !cross_compile { +- TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH ++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH + for(p, TRY_INCLUDEPATHS) { + p = $$join(p, "", "", "/freetype2") + exists($$p):INCLUDEPATH *= $$p +-- +1.5.0.7 +
recipes/qt4/qt4-embedded-4.4.3/0007-openssl-host-includes.patch new file +23 -0
@@ -0,0 +1,23 @@ +From d45943adb443ad4b85ca4504952dee743c675e1e Mon Sep 17 00:00:00 2001 +From: Michael Krelin <[email protected]> +Date: Mon, 4 Jun 2007 14:58:34 +0200 +Subject: [PATCH] openssl host includes + +--- + config.tests/unix/openssl/openssl.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/config.tests/unix/openssl/openssl.pri b/config.tests/unix/openssl/openssl.pri +index 756e5fe..19b4061 100644 +--- a/config.tests/unix/openssl/openssl.pri ++++ b/config.tests/unix/openssl/openssl.pri +@@ -1,5 +1,5 @@ + !cross_compile { +- TRY_INCLUDEPATHS = /include /usr/include /usr/local/include $$QMAKE_INCDIR $$INCLUDEPATH ++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH + for(p, TRY_INCLUDEPATHS) { + pp = $$join(p, "", "", "/openssl") + exists($$pp):INCLUDEPATH *= $$p +-- +1.5.0.7 +
recipes/qt4/qt4-embedded-4.4.3/0008-qt-lib-infix.patch new file +45 -0
45 lines not on this page · raw message
recipes/qt4/qt4-embedded-4.5.1/0003-no-tools.patch new file +18 -0
@@ -0,0 +1,18 @@ +Index: qt-embedded-linux-opensource-src-4.5.0/src/src.pro +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/src/src.pro 2009-02-25 22:32:41.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/src/src.pro 2009-03-26 17:11:07.000000000 +0100 +@@ -6,12 +6,9 @@ + wince*:{ + SRC_SUBDIRS += src_corelib src_xml src_gui src_sql src_network src_script src_testlib + } else { +- SRC_SUBDIRS += src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_uic src_corelib src_xml src_network src_gui src_sql src_script src_testlib ++ SRC_SUBDIRS += src_corelib src_xml src_network src_gui src_sql src_script src_testlib + contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_qt3support + contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus +- !cross_compile { +- contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3 +- } + } + win32:!contains(QT_EDITION, OpenSource|Console): { + SRC_SUBDIRS += src_activeqt
recipes/qt4/qt4-embedded-4.5.1/0006-freetype-host-includes.patch new file +20 -0
@@ -0,0 +1,20 @@ +From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001 +From: Michael Krelin <[email protected]> +Date: Mon, 4 Jun 2007 14:48:50 +0200 +Subject: [PATCH] freetype host includes + +--- + config.tests/unix/freetype/freetype.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/freetype/freetype.pri 2009-02-25 22:32:32.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri 2009-03-26 17:14:16.000000000 +0100 +@@ -1,5 +1,5 @@ + !cross_compile { +- TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH ++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH + # LSB doesn't allow using headers from /include or /usr/include + linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH + for(p, TRY_INCLUDEPATHS) {
recipes/qt4/qt4-embedded-4.5.1/0007-openssl-host-includes.patch new file +20 -0
@@ -0,0 +1,20 @@ +From d45943adb443ad4b85ca4504952dee743c675e1e Mon Sep 17 00:00:00 2001 +From: Michael Krelin <[email protected]> +Date: Mon, 4 Jun 2007 14:58:34 +0200 +Subject: [PATCH] openssl host includes + +--- + config.tests/unix/openssl/openssl.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/openssl/openssl.pri +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/openssl/openssl.pri 2009-02-25 22:32:32.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/openssl/openssl.pri 2009-03-26 17:16:28.000000000 +0100 +@@ -1,5 +1,5 @@ + !cross_compile { +- TRY_INCLUDEPATHS = /include /usr/include /usr/local/include $$QMAKE_INCDIR $$INCLUDEPATH ++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH + # LSB doesn't allow using headers from /include or /usr/include + linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH + for(p, TRY_INCLUDEPATHS) {
recipes/qt4/qt4-embedded-4.5.1/0008-qt-lib-infix.patch new file +34 -0
@@ -0,0 +1,34 @@ +Index: qt-embedded-linux-opensource-src-4.5.0/mkspecs/features/uitools.prf +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/mkspecs/features/uitools.prf 2009-02-25 22:32:34.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/mkspecs/features/uitools.prf 2009-03-26 17:17:27.000000000 +0100 +@@ -2,10 +2,10 @@ + qt:load(qt) + + # Include the correct version of the UiLoader library +-QTUITOOLS_LINKAGE = -lQtUiTools ++QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX} + CONFIG(debug, debug|release) { +- mac: QTUITOOLS_LINKAGE = -lQtUiTools_debug +- win32: QTUITOOLS_LINKAGE = -lQtUiToolsd ++ mac: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}_debug ++ win32: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}d + } + LIBS += $$QTUITOOLS_LINKAGE + +Index: qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/uitools/uitools.pro +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/tools/designer/src/uitools/uitools.pro 2009-02-25 22:32:42.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/uitools/uitools.pro 2009-03-26 17:17:27.000000000 +0100 +@@ -1,5 +1,5 @@ + TEMPLATE = lib +-TARGET = $$qtLibraryTarget(QtUiTools) ++TARGET = QtUiTools + QT += xml + CONFIG += qt staticlib + DESTDIR = ../../../../lib +@@ -39,3 +39,4 @@ + QMAKE_PKGCONFIG_REQUIRES += QtXml + } + ++TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
recipes/qt4/qt4-embedded-4.5.1/0010-no-simpledecoration-example.patch new file +9 -0
@@ -0,0 +1,9 @@ +--- qt-embedded-linux-opensource-src-4.5.0.orig/examples/qws/qws.pro 2009-02-25 22:32:34.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/examples/qws/qws.pro 2009-03-26 19:53:19.000000000 +0100 +@@ -1,5 +1,5 @@ + TEMPLATE = subdirs +-SUBDIRS = framebuffer mousecalibration simpledecoration ++SUBDIRS = framebuffer mousecalibration + + # install + sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro
recipes/qt4/qt4-embedded.inc new file +40 -0
@@ -0,0 +1,40 @@ +SUMMARY = "Qt is a versatile cross-platform application framework -- this is the embedded version." +SECTION = "libs" +LICENSE = "GPL QPL" +PRIORITY = "optional" +HOMEPAGE = "http://www.trolltech.com" +DEPENDS += "tslib" +INC_PR = "r11" + +SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ + file://0001-cross-compile.patch;patch=1 \ + file://0002-fix-resinit-declaration.patch;patch=1 \ + file://0003-no-tools.patch;patch=1 \ + file://0004-no-qmake.patch;patch=1 \ + file://0006-freetype-host-includes.patch;patch=1 \ + file://0007-openssl-host-includes.patch;patch=1 \ + file://0008-qt-lib-infix.patch;patch=1 \ + file://0009-support-2bpp.patch;patch=1 \ + file://g++.conf \ + file://linux.conf \ + " +S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" + +QT_CONFIG_FLAGS += " \ + -qtlibinfix E \ + -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \ + -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc \ + -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \ + -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb \ + -DQT_KEYPAD_NAVIGATION \ + " + +QT_BASE_NAME = "qt4-embedded" +QT_BASE_LIB = "libqt-embedded" +QT_DIR_NAME = "qtopia" +QT_LIBINFIX="E" + +require qt4.inc + +inherit qt4e +
recipes/qt4/qt4-embedded_4.4.3.bb +2 -38
@@ -1,39 +1,3 @@ -SUMMARY = "Qt is a versatile cross-platform application framework -- this is the embedded version." -SECTION = "libs" -LICENSE = "GPL QPL" -PRIORITY = "optional" -HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" -PR = "r11" +include qt4-embedded.inc -SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ - file://0001-cross-compile.patch;patch=1 \ - file://0002-fix-resinit-declaration.patch;patch=1 \ - file://0003-no-tools.patch;patch=1 \ - file://0004-no-qmake.patch;patch=1 \ - file://0006-freetype-host-includes.patch;patch=1 \ - file://0007-openssl-host-includes.patch;patch=1 \ - file://0008-qt-lib-infix.patch;patch=1 \ - file://0009-support-2bpp.patch;patch=1 \ - file://g++.conf \ - file://linux.conf \ - " -S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" - -QT_CONFIG_FLAGS += " \ - -qtlibinfix E \ - -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \ - -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc \ - -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \ - -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb \ - -DQT_KEYPAD_NAVIGATION \ - " - -QT_BASE_NAME = "qt4-embedded" -QT_BASE_LIB = "libqt-embedded" -QT_DIR_NAME = "qtopia" -QT_LIBINFIX="E" - -require qt4.inc - -inherit qt4e +PR = "${INC_PR}.1"
recipes/qt4/qt4-embedded_4.5.1.bb +4 -37
43 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 2/12 qt4-embedded: added directfb plugin
--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/qt4/qt4-embedded.inc +2 -2
@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
@@ -23,7 +23,7 @@ S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" QT_CONFIG_FLAGS += " \ -qtlibinfix E \ -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \ - -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc \ + -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \ -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb \ -DQT_KEYPAD_NAVIGATION \
Signature · 1 line
1.6.3.1
PATCH 3/12 qt4: style refinements, more generalization
--- classes/qt4e.bbclass | 7 ++- recipes/qt4/qt4-embedded.inc | 12 ++-- recipes/qt4/qt4-tools-native.inc | 6 +- recipes/qt4/qt4.inc | 104 +++++++++++++++++++------------------- 4 files changed, 65 insertions(+), 64 deletions(-)
classes/qt4e.bbclass +4 -3
@@ -2,15 +2,16 @@ DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1) == 'qt4- inherit qmake2 QT_DIR_NAME = "qtopia" +QT_LIBINFIX = "E" # override variables set by qmake-base to compile Qt/Embedded apps # -export QMAKESPEC = "${STAGING_DATADIR}/qtopia/mkspecs/${TARGET_OS}-oe-g++" -export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/qtopia" +export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++" +export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}" export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}" export OE_QMAKE_LIBS_QT = "qt" export OE_QMAKE_LIBS_X11 = "" export OE_QMAKE_EXTRA_MODULES = "network" -EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=E " +EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} " # Qt4 uses atomic instructions not supported in thumb mode ARM_INSTRUCTION_SET = "arm"
recipes/qt4/qt4-embedded.inc +6 -6
@@ -6,6 +6,11 @@ HOMEPAGE = "http://www.trolltech.com" DEPENDS += "directfb tslib" INC_PR = "r11" +QT_BASE_NAME = "qt4-embedded" +QT_BASE_LIB = "libqt-embedded" +QT_DIR_NAME = "qtopia" +QT_LIBINFIX = "E" + SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ file://0001-cross-compile.patch;patch=1 \ file://0002-fix-resinit-declaration.patch;patch=1 \
@@ -21,7 +26,7 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${ S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" QT_CONFIG_FLAGS += " \ - -qtlibinfix E \ + -qtlibinfix ${QT_LIBINFIX} \ -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \ -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \
@@ -29,11 +34,6 @@ QT_CONFIG_FLAGS += " \ -DQT_KEYPAD_NAVIGATION \ " -QT_BASE_NAME = "qt4-embedded" -QT_BASE_LIB = "libqt-embedded" -QT_DIR_NAME = "qtopia" -QT_LIBINFIX="E" - require qt4.inc inherit qt4e
recipes/qt4/qt4-tools-native.inc +3 -3
@@ -22,8 +22,8 @@ EXTRA_OECONF = "-prefix ${prefix} \ -no-exceptions \ -no-nas-sound \ -no-nis \ - -verbose -release -fast -static \ - -qt3support " + -verbose -release -fast -static \ + -qt3support" # yank default -e, otherwise we get the following error: # moc_qbuffer.cpp: No such file or directory
@@ -57,7 +57,7 @@ do_compile() { } do_stage() { - install -d ${STAGING_BINDIR_NATIVE}/ + install -d ${STAGING_BINDIR_NATIVE}/ install -m 0755 bin/qmake ${STAGING_BINDIR_NATIVE}/qmake2 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do install -m 0755 bin/${i} ${STAGING_BINDIR_NATIVE}/${i}4
recipes/qt4/qt4.inc +52 -52
127 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 4/12 qt4-tools-native: use INC_PR
--- recipes/qt4/qt4-tools-native.inc | 2 ++ recipes/qt4/qt4-tools-native_4.4.3.bb | 2 +- recipes/qt4/qt4-tools-native_4.5.1.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
recipes/qt4/qt4-tools-native.inc +2 -0
@@ -5,6 +5,8 @@ HOMEPAGE = "http://www.trolltech.com" PRIORITY = "optional" LICENSE = "GPL" +INC_PR = "r4" + inherit native SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
recipes/qt4/qt4-tools-native_4.4.3.bb +1 -1
@@ -1,2 +1,2 @@ require qt4-tools-native.inc -PR = "r4" +PR = "${INC_PR}.1"
recipes/qt4/qt4-tools-native_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ require qt4-tools-native.inc -PR = "r1" +PR = "${INC_PR}.1" TOBUILD := "src/tools/bootstrap ${TOBUILD}"
Signature · 1 line
1.6.3.1
PATCH 5/12 qt4-x11-free: generalize recipes, port them to INC_PR
--- recipes/qt4/qt4-x11-free.inc | 34 +++++++++++++++++++ recipes/qt4/qt4-x11-free/0003-no-tools.patch | 18 ++++++++++ .../qt4-x11-free/0006-freetype-host-includes.patch | 20 +++++++++++ .../qt4-x11-free/0007-openssl-host-includes.patch | 20 +++++++++++ recipes/qt4/qt4-x11-free/0008-qt-lib-infix.patch | 34 +++++++++++++++++++ recipes/qt4/qt4-x11-free_4.4.3.bb | 35 ++------------------ recipes/qt4/qt4-x11-free_4.5.1.bb | 33 ++----------------- 7 files changed, 132 insertions(+), 62 deletions(-) create mode 100644 recipes/qt4/qt4-x11-free.inc create mode 100644 recipes/qt4/qt4-x11-free/0003-no-tools.patch create mode 100644 recipes/qt4/qt4-x11-free/0006-freetype-host-includes.patch create mode 100644 recipes/qt4/qt4-x11-free/0007-openssl-host-includes.patch create mode 100644 recipes/qt4/qt4-x11-free/0008-qt-lib-infix.patch
recipes/qt4/qt4-x11-free.inc new file +34 -0
@@ -0,0 +1,34 @@ +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 xft libxext libxrender libxrandr libxcursor" +PROVIDES = "qt4x11" + +INC_PR = "r10" + +SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \ + file://0001-cross-compile.patch;patch=1 \ + file://0002-fix-resinit-declaration.patch;patch=1 \ + file://0003-no-tools.patch;patch=1 \ + file://0004-no-qmake.patch;patch=1 \ + file://0006-freetype-host-includes.patch;patch=1 \ + file://0007-openssl-host-includes.patch;patch=1 \ + file://0008-qt-lib-infix.patch;patch=1 \ + file://g++.conf \ + file://linux.conf \ + " +S = "${WORKDIR}/qt-x11-opensource-src-${PV}" + + +QT_CONFIG_FLAGS += "-no-xinerama -no-xkb -no-opengl" +QT_BASE_NAME = "qt4" +QT_BASE_LIB = "libqt" +QT_DIR_NAME = "qt4" +QT_LIBINFIX = "" + +require qt4.inc + +inherit qt4x11 +
recipes/qt4/qt4-x11-free/0003-no-tools.patch new file +18 -0
@@ -0,0 +1,18 @@ +Index: qt-embedded-linux-opensource-src-4.5.0/src/src.pro +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/src/src.pro 2009-02-25 22:32:41.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/src/src.pro 2009-03-26 17:11:07.000000000 +0100 +@@ -6,12 +6,9 @@ + wince*:{ + SRC_SUBDIRS += src_corelib src_xml src_gui src_sql src_network src_script src_testlib + } else { +- SRC_SUBDIRS += src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_uic src_corelib src_xml src_network src_gui src_sql src_script src_testlib ++ SRC_SUBDIRS += src_corelib src_xml src_network src_gui src_sql src_script src_testlib + contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_qt3support + contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus +- !cross_compile { +- contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3 +- } + } + win32:!contains(QT_EDITION, OpenSource|Console): { + SRC_SUBDIRS += src_activeqt
recipes/qt4/qt4-x11-free/0006-freetype-host-includes.patch new file +20 -0
@@ -0,0 +1,20 @@ +From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001 +From: Michael Krelin <[email protected]> +Date: Mon, 4 Jun 2007 14:48:50 +0200 +Subject: [PATCH] freetype host includes + +--- + config.tests/unix/freetype/freetype.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/freetype/freetype.pri 2009-02-25 22:32:32.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri 2009-03-26 17:14:16.000000000 +0100 +@@ -1,5 +1,5 @@ + !cross_compile { +- TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH ++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH + # LSB doesn't allow using headers from /include or /usr/include + linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH + for(p, TRY_INCLUDEPATHS) {
recipes/qt4/qt4-x11-free/0007-openssl-host-includes.patch new file +20 -0
@@ -0,0 +1,20 @@ +From d45943adb443ad4b85ca4504952dee743c675e1e Mon Sep 17 00:00:00 2001 +From: Michael Krelin <[email protected]> +Date: Mon, 4 Jun 2007 14:58:34 +0200 +Subject: [PATCH] openssl host includes + +--- + config.tests/unix/openssl/openssl.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/openssl/openssl.pri +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/openssl/openssl.pri 2009-02-25 22:32:32.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/openssl/openssl.pri 2009-03-26 17:16:28.000000000 +0100 +@@ -1,5 +1,5 @@ + !cross_compile { +- TRY_INCLUDEPATHS = /include /usr/include /usr/local/include $$QMAKE_INCDIR $$INCLUDEPATH ++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH + # LSB doesn't allow using headers from /include or /usr/include + linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH + for(p, TRY_INCLUDEPATHS) {
recipes/qt4/qt4-x11-free/0008-qt-lib-infix.patch new file +34 -0
@@ -0,0 +1,34 @@ +Index: qt-embedded-linux-opensource-src-4.5.0/mkspecs/features/uitools.prf +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/mkspecs/features/uitools.prf 2009-02-25 22:32:34.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/mkspecs/features/uitools.prf 2009-03-26 17:17:27.000000000 +0100 +@@ -2,10 +2,10 @@ + qt:load(qt) + + # Include the correct version of the UiLoader library +-QTUITOOLS_LINKAGE = -lQtUiTools ++QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX} + CONFIG(debug, debug|release) { +- mac: QTUITOOLS_LINKAGE = -lQtUiTools_debug +- win32: QTUITOOLS_LINKAGE = -lQtUiToolsd ++ mac: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}_debug ++ win32: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}d + } + LIBS += $$QTUITOOLS_LINKAGE + +Index: qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/uitools/uitools.pro +=================================================================== +--- qt-embedded-linux-opensource-src-4.5.0.orig/tools/designer/src/uitools/uitools.pro 2009-02-25 22:32:42.000000000 +0100 ++++ qt-embedded-linux-opensource-src-4.5.0/tools/designer/src/uitools/uitools.pro 2009-03-26 17:17:27.000000000 +0100 +@@ -1,5 +1,5 @@ + TEMPLATE = lib +-TARGET = $$qtLibraryTarget(QtUiTools) ++TARGET = QtUiTools + QT += xml + CONFIG += qt staticlib + DESTDIR = ../../../../lib +@@ -39,3 +39,4 @@ + QMAKE_PKGCONFIG_REQUIRES += QtXml + } + ++TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
recipes/qt4/qt4-x11-free_4.4.3.bb +3 -32
@@ -1,32 +1,3 @@ -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 xft libxext libxrender libxrandr libxcursor" -PROVIDES = "qt4x11" -PR = "r10" - -SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \ - file://0001-cross-compile.patch;patch=1 \ - file://0002-fix-resinit-declaration.patch;patch=1 \ - file://0003-no-tools.patch;patch=1 \ - file://0004-no-qmake.patch;patch=1 \ - file://0006-freetype-host-includes.patch;patch=1 \ - file://0007-openssl-host-includes.patch;patch=1 \ - file://0008-qt-lib-infix.patch;patch=1 \ - file://g++.conf \ - file://linux.conf \ - " -S = "${WORKDIR}/qt-x11-opensource-src-${PV}" - - -QT_CONFIG_FLAGS += "-no-xinerama -no-tablet -no-xkb -no-opengl" -QT_BASE_NAME = "qt4" -QT_BASE_LIB = "libqt" -QT_DIR_NAME = "qt4" -QT_LIBINFIX = "" - -require qt4.inc - -inherit qt4x11 +include qt4-x11-free.inc +PR = "${INC_PR}.1" +QT_CONFIG_FLAGS += "-no-tablet"
recipes/qt4/qt4-x11-free_4.5.1.bb +3 -30
@@ -1,31 +1,4 @@ -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 LGPL QPL" -DEPENDS += "virtual/libx11 fontconfig xft libxext libxrender libxrandr libxcursor" -PROVIDES = "qt4x11" +include qt4-x11-free.inc +LICENSE += "LGPL" +PR = "${INC_PR}.1" -SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \ - file://0001-cross-compile.patch;patch=1 \ - file://0002-fix-resinit-declaration.patch;patch=1 \ - file://${PV}/0003-no-tools.patch;patch=1 \ - file://0004-no-qmake.patch;patch=1 \ - file://${PV}/0006-freetype-host-includes.patch;patch=1 \ - file://${PV}/0007-openssl-host-includes.patch;patch=1 \ - file://${PV}/0008-qt-lib-infix.patch;patch=1 \ - file://g++.conf \ - file://linux.conf \ - " -S = "${WORKDIR}/qt-x11-opensource-src-${PV}" - - -QT_CONFIG_FLAGS += "-no-xinerama -no-xkb -no-opengl" -QT_BASE_NAME = "qt4" -QT_BASE_LIB = "libqt" -QT_DIR_NAME = "qt4" -QT_LIBINFIX = "" - -require qt4.inc - -inherit qt4x11
Signature · 1 line
1.6.3.1
PATCH 6/12 meta-toolchain-qte: initial qt embedded toolchain version
This version doesn't include qt tools yet so it is not ready to create crossed qt applications.
--- recipes/meta/meta-toolchain-qte.bb | 25 +++++++++++++++++++++++++ recipes/tasks/task-qte-toolchain-host.bb | 5 +++++ recipes/tasks/task-qte-toolchain-target.bb | 8 ++++++++ 3 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 recipes/meta/meta-toolchain-qte.bb create mode 100644 recipes/tasks/task-qte-toolchain-host.bb create mode 100644 recipes/tasks/task-qte-toolchain-target.bb
recipes/meta/meta-toolchain-qte.bb new file +25 -0
@@ -0,0 +1,25 @@ +# Qt Embedded toolchain + +require meta-toolchain.bb + +TOOLCHAIN_HOST_TASK = "task-qte-toolchain-host" +TOOLCHAIN_TARGET_TASK = "task-qte-toolchain-target" + +SDK_SUFFIX = "toolchain-qte" +QT_DIR_NAME = "qtopia" + +do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +}
recipes/tasks/task-qte-toolchain-host.bb new file +5 -0
@@ -0,0 +1,5 @@ +require task-sdk-host.bb + +DESCRIPTION = "Host packages for Qt Embedded SDK" +LICENSE = "MIT" +ALLOW_EMPTY = "1"
recipes/tasks/task-qte-toolchain-target.bb new file +8 -0
@@ -0,0 +1,8 @@ +DESCRIPTION = "Target packages for Qt Embedded SDK" +LICENSE = "MIT" +ALLOW_EMPTY = "1" + +RDEPENDS_${PN} += " \ + task-sdk-bare \ + qt4-embedded \ + qt4-embedded-dev"
Signature · 1 line
1.6.3.1
PATCH 7/12 qt4: fixed regexp pattern for graphics plugins
--- recipes/qt4/qt4.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/qt4/qt4.inc +1 -1
@@ -173,7 +173,7 @@ python populate_packages_prepend() { qtopia_split('codecs', 'codec', '^libq(.*)\.so$') qtopia_split('decorations', 'decoration', '^libqdecoration(.*)\.so$') qtopia_split('designer', 'designer', '^lib(.*)\.so$') - qtopia_split('gfxdrivers', 'gfxdriver', '^libqgfx(.*)\.so$') + qtopia_split('gfxdrivers', 'gfxdriver', '^libq(.*)\.so$') qtopia_split('mousedrivers', 'mousedriver', '^libq(.*)mousedriver\.so$') qtopia_split('iconengines', 'iconengine', '^libq(.*)\.so$') qtopia_split('imageformats', 'imageformat', '^libq(.*)\.so$')
Signature · 1 line
1.6.3.1
PATCH 8/12 qt4: package all installed files
--- recipes/qt4/qt4.inc | 29 +++++++++++++++++++++++------ 1 files changed, 23 insertions(+), 6 deletions(-)
recipes/qt4/qt4.inc +23 -6
@@ -31,7 +31,7 @@ python __anonymous () { dev_packages = [] dbg_packages = [] for name in bb.data.getVar("QT_LIB_NAMES", d, 1).split(): - pkg = "${QT_BASE_LIB}"+ name.lower().replace("qt", "") + "4" + pkg = "${QT_BASE_LIB}" + name.lower().replace("qt", "") + "4" # NOTE: the headers for QtAssistantClient are different incname = name.replace("QtAssistantClient", "QtAssistant") bb.data.setVar("FILES_%s" % pkg, "${libdir}/lib%(name)s${QT_LIBINFIX}.so.*" % locals(), d)
@@ -45,6 +45,9 @@ python __anonymous () { lib_packages.append(pkg) dev_packages.append("%s-dev" % pkg) dbg_packages.append("%s-dbg" % pkg) + for name in bb.data.getVar("OTHER_PACKAGES", d, 1).split(): + dbg_packages.append("%s-dbg" % name) + bb.data.setVar("LIB_PACKAGES", " ".join(lib_packages), d) bb.data.setVar("DEV_PACKAGES", " ".join(dev_packages), d) bb.data.setVar("DBG_PACKAGES", " ".join(dbg_packages), d)
@@ -59,7 +62,9 @@ OTHER_PACKAGES = "\ ${QT_BASE_NAME}-examples \ ${QT_BASE_NAME}-fonts \ ${QT_BASE_NAME}-linguist \ - ${QT_BASE_NAME}-pixeltool" + ${QT_BASE_NAME}-makeqpf \ + ${QT_BASE_NAME}-pixeltool \ + ${QT_BASE_NAME}-qt3to4" PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}" PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-*"
@@ -67,20 +72,32 @@ PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-*" ALLOW_EMPTY_${PN} = "1" FILES_${PN} = "" FILES_${PN}-dev = "${includedir}/${QT_DIR_NAME}/Qt/*" -FILES_${PN}-dbg = "${bindir}/*/.debug" +FILES_${PN}-dbg = "" RRECOMMENDS_${PN} = "${LIB_PACKAGES} ${OTHER_PACKAGES}" RRECOMMENDS_${PN}-dev = "${DEV_PACKAGES}" RRECOMMENDS_${PN}-dbg = "${DBG_PACKAGES}" -FILES_${QT_BASE_NAME}-assistant = "${bindir}/*assistant*" +FILES_${QT_BASE_NAME}-assistant = "${bindir}/*assistant* ${bindir}/qcollectiongenerator ${bindir}/qhelpconverter ${bindir}/qhelpgenerator" +FILES_${QT_BASE_NAME}-assistant-dbg = "${bindir}/.debug/*assistant* ${bindir}/.debug/qcollectiongenerator ${bindir}/.debug/qhelpconverter ${bindir}/.debug/qhelpgenerator" FILES_${QT_BASE_NAME}-common = "${bindir}/qtconfig" +FILES_${QT_BASE_NAME}-common-dbg = "${bindir}/.debug/qtconfig" FILES_${QT_BASE_NAME}-dbus = "${bindir}/qdbus ${bindir}/qdbusxml2cpp ${bindir}/qdbuscpp2xml ${bindir}/qdbusviewer" +FILES_${QT_BASE_NAME}-dbus-dbg = "${bindir}/.debug/qdbus ${bindir}/.debug/qdbusxml2cpp ${bindir}/.debug/qdbuscpp2xml ${bindir}/.debug/qdbusviewer" FILES_${QT_BASE_NAME}-demos = "${bindir}/qtdemo ${bindir}/${QT_DIR_NAME}/demos/*" +FILES_${QT_BASE_NAME}-demos-dbg = "${bindir}/.debug/qtdemo ${bindir}/${QT_DIR_NAME}/demos/.debug/*" FILES_${QT_BASE_NAME}-designer = "${bindir}/*designer*" +FILES_${QT_BASE_NAME}-designer-dbg = "${bindir}/.debug/*designer*" FILES_${QT_BASE_NAME}-examples = "${bindir}/${QT_DIR_NAME}/examples/*" +FILES_${QT_BASE_NAME}-examples-dbg = "${bindir}/${QT_DIR_NAME}/examples/.debug/*" FILES_${QT_BASE_NAME}-fonts = "${libdir}/fonts" -FILES_${QT_BASE_NAME}-linguist = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/qm2ts" +FILES_${QT_BASE_NAME}-linguist = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/lconvert ${bindir}/qm2ts" +FILES_${QT_BASE_NAME}-linguist-dbg = "${bindir}/.debug/*linguist* ${bindir}/.debug/lrelease ${bindir}/.debug/lupdate ${bindir}/.debug/lconvert ${bindir}/.debug/qm2ts" FILES_${QT_BASE_NAME}-pixeltool = "${bindir}/pixeltool" +FILES_${QT_BASE_NAME}-pixeltool-dbg = "${bindir}/.debug/pixeltool" +FILES_${QT_BASE_NAME}-qt3to4 = "${bindir}/qt3to4 ${datadir}/${QT_DIR_NAME}/q3porting.xml" +FILES_${QT_BASE_NAME}-qt3to4-dbg = "${bindir}/.debug/qt3to4" +FILES_${QT_BASE_NAME}-makeqpf = "${bindir}/makeqpf" +FILES_${QT_BASE_NAME}-makeqpf-dbg = "${bindir}/.debug/makeqpf" do_configure() {
@@ -136,7 +153,7 @@ do_compile() { python populate_packages_prepend() { translation_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d) translation_name = bb.data.expand('${QT_BASE_NAME}-translation-%s', d) - do_split_packages(d, translation_dir, '^qt_(.*)\.qm$', translation_name, '${PN} translation for %s', extra_depends='' ) + do_split_packages(d, translation_dir, '^(assistant|designer|linguist|qt|qtconfig|qvfb)_(.*)\.qm$', translation_name, '${PN} translation for %s', extra_depends='' ) phrasebook_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/phrasebooks/', d) phrasebook_name = bb.data.expand('${QT_BASE_NAME}-phrasebook-%s', d)
Signature · 1 line
1.6.3.1
PATCH 9/12 qt4: fixed pkgconfig for qt4-embedded
Added ${QT_LIBINFIX} for pkgconfig dependencies.
--- recipes/qt4/qt4.inc | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
recipes/qt4/qt4.inc +6 -0
@@ -222,6 +222,9 @@ do_install() { sed -i -e s#"moc_location=.*$"#"moc_location=${bindir}/moc4"# \ -e s#"uic_location=.*$"#"uic_location=${bindir}/uic4"# \ ${D}${libdir}/pkgconfig/*.pc + for name in ${QT_LIB_NAMES}; do + sed -i -e /Requires/s#"${name}"#"${name}${QT_LIBINFIX}"#g ${D}${libdir}/pkgconfig/*.pc + done install -d ${D}/${libdir}/fonts touch ${D}/${libdir}/fonts/fontdir
@@ -244,6 +247,9 @@ do_stage() { sed -i -e s#"moc_location=.*$"## \ -e s#"uic_location=.*$"## \ ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc + for name in ${QT_LIB_NAMES}; do + sed -i -e "/Requires/s#${name}#${name}${QT_LIBINFIX}#"g ${D}${libdir}/pkgconfig/*.pc + done # fix libtool files sed -i -e s#installed=yes#installed=no#g ${STAGE_TEMP}/${libdir}/*.la
Signature · 1 line
1.6.3.1
PATCH 10/12 qt4: create mkspecs package
--- recipes/qt4/qt4.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/qt4/qt4.inc +2 -1
@@ -63,6 +63,7 @@ OTHER_PACKAGES = "\ ${QT_BASE_NAME}-fonts \ ${QT_BASE_NAME}-linguist \ ${QT_BASE_NAME}-makeqpf \ + ${QT_BASE_NAME}-mkspecs \ ${QT_BASE_NAME}-pixeltool \ ${QT_BASE_NAME}-qt3to4"
@@ -98,6 +99,7 @@ FILES_${QT_BASE_NAME}-qt3to4 = "${bindir}/qt3to4 ${datadir}/${QT_D FILES_${QT_BASE_NAME}-qt3to4-dbg = "${bindir}/.debug/qt3to4" FILES_${QT_BASE_NAME}-makeqpf = "${bindir}/makeqpf" FILES_${QT_BASE_NAME}-makeqpf-dbg = "${bindir}/.debug/makeqpf" +FILES_${QT_BASE_NAME}-mkspecs = "${datadir}/${QT_DIR_NAME}/mkspecs/*" do_configure() {
@@ -209,7 +211,6 @@ do_install() { # XXX, FIXME, TODO: package the demos and examples properly rm -rf ${D}/${bindir}/${QT_DIR_NAME} - rm -rf ${D}/${datadir}/${QT_DIR_NAME}/mkspecs # fix pkgconfig, libtool and prl files sed -i -e s#-L${S}/lib##g \
Signature · 1 line
1.6.3.1
PATCH 11/12 pkg-config: migrated to INC_PR
--- recipes/pkgconfig/pkgconfig-native_0.23.bb | 2 ++ recipes/pkgconfig/pkgconfig-sdk_0.23.bb | 2 ++ recipes/pkgconfig/pkgconfig.inc | 2 +- recipes/pkgconfig/pkgconfig_0.23.bb | 2 ++ 4 files changed, 7 insertions(+), 1 deletions(-)
recipes/pkgconfig/pkgconfig-native_0.23.bb +2 -0
@@ -1,6 +1,8 @@ require pkgconfig.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}" +PR = "${INC_PR}.1" + S = "${WORKDIR}/pkg-config-${PV}/" inherit native DEPENDS = ""
recipes/pkgconfig/pkgconfig-sdk_0.23.bb +2 -0
@@ -1,6 +1,8 @@ require pkgconfig.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}" +PR = "${INC_PR}.1" + S = "${WORKDIR}/pkg-config-${PV}/" inherit sdk DEPENDS = ""
recipes/pkgconfig/pkgconfig.inc +1 -1
@@ -5,7 +5,7 @@ It replaces the ubiquitous *-config scripts you may have \ seen with a single tool." HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/" LICENSE = "GPL" -PR = "r7" +INC_PR = "r7" SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \ file://autofoo.patch;patch=1 \
recipes/pkgconfig/pkgconfig_0.23.bb +2 -0
@@ -1,4 +1,6 @@ require pkgconfig.inc +PR = "${INC_PR}.1" + DEPENDS += "glib-2.0" EXTRA_OECONF = "--with-installed-glib"
Signature · 1 line
1.6.3.1
PATCH 12/12 task-qte-toolchain: added mkspecs and new qt4-tools-sdk recipe
Added mkspecs, qt4-tools to toolchain tasks (now meta-toolchain-qte works ok).
--- recipes/qt4/qt4-tools-sdk_4.5.1.bb | 72 ++++++++++++++++++++++++++++++ recipes/tasks/task-qte-toolchain-host.bb | 2 + 2 files changed, 74 insertions(+), 0 deletions(-) create mode 100644 recipes/qt4/qt4-tools-sdk_4.5.1.bb
recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +72 -0
@@ -0,0 +1,72 @@ +DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x" +DEPENDS = "zlib-native dbus-native" +SECTION = "libs" +HOMEPAGE = "http://www.trolltech.com" +PRIORITY = "optional" +LICENSE = "GPL" + +inherit sdk + +SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ + file://configure-lflags.patch;patch=1 \ + file://qt-config.patch;patch=1 \ + file://g++.conf \ + file://linux.conf" +S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" + +# FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1" +EXTRA_OECONF = "-prefix ${prefix} \ + -qt-libjpeg -qt-gif -system-zlib \ + -no-libjpeg -no-libpng \ + -no-accessibility \ + -no-cups \ + -no-exceptions \ + -no-nas-sound \ + -no-nis \ + -verbose -release -fast -static \ + -qt3support \ + -I${STAGING_DIR_NATIVE}/usr/include \ + -I${STAGING_DIR_NATIVE}/usr/include/dbus-1.0 \ + -I${STAGING_DIR_NATIVE}/usr/lib/dbus-1.0/include" + +# yank default -e, otherwise we get the following error: +# moc_qbuffer.cpp: No such file or directory +EXTRA_OEMAKE = " " + +do_configure() { + (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" +} + +TOBUILD = "\ + src/tools/bootstrap \ + src/tools/moc \ + src/corelib \ + src/sql \ + src/dbus \ + src/qt3support \ + src/xml \ + src/tools/uic \ + src/tools/rcc \ + src/network \ + src/gui \ + src/tools/uic3 \ + tools/linguist/lrelease \ + tools/linguist/lupdate \ + tools/qdbus \ +" + +do_compile() { + for i in ${TOBUILD}; do + cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" + done +} + +do_stage() { + install -d ${STAGING_BINDIR_NATIVE}/ + install -m 0755 bin/qmake ${STAGING_BINDIR_NATIVE}/qmake2 + for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do + install -m 0755 bin/${i} ${STAGING_BINDIR_NATIVE}/${i}4 + done +} + +
recipes/tasks/task-qte-toolchain-host.bb +2 -0
@@ -3,3 +3,5 @@ require task-sdk-host.bb DESCRIPTION = "Host packages for Qt Embedded SDK" LICENSE = "MIT" ALLOW_EMPTY = "1" + +RDEPENDS_${PN} += "qt4-tools-sdk"
Signature · 1 line
1.6.3.1
Re: [PATCH 12/12] task-qte-toolchain: added mkspecs and new qt4-tools-sdk recipe
Quoted 72 lines · Ihar Hrachyshka
Added mkspecs, qt4-tools to toolchain tasks (now meta-toolchain-qte works ok).
Signed-off-by Ihar Hrachyshka <[email protected]>--- recipes/qt4/qt4-tools-sdk_4.5.1.bb | 72 ++++++++++++++++++++++++++++++ recipes/tasks/task-qte-toolchain-host.bb | 2 + 2 files changed, 74 insertions(+), 0 deletions(-) create mode 100644 recipes/qt4/qt4-tools-sdk_4.5.1.bbrecipes/qt4/qt4-tools-sdk_4.5.1.bb new file +56
-0@@ -0,0 +1,72 @@ +DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x" +DEPENDS = "zlib-native dbus-native" +SECTION = "libs" +HOMEPAGE = "http://www.trolltech.com" +PRIORITY = "optional" +LICENSE = "GPL" + +inherit sdk + +SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ + file://configure-lflags.patch;patch=1 \ + file://qt-config.patch;patch=1 \ + file://g++.conf \ + file://linux.conf" +S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" + +# FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1" +EXTRA_OECONF = "-prefix ${prefix} \ + -qt-libjpeg -qt-gif -system-zlib \ + -no-libjpeg -no-libpng \ + -no-accessibility \ + -no-cups \ + -no-exceptions \ + -no-nas-sound \ + -no-nis \ + -verbose -release -fast -static \ + -qt3support \ + -I${STAGING_DIR_NATIVE}/usr/include \ + -I${STAGING_DIR_NATIVE}/usr/include/dbus-1.0 \ + -I${STAGING_DIR_NATIVE}/usr/lib/dbus-1.0/include" + +# yank default -e, otherwise we get the following error: +# moc_qbuffer.cpp: No such file or directory +EXTRA_OEMAKE = " " + +do_configure() { + (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" +} + +TOBUILD = "\ + src/tools/bootstrap \ + src/tools/moc \ + src/corelib \ + src/sql \ + src/dbus \ + src/qt3support \ + src/xml \ + src/tools/uic \ + src/tools/rcc \ + src/network \ + src/gui \ + src/tools/uic3 \ + tools/linguist/lrelease \ + tools/linguist/lupdate \ + tools/qdbus \ +"
recipes/qt4/qt4-tools-sdk_4.5.1.bb line 66
Quoted 10 lines
recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +10
-0+ +do_compile() { + for i in ${TOBUILD}; do + cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" + done +} + +do_stage() { + install -d ${STAGING_BINDIR_NATIVE}/ + install -m 0755 bin/qmake ${STAGING_BINDIR_NATIVE}/qmake2
Why it qmake renamed to qmake2 ? I know it's its version (current is 2.0a), but this makes the fail the FindQt4 module in cmake (which heavily relies on qmake !). See below:
FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake qmake4 qmake-qt4 PATHS
Having it named qmake4, just like the other qt tools below should allow this cmake module to find it.
Quoted 16 lines
recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +6
-0+ for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do + install -m 0755 bin/${i} ${STAGING_BINDIR_NATIVE}/${i}4 + done +} + +recipes/tasks/task-qte-toolchain-host.bb +2
-0@@ -3,3 +3,5 @@ require task-sdk-host.bb DESCRIPTION = "Host packages for Qt Embedded SDK" LICENSE = "MIT" ALLOW_EMPTY = "1" + +RDEPENDS_${PN} += "qt4-tools-sdk"
Signature · 4 lines
Valentin Longchamp, PhD Student, EPFL-STI-LSRO1 [email protected], Phone: +41216937827 http://people.epfl.ch/valentin.longchamp MEA3485, Station 9, CH-1015 Lausanne
Re: [PATCH 12/12] task-qte-toolchain: added mkspecs and new qt4-tools-sdk recipe
Quoted 95 lines · Valentin Longchamp
Quoted 79 lines · Ihar Hrachyshka
Added mkspecs, qt4-tools to toolchain tasks (now meta-toolchain-qte works ok).
Signed-off-by Ihar Hrachyshka <[email protected]>---
recipes/qt4/qt4-tools-sdk_4.5.1.bb | 72
++++++++++++++++++++++++++++++
recipes/tasks/task-qte-toolchain-host.bb | 2 +2 files changed, 74 insertions(+), 0 deletions(-)create mode 100644 recipes/qt4/qt4-tools-sdk_4.5.1.bb
recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +10
-0@@ -0,0 +1,72 @@ +DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x" +DEPENDS = "zlib-native dbus-native" +SECTION = "libs" +HOMEPAGE = "http://www.trolltech.com" +PRIORITY = "optional" +LICENSE = "GPL" + +inherit sdk + +SRC_URI ="ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
+ file://configure-lflags.patch;patch=1 \
+ file://qt-config.patch;patch=1 \
+ file://g++.conf \
+ file://linux.conf"recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +3
-0+S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" + +# FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflagsdbus-1"
recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +20
-0+EXTRA_OECONF = "-prefix ${prefix} \ + -qt-libjpeg -qt-gif -system-zlib \ + -no-libjpeg -no-libpng \ + -no-accessibility \ + -no-cups \ + -no-exceptions \ + -no-nas-sound \ + -no-nis \ + -verbose -release -fast -static \ + -qt3support \ + -I${STAGING_DIR_NATIVE}/usr/include \ + -I${STAGING_DIR_NATIVE}/usr/include/dbus-1.0 \ + -I${STAGING_DIR_NATIVE}/usr/lib/dbus-1.0/include" + +# yank default -e, otherwise we get the following error: +# moc_qbuffer.cpp: No such file or directory +EXTRA_OEMAKE = " " + +do_configure() { + (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuringqt failed.
EXTRA_OECONFwas ${EXTRA_OECONF}"recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +19
-0+} + +TOBUILD = "\ + src/tools/bootstrap \ + src/tools/moc \ + src/corelib \ + src/sql \ + src/dbus \ + src/qt3support \ + src/xml \ + src/tools/uic \ + src/tools/rcc \ + src/network \ + src/gui \ + src/tools/uic3 \ + tools/linguist/lrelease \ + tools/linguist/lupdate \ + tools/qdbus \ +"recipes/qt4/qt4-tools-sdk_4.5.1.bb line 66
Quoted 10 lines
recipes/qt4/qt4-tools-sdk_4.5.1.bb new file +10
-0+ +do_compile() { + for i in ${TOBUILD}; do + cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" + done +} + +do_stage() { + install -d ${STAGING_BINDIR_NATIVE}/ + install -m 0755 bin/qmake ${STAGING_BINDIR_NATIVE}/qmake2Why it qmake renamed to qmake2 ? I know it's its version (current is 2.0a), but this makes the fail the FindQt4 module in cmake (which heavily relies on qmake !). See below:
Quoted 4 lines
FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake qmake4 qmake-qt4 PATHS
Having it named qmake4, just like the other qt tools below should allow this cmake module to find it.
I don't know. I just copy-pasted it from qt4-tools-native. I think it really should be fixed as you stated but for all packages (native too).
Quoted 32 lines
Quoted 17 lines
+ for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do
+ install -m 0755 bin/${i} ${STAGING_BINDIR_NATIVE}/${i}4
+ donerecipes/qt4/qt4-tools-sdk_4.5.1.bb new file +3
-0+} + +recipes/tasks/task-qte-toolchain-host.bb +0
-0@@ -3,3 +3,5 @@ require task-sdk-host.bbDESCRIPTION = "Host packages for Qt Embedded SDK" LICENSE = "MIT"
ALLOW_EMPTY = "1"recipes/tasks/task-qte-toolchain-host.bb require task-sdk-host.bb · line 7
Quoted 2 lines
recipes/tasks/task-qte-toolchain-host.bb +2
-0+ +RDEPENDS_${PN} += "qt4-tools-sdk"--
Valentin Longchamp, PhD Student, EPFL-STI-LSRO1
[email protected], Phone: +41216937827
http://people.epfl.ch/valentin.longchamp
MEA3485, Station 9, CH-1015 Lausanne_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 06/12] meta-toolchain-qte: initial qt embedded toolchain version
In reply to Ihar HrachyshkaQuoted 5 lines · Ihar Hrachyshka
recipes/meta/meta-toolchain-qte.bb new file +5
-0+do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $script
recipes/meta/meta-toolchain-qte.bb line 25
Quoted 10 lines
recipes/meta/meta-toolchain-qte.bb new file +10
-0+ echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +}
I see two minor problems. First, environment-setup is going to exist so we don't need to touch it again. In fact, the variable should still be set, but for clarity we should just comment (in case the file gets renamed to say environment-setup.sh (if we add in a *csh style one too)). Second, we should update, not recreate the tarball (tar -jf ... --add-file=${prefix}/environment-setup, I think).
Signature · 1 line
Tom Rini
Re: [PATCH 06/12] meta-toolchain-qte: initial qt embedded toolchain version
Quoted 16 lines · Tom Rini
Quoted 14 lines · Ihar Hrachyshka
recipes/meta/meta-toolchain-qte.bb new file +14
-0+do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
Quoted 8 lines
Quoted 1 line
+}
I see two minor problems. First, environment-setup is going to exist so we don't need to touch it again. In fact, the variable should still be set, but for clarity we should just comment (in case the file gets renamed to say
environment-setup.sh(if we add in a *csh style one too)). Second, we should update, not recreate the tarball (tar -jf ... --add-file=${prefix}/environment-setup, I think).
1) Touching existing file is not a problem.
2) You can't append to compressed tar files.
Quoted 9 lines
--
Tom Rini_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 06/12] meta-toolchain-qte: initial qt embedded toolchain version
Quoted 26 lines · Ihar Hrachyshka
Quoted 16 lines · Tom Rini
Quoted 14 lines · Ihar Hrachyshka
recipes/meta/meta-toolchain-qte.bb new file +14
-0+do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .Quoted 8 lines
Quoted 1 line
+}
I see two minor problems. First, environment-setup is going to exist so we don't need to touch it again. In fact, the variable should still be set, but for clarity we should just comment (in case the file gets renamed to say
environment-setup.sh(if we add in a *csh style one too)). Second, we should update, not recreate the tarball (tar -jf ... --add-file=${prefix}/environment-setup, I think).
Quoted 1 line
1) Touching existing file is not a problem.
But changing the name (for say once my *csh using cowork or customer bugs me about it) will break here.
Quoted 1 line
2) You can't append to compressed tar files.
Ah, true.
Signature · 1 line
Tom Rini
Re: [PATCH 06/12] meta-toolchain-qte: initial qt embedded toolchain version
Quoted 27 lines · Tom Rini
Quoted 26 lines · Ihar Hrachyshka
Quoted 24 lines · Tom Rini
Quoted 5 lines · Ihar Hrachyshka
recipes/meta/meta-toolchain-qte.bb new file +5
-0+do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $scriptrecipes/meta/meta-toolchain-qte.bb line 25
Quoted 10 lines
recipes/meta/meta-toolchain-qte.bb new file +10
-0+ echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +}I see two minor problems. First, environment-setup is going to exist so we don't need to touch it again. In fact, the variable should still be set, but for clarity we should just comment (in case the file gets renamed to say
environment-setup.sh(if we add in a *csh style one too)). Second, we should update, not recreate the tarball (tar -jf ... --add-file=${prefix}/environment-setup, I think).
Quoted 4 lines
Quoted 1 line
1) Touching existing file is not a problem.
But changing the name (for say once my *csh using cowork or customer bugs me about it) will break here.
Sorry, but I don't get your point... Please explain me.
Quoted 13 lines
Quoted 2 lines
2) You can't append to compressed tar files.
Ah, true.
--
Tom Rini_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 06/12] meta-toolchain-qte: initial qt embedded toolchain version
Quoted 28 lines · Ihar Hrachyshka
Quoted 27 lines · Tom Rini
Quoted 26 lines · Ihar Hrachyshka
Quoted 24 lines · Tom Rini
Quoted 5 lines · Ihar Hrachyshka
recipes/meta/meta-toolchain-qte.bb new file +5
-0+do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $scriptrecipes/meta/meta-toolchain-qte.bb line 25
Quoted 10 lines
recipes/meta/meta-toolchain-qte.bb new file +10
-0+ echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +}I see two minor problems. First, environment-setup is going to exist so we don't need to touch it again. In fact, the variable should still be set, but for clarity we should just comment (in case the file gets renamed to say
environment-setup.sh(if we add in a *csh style one too)). Second, we should update, not recreate the tarball (tar -jf ... --add-file=${prefix}/environment-setup, I think).
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
1) Touching existing file is not a problem.
But changing the name (for say once my *csh using cowork or customer bugs me about it) will break here.
Sorry, but I don't get your point... Please explain me.
I've gone back and forth with myself on this. My point is that it's a little fragile, if ${SDK_OUTPUT}/${prefix}/environment-setup is renamed (it's bash/etc-centric and for example, if my tcsh using coworker bugs me, or a customer asks, I'll certainly make a ${SDK_OUTPUT}/${prefix}/environment-setup.csh and then push upstream, and probably rename the old one to ${SDK_OUTPUT}/${prefix}/environment-setup.sh). But, this isn't happening right now, and well, even with my suggestion (using $script as it's already set) would still be probably equally as fragile.
So, I'm happy with things as-is, sorry for the back-and-forth :)
Signature · 1 line
Tom Rini
Re: [PATCH 06/12] meta-toolchain-qte: initial qt embedded toolchain version
Quoted 46 lines · Tom Rini
Quoted 28 lines · Ihar Hrachyshka
Quoted 27 lines · Tom Rini
Quoted 26 lines · Ihar Hrachyshka
Quoted 24 lines · Tom Rini
Quoted 5 lines · Ihar Hrachyshka
recipes/meta/meta-toolchain-qte.bb new file +5
-0+do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/environment-setup" + touch $script + echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script + echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $scriptrecipes/meta/meta-toolchain-qte.bb line 25
Quoted 10 lines
recipes/meta/meta-toolchain-qte.bb new file +10
-0+ echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script + echo 'export OE_QMAKE_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +}I see two minor problems. First, environment-setup is going to exist so we don't need to touch it again. In fact, the variable should still be set, but for clarity we should just comment (in case the file gets renamed to say
environment-setup.sh(if we add in a *csh style one too)). Second, we should update, not recreate the tarball (tar -jf ... --add-file=${prefix}/environment-setup, I think).Quoted 6 lines
Quoted 4 lines
Quoted 1 line
1) Touching existing file is not a problem.
But changing the name (for say once my *csh using cowork or customer bugs me about it) will break here.
Sorry, but I don't get your point... Please explain me.
I've gone back and forth with myself on this. My point is that it's a little fragile, if ${SDK_OUTPUT}/${prefix}/environment-setup is renamed (it's bash/etc-centric and for example, if my tcsh using coworker bugs me, or a customer asks, I'll certainly make a ${SDK_OUTPUT}/${prefix}/environment-setup.csh and then push upstream, and probably rename the old one to
${SDK_OUTPUT}/${prefix}/environment-setup.sh). But, this isn't happening right now, and well, even with my suggestion (using $script as it's already set) would still be probably equally as fragile.
Quoted 1 line
So, I'm happy with things as-is, sorry for the back-and-forth :)
Ok, I get it :)
But for now we don't support *csh syntax for toolchain setup scripts so there is no problem with the patch. If you want to add *csh support feel free to send the needed patch after this patchset is committed in tree.
Quoted 9 lines
--
Tom Rini_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
In reply to Ihar HrachyshkaQuoted 10 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka <[email protected]>--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)recipes/qt4/qt4-embedded.inc +0
-0
recipes/qt4/qt4-embedded.inc SECTION = "libs" · line 7
Quoted 6 lines
recipes/qt4/qt4-embedded.inc +1
-1@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11"
So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Signature · 1 line
Tom Rini
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
Quoted 6 lines · Tom Rini
Quoted 5 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Quoted 15 lines
recipes/qt4/qt4-embedded.inc SECTION = "libs" · line 7
Quoted 11 lines
recipes/qt4/qt4-embedded.inc +1
-1@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11"So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
regards,
Koen
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
Quoted 25 lines · Koen Kooi
Quoted 8 lines · Tom Rini
Quoted 6 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>---
recipes/qt4/qt4-embedded.inc | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)Quoted 15 lines
Quoted 11 lines
recipes/qt4/qt4-embedded.inc +0
-0@@ -3,7 +3,7 @@ SECTION = "libs"LICENSE = "GPL QPL"
PRIORITY = "optional"
HOMEPAGE = "http://www.trolltech.com"recipes/qt4/qt4-embedded.inc +1
-1-DEPENDS += "tslib" +DEPENDS += "directfb tslib"INC_PR = "r11"
So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Quoted 2 lines
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
Yeap, exactly. I don't see any problem with that. We are building xorg stuff when baking console-image. So what's the problem with directfb then?;)
Quoted 12 lines
regards,
Koen
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
Quoted 26 lines · Ihar Hrachyshka
Quoted 25 lines · Koen Kooi
Quoted 23 lines · Tom Rini
Quoted 11 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)recipes/qt4/qt4-embedded.inc +0
-0recipes/qt4/qt4-embedded.inc SECTION = "libs" · line 7
Quoted 6 lines
recipes/qt4/qt4-embedded.inc +1
-1@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11"So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Quoted 6 lines
Quoted 2 lines
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
Yeap, exactly. I don't see any problem with that. We are building xorg stuff when baking console-image. So what's the problem with directfb then?;)
No problem from my side, but I guess some people dislike the additional 1 minute buildtime when building qt (which takes like 30 minutes itself).
regards,
Koen
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
In reply to Koen KooiQuoted 23 lines · Koen Kooi
Quoted 6 lines · Tom Rini
Quoted 5 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)Quoted 15 lines
recipes/qt4/qt4-embedded.inc SECTION = "libs" · line 7
Quoted 11 lines
recipes/qt4/qt4-embedded.inc +1
-1@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11"So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Quoted 2 lines
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
But how much stuff is now going to pick up "Oh, we have directfb" ? Or are you sure everything is already passing --disable-directfb that might default to auto?
Signature · 1 line
Tom Rini
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
Quoted 24 lines · Tom Rini
Quoted 23 lines · Koen Kooi
Quoted 21 lines · Tom Rini
Quoted 15 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>---
recipes/qt4/qt4-embedded.inc | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)recipes/qt4/qt4-embedded.inc +0
-0@@ -3,7 +3,7 @@ SECTION = "libs"LICENSE = "GPL QPL"
PRIORITY = "optional"
HOMEPAGE = "http://www.trolltech.com"recipes/qt4/qt4-embedded.inc +1
-1-DEPENDS += "tslib" +DEPENDS += "directfb tslib"Quoted 1 line
INC_PR= "r11"So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Quoted 6 lines
Quoted 2 lines
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
But how much stuff is now going to pick up "Oh, we have directfb" ? Or are you sure everything is already passing --disable-directfb that might default to auto?
If so, we should fix the affected recipes not this one.
Quoted 9 lines
--
Tom Rini_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
In reply to Tom RiniQuoted 24 lines · Tom Rini
Quoted 23 lines · Koen Kooi
Quoted 21 lines · Tom Rini
Quoted 10 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)recipes/qt4/qt4-embedded.inc +0
-0recipes/qt4/qt4-embedded.inc SECTION = "libs" · line 7
Quoted 6 lines
recipes/qt4/qt4-embedded.inc +1
-1@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11"So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Quoted 6 lines
Quoted 2 lines
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
But how much stuff is now going to pick up "Oh, we have directfb" ? Or are you sure everything is already passing --disable-directfb that might default to auto?
That would be bugs in other recipes, and fixing those is out of scope for this patchset.
regards,
Koen
Re: [PATCH 02/12] qt4-embedded: added directfb plugin
Quoted 28 lines · Koen Kooi
Quoted 27 lines · Tom Rini
Quoted 25 lines · Koen Kooi
Quoted 6 lines · Tom Rini
Quoted 5 lines · Ihar Hrachyshka
Signed-off-by Ihar Hrachyshka<[email protected]>--- recipes/qt4/qt4-embedded.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)Quoted 15 lines
recipes/qt4/qt4-embedded.inc SECTION = "libs" · line 7
Quoted 11 lines
recipes/qt4/qt4-embedded.inc +1
-1@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" +DEPENDS += "directfb tslib" INC_PR = "r11"So, here's a problem. We both don't allow use flags and we force directfb stuff to be done in foo-directfb (libxine / synaesthesia seems to be the exception to this rule) rather than the main foo package.
Isn't this just creating a qt-gfxdriver-directfb.so and not impose runtime deps on directfb in ${PN}?
Quoted 6 lines
Quoted 3 lines
But how much stuff is now going to pick up "Oh, we have directfb" ? Or are you sure everything is already passing --disable-directfb that might default to auto?
That would be bugs in other recipes, and fixing those is out of scope for this patchset.
If it works for you, works for me, un-objecting here.
Signature · 1 line
Tom Rini
Re: [PATCH 00/12] different qt4 related patches
In reply to Ihar HrachyshkaQuoted 8 lines · Ihar Hrachyshka
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config toINC_PR.
What machine / distro combinations have you tested all of this with, and what recipes (other than meta-toolchain-qte) have you explicitly built after? ie have you built / run some QtE images or similar too? Thanks.
Signature · 1 line
Tom Rini
Re: [PATCH 00/12] different qt4 related patches
Quoted 11 lines · Tom Rini
Quoted 8 lines · Ihar Hrachyshka
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config toINC_PR.
Quoted 3 lines
What machine / distro combinations have you tested all of this with, and what recipes (other than meta-toolchain-qte) have you explicitly built after? ie have you built / run some QtE images or similar too? Thanks.
I built and tested qt4-embedded (with directfb and linuxfb), meta-toolchain-qte. I also built (but not tested) qt4-x11-free.
My machine is beagleboard.
Quoted 9 lines
--
Tom Rini_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 00/12] different qt4 related patches
Quoted 12 lines · Ihar Hrachyshka
Quoted 11 lines · Tom Rini
Quoted 8 lines · Ihar Hrachyshka
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config toINC_PR.
Quoted 7 lines
Quoted 3 lines
What machine / distro combinations have you tested all of this with, and what recipes (other than meta-toolchain-qte) have you explicitly built after? ie have you built / run some QtE images or similar too? Thanks.
I built and tested qt4-embedded (with directfb and linuxfb), meta-toolchain-qte. I also built (but not tested) qt4-x11-free.
My machine is beagleboard.
What's the status of the patchset? Is there any problems pending before commit?
Quoted 11 lines
Quoted 10 lines
--
Tom Rini_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Tom Rini
Acked-byRe: [PATCH 00/12] different qt4 related patches
Quoted 18 lines · Ihar Hrachyshka
Quoted 16 lines · Ihar Hrachyshka
Quoted 14 lines · Tom Rini
Quoted 8 lines · Ihar Hrachyshka
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config toINC_PR.What machine / distro combinations have you tested all of this with, and what recipes (other than meta-toolchain-qte) have you explicitly built after? ie have you built / run some QtE images or similar too? Thanks.
Quoted 5 lines
Quoted 3 lines
I built and tested qt4-embedded (with directfb and linuxfb), meta-toolchain-qte. I also built (but not tested) qt4-x11-free.
My machine is beagleboard.What's the status of the patchset? Is there any problems pending before commit?
I have no problem and Acked-by the whole series. I do not however, have time to commit this right now, sorry. But anyone else, please feel free to add:
And push.
Signature · 1 line
Tom Rini
Re: [PATCH 00/12] different qt4 related patches
Quoted 23 lines · Tom Rini
Quoted 22 lines · Ihar Hrachyshka
Quoted 19 lines · Ihar Hrachyshka
Quoted 11 lines · Tom Rini
Quoted 8 lines · Ihar Hrachyshka
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config toINC_PR.Quoted 3 lines
What machine / distro combinations have you tested all of this with, and what recipes (other than meta-toolchain-qte) have you explicitly built after? ie have you built / run some QtE images or similar too? Thanks.
I built and tested qt4-embedded (with directfb and linuxfb), meta-toolchain-qte. I also built (but not tested) qt4-x11-free.
My machine is beagleboard.
Quoted 8 lines
Quoted 1 line
What's the status of the patchset? Is there any problems pending before commit?
I have no problem and Acked-by the whole series. I do not however, have time to commit this right now, sorry. But anyone else, please feel free to add:
Acked-by Tom Rini <[email protected]>And push.
Acked and pushed. Patchwork updated. Thanks.
Signature · 1 line
Denys
Re: [PATCH 00/12] different qt4 related patches
Quoted 26 lines · Denys Dmytriyenko
Quoted 25 lines · Tom Rini
Quoted 23 lines · Ihar Hrachyshka
Quoted 12 lines · Ihar Hrachyshka
Quoted 11 lines · Tom Rini
Quoted 8 lines · Ihar Hrachyshka
This patchset:
- adds meta-toolchain-qte.bb to install toolchain with Qt/Embedded and all the needed tools ready to use for qt4-embedded development;
- adds directfb support for qt4-embedded;
- includes missing files to qt4 packages;
- fixes code style, generalize qt4 recipes and classes, reworked directory layout;
- occasionally ports pkg-config toINC_PR.Quoted 7 lines
Quoted 3 lines
What machine / distro combinations have you tested all of this with, and what recipes (other than meta-toolchain-qte) have you explicitly built after? ie have you built / run some QtE images or similar too? Thanks.
I built and tested qt4-embedded (with directfb and linuxfb), meta-toolchain-qte. I also built (but not tested) qt4-x11-free.
My machine is beagleboard.What's the status of the patchset? Is there any problems pending before commit?
Quoted 8 lines
Quoted 6 lines
I have no problem and Acked-by the whole series. I do not however, have time to commit this right now, sorry. But anyone else, please feel free to add:
Acked-by Tom Rini <[email protected]>And push.
Acked and pushed. Patchwork updated. Thanks.
Thanks!
Quoted 10 lines
--
Denys_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel