Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f88d5545f39354274b1a918616db1a53ff0e3f10

commit f88d5545f39354274b1a918616db1a53ff0e3f10
Author: James Buren <[EMAIL PROTECTED]>
Date:   Sun Jun 8 05:14:26 2008 -0500

xf86-input-evtouch-0.8.7-1-i686
* new package, no build for now

diff --git a/source/x11-extra/xf86-input-evtouch/FrugalBuild 
b/source/x11-extra/xf86-input-evtouch/FrugalBuild
new file mode 100644
index 0000000..42d7f9a
--- /dev/null
+++ b/source/x11-extra/xf86-input-evtouch/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0.06 SBU
+# Maintainer: James Buren <[EMAIL PROTECTED]>
+
+pkgname=xf86-input-evtouch
+pkgver=0.8.7
+pkgrel=1
+pkgdesc="XOrg input driver for touchscreens"
+url="http://www.conan.de/touchscreen/evtouch.html";
+depends=('glibc')
+makedepends=('xorg-server' 'randrproto')
+groups=('x11-extra')
+archs=('i686' 'x86_64')
+# leave no build until this can be properly reviewed
+options=('nobuild')
+up2date="Flasttar $url"
+source=(http://www.conan.de/touchscreen/$pkgname-$pkgver.tar.bz2 \
+       # borrowed from debian
+       $pkgname-$pkgver-xorg-1.4.patch)
+sha1sums=('d8180ea721f00d833756d894075f84920d1082ac' \
+          '4002abb765a77451035a25e45e479b623960fba7')
+
+build()
+{
+       # correct path of data file for ev_calibrate
+       Fsed 'CURSORDIRECTORY"/empty_cursor.xbm"' 
'CURSORDIRECTORY"/usr/share/'$pkgname'/empty_cursor.xbm"' ev_calibrate.c
+       # convert font to one that is universal to most xorg installs
+       Fsed 'helvetica' 'fixed' ev_calibrate.c
+       Fbuild --enable-evcalibrate --enable-udevinstall
+       Fln /usr/lib/$pkgname/calibrate.sh /usr/sbin/calibrate.sh
+       Fln /usr/lib/$pkgname/ev_calibrate /usr/sbin/ev_calibrate
+}
+
+# optimization OK
diff --git 
a/source/x11-extra/xf86-input-evtouch/xf86-input-evtouch-0.8.7-xorg-1.4.patch 
b/source/x11-extra/xf86-input-evtouch/xf86-input-evtouch-0.8.7-xorg-1.4.patch
new file mode 100644
index 0000000..3a60d4f
--- /dev/null
+++ 
b/source/x11-extra/xf86-input-evtouch/xf86-input-evtouch-0.8.7-xorg-1.4.patch
@@ -0,0 +1,22 @@
+Index: xserver-xorg-input-evtouch/evtouch.c
+===================================================================
+--- xserver-xorg-input-evtouch.orig/evtouch.c  2007-09-17 17:20:21.736761738 
+0900
++++ xserver-xorg-input-evtouch/evtouch.c       2007-09-17 17:31:22.274403633 
+0900
+@@ -492,9 +492,6 @@ DeviceOn (DeviceIntPtr dev)
+
+         priv->buffer = XisbNew(local->fd, 64);
+
+-        DBG (9, XisbTrace (priv->buffer, 1));
+-
+-
+         if (!priv->buffer)
+         {
+                 xf86CloseSerial(local->fd);
+@@ -1207,7 +1204,6 @@ EVTouchPreInit(InputDriverPtr drv, IDevP
+                     priv->diff[i][0], priv->diff[i][1]);
+         }
+
+-        xf86AlwaysCore(local, TRUE);
+         priv->touch_flags = 0;
+
+         local->history_size = xf86SetIntOption( local->options, 
"HistorySize", 0 );
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to