Compare commits

1 Commits
main ... 1.1

5 changed files with 9 additions and 161 deletions

BIN
libinput-1.23.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
libinput-1.28.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,115 +1,3 @@
-------------------------------------------------------------------
Thu May 29 13:39:19 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add pkgconf.patch [boo#1242039]
-------------------------------------------------------------------
Tue Apr 1 08:14:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.28.1
* After unplugging and re-plugging a tablet device, proximity
events toggled the tip on/off due to an uninitialized (== zero)
pressure range. Repeatedly unplugging also eventually triggered
an bug notification.
* The `debug-events` diagnosis command failed to print pinch
angle and rotation.
-------------------------------------------------------------------
Wed Mar 26 03:15:52 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.28
* Support for three-finger drag for touchpads.
* On tablets the pressure range is now correctly tracked per
tablet.
-------------------------------------------------------------------
Fri Feb 28 15:13:10 UTC 2025 - Franck Bui <fbui@suse.com>
- Use %udev_hwdb_update in %posttrans to update udev hwdb. On
recent distros such as TW, this should not be necessary at all as
the hwdb is automatically updated via the rpm file triggers
mechanism. However, the explicit call to update the hwdb is kept
in case the spec file is also used for older ditros. The call is
also done from %posttrans where we know that udev is fully
functional without the need of `Requires(post): udev`.
-------------------------------------------------------------------
Mon Jan 6 11:50:58 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.27.1
* Fixed two regressions in the gesture state handling.
* Removed an assert triggered by a finger count mismatch.
* libinput replay has a slightly new output format and now
supports Ctrl+C to stop the currently replaying event sequence.
-------------------------------------------------------------------
Tue Nov 19 10:32:51 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.27
* New "sticky" mode for drag-locking
* For tablet pads we now support tablet pad mode groups for
devices without status LEDs as well
* If a tablet is unknown to libwacom we now assume that it is a
built-in tablet. (similar to libwacom 2.11)
* The available area on external tablets can be reduced via the
new tablet "area" configuration.
-------------------------------------------------------------------
Mon Aug 19 07:40:24 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.26.2
* Added quirks for the LG Gram 14 and the Minisvorum V3
-------------------------------------------------------------------
Thu Jun 6 07:04:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.26
* Touchpads can now configure a clickfinger button map
* Tablet pads now have an API for relative dials.
* A new configuration option for tablet tools allow reducing
the available logical range.
* Tablet tools can now use BTN_STYLUS3 too and tablet pad strip
support should now work for non-Wacom devices, for systems
where the kernel driver implements it.
-------------------------------------------------------------------
Tue Mar 26 10:25:10 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang_path macro, [bsc#1212476]
-------------------------------------------------------------------
Mon Jan 15 09:57:24 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.25
* Change how left-handed settings are handled for tablets: If
libwacom does not contain a definition for a tablet yet,
libinput defaults to enabling a left-handed setting.
* Quirks for laptops from Dell, Google, Graviton, HP, HUAWEI,
Lenovo and Razer, gadgets like the RollerMouse Pro3 and virtual
machines like GNOME Boxes, VirtualBox or Virtual Machine
Manager are included.
-------------------------------------------------------------------
Fri Aug 25 16:22:44 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to release 1.24.0
* On Apple touchpads, natural scrolling is now enabled by default
and palm detection is disabled - the touchpads are good enough
that they don't need our help.
* Built-in tablet devices now always have touch arbitration
enabled, so we no longer need to add a quirk for each of them.
And speaking of tablets: the pressure offset limit for worn-out
devices is now at 50% of the range. Modern pens have a precise
enough range that even worn out pen can still provide
satisfactory pressure sensitivity. This pressure offset is now
detected on worn-out pens that do not support distance.
* Finally, where a relative device's rotation is 180 degrees
(e.g. a trackball used upside-down) we now flip the scroll
wheel direction as well.
* The rest of the changes is the usual mix of janitorial patches
and device-specific quirks.
-------------------------------------------------------------------
Sat Mar 25 22:00:30 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libinput
# spec file
#
# Copyright (c) 2025 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,19 +37,19 @@
%define lname libinput10
%define pname libinput
Name: libinput%{?xsuffix}
Version: 1.28.1
Version: 1.23.0
Release: 0
Summary: Input device and event processing library
License: MIT
Group: Development/Libraries/C and C++
URL: https://www.freedesktop.org/wiki/Software/libinput/
#Git-Web: https://gitlab.freedesktop.org/libinput/libinput/
#DL-URL: https://gitlab.freedesktop.org/libinput/libinput/-/releases
Source: https://gitlab.freedesktop.org/libinput/libinput/-/archive/%version/libinput-%version.tar.gz
Source3: baselibs.conf
Source5: libinput-rpmlintrc
Patch1: kill-env.diff
Patch2: pkgconf.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -71,7 +71,6 @@ BuildRequires: pkgconfig(libevdev) >= 0.4
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libwacom) >= 0.20
BuildRequires: pkgconfig(mtdev) >= 1.1.0
BuildRequires: systemd-rpm-macros
%description
libinput is a library that handles input devices for display servers and
@@ -164,14 +163,11 @@ done
%endif
%fdupes %buildroot/%_prefix
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}%{_libexecdir}/libinput/*
%endif
%ldconfig_scriptlets -n %lname
%posttrans udev
%udev_hwdb_update
%post udev
[ -x /usr/bin/udevadm ] && /usr/bin/udevadm hwdb --update || :
%if "%flavor" == ""
%files udev

View File

@@ -1,36 +0,0 @@
From e453ad51ae29b4a1282795ded83f63223d36fe89 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Thu, 29 May 2025 15:35:11 +0200
Subject: [PATCH] Teach meson about pkgconfig Requires.private
References: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1207
References: https://bugzilla.suse.com/show_bug.cgi?id=1242039
Fixes: ed87c6dbb0059cc6cdf79b1086c2034a8970fbf6
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 98e500b2..a4bc11af 100644
--- a/meson.build
+++ b/meson.build
@@ -439,12 +439,14 @@ if meson.version().version_compare('>= 0.54.0')
meson.override_dependency('libinput', dep_libinput)
endif
+# Hol' up, keep this synchronized with src/libinput.pc.in
pkgconfig.generate(
filebase : 'libinput',
name : 'Libinput',
description : 'Input device library',
version : meson.project_version(),
- libraries : lib_libinput
+ libraries : lib_libinput,
+ requires_private : 'libudev'
)
git_version_h = vcs_tag(command : ['git', 'describe'],
--
2.49.0