summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib/obsolete_automake_macros.patch16
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib/ts.conf25
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib/tslib.sh8
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib_git.bb59
4 files changed, 0 insertions, 108 deletions
diff --git a/meta-oe/recipes-graphics/tslib/tslib/obsolete_automake_macros.patch b/meta-oe/recipes-graphics/tslib/tslib/obsolete_automake_macros.patch
deleted file mode 100644
index 752077d9c1..0000000000
--- a/meta-oe/recipes-graphics/tslib/tslib/obsolete_automake_macros.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Upstream-Status: Submitted [https://github.com/kergoth/tslib/pull/14]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff --git a/configure.ac b/configure.ac
5index c42be91..6d71be0 100644
6--- a/configure.ac
7+++ b/configure.ac
8@@ -6,7 +6,7 @@ AC_INIT(tslib, 1.0.0, kergoth@handhelds.org)
9 # AC_CONFIG_AUX_DIR(config)
10 AM_INIT_AUTOMAKE(dist-bzip2)
11 AC_CONFIG_SRCDIR([src/ts_close.c])
12-AM_CONFIG_HEADER(config.h)
13+AC_CONFIG_HEADERS(config.h)
14
15 PACKAGE_DESCRIPTION="Touchscreen Access Library"
16 AC_SUBST(PACKAGE_DESCRIPTION)
diff --git a/meta-oe/recipes-graphics/tslib/tslib/ts.conf b/meta-oe/recipes-graphics/tslib/tslib/ts.conf
deleted file mode 100644
index 1b0da937e8..0000000000
--- a/meta-oe/recipes-graphics/tslib/tslib/ts.conf
+++ /dev/null
@@ -1,25 +0,0 @@
1# Uncomment if you wish to use the linux input layer event interface
2module_raw input
3
4# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
5# module_raw collie
6
7# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
8# module_raw corgi
9
10# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
11# module_raw ucb1x00
12
13# Uncomment if you're using an HP iPaq h3600 or similar
14# module_raw h3600
15
16# Uncomment if you're using a Hitachi Webpad
17# module_raw mk712
18
19# Uncomment if you're using an IBM Arctic II
20# module_raw arctic2
21
22module pthres pmin=1
23module variance delta=30
24module dejitter delta=100
25module linear
diff --git a/meta-oe/recipes-graphics/tslib/tslib/tslib.sh b/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
deleted file mode 100644
index 7068e8d922..0000000000
--- a/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
+++ /dev/null
@@ -1,8 +0,0 @@
1#!/bin/sh
2
3if [ -e /dev/input/touchscreen0 ]; then
4 TSLIB_TSDEVICE=/dev/input/touchscreen0
5
6 export TSLIB_TSDEVICE
7fi
8
diff --git a/meta-oe/recipes-graphics/tslib/tslib_git.bb b/meta-oe/recipes-graphics/tslib/tslib_git.bb
deleted file mode 100644
index b653978d47..0000000000
--- a/meta-oe/recipes-graphics/tslib/tslib_git.bb
+++ /dev/null
@@ -1,59 +0,0 @@
1SUMMARY = "An abstraction layer for touchscreen panel events."
2DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
3events, as well as a filter stack for the manipulation of those events. \
4Tslib is generally used on embedded devices to provide a common user \
5space interface to touchscreen functionality."
6HOMEPAGE = "http://tslib.berlios.de/"
7
8AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
9SECTION = "base"
10LICENSE = "LGPLv2"
11LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
12
13PR = "r1"
14
15DEFAULT_PREFERENCE = "-1"
16
17SRC_URI = "git://github.com/kergoth/tslib.git;protocol=git \
18 file://obsolete_automake_macros.patch \
19 file://ts.conf \
20 file://tslib.sh"
21SRCREV = "e17263ef401ee885a27d649b90b577cfb44500e0"
22S = "${WORKDIR}/git"
23
24PV = "1.0+gitr${SRCPV}"
25
26inherit autotools pkgconfig
27
28EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00"
29
30do_install_prepend() {
31 install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
32}
33
34do_install_append() {
35 install -d ${D}${sysconfdir}/profile.d/
36 install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
37}
38
39SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
40
41# People should consider using udev's /dev/input/touchscreen0 symlink
42# instead of detect-stylus
43#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
44RPROVIDES_tslib-conf = "libts-0.0-conf"
45
46PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
47DEBIAN_NOAUTONAME_tslib-conf = "1"
48DEBIAN_NOAUTONAME_tslib-tests = "1"
49DEBIAN_NOAUTONAME_tslib-calibrate = "1"
50
51RDEPENDS_${PN} = "tslib-conf"
52RRECOMMENDS_${PN} = "pointercal"
53
54FILES_${PN}-dbg += "${libdir}/ts/.debug*"
55FILES_${PN}-dev += "${libdir}/ts/*.la"
56FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib"
57FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
58FILES_tslib-calibrate += "${bindir}/ts_calibrate"
59FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"