diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-05-10 23:36:30 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-05-10 23:36:30 (GMT) |
commit | 24441b3b7501ad6640e85d75fda2c418ef2ff4b2 (patch) | |
tree | 02680a52e5f1de1236fefa1f6a1ef04ec6ad97f8 /abs/extra-testing/evtest | |
parent | d56883a1cd1d7f74a5fd6574b26e9c66fe2a1ee6 (diff) | |
parent | 0840ae3ae3ae205d6fc6e7638292b45406a3b652 (diff) | |
download | linhes_pkgbuild-24441b3b7501ad6640e85d75fda2c418ef2ff4b2.zip linhes_pkgbuild-24441b3b7501ad6640e85d75fda2c418ef2ff4b2.tar.gz linhes_pkgbuild-24441b3b7501ad6640e85d75fda2c418ef2ff4b2.tar.bz2 |
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/evtest')
-rw-r--r-- | abs/extra-testing/evtest/PKGBUILD | 24 | ||||
-rw-r--r-- | abs/extra-testing/evtest/evtest.diff | 32 |
2 files changed, 56 insertions, 0 deletions
diff --git a/abs/extra-testing/evtest/PKGBUILD b/abs/extra-testing/evtest/PKGBUILD new file mode 100644 index 0000000..0952c5e --- /dev/null +++ b/abs/extra-testing/evtest/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> +pkgname=evtest +pkgver=1.25 +pkgrel=2 +pkgdesc="Simple tool for input event debugging." +arch=('i686' 'x86_64') +url="http://cgit.freedesktop.org/~whot/evtest/" +license=('GPL') +depends=(libxml2) +makedepends=(xmlto asciidoc) +optdepends=(libxslt) +source=("http://cgit.freedesktop.org/~whot/evtest/snapshot/$pkgname-$pkgver.zip" "evtest.diff") + +build() +{ + cd $srcdir/$pkgname-$pkgver + patch -p1 < ../evtest.diff || return 1 + autoreconf -iv + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${startdir}/pkg install +} +md5sums=('1edddfcd366bb52490e08cbf1dbaeddf' + '1753bd5825ca7e5244a1a09029b8a47d') diff --git a/abs/extra-testing/evtest/evtest.diff b/abs/extra-testing/evtest/evtest.diff new file mode 100644 index 0000000..0dc7ba5 --- /dev/null +++ b/abs/extra-testing/evtest/evtest.diff @@ -0,0 +1,32 @@ +diff -ruaN evtest-1.25.orig/evtest-capture.c evtest-1.25/evtest-capture.c +--- evtest-1.25.orig/evtest-capture.c 2009-12-02 22:24:44.000000000 +0000 ++++ evtest-1.25/evtest-capture.c 2010-05-06 08:38:03.000000000 +0000 +@@ -560,16 +560,6 @@ + [ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH", + [ABS_VOLUME] = "ABS_VOLUME", + [ABS_MISC] = "ABS_MISC", +- [ABS_MT_TOUCH_MAJOR] = "ABS_MT_TOUCH_MAJOR", +- [ABS_MT_TOUCH_MINOR] = "ABS_MT_TOUCH_MINOR", +- [ABS_MT_WIDTH_MAJOR] = "ABS_MT_WIDTH_MAJOR", +- [ABS_MT_WIDTH_MINOR] = "ABS_MT_WIDTH_MINOR", +- [ABS_MT_ORIENTATION] = "ABS_MT_ORIENTATION", +- [ABS_MT_POSITION_X] = "ABS_MT_POSITION_X", +- [ABS_MT_POSITION_Y] = "ABS_MT_POSITION_Y", +- [ABS_MT_TOOL_TYPE] = "ABS_MT_TOOL_TYPE", +- [ABS_MT_BLOB_ID] = "ABS_MT_BLOB_ID", +- [ABS_MT_TRACKING_ID] = "ABS_MT_TRACKING_ID", + }; + + const char *misc[MSC_MAX + 1] = { +diff -ruaN evtest-1.25.orig/evtest.c evtest-1.25/evtest.c +--- evtest-1.25.orig/evtest.c 2009-12-02 22:24:44.000000000 +0000 ++++ evtest-1.25/evtest.c 2010-05-06 08:38:21.000000000 +0000 +@@ -192,7 +192,7 @@ + [BTN_TOOL_MOUSE] = "ToolMouse", [BTN_TOOL_LENS] = "ToolLens", + [BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus", + [BTN_STYLUS2] = "Stylus2", [BTN_TOOL_DOUBLETAP] = "Tool Doubletap", +- [BTN_TOOL_TRIPLETAP] = "Tool Tripletap", [BTN_TOOL_QUADTAP] = "Tool Quadtap", ++ [BTN_TOOL_TRIPLETAP] = "Tool Tripletap", + [BTN_GEAR_DOWN] = "WheelBtn", + [BTN_GEAR_UP] = "Gear up", [KEY_OK] = "Ok", + [KEY_SELECT] = "Select", [KEY_GOTO] = "Goto", |