Added xf86-input-microtouch-1.2.0 template.

--HG--
extra : convert_revision : 6f5103e185e67cb0b43390293b44c53c8a540d05
This commit is contained in:
Juan RP 2009-03-31 10:23:55 +02:00
parent 12157f5458
commit a686a01fb5
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- src/microtouch.c.orig 2009-03-31 10:22:46.455076331 +0200
+++ src/microtouch.c 2009-03-31 10:23:00.507008801 +0200
@@ -425,8 +425,7 @@ DeviceInit (DeviceIntPtr dev)
* Device reports motions on 2 axes in absolute coordinates.
* Axes min and max values are reported in raw coordinates.
*/
- if (InitValuatorClassDeviceStruct (dev, 2, xf86GetMotionEvents,
- local->history_size, Absolute) == FALSE)
+ if (InitValuatorClassDeviceStruct (dev, 2, local->history_size, Absolute) == FALSE)
{
ErrorF ("Unable to allocate MicroTouch touchscreen ValuatorClassDeviceStruct\n");
return !Success;

View file

@ -0,0 +1,13 @@
# Template build file for 'xf86-input-microtouch'.
pkgname=xf86-input-microtouch
version=1.2.0
distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Xorg microtouch input driver"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b3034e0a768c4f646ea954d59dd414d00df3238e845848081221af6efe864f3b
long_desc="
This is the microtouch input driver for the Xorg X11 server."
Add_dependency full glibc
Add_dependency full xorg-server