qt4-embedded: moved similar recipe parts to qt4-embedded.inc
PATCH 1/2 qt4-embedded: moved similar recipe parts to qt4-embedded.inc
--- recipes/qt4/qt4-embedded.inc | 21 +++++++++++++++++++++ recipes/qt4/qt4-embedded_4.4.3.bb | 20 +------------------- recipes/qt4/qt4-embedded_4.5.1.bb | 20 +------------------- 3 files changed, 23 insertions(+), 38 deletions(-) create mode 100644 recipes/qt4/qt4-embedded.inc
recipes/qt4/qt4-embedded.inc new file +21 -0
@@ -0,0 +1,21 @@ +DEPENDS += "tslib" + +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 +1 -19
@@ -3,7 +3,6 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" PR = "r11" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
@@ -18,22 +17,5 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${ 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 +require qt4-embedded.inc
recipes/qt4/qt4-embedded_4.5.1.bb +1 -19
@@ -3,7 +3,6 @@ SECTION = "libs" LICENSE = "GPL LGPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -DEPENDS += "tslib" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ file://0001-cross-compile.patch;patch=1 \
@@ -18,22 +17,5 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${ 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 +require qt4-embedded.inc
Signature · 1 line
1.6.3.1
PATCH 2/2 qt4-embedded: added directfb gfx driver support.
This fix adds qdirectfbscreen gfx driver to qt4-embedded. Also moved recipes versioning to INC_PR.
--- recipes/qt4/qt4-embedded.inc | 6 ++++-- recipes/qt4/qt4-embedded_4.4.3.bb | 2 +- recipes/qt4/qt4-embedded_4.5.1.bb | 1 + 3 files changed, 6 insertions(+), 3 deletions(-)
recipes/qt4/qt4-embedded.inc +4 -2
@@ -1,11 +1,13 @@ -DEPENDS += "tslib" +DEPENDS += "directfb tslib" S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" +INC_PR = "r11" + 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 \
recipes/qt4/qt4-embedded_4.4.3.bb +1 -1
@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -PR = "r11" +PR = "${INC_PR}.r1" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ file://0001-cross-compile.patch;patch=1 \
recipes/qt4/qt4-embedded_4.5.1.bb +1 -0
@@ -3,6 +3,7 @@ SECTION = "libs" LICENSE = "GPL LGPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" +PR = "${INC_PR}.r1" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ file://0001-cross-compile.patch;patch=1 \
Signature · 1 line
1.6.3.1
Re: [PATCH 2/2] qt4-embedded: added directfb gfx driver support.
Hello,
People has been using PR = "${INC_PR}.1" to avoid repeating the r twice.
Except from that it looks nice.
Quoted 64 lines · Ihar Hrachyshka
This fix adds qdirectfbscreen gfx driver to qt4-embedded. Also moved recipes versioning to
INC_PR.Signed-off-by Ihar Hrachyshka <[email protected]>---
recipes/qt4/qt4-embedded.inc | 6 ++++--
recipes/qt4/qt4-embedded_4.4.3.bb | 2 +-
recipes/qt4/qt4-embedded_4.5.1.bb | 1 +3 files changed, 6 insertions(+), 3 deletions(-)recipes/qt4/qt4-embedded.inc +1
-1@@ -1,11 +1,13 @@ -DEPENDS += "tslib" +DEPENDS += "directfb tslib"S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"
recipes/qt4/qt4-embedded.inc +2
-0+INC_PR = "r11" +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 \recipes/qt4/qt4-embedded_4.4.3.bb +0
-0@@ -3,7 +3,7 @@ SECTION = "libs"LICENSE = "GPL QPL"
PRIORITY = "optional"
HOMEPAGE = "http://www.trolltech.com"recipes/qt4/qt4-embedded_4.4.3.bb +1
-1-PR = "r11" +PR = "${INC_PR}.r1"SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
file://0001-cross-compile.patch;patch=1 \recipes/qt4/qt4-embedded_4.5.1.bb +0
-0@@ -3,6 +3,7 @@ SECTION = "libs"LICENSE = "GPL LGPL QPL"
PRIORITY = "optional"
HOMEPAGE = "http://www.trolltech.com"
+PR = "${INC_PR}.r1"SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
file://0001-cross-compile.patch;patch=1 \
--
1.6.3.1_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
PATCH 1/3 qt4-embedded: added directfb gfx driver support.
This fix adds qdirectfbscreen gfx driver to qt4-embedded. Also moved recipes versioning to INC_PR.
--- recipes/qt4/qt4-embedded.inc | 6 ++++-- recipes/qt4/qt4-embedded_4.4.3.bb | 2 +- recipes/qt4/qt4-embedded_4.5.1.bb | 1 + 3 files changed, 6 insertions(+), 3 deletions(-)
recipes/qt4/qt4-embedded.inc +4 -2
@@ -1,11 +1,13 @@ -DEPENDS += "tslib" +DEPENDS += "directfb tslib" S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" +INC_PR = "r11" + 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 \
recipes/qt4/qt4-embedded_4.4.3.bb +1 -1
@@ -3,7 +3,7 @@ SECTION = "libs" LICENSE = "GPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" -PR = "r11" +PR = "${INC_PR}.1" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ file://0001-cross-compile.patch;patch=1 \
recipes/qt4/qt4-embedded_4.5.1.bb +1 -0
@@ -3,6 +3,7 @@ SECTION = "libs" LICENSE = "GPL LGPL QPL" PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" +PR = "${INC_PR}.1" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ file://0001-cross-compile.patch;patch=1 \
Signature · 1 line
1.6.3.1