Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package console-setup for openSUSE:Factory checked in at 2022-12-21 16:06:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/console-setup (Old) and /work/SRC/openSUSE:Factory/.console-setup.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "console-setup" Wed Dec 21 16:06:02 2022 rev:7 rq:1043942 version:1.134 Changes: -------- --- /work/SRC/openSUSE:Factory/console-setup/console-setup.changes 2019-01-29 14:45:37.635025728 +0100 +++ /work/SRC/openSUSE:Factory/.console-setup.new.1835/console-setup.changes 2022-12-21 16:06:08.054390645 +0100 @@ -1,0 +2,6 @@ +Mon Dec 12 09:54:28 UTC 2022 - Fabian Vogt <fv...@suse.com> + +- Add patch to fix Caps_Lock mapping for us.map and others (bsc#1202853): + * 0001-ckbcomp-Fix-check-for-non-ascii.patch + +------------------------------------------------------------------- New: ---- 0001-ckbcomp-Fix-check-for-non-ascii.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ console-setup.spec ++++++ --- /var/tmp/diff_new_pack.faljCd/_old 2022-12-21 16:06:10.274402617 +0100 +++ /var/tmp/diff_new_pack.faljCd/_new 2022-12-21 16:06:10.278402638 +0100 @@ -1,7 +1,7 @@ # # spec file for package console-setup # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Summary: Tools for configuring the console using X Window System key maps License: GPL-2.0-or-later AND MIT AND SUSE-Public-Domain Group: Applications/System -Url: http://packages.debian.org/cs/sid/console-setup +URL: http://packages.debian.org/cs/sid/console-setup Source: http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.tar.xz # Fixes installing paths to Fedora style Patch0: console-setup-1.76-paths.patch @@ -34,6 +34,8 @@ Patch3: console-setup-1.134-reproducible.patch # Fix Shift-Tab mapping (bsc#1122361) Patch4: u_fix-iso-left-tab.patch +# Fix using Caps_Lock where possible (bsc#1202853). Sent upstream. +Patch5: 0001-ckbcomp-Fix-check-for-non-ascii.patch BuildRequires: perl BuildRequires: perl(encoding) @@ -55,6 +57,7 @@ %patch2 -p1 -b .perl526 %patch3 -p1 -b .reproducible %patch4 -p1 -b .shift-tab +%patch5 -p1 -b .nonascii %build make build-linux ++++++ 0001-ckbcomp-Fix-check-for-non-ascii.patch ++++++ >From c73920250a124b9c6a73ed7211af74df993d449b Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fv...@suse.de> Date: Mon, 12 Dec 2022 09:54:11 +0100 Subject: [PATCH] ckbcomp: Fix check for non-ascii It did a string comparision with "127" (0x7f converted to string) which is true also for characters below 100, like '1' (51) or 'Q' (81) because the first letter of the string representation of their ASCII value is > '1'. This bug meant that even maps which didn't need it had $broken_caps = 1, leading to Caps_Lock getting replaced by CtrlL_Lock. With this patch, maps like 'us' use Caps_Lock again. Signed-off-by: Fabian Vogt <fv...@suse.de> --- Keyboard/ckbcomp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Keyboard/ckbcomp b/Keyboard/ckbcomp index adbcd79..6108fff 100755 --- a/Keyboard/ckbcomp +++ b/Keyboard/ckbcomp @@ -4376,7 +4376,7 @@ 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) { + if ($v != $c && $v > 0x7f) { $broken_caps = 1; } } -- 2.38.1