Bug#839239: xserver-xorg-core: slight tearing with Intel modesetting driver

2016-09-30 Thread Ayke van Laethem
Package: xserver-xorg-core
Version: 2:1.18.4-1
Severity: normal

Dear Maintainer,

After upgrading to the new Intel modesetting driver [1] slight tearing appears
in both Firefox (from Debian) and Google Chrome when scrolling fast. It's
visible in a diagonal line from the top left of the screen. It goes in the
direction of the bottom right, but doesn't reach it. Just the top left are
affected. It's hardly visible, and even harder in Firefox, so it's not a big
issue to me. But it can be distracting sometimes. This is a regression, so I'm
reporting it.

Note: this change is still an improvement for me as it fixes some redraw issues
I found in the old driver.

 [1] https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-
now-defaults-to-modesetting-driver-on-x/



-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Nov 12  2015 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Jul 20 05:00 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U 
Integrated Graphics [8086:1616] (rev 09)

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 4
-rw-r--r-- 1 root root 265 Jan  3  2016 input.conf

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.7.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.4.1 
20160904 (Debian 5.4.1-2) ) #1 SMP Debian 4.7.5-1 (2016-09-26)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 31199 Sep 30 16:36 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[  4747.088] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  4747.088] X Protocol Version 11, Revision 0
[  4747.088] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  4747.088] Current Operating System: Linux ayke-laptop-l450 4.7.0-1-amd64 #1 
SMP Debian 4.7.5-1 (2016-09-26) x86_64
[  4747.088] Kernel command line: BOOT_IMAGE=/system/boot/vmlinuz-4.7.0-1-amd64 
root=UUID=5ff607da-2fa3-4e8a-a9e6-03d5e9049688 ro rootflags=subvol=system quiet
[  4747.088] Build Date: 20 July 2016  05:14:41AM
[  4747.088] xorg-server 2:1.18.4-1 (http://www.debian.org/support) 
[  4747.088] Current version of pixman: 0.33.6
[  4747.088]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  4747.088] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4747.088] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 30 16:36:50 
2016
[  4747.088] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  4747.088] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4747.089] (==) No Layout section.  Using the first Screen section.
[  4747.089] (==) No screen section available. Using defaults.
[  4747.089] (**) |-->Screen "Default Screen Section" (0)
[  4747.089] (**) |   |-->Monitor ""
[  4747.089] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  4747.089] (==) Automatically adding devices
[  4747.089] (==) Automatically enabling devices
[  4747.089] (==) Automatically adding GPU devices
[  4747.089] (==) Max clients allowed: 256, resource mask: 0x1f
[  4747.089] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4747.089]Entry deleted from font path.
[  4747.089] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4747.089]Entry deleted from font path.
[  4747.089] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4747.089]Entry deleted from font path.
[  4747.089] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  4747.089]Entry deleted from font path.
[  4747.089] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4747.089]Entry deleted from font path.
[  4747.089] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4747.089]Entry deleted from font path.
[  4747.089] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[  4747.089] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4747.089] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  4747.089] (II) Loader magic: 0x55adea1e6dc0
[  4747.089] (II) Module ABI versions:
[  4747.089]X.Org ANSI C Emulation: 0.4
[  4747.089]X.Org Video Driver: 20.0
[  4747.089]X.Org XInput driver : 22.1
[  4747.089]X.Org Server Extension : 9.0
[  4747.090] (++) using VT number 7

[  4747.090] (II) 

Bug#839232: GM45: Flickering after unlock (with ext. monitor) and sometimes drops sessions after unlock

2016-09-30 Thread Nathaniel Roach
Package: xserver-xorg-video-intel
Version: 2:2.99.917+git20160706-1
Severity: important

Dear Maintainer,

Bug was previously filed as #821871, got merged into #819083, the fix in 083 
did not fix this issue.

I *also* have #819116.

When using lightdm, when I unlock the session, if I have an external monitor 
attached the screen goes all flickery, most often the lower ~50% just turns 
into a flickery glitchy mess. This does not happen when I unlock without being 
docked (no external monitor).

