sync openEuler kernel 22.03 and enable regression test

This commit is contained in:
Liu Zixian 2022-10-17 09:26:32 +08:00
parent 0981b1d876
commit 5758fe2188
2 changed files with 37 additions and 2 deletions

View File

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

View File

@ -1,12 +1,13 @@
Name: libevdev
Version: 1.11.0
Release: 2
Release: 3
Summary: Library for handling evdev kernel devices
License: MIT
URL: http://www.freedesktop.org/wiki/Software/libevdev
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
BuildRequires: git-core automake libtool gcc python3 python3-devel check-devel
%description
Library for handling evdev kernel devices. It abstracts the ioctls
@ -45,6 +46,9 @@ make %{?_smp_mflags}
%ldconfig_scriptlets
%check
make check
%files
%doc COPYING
%{_libdir}/libevdev.so.*
@ -68,6 +72,9 @@ make %{?_smp_mflags}
%{_mandir}/man1/touchpad-edge-detector.1*
%changelog
* Sun Oct 16 2022 Liu Zixian <liuzixian4@huawei.com> - 1.11.0-3
- sync openEuler kernel 22.03 and enable regression test
* Wed Dec 1 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.11.0-2
- fix license in src and in spec are not same