Hello community,

here is the log from the commit of package xf86-input-libinput for 
openSUSE:Factory checked in at 2019-08-24 18:40:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-input-libinput (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-input-libinput.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-input-libinput"

Sat Aug 24 18:40:33 2019 rev:33 rq:724822 version:0.29.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-input-libinput/xf86-input-libinput.changes  
2019-08-05 10:29:39.531450426 +0200
+++ 
/work/SRC/openSUSE:Factory/.xf86-input-libinput.new.7948/xf86-input-libinput.changes
        2019-08-24 18:40:35.717790866 +0200
@@ -1,0 +2,9 @@
+Tue Aug 20 13:03:34 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- Update to version 0.29.0
+  * Only one real fix: we now check for the tool type as well as
+    the serial when we create subdevices for tablet tools.
+    Previously there were some cases where the eraser device
+    wasn't created correctly.
+
+-------------------------------------------------------------------

Old:
----
  xf86-input-libinput-0.28.2.tar.bz2
  xf86-input-libinput-0.28.2.tar.bz2.sig

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

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

Other differences:
------------------
++++++ xf86-input-libinput.spec ++++++
--- /var/tmp/diff_new_pack.cJex8H/_old  2019-08-24 18:40:36.297790810 +0200
+++ /var/tmp/diff_new_pack.cJex8H/_new  2019-08-24 18:40:36.301790810 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           xf86-input-libinput
-Version:        0.28.2
+Version:        0.29.0
 Release:        0
 Summary:        Libinput driver for the Xorg X server
 License:        MIT

++++++ xf86-input-libinput-0.28.2.tar.bz2 -> xf86-input-libinput-0.29.0.tar.bz2 
++++++
++++ 3501 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-libinput-0.28.2/ChangeLog 
new/xf86-input-libinput-0.29.0/ChangeLog
--- old/xf86-input-libinput-0.28.2/ChangeLog    2019-02-04 04:18:01.000000000 
+0100
+++ new/xf86-input-libinput-0.29.0/ChangeLog    2019-08-12 04:38:43.000000000 
+0200
@@ -1,3 +1,98 @@
+commit 400bf493d1840e72dc3bad624707b4934fe5de33
+Author: Peter Hutterer <[email protected]>
+Date:   Mon Aug 12 12:35:51 2019 +1000
+
+    xf86-input-libinput 0.29.0
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 27a88897bedb8dca41be311a162243ec7f4a952d
+Author: Peter Hutterer <[email protected]>
+Date:   Mon Aug 12 10:57:11 2019 +1000
+
+    Add basic Gitlab CI for testing the build
+    
+    This merely tests against the devel package in Fedora, not against the 
xserver
+    from git. Should be enough, the driver here doesn't change enough to need 
the
+    git builds.
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit d5867e5db6300ba2fa08054f16af661bd0ae4200
+Author: Peter Hutterer <[email protected]>
+Date:   Mon Aug 12 10:35:15 2019 +1000
+
+    Fix compiler warning about unhandled switch events
+    
+    This bumps the required libinput version to 1.7 - which has been out for 
over
+    two years now. That's conservative enough.
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 1ef2ed874e700a6be9091c01df5b432a3e4d8b2e
+Author: Peter Hutterer <[email protected]>
+Date:   Tue Jul 30 11:23:46 2019 +1000
+
+    Check for the tool type too when creating subdevices
+    
+    Fixed #25
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 3c9052d8865200818a3e98ea9077df54829e724c
+Author: Peter Hutterer <[email protected]>
+Date:   Tue Jul 30 11:10:55 2019 +1000
+
+    Fix wrong enum type
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit 39b0bb4585106a56a51236d8e9843b2da8d745a5
+Author: Peter Hutterer <[email protected]>
+Date:   Tue Jul 30 11:46:50 2019 +1000
+
+    Revert "Upgrade the default scroll distance to 120"
+    
+    This was part of the high-resolution wheel work that was factored out 
ahead of
+    time. Problem is: this breaks scroll button emulation in the server as we
+    use the distance to determine when we click buttons 4-7.
+    
+    Before: movement of 15 normalized pixel units on a touchpad - one click. 
Now:
+    120 of those units. So that's a bit less than ideal.
+    
+    The change to 120 can be done, but needs the corresponding handling in the
+    axis distance calculations.
+    
+    Fixes #24
+    
+    This reverts commit 055481187d44b10ba220398a1ca46f4854fd76ee.
+
+commit 8923d18d25303354f250b4f165fa66b327b8ac7e
+Author: David Rosca <[email protected]>
+Date:   Mon Feb 25 18:26:08 2019 +0100
+
+    Also use type to match tablet tool with device
+    
+    On devices with tools having both serial and id 0,
+    it would fail to create separate subdevices.
+    
+    Thinkpad X220T (Wacom ISDv4 E6) now correctly registers
+    Pen and Eraser xinput devices.
+
+commit 055481187d44b10ba220398a1ca46f4854fd76ee
+Author: Peter Hutterer <[email protected]>
+Date:   Wed Jan 23 09:01:24 2019 +1000
+
+    Upgrade the default scroll distance to 120
+    
+    This is just a number, to be used as divider and shouldn't have any effect 
in
+    correctly written clients. With the high-res scrolling coming up however, 
we
+    have a few devices where the dist cannot be expressed as an integer 
fraction
+    of 15, so let's up it to 120 because we know all hardware wheels have to 
be an
+    integer fraction of that that, thanks to Microsoft's API requirements.
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+
 commit 5a925eaa84b31c5857969342802018cb5803475a
 Author: Peter Hutterer <[email protected]>
 Date:   Mon Feb 4 13:14:11 2019 +1000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-libinput-0.28.2/configure.ac 
new/xf86-input-libinput-0.29.0/configure.ac
--- old/xf86-input-libinput-0.28.2/configure.ac 2019-02-04 04:17:52.000000000 
+0100
+++ new/xf86-input-libinput-0.29.0/configure.ac 2019-08-12 04:38:33.000000000 
+0200
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-input-libinput],
-        [0.28.2],
+        [0.29.0],
         
