summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2008-02-21 20:50:45 +0000
committerDoug Goldstein <cardoe@gentoo.org>2008-02-21 20:50:45 +0000
commit8e6f947a48388916a30f00f6b6d3a55548ef7f5b (patch)
tree1b6c0e48a8ecae55b6a7a5e8c33c19a3552d7802 /x11-drivers/xf86-input-evtouch
parentFixed regression: compilation failure with --as-needed, bug 210998, reported ... (diff)
downloadhistorical-8e6f947a48388916a30f00f6b6d3a55548ef7f5b.tar.gz
historical-8e6f947a48388916a30f00f6b6d3a55548ef7f5b.tar.bz2
historical-8e6f947a48388916a30f00f6b6d3a55548ef7f5b.zip
add initial version of the evtouch driver. bug #177754
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'x11-drivers/xf86-input-evtouch')
-rw-r--r--x11-drivers/xf86-input-evtouch/ChangeLog11
-rw-r--r--x11-drivers/xf86-input-evtouch/Manifest15
-rw-r--r--x11-drivers/xf86-input-evtouch/files/xf86-input-evtouch-evcalibrate-path.patch13
-rw-r--r--x11-drivers/xf86-input-evtouch/metadata.xml8
-rw-r--r--x11-drivers/xf86-input-evtouch/xf86-input-evtouch-0.8.7.ebuild66
5 files changed, 113 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-evtouch/ChangeLog b/x11-drivers/xf86-input-evtouch/ChangeLog
new file mode 100644
index 000000000000..a0f638e89af1
--- /dev/null
+++ b/x11-drivers/xf86-input-evtouch/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-drivers/xf86-input-evtouch
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evtouch/ChangeLog,v 1.1 2008/02/21 20:50:44 cardoe Exp $
+
+*xf86-input-evtouch-0.8.7 (21 Feb 2008)
+
+ 21 Feb 2008; Doug Klima <cardoe@gentoo.org>
+ +files/xf86-input-evtouch-evcalibrate-path.patch, +metadata.xml,
+ +xf86-input-evtouch-0.8.7.ebuild:
+ add initial version of the evtouch driver. bug #177754
+
diff --git a/x11-drivers/xf86-input-evtouch/Manifest b/x11-drivers/xf86-input-evtouch/Manifest
new file mode 100644
index 000000000000..bd2dcaac06ad
--- /dev/null
+++ b/x11-drivers/xf86-input-evtouch/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX xf86-input-evtouch-evcalibrate-path.patch 346 RMD160 1e74b219176256b1b88a1fc77c7edac93280f2a4 SHA1 3decebcd598fed03df290796a41ed1b522d73858 SHA256 3881743220d1ae38e7d32beecf05e9b900e597fe06c2dc614194d87dc00d9323
+DIST xf86-input-evtouch-0.8.7.tar.bz2 228732 RMD160 3caa115d3e71efc988a1a73205bed861e23a3ea3 SHA1 d8180ea721f00d833756d894075f84920d1082ac SHA256 d0685dc33be475dc75d2ca083aaa384651bd5b29640e74f197e1a61d0ab8c37b
+EBUILD xf86-input-evtouch-0.8.7.ebuild 1859 RMD160 9560d372ee5d6745bc2f9817117af7548fb67258 SHA1 7b6a5e1b45cb3df163e534028f02cfbed97a1539 SHA256 7d89803da1116729723ad6bc7bc55ea87f3344eb3c2459e1c607aa6925ac6c83
+MISC ChangeLog 481 RMD160 1f7a1973984fd55a2c4682119f4acadbb08bcef1 SHA1 693a70d1b8b9ff1599cd89fb6d519a9605fc59e1 SHA256 f33e7a73f1d37bb1f5cfccb351ce9b433c353ec3ac0d4c3f07f20db6961219a6
+MISC metadata.xml 222 RMD160 d1a3fdf35754f259a53541e6f3fdf4685c621b4c SHA1 2669a0aa4051cb9d7eca5b8e5719f5039bf850b9 SHA256 2744b911fd4a893fc26fd4fbfcf4bad6189fbbd14a6b525c84c95d012e8c06da
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHveQtoeSe8B0zEfwRAqlBAJ9Nye2yN8hsl3kzJhRtYBJlDZD/ugCfbO8Z
+qfeeMd3fm3/rxCy6uEFw7VI=
+=PoTK
+-----END PGP SIGNATURE-----
diff --git a/x11-drivers/xf86-input-evtouch/files/xf86-input-evtouch-evcalibrate-path.patch b/x11-drivers/xf86-input-evtouch/files/xf86-input-evtouch-evcalibrate-path.patch
new file mode 100644
index 000000000000..c20ff5d0a50a
--- /dev/null
+++ b/x11-drivers/xf86-input-evtouch/files/xf86-input-evtouch-evcalibrate-path.patch
@@ -0,0 +1,13 @@
+--- Makefile.am 2007-09-09 12:42:05.000000000 -0400
++++ Makefile.am.new 2008-02-21 15:32:03.000000000 -0500
+@@ -28,8 +28,8 @@
+ endif
+
+ if ENABLE_EVCAL
+-pkglib_PROGRAMS = ev_calibrate
+-pkglib_SCRIPTS = calibrate.sh
++bin_PROGRAMS = ev_calibrate
++bin_SCRIPTS = calibrate.sh
+ pkgdata_DATA = empty_cursor.xbm
+
+ ev_calibrate_SOURCES = ev_calibrate.c
diff --git a/x11-drivers/xf86-input-evtouch/metadata.xml b/x11-drivers/xf86-input-evtouch/metadata.xml
new file mode 100644
index 000000000000..f99e49fb0002
--- /dev/null
+++ b/x11-drivers/xf86-input-evtouch/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>cardoe@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-input-evtouch/xf86-input-evtouch-0.8.7.ebuild b/x11-drivers/xf86-input-evtouch/xf86-input-evtouch-0.8.7.ebuild
new file mode 100644
index 000000000000..6045ca80c00f
--- /dev/null
+++ b/x11-drivers/xf86-input-evtouch/xf86-input-evtouch-0.8.7.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit x-modular autotools
+
+DESCRIPTION="Input driver for Linux event touchscreens"
+HOMEPAGE="http://www.conan.de/touchscreen/evtouch.html"
+SRC_URI="http://www.conan.de/touchscreen/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND="<x11-base/xorg-server-1.4"
+DEPEND="${RDEPEND}
+ || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
+ x11-proto/inputproto
+ x11-proto/randrproto
+ x11-proto/xproto"
+
+# necessary to prevent x-modular.eclass' version from running
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-evcalibrate-path.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ econf --enable-evcalibrate \
+ --enable-udevinstall || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ x-modular_src_install
+ dodoc README README.calibration TODO
+}
+
+pkg_postinst() {
+ einfo
+ elog "To enable this driver, add the following to xorg.conf:"
+ elog "Section \"InputDevice\""
+ elog " Identifier \"touchscreen\""
+ elog " Driver \"evtouch\""
+ elog " Option \"Device\" \"/dev/input/evtouch_event\""
+ elog " Option \"DeviceName\" \"touchscreen\""
+ elog " Option \"ReportingMode\" \"Raw\""
+ elog " Option \"Emulate3Buttons\""
+ elog " Option \"Emulate3Timeout\" \"50\""
+ elog " Option \"SendCoreEvents\" \"On\""
+ elog " Option \"Calibrate\" \"1\""
+ elog "EndSection"
+ elog
+ elog "Then with X not running run: "
+ elog "$ calibrate.sh"
+ elog
+ elog "Once you complete the calibration, you'll have: out.txt"
+ elog "Merge the lines found in there into the InputDevice"
+ elog "section you created earlier and remove the Calibrate"
+ elog "line. Your touch screen should work now."
+ elog
+ elog "More info, read README.calibrate and check out:"
+ elog "${HOMEPAGE}"
+}