Additionally, about 20% of the time, lightdm will create a new session when 
unlocking, regardless of an external monitor, thus meaning I lose all of my 
work. 

The glitching is fixed by switching to TTY1 and back. If a new session is 
created, it means that I need to switch to TTY8 instead of 7, weirdly enough 
though.

All of these issues (inlduing #819116) started after an upgrade to this package 
a few months ago.

-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series 
Chipset Integrated Graphics Controller [8086:2a42] (rev 07)

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 12
-rw-r--r-- 1 root root 113 Apr 29 15:39 10-intel.conf
-rw-r--r-- 1 root root 467 Aug 19  2015 20-thinkpad.conf
-rw-r--r-- 1 root root  68 Nov 10  2015 30-hp16500fonts.conf

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.7.5-nr44-normandy-r1474771902+ (root@normandy) (gcc version 
6.1.1 20160802 (Debian 6.1.1-11) ) #1 SMP Sun Sep 25 11:10:02 AWST 2016

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 18876 Sep 16  2015 /var/log/Xorg.5.log
-rw-r--r-- 1 root root 11177 Sep 16  2015 /var/log/Xorg.4.log
-rw-r--r-- 1 root root 19716 Mar 24  2016 /var/log/Xorg.3.log
-rw-r--r-- 1 root root 18241 Sep 14 14:27 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 18582 Sep 30 20:28 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 23777 Sep 30 20:29 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[20.064] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[20.064] X Protocol Version 11, Revision 0
[20.064] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[20.064] Current Operating System: Linux normandy 
4.7.5-nr44-normandy-r1474771902+ #1 SMP Sun Sep 25 11:10:02 AWST 2016 x86_64
[20.064] Kernel command line: 
BOOT_IMAGE=/vmlinuz-4.7.5-nr44-normandy-r1474771902+ 
root=UUID=7e542288-02c3-4c78-a50d-6c33dcd0945b ro quiet
[20.064] Build Date: 20 July 2016  05:14:41AM
[20.064] xorg-server 2:1.18.4-1 (http://www.debian.org/support) 
[20.064] Current version of pixman: 0.33.6
[20.064]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[20.064] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[20.064] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 30 16:53:28 
2016
[20.069] (==) Using config directory: "/etc/X11/xorg.conf.d"
[20.069] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[20.075] (==) No Layout section.  Using the first Screen section.
[20.075] (==) No screen section available. Using defaults.
[20.075] (**) |-->Screen "Default Screen Section" (0)
[20.075] (**) |   |-->Monitor ""
[20.076] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[20.076] (**) |   |-->Device "Intel Graphics"
[20.076] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[20.076] (==) Automatically adding devices
[20.076] (==) Automatically enabling devices
[20.076] (==) Automatically adding GPU devices
[20.076] (==) Max clients allowed: 256, resource mask: 0x1f
[20.084] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[20.084]Entry deleted from font path.
[20.097] (**) FontPath set to:
/usr/share/fonts/hp16500b,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[20.097] (==) ModulePath set to "/usr/lib/xorg/modules"
[20.097] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[20.098] (I

libinput: Changes to 'ubuntu'

2016-09-30 Thread Timo Aaltonen
 README.txt  |   17 
 configure.ac|4 -
 debian/changelog|   12 +++
 doc/faqs.dox|   48 
 doc/libinput.doxygen.in |1 
 src/evdev-mt-touchpad-edge-scroll.c |3 
 src/evdev-mt-touchpad.c |   34 -
 src/evdev-mt-touchpad.h |1 
 src/evdev-tablet.c  |   25 --
 src/evdev.c |   20 +
 src/evdev.h |2 
 test/Makefile.am|3 
 test/litest-device-wacom-hid4800-pen.c  |  119 
 test/litest.c   |8 ++
 test/litest.h   |4 +
 test/tablet.c   |   88 +++
 test/touchpad-tap.c |   12 +--
 test/touchpad.c |   59 +++
 test/trackpoint.c   |   98 ++
 udev/80-libinput-device-groups.rules.in |1 
 udev/90-libinput-model-quirks.hwdb  |   12 +++
 21 files changed, 551 insertions(+), 20 deletions(-)

New commits:
commit eb7aaa4a21d3b56eb1e326df989ac798e0d9e024
Author: Timo Aaltonen 
Date:   Fri Sep 30 15:26:16 2016 +0300

upload to yak

diff --git a/debian/changelog b/debian/changelog
index 6e18943..8c937a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libinput (1.4.3-0ubuntu1) yakkety; urgency=medium
+
+  * New upstream bugfix release.
+
+ -- Timo Aaltonen   Wed, 28 Sep 2016 15:44:08 +0300
+
 libinput (1.4.1-1) unstable; urgency=medium
 
   * New upstream release

commit 8f525f358342af43bfaf654cdc9af10c2dc88495
Author: Peter Hutterer 
Date:   Thu Sep 22 18:04:23 2016 +1000

configure.ac: libinput 1.4.3

Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index 844c4e2..71fe6e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.64])
 
 m4_define([libinput_major_version], [1])
 m4_define([libinput_minor_version], [4])
-m4_define([libinput_micro_version], [2])
+m4_define([libinput_micro_version], [3])
 m4_define([libinput_version],
   
[libinput_major_version.libinput_minor_version.libinput_micro_version])
 
@@ -35,7 +35,7 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
 # b) If interfaces have been changed or added, but binary compatibility has
 #been preserved, change to C+1:0:A+1
 # c) If the interface is the same as the previous version, change to C:R+1:A
-LIBINPUT_LT_VERSION=19:3:9
+LIBINPUT_LT_VERSION=19:4:9
 AC_SUBST(LIBINPUT_LT_VERSION)
 
 AM_SILENT_RULES([yes])

commit b8f05776e9cb33056e0d88fe21fe1fbe5f9989e5
Author: Peter Hutterer 
Date:   Wed Sep 7 08:18:33 2016 +1000

touchpad: require at least 3 events before enabling trackpoint palm 
detection

Some trackpoints, notably the one on the Lenovo T460s have a tendency to 
send
the odd event even when they're not actually used. Trackpoint events trigger
palm detection (see 0210f1fee193) and thus effectively disable the touchpad,
causing the touchpad to appear nonresponsive.

Fix this by requiring at least 3 events from a trackpoint before palm
detection is enabled. For normal use it's hard enough to trigger a single
event anyway so this should not affect the normal use-case.

https://bugzilla.redhat.com/show_bug.cgi?id=1364850

Signed-off-by: Peter Hutterer 
Reviewed-by: Hans de Goede 
(cherry picked from commit 416fa44d80b0f2c53b652ddfa35dd4a156a65c65)

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index eedbd3b..8598234 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -1298,6 +1298,7 @@ tp_trackpoint_timeout(uint64_t now, void *data)
 
tp_tap_resume(tp, now);
tp->palm.trackpoint_active = false;
+   tp->palm.trackpoint_event_count = 0;
 }
 
 static void
