From 7e418e609ce1b7c7b411f51c558fe7ae9bfa9fe7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2009 11:05:34 +0200 Subject: [PATCH] Added xf86-input-tek4957-1.2.0 template. --HG-- extra : convert_revision : 0183f579e14370c1c2aa1d0dd4c7e653370816ff --- templates/xf86-input-tek4957/build.diff | 11 +++++++++++ templates/xf86-input-tek4957/template | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 templates/xf86-input-tek4957/build.diff create mode 100644 templates/xf86-input-tek4957/template diff --git a/templates/xf86-input-tek4957/build.diff b/templates/xf86-input-tek4957/build.diff new file mode 100644 index 0000000000..01c2ea693a --- /dev/null +++ b/templates/xf86-input-tek4957/build.diff @@ -0,0 +1,11 @@ +--- src/xf86Tek4957.c.orig 2009-03-31 11:04:20.254001366 +0200 ++++ src/xf86Tek4957.c 2009-03-31 11:04:41.478199789 +0200 +@@ -446,7 +446,7 @@ TekProc(DeviceIntPtr pDev, int what) + return !Success; + } + +- if (InitValuatorClassDeviceStruct(pDev,2,xf86GetMotionEvents, ++ if (InitValuatorClassDeviceStruct(pDev,2, + local->history_size,Absolute)== FALSE) { + xf86Msg(X_ERROR,"Tek4957:Unable to allocate Valuator class device\n"); + return !Success; diff --git a/templates/xf86-input-tek4957/template b/templates/xf86-input-tek4957/template new file mode 100644 index 0000000000..71173036ff --- /dev/null +++ b/templates/xf86-input-tek4957/template @@ -0,0 +1,13 @@ +# Template build file for 'xf86-input-tek4957'. +pkgname=xf86-input-tek4957 +version=1.2.0 +distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Xorg tek4957 input driver" +maintainer="Juan RP " +checksum=b097a5b1acbd732d9ca5d28c13003a1f1c8a3465f4fa77c1578d36330f3358a2 +long_desc=" + This is the tek4957 input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server