diff options
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 0000000000..ee55784548 --- /dev/null +++ b/meta/packages/xtscal/xtscal/30xTs_Calibrate | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | . /etc/formfactor/config | ||
4 | |||
5 | if [ "$HAVE_TOUCHSCREEN" = "1" ]; then | ||
6 | while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] | ||
7 | do | ||
8 | /usr/bin/xtscal | ||
9 | done | ||
10 | 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" | |||
4 | 4 | ||
5 | DEPENDS = "virtual/libx11 libxft libxcalibrate" | 5 | DEPENDS = "virtual/libx11 libxft libxcalibrate" |
6 | 6 | ||
7 | PR = "r8" | 7 | PR = "r9" |
8 | 8 | ||
9 | SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \ | 9 | SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \ |
10 | file://change-cross.patch;patch=1 \ | 10 | file://change-cross.patch;patch=1 \ |
11 | file://cleanup.patch;patch=1" | 11 | file://cleanup.patch;patch=1 \ |
12 | file://30xTs_Calibrate" | ||
12 | 13 | ||
13 | inherit autotools | 14 | inherit autotools |
15 | |||
16 | do_install_append() { | ||
17 | install -d ${D}${sysconfdir}/X11/Xsession.d/ | ||
18 | install -m 0755 ${WORKDIR}/30xTs_Calibrate ${D}${sysconfdir}/X11/Xsession.d/ | ||
19 | } | ||