[Frugalware-git] frugalware-current: xf86-input-evdev-2.7.0-2-i686

Michel Hermier hermier at frugalware.org
Sun Apr 15 10:43:06 CEST 2012


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

commit 3d9438f0d54b6180abbc8ae4dfaa65cd969c3c37
Author: Michel Hermier <hermier at frugalware.org>
Date:   Sun Apr 15 09:53:12 2012 +0200

xf86-input-evdev-2.7.0-2-i686

* Add patch for inverted horizontal wheel.

diff --git a/source/x11/xf86-input-evdev/99340147b9092a5aaec997eca407282a51e1f063.patch b/source/x11/xf86-input-evdev/99340147b9092a5aaec997eca407282a51e1f063.patch
new file mode 100644
index 0000000..93c54d3
--- /dev/null
+++ b/source/x11/xf86-input-evdev/99340147b9092a5aaec997eca407282a51e1f063.patch
@@ -0,0 +1,27 @@
+From 99340147b9092a5aaec997eca407282a51e1f063 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer at who-t.net>
+Date: Thu, 15 Mar 2012 05:46:32 +0000
+Subject: Fix inverted horizontal scroll (#46205)
+
+REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL.
+
+X.Org Bug 46205 <http://bugs.freedesktop.org/show_bug.cgi?id=46205>
+
+Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
+Reviewed-by: Chase Douglas <chase.douglas at canonical.com>
+---
+diff --git a/src/evdev.c b/src/evdev.c
+index d540b87..8cf630c 100644
+--- a/src/evdev.c
++++ b/src/evdev.c
+@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
+         else if (axis == REL_DIAL)
+             SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, SCROLL_FLAG_NONE);
+         else if (axis == REL_HWHEEL)
+-            SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, SCROLL_FLAG_NONE);
++            SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, SCROLL_FLAG_NONE);
+ #endif
+     }
+
+--
+cgit v0.9.0.2-2-gbebe
diff --git a/source/x11/xf86-input-evdev/FrugalBuild b/source/x11/xf86-input-evdev/FrugalBuild
index bad5300..0219db8 100644
--- a/source/x11/xf86-input-evdev/FrugalBuild
+++ b/source/x11/xf86-input-evdev/FrugalBuild
@@ -5,11 +5,14 @@ USE_DEVEL=${USE_DEVEL:-"n"}

pkgname=xf86-input-evdev
pkgver=2.7.0
-pkgrel=1
+pkgrel=2
Finclude xorg
archs=(${archs[@]} 'arm')
makedepends=('inputproto' 'randrproto' 'util-macros')
-sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa')
+source=("${source[@]}" \
+	'99340147b9092a5aaec997eca407282a51e1f063.patch')
+sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa' \
+	'e959e710d9a0c60a3af967148b9d5e014544993c')

if Fuse $USE_DEVEL; then
pkgver=$pkgver.gd9001a6


More information about the Frugalware-git mailing list