Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libinput for openSUSE:Factory 
checked in at 2023-01-20 17:38:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libinput (Old)
 and      /work/SRC/openSUSE:Factory/.libinput.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libinput"

Fri Jan 20 17:38:17 2023 rev:114 rq:1059636 version:1.22.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libinput/libinput.changes        2022-11-20 
19:46:58.233222754 +0100
+++ /work/SRC/openSUSE:Factory/.libinput.new.32243/libinput.changes     
2023-01-20 17:38:23.172423659 +0100
@@ -1,0 +2,14 @@
+Thu Jan 19 12:06:49 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to release 1.22.1:
+  * This version includes quirks for laptops from Apple and Dell,
+    as well as for the Glorious Model 0 mouse. It also backports a
+    meson fix for use of libinput as subproject and a fix for
+    libinput debug-events not flushing the output, resulting in
+    truncated information.
+  * Finally, the tablet touch arbitration rectangle was increased
+    by 50mm in both directions to reduce the number of misdetected
+    touches.
+- Use ldconfig_scriptlets macro for post(un) handling.
+
+-------------------------------------------------------------------

Old:
----
  libinput-1.22.0.tar.gz

New:
----
  libinput-1.22.1.tar.gz

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

Other differences:
------------------
++++++ libinput.spec ++++++
--- /var/tmp/diff_new_pack.JLwmhs/_old  2023-01-20 17:38:24.884433128 +0100
+++ /var/tmp/diff_new_pack.JLwmhs/_new  2023-01-20 17:38:24.892433172 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,7 +37,7 @@
 %define lname  libinput10
 %define pname  libinput
 Name:           libinput%{?xsuffix}
-Version:        1.22.0
+Version:        1.22.1
 Release:        0
 Summary:        Input device and event processing library
 License:        MIT
@@ -164,8 +164,7 @@
 
 %fdupes %buildroot/%_prefix
 
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%ldconfig_scriptlets -n %lname
 
 %post udev
 [ -x /usr/bin/udevadm ] && /usr/bin/udevadm hwdb --update || :

++++++ libinput-1.22.0.tar.gz -> libinput-1.22.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/meson.build 
new/libinput-1.22.1/meson.build
--- old/libinput-1.22.0/meson.build     2022-11-19 12:21:06.000000000 +0100
+++ new/libinput-1.22.1/meson.build     2023-01-16 07:00:00.000000000 +0100
@@ -1,5 +1,5 @@
 project('libinput', 'c',
-       version : '1.22.0',
+       version : '1.22.1',
        license : 'MIT/Expat',
        default_options : [ 'c_std=gnu99', 'warning_level=2' ],
        meson_version : '>= 0.49.0')
@@ -401,6 +401,10 @@
                link_with : lib_libinput,
                dependencies : deps_libinput)
 
