Skip to contentSkip to conversation

qt4-embedded: moved similar recipe parts to qt4-embedded.inc

PATCH In review Ihar Hrachyshka 2 participants 4 messages May 24, 2009

lore
Share & tools
lore
#0 lore raw

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
new file mode 100644
index 0000000..0280dc4
@@ -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
index c7685c3..994372c 100644
@@ -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
index 3ec4b9a..5073ad1 100644
@@ -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
#1 lore raw

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
index 0280dc4..c4112f7 100644
@@ -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
index 994372c..e156575 100644
@@ -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
index 5073ad1..9463a58 100644
@@ -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
#2 lore raw

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.

---
 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
index 0280dc4..c4112f7 100644
@@ -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
index 994372c..e156575 100644
@@ -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
index 5073ad1..9463a58 100644
@@ -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
#3 lore raw

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
index 0280dc4..c4112f7 100644
@@ -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
index 994372c..209b006 100644
@@ -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
index 5073ad1..c17ceac 100644
@@ -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