@@ -1310,6 +1311,13 @@ tp_trackpoint_event(uint64_t time, struct libinput_event 
*event, void *data)
if (event->type == LIBINPUT_EVENT_POINTER_BUTTON)
return;
 
+   tp->palm.trackpoint_last_event_time = time;
+   tp->palm.trackpoint_event_count++;
+
+   /* Require at least three events before enabling palm detection */
+   if (tp->palm.trackpoint_event_count < 3)
+   return;
+
if (!tp->palm.trackpoint_active) {
tp_edge_scroll_stop_events(tp, time);
tp_gesture_cancel(tp, time);
@@ -1317,7 +1325,6 @@ tp_trackpoint_event(uint64_t time, struct libinput_event 
*event, void *data)
tp->palm.trackpoint_active = true;
}
 
-   tp->palm.trackpoint_last_event_time = time;
libinput_timer_set(&tp->palm.trackpoint_timer,
   time + DEFAULT_TRACKPOINT_ACTIVITY_TIMEOUT);
 }
diff --git a/src/evdev-mt-touchpad.h b/src/evdev-mt-touchpad.h
i

xserver-xorg-input-libinput_0.20.0-1_source.changes ACCEPTED into unstable

2016-09-30 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Fri, 30 Sep 2016 15:05:19 +0300
Source: xserver-xorg-input-libinput
Binary: xserver-xorg-input-libinput xserver-xorg-input-libinput-dev 
xserver-xorg-input-libinput-udeb
Architecture: source
Version: 0.20.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 xserver-xorg-input-libinput - X.Org X server -- libinput input driver
 xserver-xorg-input-libinput-dev - X.Org X server -- libinput input driver 
