diff --git a/templates/xf86-input-microtouch/build.diff b/templates/xf86-input-microtouch/build.diff new file mode 100644 index 00000000000..9ef9794590f --- /dev/null +++ b/templates/xf86-input-microtouch/build.diff @@ -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; diff --git a/templates/xf86-input-microtouch/template b/templates/xf86-input-microtouch/template new file mode 100644 index 00000000000..3448ef4c5c1 --- /dev/null +++ b/templates/xf86-input-microtouch/template @@ -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 " +checksum=b3034e0a768c4f646ea954d59dd414d00df3238e845848081221af6efe864f3b +long_desc=" + This is the microtouch input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server