Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

8 changed files with 51 additions and 3 deletions

View File

@ -1 +0,0 @@
89065bc66bf609fc45bf334d0695632c2fde6994 SOURCES/console-setup_1.177.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/console-setup_1.177.tar.xz
/console-setup_1.177.tar.xz

View File

@ -0,0 +1,35 @@
diff -up console-setup/Keyboard/ckbcomp.orig console-setup/Keyboard/ckbcomp
--- console-setup/Keyboard/ckbcomp.orig 2020-06-04 09:35:44.286160836 +0200
+++ console-setup/Keyboard/ckbcomp 2020-06-04 09:35:44.288160841 +0200
@@ -196,10 +196,6 @@ my %acmtable; # Unicode -> legacy code (
my $KEYMAP = ''; # This variable contains the generated keymap
-my $broken_caps = 0; # In unicode mode Caps_Lock doesn't work for non-ASCII
- # letters. 1 = the keymap contains non-ascii letters.
- # See http://bugzilla.kernel.org/show_bug.cgi?id=7746#c21
-
my %keycodes_table; # x keysym -> x key code
my %aliases; # x keysym -> x keysym
@@ -4376,9 +4372,6 @@ sub print_vector {
my $u = ord (uc (pack ("U", $v)));
my $c = ($v == $l ? $u : $l);
$capsvector[$mask] = $1 ."U+". sprintf ("%04x", $c);
- if ($v != $c && $v gt 0x7f) {
- $broken_caps = 1;
- }
}
}
if ($no_NoSymbol) {
@@ -4776,10 +4769,6 @@ keycode 127 =
die "$0: Unsupported keyboard type $arch\n";
}
-if ($broken_caps) {
- $KEYMAP =~ s/Caps_Lock/CtrlL_Lock/g;
-}
-
print $KEYMAP;
if ($freebsd) {

View File

@ -1,7 +1,7 @@
Name: console-setup
Version: 1.177
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tools for configuring the console using X Window System key maps
Group: Applications/System
@ -14,6 +14,8 @@ Source0: http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.
Patch0: console-setup-1.76-paths.patch
# Fixes FSF address, sent to upstream
Patch1: console-setup-1.76-fsf-address.patch
# Removes Caps_Lock to CtrlL_Lock substitution
Patch2: console-setup-1.77-ctrll-lock.patch
Requires: kbd
# require 'xkeyboard-config' to have X Window keyboard descriptions?
@ -34,6 +36,7 @@ supports several languages that would be otherwise unsupported on the console
%setup -q -n %{name}
%patch0 -p1 -b .paths
%patch1 -p1 -b .fsf-address
%patch2 -p1 -b .ctrll-lock
%build
@ -61,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT/etc/console-setup
%changelog
* Tue Jun 09 2020 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.177-2
- Remove Caps Lock to CtrlL_Lock substitution
Resolves: #1842849
* Wed Feb 07 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.177-1
- Update to latest upstream version
Resolves: #1536894

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (console-setup_1.177.tar.xz) = 3d9c9290ac4e7f230be33bc67bba5624b4570514a05abe08425e9b443820829cd2da0e83d137bea4c412642e02f38a8e40911d1f6b7fdcdd4f5697dcc20226d5