Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-input-evdev
Commits:
-
67681097
by Peter Hutterer at 2017-01-26T01:13:25Z
-
49219123
by Emil Velikov at 2017-01-26T01:13:25Z
-
8c1058f2
by Mihail Konev at 2017-01-26T04:00:21Z
-
192fdb06
by Andrey Zabolotnyi at 2018-01-16T06:30:59Z
-
ab1d9adf
by Christian Gmeiner at 2018-01-30T03:37:57Z
-
456f23cb
by Peter Hutterer at 2018-05-29T00:00:05Z
-
2fb95783
by Andrey Zabolotnyi at 2018-05-29T00:00:26Z
-
67a97afb
by Peter Hutterer at 2018-05-29T00:05:22Z
-
a7e13d29
by Timo Aaltonen at 2018-08-23T13:36:31Z
-
87d9bb18
by Timo Aaltonen at 2018-08-23T13:37:08Z
-
a7701e44
by Timo Aaltonen at 2018-08-23T13:38:08Z
-
ad100531
by Timo Aaltonen at 2018-08-23T13:41:31Z
-
c1fa20d3
by Timo Aaltonen at 2018-08-23T13:42:17Z
-
13242b98
by Timo Aaltonen at 2018-08-23T14:16:49Z
7 changed files:
Changes:
1 | 1 |
#! /bin/sh
|
2 | 2 |
|
3 |
-srcdir=`dirname $0`
|
|
3 |
+srcdir=`dirname "$0"`
|
|
4 | 4 |
test -z "$srcdir" && srcdir=.
|
5 | 5 |
|
6 | 6 |
ORIGDIR=`pwd`
|
7 |
-cd $srcdir
|
|
7 |
+cd "$srcdir"
|
|
8 | 8 |
|
9 | 9 |
autoreconf -v --install || exit 1
|
10 |
-cd $ORIGDIR || exit $?
|
|
10 |
+cd "$ORIGDIR" || exit $?
|
|
11 |
+ |
|
12 |
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
|
|
13 |
+ git config --local format.subjectPrefix "PATCH xf86-input-evdev"
|
|
11 | 14 |
|
12 | 15 |
if test -z "$NOCONFIGURE"; then
|
13 |
- $srcdir/configure "$@"
|
|
16 |
+ exec "$srcdir"/configure "$@"
|
|
14 | 17 |
fi
|
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 |
# Initialize Autoconf
|
24 | 24 |
AC_PREREQ([2.60])
|
25 | 25 |
AC_INIT([xf86-input-evdev],
|
26 |
- [2.10.5],
|
|
26 |
+ [2.10.6],
|
|
27 | 27 |
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
28 | 28 |
[xf86-input-evdev])
|
29 | 29 |
AC_CONFIG_SRCDIR([Makefile.am])
|
1 |
+xserver-xorg-input-evdev (1:2.10.6-1) unstable; urgency=medium
|
|
2 |
+ |
|
3 |
+ * New upstream release.
|
|
4 |
+ * control: Update vcs urls.
|
|
5 |
+ * Bump debhelper to 10.
|
|
6 |
+ * control: Bump policy to 4.2.0, no changes.
|
|
7 |
+ |
|
8 |
+ -- Timo Aaltonen <tjaalton@debian.org> Thu, 23 Aug 2018 16:45:13 +0300
|
|
9 |
+ |
|
1 | 10 |
xserver-xorg-input-evdev (1:2.10.5-1) unstable; urgency=medium
|
2 | 11 |
|
3 | 12 |
* Team upload.
|
1 |
-9
|
|
1 |
+10
|
... | ... | @@ -3,8 +3,7 @@ Section: x11 |
3 | 3 |
Priority: optional
|
4 | 4 |
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
|
5 | 5 |
Build-Depends:
|
6 |
- debhelper (>= 9),
|
|
7 |
- dh-autoreconf,
|
|
6 |
+ debhelper (>= 10),
|
|
8 | 7 |
pkg-config,
|
9 | 8 |
quilt,
|
10 | 9 |
xserver-xorg-dev (>= 2:1.15.99),
|
... | ... | @@ -17,10 +16,10 @@ Build-Depends: |
17 | 16 |
libudev-dev,
|
18 | 17 |
libmtdev-dev,
|
19 | 18 |
libevdev-dev (>= 1.2.2+dfsg-1~),
|
20 |
-Standards-Version: 3.9.8
|
|
19 |
+Standards-Version: 4.2.0
|
|
21 | 20 |
Homepage: https://www.x.org
|
22 |
-Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev.git
|
|
23 |
-Vcs-Browser: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev.git
|
|
21 |
+Vcs-Git: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-evdev.git
|
|
22 |
+Vcs-Browser: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-evdev
|
|
24 | 23 |
|
25 | 24 |
Package: xserver-xorg-input-evdev
|
26 | 25 |
Architecture: linux-any
|
1 | 1 |
#!/usr/bin/make -f
|
2 | 2 |
|
3 | 3 |
override_dh_auto_configure:
|
4 |
- dh_auto_configure -- --disable-silent-rules \
|
|
4 |
+ dh_auto_configure -- \
|
|
5 | 5 |
--libdir=\$${exec_prefix}/lib
|
6 | 6 |
|
7 | 7 |
# Install in debian/tmp to retain control through dh_install:
|
... | ... | @@ -18,7 +18,7 @@ override_dh_shlibdeps: |
18 | 18 |
dh_shlibdeps -- --warnings=6
|
19 | 19 |
|
20 | 20 |
%:
|
21 |
- dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
|
|
21 |
+ dh $@ --with quilt,xsf --builddirectory=build/
|
|
22 | 22 |
|
23 | 23 |
# Debug package:
|
24 | 24 |
override_dh_strip:
|
... | ... | @@ -551,6 +551,16 @@ EvdevProcessProximityState(InputInfoPtr pInfo) |
551 | 551 |
}
|
552 | 552 |
}
|
553 | 553 |
|
554 |
+ /* Wacom's last frame resets all values to 0, including x/y.
|
|
555 |
+ Skip over this. */
|
|
556 |
+ if (prox_state == 0) {
|
|
557 |
+ int v;
|
|
558 |
+ if (valuator_mask_fetch(pEvdev->abs_vals, 0, &v) && v == 0)
|
|
559 |
+ valuator_mask_unset(pEvdev->abs_vals, 0);
|
|
560 |
+ if (valuator_mask_fetch(pEvdev->abs_vals, 1, &v) && v == 0)
|
|
561 |
+ valuator_mask_unset(pEvdev->abs_vals, 1);
|
|
562 |
+ }
|
|
563 |
+ |
|
554 | 564 |
if ((prox_state && !pEvdev->in_proximity) ||
|
555 | 565 |
(!prox_state && pEvdev->in_proximity))
|
556 | 566 |
{
|
... | ... | @@ -905,7 +915,7 @@ EvdevPostProximityEvents(InputInfoPtr pInfo, int which) |
905 | 915 |
break;
|
906 | 916 |
case EV_QUEUE_PROXIMITY:
|
907 | 917 |
if (pEvdev->queue[i].val == which)
|
908 |
- xf86PostProximityEvent(pInfo->dev, which, 0, 0);
|
|
918 |
+ xf86PostProximityEventM(pInfo->dev, which, pEvdev->old_vals);
|
|
909 | 919 |
break;
|
910 | 920 |
}
|
911 | 921 |
}
|
... | ... | @@ -2353,8 +2363,10 @@ EvdevProbe(InputInfoPtr pInfo) |
2353 | 2363 |
pInfo->type_name = XI_TOUCHSCREEN;
|
2354 | 2364 |
} else {
|
2355 | 2365 |
if (!libevdev_has_event_code(pEvdev->dev, EV_REL, REL_X) ||
|
2356 |
- !libevdev_has_event_code(pEvdev->dev, EV_REL, REL_Y))
|
|
2366 |
+ !libevdev_has_event_code(pEvdev->dev, EV_REL, REL_Y)) {
|
|
2367 |
+ pEvdev->flags |= EVDEV_RELATIVE_EVENTS;
|
|
2357 | 2368 |
EvdevForceXY(pInfo, Relative);
|
2369 |
+ }
|
|
2358 | 2370 |
xf86IDrvMsg(pInfo, X_INFO, "Configuring as mouse\n");
|
2359 | 2371 |
pInfo->type_name = XI_MOUSE;
|
2360 | 2372 |
}
|
... | ... | @@ -2485,7 +2497,7 @@ EvdevOpenDevice(InputInfoPtr pInfo) |
2485 | 2497 |
}
|
2486 | 2498 |
|
2487 | 2499 |
if (pInfo->fd < 0) {
|
2488 |
- xf86IDrvMsg(pInfo, X_ERROR, "Unable to open evdev device \"%s\".\n", device);
|
|
2500 |
+ xf86IDrvMsg(pInfo, X_ERROR, "Unable to open evdev device \"%s\" (%s).\n", device, strerror(errno));
|
|
2489 | 2501 |
return BadValue;
|
2490 | 2502 |
}
|
2491 | 2503 |
|