!27 【22.03-LTS-Next】libevdev升级到1.13.0
From: @sdlzx Reviewed-by: @liqingqing_1229 Signed-off-by: @liqingqing_1229
This commit is contained in:
commit
ece8ccc421
@ -1,28 +0,0 @@
|
|||||||
From 714895f990ee7e90a6548181909b3fe5749e4a11 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
Date: Tue, 22 Mar 2022 12:33:16 +1000
|
|
||||||
Subject: [PATCH] include: sync key codes with kernel 5.17
|
|
||||||
|
|
||||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
|
|
||||||
---
|
|
||||||
include/linux/linux/input-event-codes.h | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/include/linux/linux/input-event-codes.h b/include/linux/linux/input-event-codes.h
|
|
||||||
index ee93428..62e9f0a 100644
|
|
||||||
--- a/include/linux/linux/input-event-codes.h
|
|
||||||
+++ b/include/linux/linux/input-event-codes.h
|
|
||||||
@@ -278,7 +278,8 @@
|
|
||||||
#define KEY_PAUSECD 201
|
|
||||||
#define KEY_PROG3 202
|
|
||||||
#define KEY_PROG4 203
|
|
||||||
-#define KEY_DASHBOARD 204 /* AL Dashboard */
|
|
||||||
+#define KEY_ALL_APPLICATIONS 204 /* AC Desktop Show All Applications */
|
|
||||||
+#define KEY_DASHBOARD KEY_ALL_APPLICATIONS
|
|
||||||
#define KEY_SUSPEND 205
|
|
||||||
#define KEY_CLOSE 206 /* AC Close */
|
|
||||||
#define KEY_PLAY 207
|
|
||||||
--
|
|
||||||
2.36.1
|
|
||||||
|
|
||||||
BIN
libevdev-1.13.0.tar.xz
Normal file
BIN
libevdev-1.13.0.tar.xz
Normal file
Binary file not shown.
@ -1,13 +1,12 @@
|
|||||||
Name: libevdev
|
Name: libevdev
|
||||||
Version: 1.11.0
|
Version: 1.13.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Library for handling evdev kernel devices
|
Summary: Library for handling evdev kernel devices
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.freedesktop.org/wiki/Software/libevdev
|
URL: http://www.freedesktop.org/wiki/Software/libevdev
|
||||||
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
|
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
|
||||||
Patch0: backport-include-sync-key-codes-with-kernel-5.17.patch
|
|
||||||
|
|
||||||
BuildRequires: git-core automake libtool gcc python3 python3-devel check-devel
|
BuildRequires: libtool make gcc python3-devel check-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Library for handling evdev kernel devices. It abstracts the ioctls
|
Library for handling evdev kernel devices. It abstracts the ioctls
|
||||||
@ -31,9 +30,7 @@ Utilities to handle and/or debug evdev devices for %{name}.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*')
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
@ -69,9 +66,13 @@ make check
|
|||||||
%files help
|
%files help
|
||||||
%{_mandir}/man3/libevdev.3*
|
%{_mandir}/man3/libevdev.3*
|
||||||
%{_mandir}/man1/libevdev-tweak-device.1*
|
%{_mandir}/man1/libevdev-tweak-device.1*
|
||||||
|
%{_mandir}/man1/mouse-dpi-tool.1.gz
|
||||||
%{_mandir}/man1/touchpad-edge-detector.1*
|
%{_mandir}/man1/touchpad-edge-detector.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 28 2022 Liu Zixian <liuzixian4@huawei.com> - 1.13.0-1
|
||||||
|
- Update to 1.13.0
|
||||||
|
|
||||||
* Sun Oct 16 2022 Liu Zixian <liuzixian4@huawei.com> - 1.11.0-3
|
* Sun Oct 16 2022 Liu Zixian <liuzixian4@huawei.com> - 1.11.0-3
|
||||||
- sync openEuler kernel 22.03 and enable regression test
|
- sync openEuler kernel 22.03 and enable regression test
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user