diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-04-21 14:32:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-05 12:26:29 +0100 |
commit | cdf878387ad460f7c6b7a58dcc996918bcd07a0a (patch) | |
tree | b8962ec003760b36fc1ead9c0a5ad38c0c4d0f4a /meta/recipes-graphics/tslib | |
parent | 5331f471045459a496f829cb747447e8f196d26e (diff) | |
download | poky-cdf878387ad460f7c6b7a58dcc996918bcd07a0a.tar.gz |
Remove machine-specific metadata for machines no longer in oe-core
(From OE-Core rev: 72567733033347b662d9baa07432985fd2da3efa)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/tslib')
22 files changed, 1 insertions, 238 deletions
diff --git a/meta/recipes-graphics/tslib/tslib/a780/tslib.sh b/meta/recipes-graphics/tslib/tslib/a780/tslib.sh deleted file mode 100644 index 51cd0f1f36..0000000000 --- a/meta/recipes-graphics/tslib/tslib/a780/tslib.sh +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/event1 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/collie/ts.conf b/meta/recipes-graphics/tslib/tslib/collie/ts.conf deleted file mode 100644 index 2099b9b414..0000000000 --- a/meta/recipes-graphics/tslib/tslib/collie/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw collie | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/meta/recipes-graphics/tslib/tslib/collie/tslib.sh b/meta/recipes-graphics/tslib/tslib/collie/tslib.sh deleted file mode 100644 index 664bda426a..0000000000 --- a/meta/recipes-graphics/tslib/tslib/collie/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/recipes-graphics/tslib/tslib/devfs.patch b/meta/recipes-graphics/tslib/tslib/devfs.patch deleted file mode 100644 index d7ef0a9589..0000000000 --- a/meta/recipes-graphics/tslib/tslib/devfs.patch +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- tslib/tests/fbutils.c~devfs.patch | ||
7 | +++ tslib/tests/fbutils.c | ||
8 | @@ -44,8 +44,8 @@ | ||
9 | static unsigned colormap [256]; | ||
10 | int xres, yres; | ||
11 | |||
12 | -static char *defaultfbdevice = "/dev/fb0"; | ||
13 | -static char *defaultconsoledevice = "/dev/tty"; | ||
14 | +static char *defaultfbdevice = "/dev/fb/0"; | ||
15 | +static char *defaultconsoledevice = "/dev/vc/"; | ||
16 | static char *fbdevice = NULL; | ||
17 | static char *consoledevice = NULL; | ||
18 | |||
diff --git a/meta/recipes-graphics/tslib/tslib/e680/tslib.sh b/meta/recipes-graphics/tslib/tslib/e680/tslib.sh deleted file mode 100644 index 51cd0f1f36..0000000000 --- a/meta/recipes-graphics/tslib/tslib/e680/tslib.sh +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/event1 | ||
4 | TSLIB_CONFFILE=/etc/ts.conf | ||
5 | |||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/event1.patch b/meta/recipes-graphics/tslib/tslib/event1.patch deleted file mode 100644 index 88cc3f3a2a..0000000000 --- a/meta/recipes-graphics/tslib/tslib/event1.patch +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- tslib/tests/ts_calibrate.c~event1 | ||
7 | +++ tslib/tests/ts_calibrate.c | ||
8 | @@ -179,11 +179,7 @@ | ||
9 | if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) { | ||
10 | ts = ts_open(tsdevice,0); | ||
11 | } else { | ||
12 | -#ifdef USE_INPUT_API | ||
13 | - ts = ts_open("/dev/input/event0", 0); | ||
14 | -#else | ||
15 | - ts = ts_open("/dev/touchscreen/ucb1x00", 0); | ||
16 | -#endif /* USE_INPUT_API */ | ||
17 | + ts = ts_open("/dev/input/event1", 0); | ||
18 | } | ||
19 | |||
20 | if (!ts) { | ||
21 | --- tslib/tests/ts_print.c~event1 | ||
22 | +++ tslib/tests/ts_print.c | ||
23 | @@ -28,11 +28,7 @@ | ||
24 | if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) { | ||
25 | ts = ts_open(tsdevice,0); | ||
26 | } else { | ||
27 | -#ifdef USE_INPUT_API | ||
28 | - ts = ts_open("/dev/input/event0", 0); | ||
29 | -#else | ||
30 | - ts = ts_open("/dev/touchscreen/ucb1x00", 0); | ||
31 | -#endif /* USE_INPUT_API */ | ||
32 | + ts = ts_open("/dev/input/event1", 0); | ||
33 | } | ||
34 | |||
35 | if (!ts) { | ||
36 | --- tslib/tests/ts_test.c~event1 | ||
37 | +++ tslib/tests/ts_test.c | ||
38 | @@ -120,11 +120,7 @@ | ||
39 | signal(SIGTERM, sig); | ||
40 | |||
41 | if ((tsdevice = getenv("TSLIB_TSDEVICE")) == NULL) { | ||
42 | -#ifdef USE_INPUT_API | ||
43 | - tsdevice = strdup ("/dev/input/event0"); | ||
44 | -#else | ||
45 | - tsdevice = strdup ("/dev/touchscreen/ucb1x00"); | ||
46 | -#endif /* USE_INPUT_API */ | ||
47 | + tsdevice = strdup ("/dev/input/event1"); | ||
48 | } | ||
49 | |||
50 | ts = ts_open (tsdevice, 0); | ||
51 | --- tslib/tests/ts_print_raw.c~event1 | ||
52 | +++ tslib/tests/ts_print_raw.c | ||
53 | @@ -28,11 +28,7 @@ | ||
54 | if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) { | ||
55 | ts = ts_open(tsdevice,0); | ||
56 | } else { | ||
57 | -#ifdef USE_INPUT_API | ||
58 | - ts = ts_open("/dev/input/event0", 0); | ||
59 | -#else | ||
60 | - ts = ts_open("/dev/touchscreen/ucb1x00", 0); | ||
61 | -#endif /* USE_INPUT_API */ | ||
62 | + ts = ts_open("/dev/input/event1", 0); | ||
63 | } | ||
64 | |||
65 | if (!ts) { | ||
66 | --- tslib/tests/ts_harvest.c~event1 | ||
67 | +++ tslib/tests/ts_harvest.c | ||
68 | @@ -75,11 +75,7 @@ | ||
69 | signal(SIGTERM, sig); | ||
70 | |||
71 | if ((tsdevice = getenv("TSLIB_TSDEVICE")) == NULL) { | ||
72 | -#ifdef USE_INPUT_API | ||
73 | - tsdevice = strdup ("/dev/input/event0"); | ||
74 | -#else | ||
75 | - tsdevice = strdup ("/dev/touchscreen/ucb1x00"); | ||
76 | -#endif /* USE_INPUT_API */ | ||
77 | + tsdevice = strdup ("/dev/input/event1"); | ||
78 | } | ||
79 | |||
80 | ts = ts_open (tsdevice, 0); | ||
diff --git a/meta/recipes-graphics/tslib/tslib/jornada56x/ts.conf b/meta/recipes-graphics/tslib/tslib/jornada56x/ts.conf deleted file mode 100644 index 20729b6154..0000000000 --- a/meta/recipes-graphics/tslib/tslib/jornada56x/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw h3600 | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/meta/recipes-graphics/tslib/tslib/jornada56x/tslib.sh b/meta/recipes-graphics/tslib/tslib/jornada56x/tslib.sh deleted file mode 100644 index 8f907b0755..0000000000 --- a/meta/recipes-graphics/tslib/tslib/jornada56x/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/tsraw0 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/jornada6xx/ts.conf b/meta/recipes-graphics/tslib/tslib/jornada6xx/ts.conf deleted file mode 100644 index 20729b6154..0000000000 --- a/meta/recipes-graphics/tslib/tslib/jornada6xx/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw h3600 | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/meta/recipes-graphics/tslib/tslib/jornada6xx/tslib.sh b/meta/recipes-graphics/tslib/tslib/jornada6xx/tslib.sh deleted file mode 100644 index 1b5db781c1..0000000000 --- a/meta/recipes-graphics/tslib/tslib/jornada6xx/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/ts0 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/jornada7xx/ts.conf b/meta/recipes-graphics/tslib/tslib/jornada7xx/ts.conf deleted file mode 100644 index 09309719f2..0000000000 --- a/meta/recipes-graphics/tslib/tslib/jornada7xx/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/recipes-graphics/tslib/tslib/jornada7xx/tslib.sh b/meta/recipes-graphics/tslib/tslib/jornada7xx/tslib.sh deleted file mode 100644 index 040f4de3d5..0000000000 --- a/meta/recipes-graphics/tslib/tslib/jornada7xx/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/event1 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/mnci/ts.conf b/meta/recipes-graphics/tslib/tslib/mnci/ts.conf deleted file mode 100644 index adff17717b..0000000000 --- a/meta/recipes-graphics/tslib/tslib/mnci/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=600 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/meta/recipes-graphics/tslib/tslib/mnci/tslib.sh b/meta/recipes-graphics/tslib/tslib/mnci/tslib.sh deleted file mode 100644 index 07928f226d..0000000000 --- a/meta/recipes-graphics/tslib/tslib/mnci/tslib.sh +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export TSLIB_TSDEVICE=/dev/input/event1 | ||
diff --git a/meta/recipes-graphics/tslib/tslib/netbook-pro/ts.conf b/meta/recipes-graphics/tslib/tslib/netbook-pro/ts.conf deleted file mode 100644 index 6d94a8f468..0000000000 --- a/meta/recipes-graphics/tslib/tslib/netbook-pro/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module variance delta=80 | ||
3 | #module dejitter delta=2 | ||
4 | module linear | ||
5 | |||
diff --git a/meta/recipes-graphics/tslib/tslib/netbook-pro/tslib.sh b/meta/recipes-graphics/tslib/tslib/netbook-pro/tslib.sh deleted file mode 100644 index d31bc76368..0000000000 --- a/meta/recipes-graphics/tslib/tslib/netbook-pro/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/omap1610h2/tslib.sh b/meta/recipes-graphics/tslib/tslib/omap1610h2/tslib.sh deleted file mode 100644 index 040f4de3d5..0000000000 --- a/meta/recipes-graphics/tslib/tslib/omap1610h2/tslib.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TSLIB_TSDEVICE=/dev/input/event1 | ||
4 | |||
5 | export TSLIB_TSDEVICE | ||
diff --git a/meta/recipes-graphics/tslib/tslib/omap5912osk/tslib.sh b/meta/recipes-graphics/tslib/tslib/omap5912osk/tslib.sh deleted file mode 100644 index 6bb56651f8..0000000000 --- a/meta/recipes-graphics/tslib/tslib/omap5912osk/tslib.sh +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export TSLIB_TSDEVICE=/dev/input/event1 | ||
4 | export QWS_MOUSE_PROTO=TPanel | ||
diff --git a/meta/recipes-graphics/tslib/tslib/simpad/tslib.sh b/meta/recipes-graphics/tslib/tslib/simpad/tslib.sh deleted file mode 100644 index 9c4eb1e0f9..0000000000 --- a/meta/recipes-graphics/tslib/tslib/simpad/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/ucb1x00 | ||
9 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-simpad-2.4 | ||
10 | ;; | ||
11 | esac | ||
12 | |||
13 | export TSLIB_TSDEVICE TSLIB_CONFFILE | ||
14 | |||
diff --git a/meta/recipes-graphics/tslib/tslib/ts.conf-collie-2.4 b/meta/recipes-graphics/tslib/tslib/ts.conf-collie-2.4 deleted file mode 100644 index 2099b9b414..0000000000 --- a/meta/recipes-graphics/tslib/tslib/ts.conf-collie-2.4 +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw collie | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/meta/recipes-graphics/tslib/tslib/ts.conf-simpad-2.4 b/meta/recipes-graphics/tslib/tslib/ts.conf-simpad-2.4 deleted file mode 100644 index 035e794cb4..0000000000 --- a/meta/recipes-graphics/tslib/tslib/ts.conf-simpad-2.4 +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw ucb1x00 | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=10 | ||
4 | module dejitter delta=150 | ||
5 | module linear | ||
diff --git a/meta/recipes-graphics/tslib/tslib_1.0.bb b/meta/recipes-graphics/tslib/tslib_1.0.bb index 51529e3f13..9ab8259e47 100644 --- a/meta/recipes-graphics/tslib/tslib_1.0.bb +++ b/meta/recipes-graphics/tslib/tslib_1.0.bb | |||
@@ -10,19 +10,15 @@ SECTION = "base" | |||
10 | LICENSE = "LGPLv2" | 10 | LICENSE = "LGPLv2" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" |
12 | 12 | ||
13 | PR = "r16" | 13 | PR = "r17" |
14 | 14 | ||
15 | SRC_URI = "http://download.berlios.de/tslib/tslib-${PV}.tar.bz2 \ | 15 | SRC_URI = "http://download.berlios.de/tslib/tslib-${PV}.tar.bz2 \ |
16 | file://fix_version.patch;patch=1 \ | 16 | file://fix_version.patch;patch=1 \ |
17 | file://ts.conf \ | 17 | file://ts.conf \ |
18 | file://ts.conf-simpad-2.4 \ | ||
19 | file://ts.conf-collie-2.4 \ | ||
20 | file://tslib.sh" | 18 | file://tslib.sh" |
21 | 19 | ||
22 | SRC_URI[md5sum] = "92b2eb55b1e4ef7e2c0347069389390e" | 20 | SRC_URI[md5sum] = "92b2eb55b1e4ef7e2c0347069389390e" |
23 | SRC_URI[sha256sum] = "9c40d914e4f6fe00bdd77137d671c7ce4f211686228f2eb8b2d3c2360bc249c8" | 21 | SRC_URI[sha256sum] = "9c40d914e4f6fe00bdd77137d671c7ce4f211686228f2eb8b2d3c2360bc249c8" |
24 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" | ||
25 | SRC_URI_append_mnci += " file://event1.patch;patch=1" | ||
26 | SRC_URI_append_qemumips += " file://32bitBE-support.patch;patch=1" | 22 | SRC_URI_append_qemumips += " file://32bitBE-support.patch;patch=1" |
27 | 23 | ||
28 | 24 | ||
@@ -37,18 +33,6 @@ do_install_prepend() { | |||
37 | do_install_append() { | 33 | do_install_append() { |
38 | install -d ${D}${sysconfdir}/profile.d/ | 34 | install -d ${D}${sysconfdir}/profile.d/ |
39 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ | 35 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ |
40 | case ${MACHINE} in | ||
41 | collie ) | ||
42 | install -d ${D}${datadir}/tslib | ||
43 | install -m 0644 ${WORKDIR}/ts.conf-collie-2.4 ${D}${datadir}/tslib/ | ||
44 | ;; | ||
45 | simpad ) | ||
46 | install -d ${D}${datadir}/tslib | ||
47 | install -m 0644 ${WORKDIR}/ts.conf-simpad-2.4 ${D}${datadir}/tslib/ | ||
48 | ;; | ||
49 | *) | ||
50 | ;; | ||
51 | esac | ||
52 | } | 36 | } |
53 | 37 | ||
54 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" | 38 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" |
@@ -58,20 +42,6 @@ SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" | |||
58 | #RDEPENDS_tslib-conf_weird-machine = "detect-stylus" | 42 | #RDEPENDS_tslib-conf_weird-machine = "detect-stylus" |
59 | RPROVIDES_tslib-conf = "libts-0.0-conf" | 43 | RPROVIDES_tslib-conf = "libts-0.0-conf" |
60 | 44 | ||
61 | # Machines with machine specific patches | ||
62 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" | ||
63 | # Machines with machine specific config files (tslib.sh) | ||
64 | PACKAGE_ARCH_tslib-conf_a780 = "${MACHINE_ARCH}" | ||
65 | PACKAGE_ARCH_tslib-conf_collie = "${MACHINE_ARCH}" | ||
66 | PACKAGE_ARCH_tslib-conf_e680 = "${MACHINE_ARCH}" | ||
67 | PACKAGE_ARCH_tslib-conf_jornada56x = "${MACHINE_ARCH}" | ||
68 | PACKAGE_ARCH_tslib-conf_jornada6xx = "${MACHINE_ARCH}" | ||
69 | PACKAGE_ARCH_tslib-conf_jornada7xx = "${MACHINE_ARCH}" | ||
70 | PACKAGE_ARCH_tslib-conf_netbook-pro = "${MACHINE_ARCH}" | ||
71 | PACKAGE_ARCH_tslib-conf_omap1610h2 = "${MACHINE_ARCH}" | ||
72 | PACKAGE_ARCH_tslib-conf_omap5912osk = "${MACHINE_ARCH}" | ||
73 | PACKAGE_ARCH_tslib-conf_simpad = "${MACHINE_ARCH}" | ||
74 | |||
75 | PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate" | 45 | PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate" |
76 | DEBIAN_NOAUTONAME_tslib-conf = "1" | 46 | DEBIAN_NOAUTONAME_tslib-conf = "1" |
77 | DEBIAN_NOAUTONAME_tslib-tests = "1" | 47 | DEBIAN_NOAUTONAME_tslib-tests = "1" |