Hello community,

here is the log from the commit of package xf86-input-libinput for 
openSUSE:Factory checked in at 2017-09-21 12:27:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-input-libinput (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-input-libinput.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-input-libinput"

Thu Sep 21 12:27:04 2017 rev:26 rq:527248 version:0.26.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-input-libinput/xf86-input-libinput.changes  
2017-09-07 22:10:33.065495321 +0200
+++ 
/work/SRC/openSUSE:Factory/.xf86-input-libinput.new/xf86-input-libinput.changes 
    2017-09-21 12:27:11.779838225 +0200
@@ -1,0 +2,11 @@
+Tue Sep 19 08:30:26 UTC 2017 - [email protected]
+
+- Update to version 0.26
+  * A few patches that have been sitting on master for a while, of 
+    which two are documentation patches. The most interesting patch
+    is for tablets: previously we didn't send a separate motion
+    event before the button event which caused some clients to
+    trigger the button event on the previous stylus position.
+- obsoletes U_Only-initialize-properties.patch
+
+-------------------------------------------------------------------

Old:
----
  U_Only-initialize-properties.patch
  xf86-input-libinput-0.25.1.tar.bz2
  xf86-input-libinput-0.25.1.tar.bz2.sig

New:
----
  xf86-input-libinput-0.26.0.tar.bz2
  xf86-input-libinput-0.26.0.tar.bz2.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xf86-input-libinput.spec ++++++
--- /var/tmp/diff_new_pack.q8BWng/_old  2017-09-21 12:27:12.975670009 +0200
+++ /var/tmp/diff_new_pack.q8BWng/_new  2017-09-21 12:27:12.983668883 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           xf86-input-libinput
-Version:        0.25.1
+Version:        0.26.0
 Release:        0
 Summary:        Libinput driver for the Xorg X server
 License:        MIT
@@ -27,7 +27,6 @@
 Source1:        
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig
 Source2:        %{name}.keyring
 Patch0:         n_enable-tapping.patch
-Patch1:         U_Only-initialize-properties.patch
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(inputproto) >= 2.2
 BuildRequires:  pkgconfig(libinput) >= 1.4.901

++++++ xf86-input-libinput-0.25.1.tar.bz2 -> xf86-input-libinput-0.26.0.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xf86-input-libinput-0.25.1/ChangeLog 
new/xf86-input-libinput-0.26.0/ChangeLog
--- old/xf86-input-libinput-0.25.1/ChangeLog    2017-05-05 05:44:40.000000000 
+0200
+++ new/xf86-input-libinput-0.26.0/ChangeLog    2017-09-15 03:33:54.000000000 
+0200
@@ -1,3 +1,80 @@
+commit 2be6487de417473aac85ebd800392cdd8604c4a6
+Author: Peter Hutterer <[email protected]>
+Date:   Fri Sep 15 11:26:54 2017 +1000
+
+    xf86-input-libinput 0.26.0
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 6ce3d0249d426e6b3c83e7f86d76bb3145c00a74
+Author: Peter Hutterer <[email protected]>
+Date:   Mon Jun 26 18:27:10 2017 +1000
+
+    Post a motion event before a tablet button down
+    
+    Not all clients update the pointer position correctly from the button 
events
+    (for historical reasons) so we need to send a motion event before the 
button
+    event that represents a tip state change.
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=101588
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 87f9fe3a6fafe60134c69419c0e551b9dbc112b7
+Author: Peter Hutterer <[email protected]>
+Date:   Wed May 24 08:42:02 2017 +1000
+
+    Only initialize properties that match capabilities on a subdevice
+    
+    If a device is split into multiple subdevices, usually pointer+keyboard, we
+    initialized properties matching the libinput device on both devices. This
+    results in the keyboard having e.g. a Accel Speed or Left Handed settings 
even
+    though it cannot send any events of that type.
+    
+    Filter by capabilities on the subdevice so we only get those properties 
that
+    match the subdevice's capabilities.
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=100900
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 0c657e0dcff4cff06a0d4cbea7dfac2a1d505cc3
+Author: Peter Hutterer <[email protected]>
+Date:   Thu May 18 14:02:52 2017 +1000
+
+    Update copyright years
+    
+    because why not
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit ac3574958f90bdcac946d26519123d809998c33b
+Author: Niklas Haas <[email protected]>
+Date:   Mon May 15 03:13:43 2017 +0200
+
+    man: add missing documentation for Accel Profile
+    
+    This seems to have been simply missing from 0163482e.
+    
+    cf. https://bugs.freedesktop.org/show_bug.cgi?id=101017
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+Notes (test-jelly):
+    SUCCESS: jelly: make check Mon May 15 11:42:39 AEST 2017
+
+commit 8772a593b45740f4429218648c9e3a305b3fe896
+Author: Martin Kepplinger <[email protected]>
+Date:   Thu May 4 08:49:34 2017 +0200
+
+    Fix config comment description to match the config
+    
+    Since the config matches on tablets too, update the describing comment
+    accordingly.
+    
+    Signed-off-by: Martin Kepplinger <[email protected]>
+    Signed-off-by: Peter Hutterer <[email protected]>
+
 commit a80773a488da3f3dfe5a5dc0fd658dc8a6a3b331
 Author: Peter Hutterer <[email protected]>
 Date:   Fri May 5 13:43:23 2017 +1000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xf86-input-libinput-0.25.1/conf/40-libinput.conf 
new/xf86-input-libinput-0.26.0/conf/40-libinput.conf
--- old/xf86-input-libinput-0.25.1/conf/40-libinput.conf        2017-05-05 
05:44:31.000000000 +0200
+++ new/xf86-input-libinput-0.26.0/conf/40-libinput.conf        2017-09-15 
03:33:45.000000000 +0200
@@ -1,4 +1,4 @@
-# Match on all types of devices but tablet devices and joysticks
+# Match on all types of devices but joysticks
 Section "InputClass"
         Identifier "libinput pointer catchall"
         MatchIsPointer "on"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xf86-input-libinput-0.25.1/configure 
new/xf86-input-libinput-0.26.0/configure
--- old/xf86-input-libinput-0.25.1/configure    2017-05-05 05:44:36.000000000 
+0200
+++ new/xf86-input-libinput-0.26.0/configure    2017-09-15 03:33:50.000000000 
+0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xf86-input-libinput 0.25.1.
+# Generated by GNU Autoconf 2.69 for xf86-input-libinput 0.26.0.
 #
 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='xf86-input-libinput'
 PACKAGE_TARNAME='xf86-input-libinput'
-PACKAGE_VERSION='0.25.1'
-PACKAGE_STRING='xf86-input-libinput 0.25.1'
+PACKAGE_VERSION='0.26.0'
+PACKAGE_STRING='xf86-input-libinput 0.26.0'
 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 PACKAGE_URL=''
 
@@ -1356,7 +1356,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xf86-input-libinput 0.25.1 to adapt to many kinds of 
systems.
+\`configure' configures xf86-input-libinput 0.26.0 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1427,7 +1427,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xf86-input-libinput 0.25.1:";;
+     short | recursive ) echo "Configuration of xf86-input-libinput 0.26.0:";;
    esac
   cat <<\_ACEOF
 
@@ -1561,7 +1561,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xf86-input-libinput configure 0.25.1
+xf86-input-libinput configure 0.26.0
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1885,7 +1885,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xf86-input-libinput $as_me 0.25.1, which was
+It was created by xf86-input-libinput $as_me 0.26.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2753,7 +2753,7 @@
 
 # Define the identity of the package.
  PACKAGE='xf86-input-libinput'
- VERSION='0.25.1'
+ VERSION='0.26.0'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -19030,7 +19030,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xf86-input-libinput $as_me 0.25.1, which was
+This file was extended by xf86-input-libinput $as_me 0.26.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -19096,7 +19096,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-xf86-input-libinput config.status 0.25.1
+xf86-input-libinput config.status 0.26.0
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xf86-input-libinput-0.25.1/configure.ac 
new/xf86-input-libinput-0.26.0/configure.ac
--- old/xf86-input-libinput-0.25.1/configure.ac 2017-05-05 05:44:31.000000000 
+0200
+++ new/xf86-input-libinput-0.26.0/configure.ac 2017-09-15 03:33:45.000000000 
+0200
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-input-libinput],
-        [0.25.1],
+        [0.26.0],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         [xf86-input-libinput])
 AC_CONFIG_SRCDIR([Makefile.am])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xf86-input-libinput-0.25.1/man/libinput.man 
new/xf86-input-libinput-0.26.0/man/libinput.man
--- old/xf86-input-libinput-0.25.1/man/libinput.man     2017-05-05 
05:44:31.000000000 +0200
+++ new/xf86-input-libinput-0.26.0/man/libinput.man     2017-09-15 
03:33:45.000000000 +0200
@@ -203,6 +203,14 @@
 .B libinput
 driver.
 .TP 7
+.BI "libinput Accel Profiles Available"
+2 boolean values (8 bit, 0 or 1), in order "adaptive", "flat".
+Indicates which acceleration profiles are available on this device.
+.TP 7
+.BI "libinput Accel Profile Enabled"
+2 boolean values (8 bit, 0 or 1), in order "adaptive", "flat".
+Indicates which acceleration profile is currently enabled on this device.
+.TP 7
 .BI "libinput Accel Speed"
 1 32-bit float value, defines the pointer speed. Value range -1, 1
 .TP 7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xf86-input-libinput-0.25.1/src/xf86libinput.c 
new/xf86-input-libinput-0.26.0/src/xf86libinput.c
--- old/xf86-input-libinput-0.25.1/src/xf86libinput.c   2017-05-05 
05:44:31.000000000 +0200
+++ new/xf86-input-libinput-0.26.0/src/xf86libinput.c   2017-09-15 
03:33:45.000000000 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2013-2015 Red Hat, Inc.
+ * Copyright © 2013-2017 Red Hat, Inc.
  *
  * Permission to use, copy, modify, distribute, and sell this software
  * and its documentation for any purpose is hereby granted without
@@ -212,6 +212,10 @@
 static enum event_handling
 xf86libinput_handle_event(struct libinput_event *event);
 
+static void
+xf86libinput_post_tablet_motion(InputInfoPtr pInfo,
+                               struct libinput_event_tablet_tool *event);
+
 static inline int
 use_server_fd(const InputInfoPtr pInfo) {
        return pInfo->fd > -1 && (pInfo->flags & XI86_SERVER_FD);
@@ -1716,12 +1720,15 @@
 xf86libinput_handle_tablet_tip(InputInfoPtr pInfo,
                               struct libinput_event_tablet_tool *event)
 {
+       DeviceIntPtr pDev = pInfo->dev;
        enum libinput_tablet_tool_tip_state state;
        const BOOL is_absolute = TRUE;
 
        if (xf86libinput_tool_queue_event(event))
                return EVENT_QUEUED;
 
+       xf86libinput_post_tablet_motion(pDev->public.devicePrivate, event);
+
        state = libinput_event_tablet_tool_get_tip_state(event);
 
        xf86PostButtonEventP(pInfo->dev,
@@ -5231,6 +5238,19 @@
                                               2, data);
 }
 
+static inline bool
+subdevice_filter_for_capabilities(DeviceIntPtr dev,
+                                 uint32_t capabilities)
+{
+       InputInfoPtr pInfo  = dev->public.devicePrivate;
+       struct xf86libinput *driver_data = pInfo->private;
+
+       if (!xf86libinput_is_subdevice(pInfo))
+               return false;
+
+       return !(driver_data->capabilities & capabilities);
+}
+
 static void
 LibinputInitProperty(DeviceIntPtr dev)
 {
@@ -5243,21 +5263,35 @@
 
        prop_float = XIGetKnownProperty("FLOAT");
 
-       LibinputInitTapProperty(dev, driver_data, device);
-       LibinputInitTapDragProperty(dev, driver_data, device);
-       LibinputInitTapDragLockProperty(dev, driver_data, device);
-       LibinputInitTapButtonmapProperty(dev, driver_data, device);
-       LibinputInitCalibrationProperty(dev, driver_data, device);
-       LibinputInitAccelProperty(dev, driver_data, device);
-       LibinputInitNaturalScrollProperty(dev, driver_data, device);
+       /* On a subdevice, we likely only have a keyboard, so filter out the
+        * properties for the capabilities we don't have */
+       if (!subdevice_filter_for_capabilities(dev, CAP_POINTER|CAP_TOUCH)) {
+               LibinputInitTapProperty(dev, driver_data, device);
+               LibinputInitTapDragProperty(dev, driver_data, device);
+               LibinputInitTapDragLockProperty(dev, driver_data, device);
+               LibinputInitTapButtonmapProperty(dev, driver_data, device);
+               LibinputInitNaturalScrollProperty(dev, driver_data, device);
+       }
+
+       if (!subdevice_filter_for_capabilities(dev, CAP_TOUCH|CAP_TABLET)) {
+               LibinputInitCalibrationProperty(dev, driver_data, device);
+               LibinputInitLeftHandedProperty(dev, driver_data, device);
+               LibinputInitAccelProperty(dev, driver_data, device);
+       }
+
+       if (!subdevice_filter_for_capabilities(dev, CAP_POINTER)) {
+               LibinputInitScrollMethodsProperty(dev, driver_data, device);
+               LibinputInitClickMethodsProperty(dev, driver_data, device);
+               LibinputInitMiddleEmulationProperty(dev, driver_data, device);
+               LibinputInitRotationAngleProperty(dev, driver_data, device);
+       }
+
+       if (!subdevice_filter_for_capabilities(dev, CAP_TABLET_PAD)) {
+               LibinputInitModeGroupProperties(dev, driver_data, device);
+       }
+
        LibinputInitSendEventsProperty(dev, driver_data, device);
-       LibinputInitLeftHandedProperty(dev, driver_data, device);
-       LibinputInitScrollMethodsProperty(dev, driver_data, device);
-       LibinputInitClickMethodsProperty(dev, driver_data, device);
-       LibinputInitMiddleEmulationProperty(dev, driver_data, device);
        LibinputInitDisableWhileTypingProperty(dev, driver_data, device);
-       LibinputInitModeGroupProperties(dev, driver_data, device);
-       LibinputInitRotationAngleProperty(dev, driver_data, device);
 
        /* Device node property, read-only  */
        device_node = driver_data->path;



Reply via email to