(development headers)
 xserver-xorg-input-libinput-udeb - X.Org X server -- libinput input driver 
(udeb)
Changes:
 xserver-xorg-input-libinput (0.20.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * control, rules: Drop -dbg package.
Checksums-Sha1:
 01771e3d5e93b6b207c4883d1a9fd8ee5f1c18d8 2435 
xserver-xorg-input-libinput_0.20.0-1.dsc
 3abecc369001d676fa7c4bc6d94baf6c66c507f5 438919 
xserver-xorg-input-libinput_0.20.0.orig.tar.gz
 83e1be99953bcaf3dfc6fd1a8f09ebe9a10a721c 5302 
xserver-xorg-input-libinput_0.20.0-1.diff.gz
Checksums-Sha256:
 94807a9942f92b4be7f27a7dd95ed2bb76fff30da131fdb21eecc29ae37f3150 2435 
xserver-xorg-input-libinput_0.20.0-1.dsc
 3f24a7fd6cef441058856ed3f24cf4f54b82e96a22a9595954e626e5e3ce54af 438919 
xserver-xorg-input-libinput_0.20.0.orig.tar.gz
 d6ad9a5e9ae9d94e4f3ca232a53c38b1512c92f1e9d73f7dd86e8b37761aafaa 5302 
xserver-xorg-input-libinput_0.20.0-1.diff.gz
Files:
 3e043578cfd93b33080cdce50bd9ad3b 2435 x11 optional 
xserver-xorg-input-libinput_0.20.0-1.dsc
 578800b55fd7c323798f3ec09da281dc 438919 x11 optional 
xserver-xorg-input-libinput_0.20.0.orig.tar.gz
 86d69804f4ae6888e8c6d883de3afe66 5302 x11 optional 
xserver-xorg-input-libinput_0.20.0-1.diff.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJX7lUXAAoJEMtwMWWoiYTc3hUP/006klKjIJ3P/BSAcbygGw6X
Ew0/qtvYbxxKD50oZDBBRiitE/fCfd6PGTKg0izEU2f8Qf1gow8XvQjQDFPlFk4g
Bo3rcKo6bFPvQ05EuX/A8cg88f4DpNmZ0GEpOiI4uNWifxaodjnlwPRVbFlS+PAl
EAOZXddtJF+S0c9rIuK3ntMsgLu7r04JwuI781fuznW6yqfJABFr8cEIUO00a3mH
vXVBkLIt2dZn7u/R7nXv68R+DVKhRyNs8YQ+qGNu4HlYn3mB1e34M/65xwjbLNny
tlSjClR2NTSw7yu+wV1Zjba/aObZiVTt6DmssBrIiC35LOmrcA0rRNSn3eUnYT+s
yVTj8iqyPKZPW9XJfZMnN80LLKlIU2JibKqFaypEJGFWNyNM21lOiUyM4+2WoNh0
/724eAObSylCUOY+gtcWeOAlTFxLLadfZgKLIpM2LVbGD0mv+7mJfQctpQ1x3ygW
uNIdT6gc4eiMP54v9ikQJ0mcanPNU1oysFFofsmtBxMSZzcwHHRZVwjNrhlKSRZD
BwbjZvfnkHoSB0AwPMyns4P4kVTOEgomm3doiS+uRuhnOlGEgPch2m8vy8nkkg1S
Rc5vM3xAVvnsU5TvWYCrxpuHmBmlqoE/VyrZu3YS7+/4/B82qORei4ncNoTgrizQ
keZYNKd8UtpUzxPCb2d5
=7v8J
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



xserver-xorg-input-libinput: Changes to 'upstream-unstable'

2016-09-30 Thread Timo Aaltonen
Rebased ref, commits from common ancestor:
commit cd02040a5d4a8f120d225a4c09f5d1dfc751c0a8
Author: Peter Hutterer 
Date:   Fri Sep 30 17:01:21 2016 +1000

xf86-input-libinput 0.20.0

Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index 4158e57..a1f80fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-input-libinput],
-[0.19.0],
+[0.20.0],
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 [xf86-input-libinput])
 AC_CONFIG_SRCDIR([Makefile.am])

