Accepting request 1153934 from home:sndirsch:branches:Base:System
- fix conversion of lowercase f in de-e1 keymap (boo#1207841) OBS-URL: https://build.opensuse.org/request/show/1153934 OBS-URL: https://build.opensuse.org/package/show/Base:System/kbd?expand=0&rev=171
This commit is contained in:
parent
9db533125a
commit
dd8af6d12e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 1 11:42:56 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- fix conversion of lowercase f in de-e1 keymap (boo#1207841)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 22 12:40:21 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Thu Feb 22 12:40:21 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
6
kbd.spec
6
kbd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kbd
|
# spec file for package kbd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -326,6 +326,10 @@ while read line; do
|
|||||||
echo "$XKBLAYOUT" >> layouts-list.lst
|
echo "$XKBLAYOUT" >> layouts-list.lst
|
||||||
XKBVARIANT=`echo "$line" | cut -d " " -f 2`
|
XKBVARIANT=`echo "$line" | cut -d " " -f 2`
|
||||||
ckbcomp "$XKBLAYOUT" "$XKBVARIANT" > /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map
|
ckbcomp "$XKBLAYOUT" "$XKBVARIANT" > /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map
|
||||||
|
# fix conversion of lowercase f in de-e1 keymap (boo#1207841)
|
||||||
|
if [ "$XKBLAYOUT-$XKBVARIANT" == "de-e1" ]; then
|
||||||
|
sed -i 's/^plain keycode 33 = AltGr/plain keycode 33 = +U+0066/' /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map
|
||||||
|
fi
|
||||||
# skip converted layouts which cannot input ASCII (rh#1031848)
|
# skip converted layouts which cannot input ASCII (rh#1031848)
|
||||||
grep -q "U+0041" /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map && \
|
grep -q "U+0041" /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map && \
|
||||||
gzip -cn9 /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map > %{buildroot}%{kbd}/keymaps/xkb/"$XKBLAYOUT"-"$XKBVARIANT".map.gz
|
gzip -cn9 /tmp/"$XKBLAYOUT"-"$XKBVARIANT".map > %{buildroot}%{kbd}/keymaps/xkb/"$XKBLAYOUT"-"$XKBVARIANT".map.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user