diff options
author | Ross Burton <ross@openedhand.com> | 2008-06-24 11:01:06 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-06-24 11:01:06 +0000 |
commit | 5da8c4a3d8a08d400fdbad7a0adbd530230bb213 (patch) | |
tree | ad98a6ff9ac92120488757d93545af83cc408441 /meta/packages/xtscal | |
parent | 31006b91f8f1b39b2e7f7a8a7a7955253bf1647a (diff) | |
download | openembedded-core-5da8c4a3d8a08d400fdbad7a0adbd530230bb213.tar.gz openembedded-core-5da8c4a3d8a08d400fdbad7a0adbd530230bb213.tar.bz2 openembedded-core-5da8c4a3d8a08d400fdbad7a0adbd530230bb213.tar.xz 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_Calibrate | 10 | ||||
-rw-r--r-- | meta/packages/xtscal/xtscal_0.6.3.bb | 10 |
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 000000000..ee5578454 --- /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 c2ecb5952..f518d68f3 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/ +} |