sync openEuler kernel 22.03 and enable regression test
This commit is contained in:
parent
0981b1d876
commit
5758fe2188
28
backport-include-sync-key-codes-with-kernel-5.17.patch
Normal file
28
backport-include-sync-key-codes-with-kernel-5.17.patch
Normal 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
|
||||||
|
|
||||||
@ -1,12 +1,13 @@
|
|||||||
Name: libevdev
|
Name: libevdev
|
||||||
Version: 1.11.0
|
Version: 1.11.0
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
BuildRequires: git-core automake libtool gcc python3 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
|
||||||
@ -45,6 +46,9 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/libevdev.so.*
|
%{_libdir}/libevdev.so.*
|
||||||
@ -68,6 +72,9 @@ make %{?_smp_mflags}
|
|||||||
%{_mandir}/man1/touchpad-edge-detector.1*
|
%{_mandir}/man1/touchpad-edge-detector.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 1 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.11.0-2
|
||||||
- fix license in src and in spec are not same
|
- fix license in src and in spec are not same
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user