summaryrefslogtreecommitdiff
path: root/meta/packages/xtscal
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-06-24 11:01:06 +0000
committerRoss Burton <ross@openedhand.com>2008-06-24 11:01:06 +0000
commit5da8c4a3d8a08d400fdbad7a0adbd530230bb213 (patch)
treead98a6ff9ac92120488757d93545af83cc408441 /meta/packages/xtscal
parent31006b91f8f1b39b2e7f7a8a7a7955253bf1647a (diff)
downloadopenembedded-core-5da8c4a3d8a08d400fdbad7a0adbd530230bb213.tar.gz
openembedded-core-5da8c4a3d8a08d400fdbad7a0adbd530230bb213.tar.bz2
openembedded-core-5da8c4a3d8a08d400fdbad7a0adbd530230bb213.zip
xserver-kdrive-common, xtscal: move the X session script from former to latter
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4725 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xtscal')
-rw-r--r--meta/packages/xtscal/xtscal/30xTs_Calibrate10
-rw-r--r--meta/packages/xtscal/xtscal_0.6.3.bb10
2 files changed, 18 insertions, 2 deletions
diff --git a/meta/packages/xtscal/xtscal/30xTs_Calibrate b/meta/packages/xtscal/xtscal/30xTs_Calibrate
new file mode 100644
index 0000000000..ee55784548
--- /dev/null
+++ b/meta/packages/xtscal/xtscal/30xTs_Calibrate
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+ while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
+ do
+ /usr/bin/xtscal
+ done
+fi
diff --git a/meta/packages/xtscal/xtscal_0.6.3.bb b/meta/packages/xtscal/xtscal_0.6.3.bb
index c2ecb5952a..f518d68f34 100644
--- a/meta/packages/xtscal/xtscal_0.6.3.bb
+++ b/meta/packages/xtscal/xtscal_0.6.3.bb
@@ -4,10 +4,16 @@ SECTION = "x11/base"
DEPENDS = "virtual/libx11 libxft libxcalibrate"
-PR = "r8"
+PR = "r9"
SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \
file://change-cross.patch;patch=1 \
- file://cleanup.patch;patch=1"
+ file://cleanup.patch;patch=1 \
+ file://30xTs_Calibrate"
inherit autotools
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/X11/Xsession.d/
+ install -m 0755 ${WORKDIR}/30xTs_Calibrate ${D}${sysconfdir}/X11/Xsession.d/
+}