+if meson.version().version_compare('>= 0.54.0')
+       meson.override_dependency('libinput', dep_libinput)
+endif
+
 pkgconfig.generate(
        filebase : 'libinput',
        name : 'Libinput',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/quirks/30-vendor-glorious.quirks 
new/libinput-1.22.1/quirks/30-vendor-glorious.quirks
--- old/libinput-1.22.0/quirks/30-vendor-glorious.quirks        1970-01-01 
01:00:00.000000000 +0100
+++ new/libinput-1.22.1/quirks/30-vendor-glorious.quirks        2023-01-16 
07:00:00.000000000 +0100
@@ -0,0 +1,6 @@
+[Glorious Model O]
+MatchUdevType=mouse
+MatchBus=usb
+MatchVendor=0x258A
+MatchProduct=0x0036
+ModelBouncingKeys=1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/quirks/50-system-apple.quirks 
new/libinput-1.22.1/quirks/50-system-apple.quirks
--- old/libinput-1.22.0/quirks/50-system-apple.quirks   2022-11-19 
12:21:06.000000000 +0100
+++ new/libinput-1.22.1/quirks/50-system-apple.quirks   2023-01-16 
07:00:00.000000000 +0100
@@ -105,6 +105,15 @@
 AttrTouchSizeRange=150:130
 AttrPalmSizeThreshold=1600
 
+[Apple Laptop Touchpad (MTP)]
+MatchUdevType=touchpad
+MatchName=Apple*MTP*
+MatchVendor=0x5AC
+ModelAppleTouchpad=1
+AttrSizeHint=104x75
+AttrTouchSizeRange=150:130
+AttrPalmSizeThreshold=1600
+
 # The Linux applespi driver currently uses the Synaptics vendor for some reason
 [Apple Laptop Touchpad (SPI)]
 MatchUdevType=touchpad
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/quirks/50-system-dell.quirks 
new/libinput-1.22.1/quirks/50-system-dell.quirks
--- old/libinput-1.22.0/quirks/50-system-dell.quirks    2022-11-19 
12:21:06.000000000 +0100
+++ new/libinput-1.22.1/quirks/50-system-dell.quirks    2023-01-16 
07:00:00.000000000 +0100
@@ -108,3 +108,16 @@
 MatchVendor=0x2575
 MatchProduct=0x0204
 ModelDellCanvasTotem=1
+
+[Dell Latitude 5290 2-in-1]
+MatchName=AT Translated Set 2 keyboard
+MatchDMIModalias=dmi:*:svnDellInc.:pnLatitude52902-in-1:*
+ModelTabletModeNoSuspend=1
+
+# This is a true pressurepad so disable pressure for contact size
+# https://gitlab.freedesktop.org/libinput/libinput/-/issues/849
+[Dell Precision5680 Touchpad]
+MatchBus=i2c
+MatchVendor=0x27C6
+MatchProduct=0x0F60
+AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/src/evdev-tablet.c 
new/libinput-1.22.1/src/evdev-tablet.c
--- old/libinput-1.22.0/src/evdev-tablet.c      2022-11-19 12:21:06.000000000 
+0100
+++ new/libinput-1.22.1/src/evdev-tablet.c      2023-01-16 07:00:00.000000000 
+0100
@@ -1501,8 +1501,8 @@
 
        mm = evdev_device_units_to_mm(device, &tablet->axes.point);
 
-       /* The rect we disable is 20mm left of the tip, 50mm north of the
-        * tip, and 200x200mm large.
+       /* The rect we disable is 20mm left of the tip, 100mm north of the
+        * tip, and 200x250mm large.
         * If the stylus is tilted left (tip further right than the eraser
         * end) assume left-handed mode.
         *
@@ -1523,8 +1523,8 @@
                r.x = 0;
        }
 
-       r.y = mm.y - 50;
-       r.h = 200;
+       r.y = mm.y - 100;
+       r.h = 250;
        if (r.y < 0) {
                r.h -= r.y;
                r.y = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/test/test-tablet.c 
new/libinput-1.22.1/test/test-tablet.c
--- old/libinput-1.22.0/test/test-tablet.c      2022-11-19 12:21:06.000000000 
+0100
+++ new/libinput-1.22.1/test/test-tablet.c      2023-01-16 07:00:00.000000000 
+0100
@@ -4891,7 +4891,7 @@
                return;
 
        x = 20;
-       y = 45;
+       y = 70;
 
        /* disable prox-out timer quirk */
        litest_tablet_proximity_in(dev, x, y - 1, axes);
@@ -4912,7 +4912,7 @@
        litest_assert_touch_sequence(li);
 
        /* above rect */
-       litest_touch_sequence(finger, 0, x + 2, y - 35, x + 20, y - 10, 3);
+       litest_touch_sequence(finger, 0, x + 2, y - 65, x + 20, y - 40, 3);
        libinput_dispatch(li);
        litest_assert_touch_sequence(li);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libinput-1.22.0/tools/libinput-debug-events.c 
new/libinput-1.22.1/tools/libinput-debug-events.c
--- old/libinput-1.22.0/tools/libinput-debug-events.c   2022-11-19 
12:21:06.000000000 +0100
+++ new/libinput-1.22.1/tools/libinput-debug-events.c   2023-01-16 
07:00:00.000000000 +0100
@@ -952,6 +952,9 @@
                libinput_event_destroy(ev);
                rc = 0;
        }
+
+       fflush(stdout);
+
        return rc;
 }
 

Reply via email to