From df0fbc35546ac60961e6d9fac6d3fd5e4f5965d7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2009 10:17:39 +0200 Subject: [PATCH] Added xf86-input-elo2300-1.1.2 template. --HG-- extra : convert_revision : 420202c65c129d4e7f3186f9ba37f6357a27e8a4 --- templates/xf86-input-elo2300/build.diff | 12 ++++++++++++ templates/xf86-input-elo2300/template | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 templates/xf86-input-elo2300/build.diff create mode 100644 templates/xf86-input-elo2300/template diff --git a/templates/xf86-input-elo2300/build.diff b/templates/xf86-input-elo2300/build.diff new file mode 100644 index 00000000000..83d32f9bc39 --- /dev/null +++ b/templates/xf86-input-elo2300/build.diff @@ -0,0 +1,12 @@ +--- src/elo.c.orig 2009-03-31 10:16:32.517051719 +0200 ++++ src/elo.c 2009-03-31 10:16:49.296056335 +0200 +@@ -309,8 +309,7 @@ DeviceInit( DeviceIntPtr dev ) + * Device reports motions on 2 axes in absolute coordinates. + * Device may reports touch pressure on the 3rd axis. + */ +- if (InitValuatorClassDeviceStruct (dev, priv->axes, xf86GetMotionEvents, +- local->history_size, Absolute) == FALSE) ++ if (InitValuatorClassDeviceStruct (dev, priv->axes, local->history_size, Absolute) == FALSE) + { + ErrorF ("Unable to allocate Elographics touchscreen ValuatorClassDeviceStruct\n"); + return !Success; diff --git a/templates/xf86-input-elo2300/template b/templates/xf86-input-elo2300/template new file mode 100644 index 00000000000..21dc730c064 --- /dev/null +++ b/templates/xf86-input-elo2300/template @@ -0,0 +1,13 @@ +# Template build file for 'xf86-input-elo2300'. +pkgname=xf86-input-elo2300 +version=1.1.2 +distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Xorg elo2300 input driver" +maintainer="Juan RP " +checksum=ce575f79a5a93f4129a4e63572911d54cdc6640abc303afeb3c74741bb3c9627 +long_desc=" + This is the elo2300 input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server