[arch-commits] Commit in xf86-input-evdev/repos (6 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Mar 18 08:50:36 UTC 2012


    Date: Sunday, March 18, 2012 @ 04:50:36
  Author: andyrtr
Revision: 153700

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  xf86-input-evdev/repos/extra-i686/Fix_inverted_horizontal_scroll.diff
    (from rev 153699, xf86-input-evdev/trunk/Fix_inverted_horizontal_scroll.diff)
  xf86-input-evdev/repos/extra-i686/PKGBUILD
    (from rev 153699, xf86-input-evdev/trunk/PKGBUILD)
  xf86-input-evdev/repos/extra-x86_64/Fix_inverted_horizontal_scroll.diff
    (from rev 153699, xf86-input-evdev/trunk/Fix_inverted_horizontal_scroll.diff)
  xf86-input-evdev/repos/extra-x86_64/PKGBUILD
    (from rev 153699, xf86-input-evdev/trunk/PKGBUILD)
Deleted:
  xf86-input-evdev/repos/extra-i686/PKGBUILD
  xf86-input-evdev/repos/extra-x86_64/PKGBUILD

--------------------------------------------------+
 extra-i686/Fix_inverted_horizontal_scroll.diff   |   27 ++++++++
 extra-i686/PKGBUILD                              |   65 ++++++++++-----------
 extra-x86_64/Fix_inverted_horizontal_scroll.diff |   27 ++++++++
 extra-x86_64/PKGBUILD                            |   65 ++++++++++-----------
 4 files changed, 122 insertions(+), 62 deletions(-)

Copied: xf86-input-evdev/repos/extra-i686/Fix_inverted_horizontal_scroll.diff (from rev 153699, xf86-input-evdev/trunk/Fix_inverted_horizontal_scroll.diff)
===================================================================
--- extra-i686/Fix_inverted_horizontal_scroll.diff	                        (rev 0)
+++ extra-i686/Fix_inverted_horizontal_scroll.diff	2012-03-18 08:50:36 UTC (rev 153700)
@@ -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

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-18 08:50:00 UTC (rev 153699)
+++ extra-i686/PKGBUILD	2012-03-18 08:50:36 UTC (rev 153700)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Alexander Baldeck <Alexander at archlinux.org
-
-pkgname=xf86-input-evdev
-pkgver=2.7.0
-pkgrel=1
-pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel>=1.11.99.902')
-conflicts=('xorg-server<1.11.99.902')
-options=('!libtool' '!makeflags')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: xf86-input-evdev/repos/extra-i686/PKGBUILD (from rev 153699, xf86-input-evdev/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-03-18 08:50:36 UTC (rev 153700)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <Alexander at archlinux.org
+
+pkgname=xf86-input-evdev
+pkgver=2.7.0
+pkgrel=2
+pkgdesc="X.org evdev input driver"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel>=1.11.99.902')
+conflicts=('xorg-server<1.11.99.902')
+options=('!libtool' '!makeflags')
+groups=('xorg-drivers' 'xorg')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+        Fix_inverted_horizontal_scroll.diff)
+sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa'
+          'e959e710d9a0c60a3af967148b9d5e014544993c')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ${srcdir}/Fix_inverted_horizontal_scroll.diff
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Copied: xf86-input-evdev/repos/extra-x86_64/Fix_inverted_horizontal_scroll.diff (from rev 153699, xf86-input-evdev/trunk/Fix_inverted_horizontal_scroll.diff)
===================================================================
--- extra-x86_64/Fix_inverted_horizontal_scroll.diff	                        (rev 0)
+++ extra-x86_64/Fix_inverted_horizontal_scroll.diff	2012-03-18 08:50:36 UTC (rev 153700)
@@ -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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-18 08:50:00 UTC (rev 153699)
+++ extra-x86_64/PKGBUILD	2012-03-18 08:50:36 UTC (rev 153700)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Alexander Baldeck <Alexander at archlinux.org
-
-pkgname=xf86-input-evdev
-pkgver=2.7.0
-pkgrel=1
-pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel>=1.11.99.902')
-conflicts=('xorg-server<1.11.99.902')
-options=('!libtool' '!makeflags')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: xf86-input-evdev/repos/extra-x86_64/PKGBUILD (from rev 153699, xf86-input-evdev/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-03-18 08:50:36 UTC (rev 153700)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <Alexander at archlinux.org
+
+pkgname=xf86-input-evdev
+pkgver=2.7.0
+pkgrel=2
+pkgdesc="X.org evdev input driver"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel>=1.11.99.902')
+conflicts=('xorg-server<1.11.99.902')
+options=('!libtool' '!makeflags')
+groups=('xorg-drivers' 'xorg')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+        Fix_inverted_horizontal_scroll.diff)
+sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa'
+          'e959e710d9a0c60a3af967148b9d5e014544993c')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ${srcdir}/Fix_inverted_horizontal_scroll.diff
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}




More information about the arch-commits mailing list