From 12157f54585642ad3544bcc759b98ef503e31466 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 31 Mar 2009 10:20:48 +0200 Subject: [PATCH] Added xf86-input-magellan-1.2.0 template. --HG-- extra : convert_revision : 6045d25be352c376b3eed8c772054b2ef7270602 --- templates/xf86-input-magellan/build.diff | 11 +++++++++++ templates/xf86-input-magellan/template | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 templates/xf86-input-magellan/build.diff create mode 100644 templates/xf86-input-magellan/template diff --git a/templates/xf86-input-magellan/build.diff b/templates/xf86-input-magellan/build.diff new file mode 100644 index 00000000000..012fcf38e14 --- /dev/null +++ b/templates/xf86-input-magellan/build.diff @@ -0,0 +1,11 @@ +--- src/magellan.c.orig 2009-03-31 10:19:38.660028123 +0200 ++++ src/magellan.c 2009-03-31 10:19:58.179207305 +0200 +@@ -364,7 +364,7 @@ DeviceInit (DeviceIntPtr dev) + return !Success; + } + +- if (InitValuatorClassDeviceStruct (dev, 6, xf86GetMotionEvents, ++ if (InitValuatorClassDeviceStruct (dev, 6, + pInfo->history_size, Absolute) == FALSE) + { + ErrorF ("Unable to allocate MAGELLAN ValuatorClassDeviceStruct\n"); diff --git a/templates/xf86-input-magellan/template b/templates/xf86-input-magellan/template new file mode 100644 index 00000000000..21a07f7c2bb --- /dev/null +++ b/templates/xf86-input-magellan/template @@ -0,0 +1,13 @@ +# Template build file for 'xf86-input-magellan'. +pkgname=xf86-input-magellan +version=1.2.0 +distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Xorg magellan input driver" +maintainer="Juan RP " +checksum=c5285147a4df0b5b0fd5dcb7c0e5953bc982d3d6f2a2ed2e7767ead909a510e4 +long_desc=" + This is the magellan input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server