commit 0cfe9ec6c23e73507fd0797bae24c5ed6fcce033
Author: Michel Dänzer 
Date:   Fri Sep 16 17:26:06 2016 +0900

Fix --with-xorg-conf-dir default value

If --prefix isn't specified on the command line, $prefix contains "NONE"
at this point, not the default prefix value. So make install would
attempt to install the xorg.conf.d snippet to
${DESTDIR}NONE/share/X11/xorg.conf.d/.

Avoid this by leaving ${prefix} verbatim in the default value, to be
resolved by make.

Signed-off-by: Michel Dänzer 
Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index 4c72c75..4158e57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,9 +58,9 @@ AC_SUBST(inputdir)
 
 AC_ARG_WITH(xorg-conf-dir,
 AC_HELP_STRING([--with-xorg-conf-dir=DIR],
-   [Default xorg.conf.d directory 
[[default=$prefix/share/X11/xorg.conf.d/]]]),
+   [Default xorg.conf.d directory 
[[default=${prefix}/share/X11/xorg.conf.d]]]),
 [xorgconfdir="$withval"],
-[xorgconfdir="$prefix/share/X11/xorg.conf.d"])
+[xorgconfdir='${prefix}/share/X11/xorg.conf.d'])
 AC_SUBST(xorgconfdir)
 
 # X Server SDK location is required to install header files

commit b87d2530db46a08de15376722873295e01bef16f
Author: Keith Packard 
Date:   Fri Sep 16 10:18:31 2016 -0700

Initializing strip association with wrong index

This looks like a cut&paste coding error to me, and it generated a
compiler warning about possibly uninitialized value.

Signed-off-by: Keith Packard 
Signed-off-by: Peter Hutterer 

diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 888ba21..21f87f5 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -4537,7 +4537,7 @@ LibinputInitModeGroupProperties(DeviceIntPtr dev,
nstrips = libinput_device_tablet_pad_get_num_strips(device);
if (nstrips) {
for (s = 0; s < nstrips; s++) {
-   associations[r] = -1;
+   associations[s] = -1;
for (g = 0; g < ngroups; g++) {
group = 
libinput_device_tablet_pad_get_mode_group(device, g);
if 
(libinput_tablet_pad_mode_group_has_strip(group, s)) {

commit 2f1df46ba9ef91c079f6485c04ac7c5515d6057a
Author: Peter Hutterer 
Date:   Tue Sep 13 14:37:07 2016 +1000

Correct the horizontal scroll property name

Clear typo. Not bothering to be backwards compatible here, anything that 
uses
the #define will update on rebuild, anyone using the string directly 
should've
told me about the typo...

Signed-off-by: Peter Hutterer 
Reviewed-by: Hans de Goede 

diff --git a/include/libinput-properties.h b/include/libinput-properties.h
index e405453..8c6942d 100644
--- a/include/libinput-properties.h
+++ b/include/libinput-properties.h
@@ -147,7 +147,7 @@
 
 /* Horizontal scroll events enabled: BOOL, 1 value (0 or 1).
  * If disabled, horizontal scroll events are discarded */
-#define LIBINPUT_PROP_HORIZ_SCROLL_ENABLED "libinput Horizonal Scroll Enabled"
+#define LIBINPUT_PROP_HORIZ_SCROLL_ENABLED "libinput Horizontal Scroll Enabled"
 
 /* Number of modes each pad mode group has available: CARD8, one for each
  * pad mode group, read-only.

commit fa69bb1bc244f378507e1ef2fbcb3ea343a59a32
Author: Peter Hutterer 
Date:   Thu Aug 18 15:13:09 2016 +1000

Always delay hotplugging subdevices

Avoid creating new devices from within the input thread which was the case 
for
tablet tools. It requires a lot more care about locking and has a potential 
to
mess up things.

Instead, schedule a WorkProc and buffer all events until we have the device
created. Once that's done, replay the event sequence so far. If the device
comes into proximity and out again before we manage to create the new device
we just ditch the whole sequence and wait for the next proximity in.

Signed-off-by: Peter Hutterer 

diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index acca537..888ba21 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -102,6 +102,16 @@ struct xf86libinput_device {
struct xorg_list unclaimed_tablet_tool_list;
 };
 
+struct xf86libinput_tablet_tool_queued_event {
+   struct xorg_list node;
+   struct libinput_event_

xserver-xorg-input-libinput: Changes to 'debian-unstable'

2016-09-30 Thread Timo Aaltonen
 Makefile.am   |2 
 conf/40-libinput.conf |   28 +
 conf/60-libinput.conf |   28 -
 configure.ac  |8 
 debian/changelog  |7 
 debian/control|   19 
 debian/rules  |4 
 include/libinput-properties.h |   41 +
 man/libinput.man  |   22 
 src/xf86libinput.c|  951 ++
 10 files changed, 969 insertions(+), 141 deletions(-)

New commits:
commit 8b7f5255a2b3d5451228a85ecc030cedcc428337
Author: Timo Aaltonen 
Date:   Fri Sep 30 15:05:35 2016 +0300

release to unstable

diff --git a/debian/changelog b/debian/changelog
index 7e1ef41..827ff47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-xserver-xorg-input-libinput (0.20.0-1) UNRELEASED; urgency=medium
+xserver-xorg-input-libinput (0.20.0-1) unstable; urgency=medium
 
   * New upstream release.
   * control, rules: Drop -dbg package.
 
- -- Timo Aaltonen   Fri, 30 Sep 2016 14:56:53 +0300
+ -- Timo Aaltonen   Fri, 30 Sep 2016 15:05:19 +0300
 
 xserver-xorg-input-libinput (0.19.0-1) unstable; urgency=medium
 

commit 881f33c0eeca662fe7303670938a8b68cb96959c
Author: Timo Aaltonen 
Date:   Fri Sep 30 15:05:07 2016 +0300

control, rules: Drop -dbg package.

diff --git a/debian/changelog b/debian/changelog
index 1ca7944..7e1ef41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 xserver-xorg-input-libinput (0.20.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * control, rules: Drop -dbg package.
 
  -- Timo Aaltonen   Fri, 30 Sep 2016 14:56:53 +0300
 
diff --git a/debian/control b/debian/control
index 8129a84..b31afe1 100644
--- a/debian/control
+++ b/debian/control
@@ -66,22 +66,3 @@ Provides:
  ${xinpdriver:Provides}
 Description: X.Org X server -- libinput input driver
  This is a udeb, or a microdeb, for the debian-installer.
-
-Package: xserver-xorg-input-libinput-dbg
-Architecture: linux-any
-Depends:
- ${misc:Depends},
- xserver-xorg-input-libinput (= ${binary:Version}),
-Section: debug
-Priority: extra
-Description: X.Org X server -- libinput input driver (debug symbols)
- This package provides the development headers for the libinput input driver
- found in xserver-xorg-input-libinput. Non-developers likely have little use
- for this package.
- .
- More information about X.Org can be found at:
- http://www.X.org>
- .
- This package is built from the X.org xf86-input-libinput driver module.
- .
- This package provides debugging symbols for this Xorg X driver.
diff --git a/debian/rules b/debian/rules
index 63cf94b..d19a5b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,3 @@ override_dh_shlibdeps:
 
 %:
dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
-
-# Debug package:
-override_dh_strip:
-   dh_strip --dbg-package=xserver-xorg-input-libinput-dbg

commit c983750b575ce93ee5ad9972258f7a0e38cf3f44
Author: Timo Aaltonen 
Date:   Fri Sep 30 15:00:30 2016 +0300

update changelog

diff --git a/debian/changelog b/debian/changelog
index 52f98ad..1ca7944 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-input-libinput (0.20.0-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Timo Aaltonen   Fri, 30 Sep 2016 14:56:53 +0300
+
 xserver-xorg-input-libinput (0.19.0-1) unstable; urgency=medium
 
   [ Andreas Boll ]

commit cd02040a5d4a8f120d225a4c09f5d1dfc751c0a8
Author: Peter Hutterer 
Date:   Fri Sep 30 17:01:21 2016 +1000

xf86-input-libinput 0.20.0

Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index 4158e57..a1f80fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-input-libinput],
-[0.19.0],
+[0.20.0],
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 [xf86-input-libinput])
 AC_CONFIG_SRCDIR([Makefile.am])

commit 0cfe9ec6c23e73507fd0797bae24c5ed6fcce033
Author: Michel Dänzer 
Date:   Fri Sep 16 17:26:06 2016 +0900

Fix --with-xorg-conf-dir default value

If --prefix isn't specified on the command line, $prefix contains "NONE"
at this point, not the default prefix value. So make install would
attempt to install the xorg.conf.d snippet to
${DESTDIR}NONE/share/X11/xorg.conf.d/.

Avoid this by leaving ${prefix} verbatim in the default value, to be
resolved by make.

Signed-off-by: Michel Dänzer 
Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index 4c72c75..4158e57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,9 +58,9 @@ AC_SUBST(inputdir)
 
 AC_ARG_WITH(xorg-conf-dir,
 AC_HELP_STRING([--with-xorg-conf-dir=DIR],
-   [Default xorg.conf.d directory 
[[default=$prefix/share/X11/xorg.conf.d/]]]),
+   [Default xorg.conf.d directory 
[[default=${prefix}/share/X11/xorg.conf.d]]]),
  

Processing of xserver-xorg-input-libinput_0.20.0-1_source.changes

2016-09-30 Thread Debian FTP Masters
xserver-xorg-input-libinput_0.20.0-1_source.changes uploaded successfully to 
localhost
along with the files:
  xserver-xorg-input-libinput_0.20.0-1.dsc
  xserver-xorg-input-libinput_0.20.0.orig.tar.gz
  xserver-xorg-input-libinput_0.20.0-1.diff.gz

Greetings,

Your Debian queue daemon (running on host franck.debian.org)



xserver-xorg-input-libinput: Changes to 'refs/tags/xserver-xorg-input-libinput-0.20.0-1'

2016-09-30 Thread Timo Aaltonen
Tag 'xserver-xorg-input-libinput-0.20.0-1' created by Timo Aaltonen 
 at 2016-09-30 12:05 +

Tagging upload of xserver-xorg-input-libinput 0.20.0-1 to unstable.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABAgAGBQJX7lUTAAoJEMtwMWWoiYTckT8P/RJFB1A+rz3Ej3mRSrZRqrAO
xRUfQj5/22KPMqHhAlojZKWrFgVV/1HhsVsCKRyzIy4hx3Zx598SEp6KqDDfG1uA
3lVjQzIg8coml+JUlOF3FsHpIUPXb/1Sm/Zy7Uizq/sF7Zo56Onvrb3/HUc2/Adl
gvTFGo9czuRi9kuaTli/losXrjnaROJ6q5IxcwwGZHZPHf+ARLSJPN4MqGab3nh5
Yyp9puB1uDY987u5/znKI2ILy8irUDqT1CgHAneZLd1Bznpb4bVrmqOO3/inBajy
v+znoxkD4NOzkmJ2t9qH17AA0AlkchPps6AAD8KxoJDGXutX0gGaAp6uReS4jAUU
WbnlHLU5g/SOlo+jje5CM7y6+UnJ7HKADCiW8o2UhdyyD5AV5c3DEC9PXDbGkCix
7EMWF3z2ek2PoYf4Gd2SobSijIyvKrmh5Hdx8/gjf5Ym08UBE16TfEhXlfq7tK9q
4G/cr2dg4dvdo9TiPUL9cLLGdWrCgOPrfh1RaCr3fV98gPFcxR9MLZmzcbJwpJsb
D4DlfB6EzoN6wN9o/ZGGsj1XYKC0L/e/XmzcJ51fO6cmSv/t50KXPhAJv621LrDL
brfa8510gwnhm8iwDTcORBAy6DCo5UtmSKU/UqX1Dih9KHgQA/lAPuRtqbXeASRA
NwmzrbgqVoVeIATxZ7II
=Adpd
-END PGP SIGNATURE-

Changes since xserver-xorg-input-libinput-0.19.0-1:
Eric Engestrom (1):
  man: fix a couple typos

Keith Packard (2):
  Use xf86AddEnabledDevice instead of AddEnabledDevice when threaded [v3]
  Initializing strip association with wrong index

Michel Dänzer (1):
  Fix --with-xorg-conf-dir default value

Peter Hutterer (19):
  Fix potential use of uninitialized values
  Discard buttons >= 256
  Add tablet pad support
  Fix proximity events
  Change some fixed floats to decimal notation
  Init touch x/y axis labels as MT axis labels
  Fix button offset for tablet pad buttons
  Block input events while creating the virtual subdevices
  Bail out of PreInit if the parent driver data is NULL
  Ensure parent devices are actual parent devices
  Expose tablet pad modes as properties
  Comment two read-only properties as such
  Whitespace fix
  conf: drop libinput to below the other drivers
  Add support for the rotation configuration
  Add support for configurable tap button mapping
  Always delay hotplugging subdevices
  Correct the horizontal scroll property name
  xf86-input-libinput 0.20.0

Timo Aaltonen (4):
  Merge branch 'upstream-unstable' into debian-unstable
  update changelog
  control, rules: Drop -dbg package.
  release to unstable

---
 Makefile.am   |2 
 conf/40-libinput.conf |   28 +
 conf/60-libinput.conf |   28 -
 configure.ac  |8 
 debian/changelog  |7 
 debian/control|   19 
 debian/rules  |4 
 include/libinput-properties.h |   47 +-
 man/libinput.man  |   22 
 src/xf86libinput.c|  953 ++
 10 files changed, 973 insertions(+), 145 deletions(-)
---



Bug#839220: xterm: Using allowC1Printable (-k8) can disable UTF-8 support

2016-09-30 Thread Vincent Lefevre
Package: xterm
Version: 326-1
Severity: important

If allowC1Printable (-k8 option) is used, then UTF-8 support can be
disabled if some escape sequence (e.g. from a binary file) is sent,
which can make the terminal unusable. Example:

  xterm -k8 -hold -e printf "\x1b\xa5@\xc3\xa9\n"

which shows "é" instead of "é". And with Ctrl + right click, one can
see that "UTF-8 Encoding" is no longer set.

The xterm(1) man page just says:

-k8This option sets the allowC1Printable resource.  When
   allowC1Printable is set, xterm overrides the mapping of C1
   control characters (code 128-159) to treat them as printable.

So, this option should be regarded as safe.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xterm depends on:
ii  libc6   2.24-3
ii  libfontconfig1  2.11.0-6.7
ii  libice6 2:1.0.9-1+b1
ii  libtinfo5   6.0+20160917-1
ii  libutempter01.1.6-3
ii  libx11-62:1.6.3-1
ii  libxaw7 2:1.0.13-1
ii  libxft2 2.3.2-1
ii  libxinerama12:1.1.3-1+b1
ii  libxmu6 2:1.1.2-2
ii  libxpm4 1:3.5.11-1+b1
ii  libxt6  1:1.1.5-1
ii  xbitmaps1.1.1-2

Versions of packages xterm recommends:
ii  x11-utils  7.7+3

Versions of packages xterm suggests:
pn  xfonts-cyrillic  

-- no debconf information