From 6791cb8298f0ac06d9b4b737d59712b924186f5f Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 21 Feb 2013 16:02:03 +0100 Subject: [PATCH] Fix decimal separator in Swiss German keyboard layout --- kbd-1.15.5-sg-decimal-separator.patch | 12 ++++++++++++ kbd.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 kbd-1.15.5-sg-decimal-separator.patch diff --git a/kbd-1.15.5-sg-decimal-separator.patch b/kbd-1.15.5-sg-decimal-separator.patch new file mode 100644 index 0000000..cb7398d --- /dev/null +++ b/kbd-1.15.5-sg-decimal-separator.patch @@ -0,0 +1,12 @@ +diff -up kbd-1.15.5/data/keymaps/i386/qwertz/sg.map.orig kbd-1.15.5/data/keymaps/i386/qwertz/sg.map +--- kbd-1.15.5/data/keymaps/i386/qwertz/sg.map.orig 2013-02-21 15:54:39.362799094 +0100 ++++ kbd-1.15.5/data/keymaps/i386/qwertz/sg.map 2013-02-21 15:54:46.448838554 +0100 +@@ -1,7 +1,7 @@ + keymaps 0-2,4-6,8,12 + include "qwertz-layout" + include "linux-with-alt-and-altgr.inc" +- plain keycode 83 = KP_Comma ++ plain keycode 83 = KP_Period + strings as usual + + keycode 1 = Escape Escape diff --git a/kbd.spec b/kbd.spec index 08891c5..802ae94 100644 --- a/kbd.spec +++ b/kbd.spec @@ -1,6 +1,6 @@ Name: kbd Version: 1.15.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tools for configuring the console (keyboard, virtual terminals, etc.) Group: System Environment/Base @@ -22,6 +22,8 @@ Patch2: kbd-1.15-unicode_start.patch Patch3: kbd-1.15.3-dumpkeys-man.patch # Patch4: fixes loadkeys regression (already upstream) Patch4: kbd-1.15.5-loadkeys-regression.patch +# Patch5: fixes decimal separator in Swiss German keyboard layout, bz 882529 +Patch5: kbd-1.15.5-sg-decimal-separator.patch BuildRequires: bison, flex, gettext, pam-devel BuildRequires: console-setup, xkeyboard-config @@ -51,6 +53,7 @@ cp -fp %{SOURCE6} . %patch2 -p1 -b .unicode_start %patch3 -p1 -b .dumpkeys-man %patch4 -p1 -b .loadkeys-regression +%patch5 -p1 -b .sg-decimal-separator # 7-bit maps are obsolete; so are non-euro maps pushd data/keymaps/i386 @@ -136,6 +139,10 @@ done < layouts-variants.lst /lib/kbd %changelog +* Thu Feb 21 2013 Vitezslav Crhonek - 1.15.5-5 +- Fix decimal separator in Swiss German keyboard layout + Resolves: #882529 + * Thu Feb 14 2013 Fedora Release Engineering - 1.15.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild