diff options
21 files changed, 23 insertions, 211 deletions
diff --git a/meta/packages/tslib/tslib/akita/tslib.sh b/meta/packages/tslib/tslib/akita/tslib.sh deleted file mode 100644 index 0ff219b31f..0000000000 --- a/meta/packages/tslib/tslib/akita/tslib.sh +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/ts | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/c7x0/tslib.sh b/meta/packages/tslib/tslib/c7x0/tslib.sh deleted file mode 100644 index 0ff219b31f..0000000000 --- a/meta/packages/tslib/tslib/c7x0/tslib.sh +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/ts | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/h1940/tslib.sh b/meta/packages/tslib/tslib/h1940/tslib.sh deleted file mode 100644 index 7dbf4ae9f1..0000000000 --- a/meta/packages/tslib/tslib/h1940/tslib.sh +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | QWS_MOUSE_PROTO=TPanel | ||
6 | |||
7 | export TSLIB_TSDEVICE TSLIB_CONFFILE QWS_MOUSE_PROTO | ||
8 | |||
diff --git a/meta/packages/tslib/tslib/h2200/tslib.sh b/meta/packages/tslib/tslib/h2200/tslib.sh deleted file mode 100644 index b096bfb96e..0000000000 --- a/meta/packages/tslib/tslib/h2200/tslib.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/touchscreen/0raw | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
14 | |||
diff --git a/meta/packages/tslib/tslib/h3600/tslib.sh b/meta/packages/tslib/tslib/h3600/tslib.sh deleted file mode 100644 index 6c480f46af..0000000000 --- a/meta/packages/tslib/tslib/h3600/tslib.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/touchscreen/0raw | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
14 | |||
diff --git a/meta/packages/tslib/tslib/h3900/tslib.sh b/meta/packages/tslib/tslib/h3900/tslib.sh deleted file mode 100644 index 6c480f46af..0000000000 --- a/meta/packages/tslib/tslib/h3900/tslib.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/touchscreen/0raw | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
14 | |||
diff --git a/meta/packages/tslib/tslib/h4000/tslib.sh b/meta/packages/tslib/tslib/h4000/tslib.sh deleted file mode 100644 index 6c480f46af..0000000000 --- a/meta/packages/tslib/tslib/h4000/tslib.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/touchscreen/0raw | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
14 | |||
diff --git a/meta/packages/tslib/tslib/h5xxx/tslib.sh b/meta/packages/tslib/tslib/h5xxx/tslib.sh deleted file mode 100644 index b096bfb96e..0000000000 --- a/meta/packages/tslib/tslib/h5xxx/tslib.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/touchscreen/0raw | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
14 | |||
diff --git a/meta/packages/tslib/tslib/h6300/tslib.sh b/meta/packages/tslib/tslib/h6300/tslib.sh deleted file mode 100644 index b3318fd820..0000000000 --- a/meta/packages/tslib/tslib/h6300/tslib.sh +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
7 | |||
diff --git a/meta/packages/tslib/tslib/htcuniversal/ts.conf b/meta/packages/tslib/tslib/htcuniversal/ts.conf deleted file mode 100644 index 09309719f2..0000000000 --- a/meta/packages/tslib/tslib/htcuniversal/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/meta/packages/tslib/tslib/htcuniversal/tslib.sh b/meta/packages/tslib/tslib/htcuniversal/tslib.sh deleted file mode 100644 index cc7e6b724a..0000000000 --- a/meta/packages/tslib/tslib/htcuniversal/tslib.sh +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/hx2000/tslib.sh b/meta/packages/tslib/tslib/hx2000/tslib.sh deleted file mode 100644 index 586d5c7deb..0000000000 --- a/meta/packages/tslib/tslib/hx2000/tslib.sh +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/hx4700/tslib.sh b/meta/packages/tslib/tslib/hx4700/tslib.sh deleted file mode 100644 index 586d5c7deb..0000000000 --- a/meta/packages/tslib/tslib/hx4700/tslib.sh +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/nokia770/tslib.sh b/meta/packages/tslib/tslib/nokia770/tslib.sh deleted file mode 100644 index b7acc274c0..0000000000 --- a/meta/packages/tslib/tslib/nokia770/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/packages/tslib/tslib/poodle/tslib.sh b/meta/packages/tslib/tslib/poodle/tslib.sh deleted file mode 100644 index 664bda426a..0000000000 --- a/meta/packages/tslib/tslib/poodle/tslib.sh +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/ts | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-collie-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/qemuarm/tslib.sh b/meta/packages/tslib/tslib/qemuarm/tslib.sh deleted file mode 100644 index b7acc274c0..0000000000 --- a/meta/packages/tslib/tslib/qemuarm/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/packages/tslib/tslib/qemux86/tslib.sh b/meta/packages/tslib/tslib/qemux86/tslib.sh deleted file mode 100644 index b7acc274c0..0000000000 --- a/meta/packages/tslib/tslib/qemux86/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/packages/tslib/tslib/spitz/tslib.sh b/meta/packages/tslib/tslib/spitz/tslib.sh deleted file mode 100644 index 0ff219b31f..0000000000 --- a/meta/packages/tslib/tslib/spitz/tslib.sh +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/ts | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/tosa/tslib.sh b/meta/packages/tslib/tslib/tosa/tslib.sh deleted file mode 100644 index 0ff219b31f..0000000000 --- a/meta/packages/tslib/tslib/tosa/tslib.sh +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | case `uname -r` in | ||
7 | 2.4*) | ||
8 | TSLIB_TSDEVICE=/dev/ts | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/packages/tslib/tslib/tslib.sh b/meta/packages/tslib/tslib/tslib.sh index e69de29bb2..5221b05b8a 100644 --- a/meta/packages/tslib/tslib/tslib.sh +++ b/meta/packages/tslib/tslib/tslib.sh | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
6 | |||
diff --git a/meta/packages/tslib/tslib_1.0.bb b/meta/packages/tslib/tslib_1.0.bb index 84f3fd28a8..0ece5b0331 100644 --- a/meta/packages/tslib/tslib_1.0.bb +++ b/meta/packages/tslib/tslib_1.0.bb | |||
@@ -1,16 +1,14 @@ | |||
1 | DESCRIPTION = "tslib is a plugin-based flexible touchscreen access library." | 1 | DESCRIPTION = "tslib is a plugin-based flexible touchscreen access library." |
2 | HOMEPAGE = "http://cvs.arm.linux.org.uk/" | 2 | HOMEPAGE = "http://tslib.berlios.de/" |
3 | AUTHOR = "Russell King w/ plugins by Chris Larson et. al." | 3 | AUTHOR = "Russell King w/ plugins by Chris Larson et. al." |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "LGPL" | 5 | LICENSE = "LGPL" |
6 | 6 | ||
7 | PR = "r5" | 7 | PR = "r7" |
8 | 8 | ||
9 | SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \ | 9 | SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \ |
10 | file://ts.conf \ | 10 | file://ts.conf \ |
11 | file://ts.conf-h3600-2.4 \ | ||
12 | file://ts.conf-simpad-2.4 \ | 11 | file://ts.conf-simpad-2.4 \ |
13 | file://ts.conf-corgi-2.4 \ | ||
14 | file://ts.conf-collie-2.4 \ | 12 | file://ts.conf-collie-2.4 \ |
15 | file://tslib.sh" | 13 | file://tslib.sh" |
16 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" | 14 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" |
@@ -33,19 +31,10 @@ do_install_append() { | |||
33 | install -d ${D}${sysconfdir}/profile.d/ | 31 | install -d ${D}${sysconfdir}/profile.d/ |
34 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ | 32 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ |
35 | case ${MACHINE} in | 33 | case ${MACHINE} in |
36 | a780 | e680 | h3600 | h3900 | h5xxx | h1940 | h6300 | h2200 | ipaq-pxa270 | hx4700 | hx2000 | blueangel | h4000) | 34 | collie ) |
37 | install -d ${D}${datadir}/tslib | ||
38 | install -m 0644 ${WORKDIR}/ts.conf-h3600-2.4 ${D}${datadir}/tslib/ | ||
39 | ;; | ||
40 | c7x0 | spitz | akita | tosa ) | ||
41 | install -d ${D}${datadir}/tslib | ||
42 | install -m 0644 ${WORKDIR}/ts.conf-corgi-2.4 ${D}${datadir}/tslib/ | ||
43 | ;; | ||
44 | collie | poodle ) | ||
45 | install -d ${D}${datadir}/tslib | 35 | install -d ${D}${datadir}/tslib |
46 | install -m 0644 ${WORKDIR}/ts.conf-collie-2.4 ${D}${datadir}/tslib/ | 36 | install -m 0644 ${WORKDIR}/ts.conf-collie-2.4 ${D}${datadir}/tslib/ |
47 | ;; | 37 | ;; |
48 | |||
49 | simpad ) | 38 | simpad ) |
50 | install -d ${D}${datadir}/tslib | 39 | install -d ${D}${datadir}/tslib |
51 | install -m 0644 ${WORKDIR}/ts.conf-simpad-2.4 ${D}${datadir}/tslib/ | 40 | install -m 0644 ${WORKDIR}/ts.conf-simpad-2.4 ${D}${datadir}/tslib/ |
@@ -57,19 +46,24 @@ do_install_append() { | |||
57 | 46 | ||
58 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" | 47 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" |
59 | 48 | ||
60 | # People should consider using udev's /dev/input/touchscreen0 symlink | 49 | # People should consider using udev's /dev/input/touchscreen0 symlink |
61 | # instead of detect-stylus | 50 | # instead of detect-stylus |
62 | RDEPENDS_tslib-conf_h1940 = "detect-stylus" | 51 | #RDEPENDS_tslib-conf_weird-machine = "detect-stylus" |
63 | RDEPENDS_tslib-conf_h3600 = "detect-stylus" | ||
64 | RDEPENDS_tslib-conf_h3900 = "detect-stylus" | ||
65 | RDEPENDS_tslib-conf_h6300 = "detect-stylus" | ||
66 | RDEPENDS_tslib-conf_blueangel = "detect-stylus" | ||
67 | RDEPENDS_tslib-conf_htcuniversal = "detect-stylus" | ||
68 | RDEPENDS_tslib-conf_h4000 = "detect-stylus" | ||
69 | RPROVIDES_tslib-conf = "libts-0.0-conf" | 52 | RPROVIDES_tslib-conf = "libts-0.0-conf" |
70 | 53 | ||
71 | PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}" | 54 | # Machines with machine specific patches |
72 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" | 55 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" |
56 | # Machines with machine specific config files (tslib.sh) | ||
57 | PACKAGE_ARCH_tslib-conf_a780 = "${MACHINE_ARCH}" | ||
58 | PACKAGE_ARCH_tslib-conf_collie = "${MACHINE_ARCH}" | ||
59 | PACKAGE_ARCH_tslib-conf_e680 = "${MACHINE_ARCH}" | ||
60 | PACKAGE_ARCH_tslib-conf_jornada56x = "${MACHINE_ARCH}" | ||
61 | PACKAGE_ARCH_tslib-conf_jornada6xx = "${MACHINE_ARCH}" | ||
62 | PACKAGE_ARCH_tslib-conf_jornada7xx = "${MACHINE_ARCH}" | ||
63 | PACKAGE_ARCH_tslib-conf_netbook-pro = "${MACHINE_ARCH}" | ||
64 | PACKAGE_ARCH_tslib-conf_omap1610h2 = "${MACHINE_ARCH}" | ||
65 | PACKAGE_ARCH_tslib-conf_omap5912osk = "${MACHINE_ARCH}" | ||
66 | PACKAGE_ARCH_tslib-conf_simpad = "${MACHINE_ARCH}" | ||
73 | 67 | ||
74 | PACKAGES =+ "tslib-conf libts-dev tslib-tests tslib-calibrate" | 68 | PACKAGES =+ "tslib-conf libts-dev tslib-tests tslib-calibrate" |
75 | DEBIAN_NOAUTONAME_tslib-conf = "1" | 69 | DEBIAN_NOAUTONAME_tslib-conf = "1" |