[oe-commits] Simon Busch : qt4-embedded: add palmpre specific profile script and bump PR

git version control git at git.openembedded.org
Thu May 19 18:57:38 UTC 2011


Module: openembedded.git
Branch: master
Commit: 8a8dbc88232935835c1698cdf162bdf02fc1701b
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=8a8dbc88232935835c1698cdf162bdf02fc1701b

Author: Simon Busch <morphis at gravedo.de>
Date:   Wed May 18 23:13:05 2011 +0200

qt4-embedded: add palmpre specific profile script and bump PR

The profile script sets the input method to LinuxInput rather than Tslib which is
necessary as Tslib cannot be used by any other component on the palmpre than the tsmd
daemon.

Signed-off-by: Simon Busch <morphis at gravedo.de>

---

 recipes/qt4/files/palmpre/qte.sh |    7 +++++++
 recipes/qt4/qt4-embedded.inc     |    5 ++++-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/recipes/qt4/files/palmpre/qte.sh b/recipes/qt4/files/palmpre/qte.sh
new file mode 100644
index 0000000..bb8dfae
--- /dev/null
+++ b/recipes/qt4/files/palmpre/qte.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]
+then
+    QWS_MOUSE_PROTO=LinuxInput:/dev/input/touchscreen0
+    export QWS_MOUSE_PROTO
+fi
diff --git a/recipes/qt4/qt4-embedded.inc b/recipes/qt4/qt4-embedded.inc
index 79ce005..8b88f94 100644
--- a/recipes/qt4/qt4-embedded.inc
+++ b/recipes/qt4/qt4-embedded.inc
@@ -4,7 +4,7 @@ LICENSE = "GPL QPL"
 PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com"
 DEPENDS += "directfb tslib"
-INC_PR = "r29"
+INC_PR = "r30"
 
 QT_BASE_NAME ?= "qt4-embedded"
 QT_BASE_LIB  ?= "libqt-embedded"
@@ -28,6 +28,9 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${
 # Set necessary variables in the profile
 SRC_URI += "file://qte.sh"
 
+# For the palmpre we ship a modified qte.sh
+PACKAGE_ARCH_palmpre = "${MACHINE_ARCH}"
+
 S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"
 
 QT_CONFIG_FLAGS += " \





More information about the Openembedded-commits mailing list