[oe-commits] Simon Busch : aurora: use qte. sh script at bootup to get the correct touchscreen configuration

git version control git at git.openembedded.org
Thu May 26 20:00:55 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: 5aac444b5a6a1ad5f8785f4bf1ad27026c7c5b49
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=5aac444b5a6a1ad5f8785f4bf1ad27026c7c5b49

Author: Simon Busch <morphis at gravedo.de>
Date:   Sat May 21 13:02:47 2011 +0200

aurora: use qte.sh script at bootup to get the correct touchscreen configuration

After the boot the /etc/profile.d directory will only be evaluated when the user logs in
so the QWS_MOUSE_PROTO environment variable is not set when the aurora daemon is started
automatically by the init system. To workaround this we include the /etc/profile.d/qte.sh
provided by qt4-embedded which is needed to execute aurora.

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

---

 recipes/freesmartphone/aurora/aurora-daemon |    4 ++++
 recipes/freesmartphone/aurora_git.bb        |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/freesmartphone/aurora/aurora-daemon b/recipes/freesmartphone/aurora/aurora-daemon
index 3bb8fae..3c57fc3 100644
--- a/recipes/freesmartphone/aurora/aurora-daemon
+++ b/recipes/freesmartphone/aurora/aurora-daemon
@@ -11,6 +11,10 @@ NAME=aurora
 
 [ -f /etc/default/rcS ] && . /etc/default/rcS
 
+# to get the correct configuration of the touchscreen as /etc/profile is maybe not
+# evaluated at this time.
+[ -f /etc/profile.d/qte.sh ] && . /etc/profile.d/qte.sh
+
 case "$1" in
     start)
         echo -n "Starting aurora-daemon: "
diff --git a/recipes/freesmartphone/aurora_git.bb b/recipes/freesmartphone/aurora_git.bb
index f1839c8..46a3ed6 100644
--- a/recipes/freesmartphone/aurora_git.bb
+++ b/recipes/freesmartphone/aurora_git.bb
@@ -6,7 +6,7 @@ SECTION = "fso"
 LICENSE = "GPLv2"
 SRCREV = "6db9e04728bd0434e6b79939ee18be43017afeef"
 PV = "0.1.0+gitr${SRCPV}"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "\
   ${FREESMARTPHONE_GIT}/aurora.git;protocol=git;branch=master \





More information about the Openembedded-commits mailing list