[arch-commits] Commit in xf86-input-evdev/repos (6 files)
Jan de Groot
jgc at archlinux.org
Fri Jan 8 12:54:13 UTC 2016
Date: Friday, January 8, 2016 @ 13:54:13
Author: jgc
Revision: 257632
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
xf86-input-evdev/repos/extra-i686/PKGBUILD
(from rev 257631, xf86-input-evdev/trunk/PKGBUILD)
xf86-input-evdev/repos/extra-x86_64/PKGBUILD
(from rev 257631, xf86-input-evdev/trunk/PKGBUILD)
Deleted:
xf86-input-evdev/repos/extra-i686/Logitech_G600.diff
xf86-input-evdev/repos/extra-i686/PKGBUILD
xf86-input-evdev/repos/extra-x86_64/Logitech_G600.diff
xf86-input-evdev/repos/extra-x86_64/PKGBUILD
---------------------------------+
/PKGBUILD | 76 ++++++++++++++++++++++++++++++++++++++
extra-i686/Logitech_G600.diff | 52 --------------------------
extra-i686/PKGBUILD | 42 ---------------------
extra-x86_64/Logitech_G600.diff | 52 --------------------------
extra-x86_64/PKGBUILD | 42 ---------------------
5 files changed, 76 insertions(+), 188 deletions(-)
Deleted: extra-i686/Logitech_G600.diff
===================================================================
--- extra-i686/Logitech_G600.diff 2016-01-08 12:54:05 UTC (rev 257631)
+++ extra-i686/Logitech_G600.diff 2016-01-08 12:54:13 UTC (rev 257632)
@@ -1,52 +0,0 @@
-From d7e61a7074b802b49f57549530b289bbaa0a4855 Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer at who-t.net>
-Date: Tue, 10 Nov 2015 14:35:51 +1000
-Subject: Only map x and y to axes 0 and 1
-
-The Logitech G600 has one device with all axes north of ABS_MISC. The current
-code assigns ABS_MISC as first axis to map to axis 0, i.e. x. On button press,
-one node sends the BTN_LEFT but the other node sends an ABS_MISC with a 1 0
-value. ABS_MISC is mapped to axis 0, this moves the pointer to (0, y) on
-every button click.
-
-Avoid this by simply mapping any axis other than x/y to at least axis 3, and
-make sure we only override the MT 0/1 axes when we actually have MT axes.
-
-https://bugs.freedesktop.org/show_bug.cgi?id=92856
-
-Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
-Reviewed-by: Keith Packard <keithp at keithp.com>
-
-diff --git a/src/evdev.c b/src/evdev.c
-index 17d9d61..3176660 100644
---- a/src/evdev.c
-+++ b/src/evdev.c
-@@ -1377,7 +1377,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int num_scroll_axes)
- }
- atoms = malloc((pEvdev->num_vals + num_mt_axes) * sizeof(Atom));
-
-- i = 0;
-+ i = 2;
- for (axis = ABS_X; i < MAX_VALUATORS && axis <= ABS_MAX; axis++) {
- int j;
- pEvdev->abs_axis_map[axis] = -1;
-@@ -1385,9 +1385,14 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int num_scroll_axes)
- is_blacklisted_axis(axis))
- continue;
-
-- mapping = i;
-+ if (axis == ABS_X)
-+ mapping = 0;
-+ else if (axis == ABS_Y)
-+ mapping = 1;
-+ else
-+ mapping = i;
-
-- for (j = 0; j < ArrayLength(mt_axis_mappings); j++)
-+ for (j = 0; !pEvdev->fake_mt && j < ArrayLength(mt_axis_mappings); j++)
- {
- if (mt_axis_mappings[j].code == axis)
- mt_axis_mappings[j].mapping = mapping;
---
-cgit v0.10.2
-
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2016-01-08 12:54:05 UTC (rev 257631)
+++ extra-i686/PKGBUILD 2016-01-08 12:54:13 UTC (rev 257632)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Alexander Baldeck <Alexander at archlinux.org
-
-pkgname=xf86-input-evdev
-pkgver=2.10.0
-pkgrel=3
-pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc' 'systemd' 'mtdev' 'libevdev')
-makedepends=('xorg-server-devel' 'resourceproto' 'scrnsaverproto')
-provides=('xf86-input-driver')
-conflicts=('xorg-server<1.18.0' 'X-ABI-XINPUT_VERSION<22' 'X-ABI-XINPUT_VERSION>=23')
-options=('!makeflags')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
- Logitech_G600.diff)
-sha256sums=('d097298eb07b7a9edf4493b5c3c058041458ca52c8c62dbd4f40b84c5086d117'
- 'SKIP'
- '9d8aef7fde6e24a02f6344011c672b6a7fec8604012aea81ac00ba9c25166c41')
-validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # FS#46994 - https://bugs.freedesktop.org/show_bug.cgi?id=92856
- patch -Np1 -i ${srcdir}/Logitech_G600.diff
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${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 257631, xf86-input-evdev/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-01-08 12:54:13 UTC (rev 257632)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <Alexander at archlinux.org
+
+pkgname=xf86-input-evdev
+pkgver=2.10.1
+pkgrel=3
+pkgdesc="X.org evdev input driver"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc' 'systemd' 'mtdev' 'libevdev')
+makedepends=('xorg-server-devel' 'resourceproto' 'scrnsaverproto')
+provides=('xf86-input-driver')
+conflicts=('xorg-server<1.18.0' 'X-ABI-XINPUT_VERSION<22' 'X-ABI-XINPUT_VERSION>=23')
+options=('!makeflags')
+groups=('xorg-drivers' 'xorg')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha256sums=('af9c2b47f5b272ae56b45da6bd84610fc9a3d80a4b32c8215842a39d862de017'
+ 'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Deleted: extra-x86_64/Logitech_G600.diff
===================================================================
--- extra-x86_64/Logitech_G600.diff 2016-01-08 12:54:05 UTC (rev 257631)
+++ extra-x86_64/Logitech_G600.diff 2016-01-08 12:54:13 UTC (rev 257632)
@@ -1,52 +0,0 @@
-From d7e61a7074b802b49f57549530b289bbaa0a4855 Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer at who-t.net>
-Date: Tue, 10 Nov 2015 14:35:51 +1000
-Subject: Only map x and y to axes 0 and 1
-
-The Logitech G600 has one device with all axes north of ABS_MISC. The current
-code assigns ABS_MISC as first axis to map to axis 0, i.e. x. On button press,
-one node sends the BTN_LEFT but the other node sends an ABS_MISC with a 1 0
-value. ABS_MISC is mapped to axis 0, this moves the pointer to (0, y) on
-every button click.
-
-Avoid this by simply mapping any axis other than x/y to at least axis 3, and
-make sure we only override the MT 0/1 axes when we actually have MT axes.
-
-https://bugs.freedesktop.org/show_bug.cgi?id=92856
-
-Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
-Reviewed-by: Keith Packard <keithp at keithp.com>
-
-diff --git a/src/evdev.c b/src/evdev.c
-index 17d9d61..3176660 100644
---- a/src/evdev.c
-+++ b/src/evdev.c
-@@ -1377,7 +1377,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int num_scroll_axes)
- }
- atoms = malloc((pEvdev->num_vals + num_mt_axes) * sizeof(Atom));
-
-- i = 0;
-+ i = 2;
- for (axis = ABS_X; i < MAX_VALUATORS && axis <= ABS_MAX; axis++) {
- int j;
- pEvdev->abs_axis_map[axis] = -1;
-@@ -1385,9 +1385,14 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int num_scroll_axes)
- is_blacklisted_axis(axis))
- continue;
-
-- mapping = i;
-+ if (axis == ABS_X)
-+ mapping = 0;
-+ else if (axis == ABS_Y)
-+ mapping = 1;
-+ else
-+ mapping = i;
-
-- for (j = 0; j < ArrayLength(mt_axis_mappings); j++)
-+ for (j = 0; !pEvdev->fake_mt && j < ArrayLength(mt_axis_mappings); j++)
- {
- if (mt_axis_mappings[j].code == axis)
- mt_axis_mappings[j].mapping = mapping;
---
-cgit v0.10.2
-
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2016-01-08 12:54:05 UTC (rev 257631)
+++ extra-x86_64/PKGBUILD 2016-01-08 12:54:13 UTC (rev 257632)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Alexander Baldeck <Alexander at archlinux.org
-
-pkgname=xf86-input-evdev
-pkgver=2.10.0
-pkgrel=3
-pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=('glibc' 'systemd' 'mtdev' 'libevdev')
-makedepends=('xorg-server-devel' 'resourceproto' 'scrnsaverproto')
-provides=('xf86-input-driver')
-conflicts=('xorg-server<1.18.0' 'X-ABI-XINPUT_VERSION<22' 'X-ABI-XINPUT_VERSION>=23')
-options=('!makeflags')
-groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
- Logitech_G600.diff)
-sha256sums=('d097298eb07b7a9edf4493b5c3c058041458ca52c8c62dbd4f40b84c5086d117'
- 'SKIP'
- '9d8aef7fde6e24a02f6344011c672b6a7fec8604012aea81ac00ba9c25166c41')
-validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # FS#46994 - https://bugs.freedesktop.org/show_bug.cgi?id=92856
- patch -Np1 -i ${srcdir}/Logitech_G600.diff
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${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 257631, xf86-input-evdev/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-01-08 12:54:13 UTC (rev 257632)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <Alexander at archlinux.org
+
+pkgname=xf86-input-evdev
+pkgver=2.10.1
+pkgrel=3
+pkgdesc="X.org evdev input driver"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc' 'systemd' 'mtdev' 'libevdev')
+makedepends=('xorg-server-devel' 'resourceproto' 'scrnsaverproto')
+provides=('xf86-input-driver')
+conflicts=('xorg-server<1.18.0' 'X-ABI-XINPUT_VERSION<22' 'X-ABI-XINPUT_VERSION>=23')
+options=('!makeflags')
+groups=('xorg-drivers' 'xorg')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha256sums=('af9c2b47f5b272ae56b45da6bd84610fc9a3d80a4b32c8215842a39d862de017'
+ 'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${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