Compare commits
10 Commits
6e93792641
...
01c3d04cd7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01c3d04cd7 | ||
|
|
f612ade14f | ||
|
|
8246f62b3b | ||
|
|
1f64fd34e0 | ||
|
|
e3035cce87 | ||
|
|
0c6d010fe5 | ||
|
|
5d5dc61f45 | ||
|
|
402e608ec0 | ||
|
|
2df9be7524 | ||
|
|
5a2a31d233 |
@ -1,40 +0,0 @@
|
|||||||
From 1fdbacbe34742328b2a95742982b6017f60a1342 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Jackson <ajax@redhat.com>
|
|
||||||
Date: Wed, 17 Oct 2018 11:44:37 -0400
|
|
||||||
Subject: [PATCH] Suppress high-keycode warnings at the default warning level
|
|
||||||
|
|
||||||
We expect evdev to have keycodes above 255, there's no reason to warn
|
|
||||||
about this.
|
|
||||||
|
|
||||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
||||||
|
|
||||||
Conflict:NA
|
|
||||||
Reference:https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/commit/1fdbacbe34742328b2a95742982b6017f60a1342
|
|
||||||
---
|
|
||||||
keycodes.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/keycodes.c b/keycodes.c
|
|
||||||
index c21f7c4..425ba10 100644
|
|
||||||
--- a/keycodes.c
|
|
||||||
+++ b/keycodes.c
|
|
||||||
@@ -332,7 +332,7 @@ AddKeyName(KeyNamesInfo * info,
|
|
||||||
|
|
||||||
if ((kc < info->effectiveMin) || (kc > info->effectiveMax))
|
|
||||||
{
|
|
||||||
- if (!high_keycode_warned)
|
|
||||||
+ if (!high_keycode_warned && warningLevel > 1)
|
|
||||||
{
|
|
||||||
WARN2("Unsupported high keycode %d for name <%s> ignored\n",
|
|
||||||
kc, name);
|
|
||||||
@@ -596,7 +596,7 @@ HandleKeycodeDef(KeycodeDef * stmt, unsigned merge, KeyNamesInfo * info)
|
|
||||||
code = result.ival;
|
|
||||||
if ((code < info->effectiveMin) || (code > info->effectiveMax))
|
|
||||||
{
|
|
||||||
- if (!high_keycode_warned)
|
|
||||||
+ if (!high_keycode_warned && warningLevel > 1)
|
|
||||||
{
|
|
||||||
WARN2("Unsupported high keycode %d for name <%s> ignored\n",
|
|
||||||
code, stmt->name);
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
Binary file not shown.
BIN
setxkbmap-1.3.3.tar.gz
Normal file
BIN
setxkbmap-1.3.3.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
xkbcomp-1.4.5.tar.gz
Normal file
BIN
xkbcomp-1.4.5.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,28 +1,17 @@
|
|||||||
Summary: X.Org X11 xkb utilities
|
Summary: X.Org X11 xkb utilities
|
||||||
Name: xorg-x11-xkb-utils
|
Name: xorg-x11-xkb-utils
|
||||||
Version: 7.7
|
Version: 7.8
|
||||||
Release: 29
|
Release: 4
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
|
|
||||||
Source0: https://www.x.org/pub/individual/app/setxkbmap-1.3.1.tar.bz2
|
Source0: https://www.x.org/pub/individual/app/setxkbmap-1.3.3.tar.gz
|
||||||
Source1: https://www.x.org/pub/individual/app/xkbcomp-1.4.2.tar.bz2
|
Source1: https://www.x.org/pub/individual/app/xkbcomp-1.4.5.tar.gz
|
||||||
Source2: https://www.x.org/pub/individual/app/xkbevd-1.1.4.tar.bz2
|
|
||||||
Source3: https://www.x.org/pub/individual/app/xkbprint-1.0.4.tar.bz2
|
|
||||||
Source4: https://www.x.org/pub/individual/app/xkbutils-1.0.4.tar.bz2
|
|
||||||
|
|
||||||
Patch6000: backport-Suppress-high-keycode-warnings-at-the-default-warning-level.patch
|
BuildRequires: byacc pkgconfig(x11) pkgconfig(xkbfile) pkgconfig(xorg-macros) >= 1.8 pkgconfig(xrandr)
|
||||||
|
|
||||||
BuildRequires: byacc pkgconfig(x11) pkgconfig(xaw7) pkgconfig(xkbfile) pkgconfig(xorg-macros) >= 1.8 pkgconfig(xt)
|
Provides: setxkbmap = 1.3.3
|
||||||
|
Provides: xkbcomp = 1.4.5
|
||||||
Provides: setxkbmap = 1.3.1
|
|
||||||
Provides: xkbcomp = 1.4.2
|
|
||||||
Provides: xkbevd = 1.1.4
|
|
||||||
Provides: xkbprint = 1.0.4
|
|
||||||
Provides: xkbutils = 1.0.4
|
|
||||||
Provides: xorg-x11-xkb-extras
|
|
||||||
|
|
||||||
Obsoletes: xorg-x11-xkb-extras
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
X.Org X11 xkb core utilities.
|
X.Org X11 xkb core utilities.
|
||||||
@ -38,7 +27,7 @@ Requires: xkbcomp
|
|||||||
X.Org X11 xkb utilities development files.
|
X.Org X11 xkb utilities development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c xorg-x11-xkb-utils-%{version} -a1 -a2 -a3 -a4
|
%setup -q -c xorg-x11-xkb-utils-%{version} -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
{
|
{
|
||||||
@ -67,29 +56,35 @@ X.Org X11 xkb utilities development files.
|
|||||||
}
|
}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc xkbutils-1.0.4/COPYING
|
|
||||||
%doc xkbutils-1.0.4/README
|
|
||||||
%{_bindir}/xkbbell
|
|
||||||
%{_bindir}/xkbevd
|
|
||||||
%{_bindir}/xkbprint
|
|
||||||
%{_bindir}/xkbvleds
|
|
||||||
%{_bindir}/xkbwatch
|
|
||||||
%{_bindir}/setxkbmap
|
%{_bindir}/setxkbmap
|
||||||
%{_bindir}/xkbcomp
|
%{_bindir}/xkbcomp
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man1/setxkbmap.1*
|
%{_mandir}/man1/setxkbmap.1*
|
||||||
%{_mandir}/man1/xkbcomp.1*
|
%{_mandir}/man1/xkbcomp.1*
|
||||||
%{_mandir}/man1/xkbbell.1*
|
|
||||||
%{_mandir}/man1/xkbevd.1*
|
|
||||||
%{_mandir}/man1/xkbprint.1*
|
|
||||||
%{_mandir}/man1/xkbvleds.*
|
|
||||||
%{_mandir}/man1/xkbwatch.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/pkgconfig/xkbcomp.pc
|
%{_libdir}/pkgconfig/xkbcomp.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 24 2024 lingsheng <lingsheng1@h-partners.com> - 7.8-4
|
||||||
|
- Remove xorg-x11-xkb-extras
|
||||||
|
|
||||||
|
* Thu Dec 12 2024 lingsheng <lingsheng1@h-partners.com> - 7.8-3
|
||||||
|
- Remove the unused xkbevd xkbprint xkbutils
|
||||||
|
|
||||||
|
* Thu Aug 01 2024 lingsheng <lingsheng1@h-partners.com> - 7.8-2
|
||||||
|
- Add version for provides and obsoletes
|
||||||
|
|
||||||
|
* Thu Oct 27 2022 wangkerong <wangkerong@h-partners.com> - 7.8-1
|
||||||
|
- upgrade to setxkbmap-1.3.3
|
||||||
|
- upgrade to xkbcomp-1.4.5
|
||||||
|
- upgrade to xkbprint-1.0.6
|
||||||
|
- upgrade to xkbutils-1.0.5
|
||||||
|
|
||||||
|
* Wed Apr 13 2022 xingxing <xingxing9@h-partners.com> - 7.7-30
|
||||||
|
- enable patch 6000
|
||||||
|
|
||||||
* Mon Apr 11 2022 xingxing <xingxing9@h-partners.com> - 7.7-29
|
* Mon Apr 11 2022 xingxing <xingxing9@h-partners.com> - 7.7-29
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user