Compare commits

...

2 Commits

7 changed files with 101 additions and 15 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1724053860
commit: f353a5bf6d120393ffc3474fd4f6e74cc03902301bd8332a5beea121f2caa611
url: https://src.opensuse.org/jengelh/libinput
revision: master

BIN
build.specials.obscpio (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libinput
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 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.26.2
Version: 1.28.1
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,6 +71,7 @@ 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
@@ -169,8 +170,8 @@ done
%ldconfig_scriptlets -n %lname
%post udev
[ -x /usr/bin/udevadm ] && /usr/bin/udevadm hwdb --update || :
%posttrans udev
%udev_hwdb_update
%if "%flavor" == ""
%files udev

36
pkgconf.patch Normal file
View File

@@ -0,0 +1,36 @@
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