[https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/issues],
         [xf86-input-libinput])
 AC_CONFIG_SRCDIR([Makefile.am])
@@ -45,7 +45,7 @@
 
 # Obtain compiler/linker options from server and required extensions
 PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10] xproto [inputproto >= 2.2])
-PKG_CHECK_MODULES(LIBINPUT, [libinput >= 1.4.901])
+PKG_CHECK_MODULES(LIBINPUT, [libinput >= 1.7.0])
 
 OLD_LIBS=$LIBS
 OLD_CFLAGS=$CFLAGS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xf86-input-libinput-0.28.2/src/xf86libinput.c 
new/xf86-input-libinput-0.29.0/src/xf86libinput.c
--- old/xf86-input-libinput-0.28.2/src/xf86libinput.c   2019-02-04 
04:17:52.000000000 +0100
+++ new/xf86-input-libinput-0.29.0/src/xf86libinput.c   2019-08-12 
04:38:33.000000000 +0200
@@ -1791,7 +1791,9 @@
                        if 
(libinput_tablet_tool_get_serial(driver_data->tablet_tool) ==
                            libinput_tablet_tool_get_serial(tool) &&
                            
libinput_tablet_tool_get_tool_id(driver_data->tablet_tool) ==
-                           libinput_tablet_tool_get_tool_id(tool))
+                           libinput_tablet_tool_get_tool_id(tool) &&
+                           
libinput_tablet_tool_get_type(driver_data->tablet_tool) ==
+                           libinput_tablet_tool_get_type(tool))
                                return driver_data->pInfo;
                }
        }
@@ -2062,6 +2064,7 @@
        struct xf86libinput_tablet_tool *t;
        struct xf86libinput_tablet_tool_event_queue *queue;
        struct libinput_tablet_tool *tool;
+       enum libinput_tablet_tool_type tool_type;
        uint64_t serial, tool_id;
        XF86OptionPtr options = NULL;
        char name[64];
@@ -2081,12 +2084,14 @@
        tool = libinput_event_tablet_tool_get_tool(event);
        serial = libinput_tablet_tool_get_serial(tool);
        tool_id = libinput_tablet_tool_get_tool_id(tool);
+       tool_type = libinput_tablet_tool_get_type(tool);
 
        t->tool = libinput_tablet_tool_ref(tool);
        xorg_list_append(&t->node, &shared_device->unclaimed_tablet_tool_list);
 
        options = xf86ReplaceIntOption(options, "_libinput/tablet-tool-serial", 
serial);
        options = xf86ReplaceIntOption(options, "_libinput/tablet-tool-id", 
tool_id);
+       options = xf86ReplaceIntOption(options, "_libinput/tablet-tool-type", 
tool_type);
        /* Convert the name to "<base name> <tool type> (serial number)" */
        if (snprintf(name,
                     sizeof(name),
@@ -2111,13 +2116,15 @@
        struct xf86libinput_device *shared_device = driver_data->shared_device;
        uint64_t serial = libinput_tablet_tool_get_serial(tool);
        uint64_t tool_id = libinput_tablet_tool_get_tool_id(tool);
+       enum libinput_tablet_tool_type tool_type = 
libinput_tablet_tool_get_type(tool);
 
        xorg_list_for_each_entry(dev,
                                 &shared_device->device_list,
                                 shared_device_link) {
                if (dev->tablet_tool &&
                    libinput_tablet_tool_get_serial(dev->tablet_tool) == serial 
&&
-                   libinput_tablet_tool_get_tool_id(dev->tablet_tool) == 
tool_id) {
+                   libinput_tablet_tool_get_tool_id(dev->tablet_tool) == 
tool_id &&
+                   libinput_tablet_tool_get_type(dev->tablet_tool) == 
tool_type) {
                        return dev->pInfo->dev;
                }
        }
@@ -2332,6 +2339,8 @@
                        xf86libinput_handle_tablet_pad_strip(pInfo,
                                                             
libinput_event_get_tablet_pad_event(event));
                        break;
+               case LIBINPUT_EVENT_SWITCH_TOGGLE:
+                       break;
        }
 
 out:
@@ -3296,16 +3305,19 @@
        struct xf86libinput_device *shared_device = driver_data->shared_device;
        struct xf86libinput_tablet_tool_event_queue *queue;
        struct xf86libinput_tablet_tool *t;
+       enum libinput_tablet_tool_type tool_type;
        uint64_t serial, tool_id;
 
        serial = (uint32_t)xf86CheckIntOption(pInfo->options, 
"_libinput/tablet-tool-serial", 0);
        tool_id = (uint32_t)xf86CheckIntOption(pInfo->options, 
"_libinput/tablet-tool-id", 0);
+       tool_type = (uint32_t)xf86CheckIntOption(pInfo->options, 
"_libinput/tablet-tool-type", 0);
 
        xorg_list_for_each_entry(t,
                                 &shared_device->unclaimed_tablet_tool_list,
                                 node) {
                if (libinput_tablet_tool_get_serial(t->tool) == serial &&
-                   libinput_tablet_tool_get_tool_id(t->tool) == tool_id) {
+                   libinput_tablet_tool_get_tool_id(t->tool) == tool_id &&
+                   libinput_tablet_tool_get_type(t->tool) == tool_type) {
                        driver_data->tablet_tool = t->tool;
                        queue = libinput_tablet_tool_get_user_data(t->tool);
                        if (queue)



Reply via email to