diff --git a/kbd-2.0.2-euro-unicode.patch b/kbd-2.0.2-euro-unicode.patch new file mode 100644 index 0000000..f16f907 --- /dev/null +++ b/kbd-2.0.2-euro-unicode.patch @@ -0,0 +1,33 @@ +Index: data/keymaps/i386/include/euro.map +=================================================================== +--- data/keymaps/i386/include/euro.map.orig 2012-02-27 11:27:10.000000000 +0100 ++++ data/keymaps/i386/include/euro.map 2014-09-25 12:31:37.594749095 +0200 +@@ -2,5 +2,5 @@ + # [Say: "loadkeys euro" to get Euro and cent with Alt on the positions + # where many keyboards have E and C. + # To get it displayed, use a latin0 (i.e., latin9) font.] +-alt keycode 18 = currency ++alt keycode 18 = euro + alt keycode 46 = cent +Index: data/keymaps/i386/include/euro1.map +=================================================================== +--- data/keymaps/i386/include/euro1.map.orig 2012-02-27 11:27:10.000000000 +0100 ++++ data/keymaps/i386/include/euro1.map 2014-09-25 12:31:20.218749689 +0200 +@@ -2,5 +2,5 @@ + # [Say: "loadkeys euro1" to get Euro and cent with AltGr (right alt) + # on the positions where many keyboards have 5 and C. + # To get it displayed, use a latin0 (i.e., latin9) font.] +-altgr keycode 6 = currency ++altgr keycode 6 = euro + altgr keycode 46 = cent +Index: data/keymaps/i386/include/euro2.map +=================================================================== +--- data/keymaps/i386/include/euro2.map.orig 2012-02-27 11:27:10.000000000 +0100 ++++ data/keymaps/i386/include/euro2.map 2014-09-25 12:31:52.098748600 +0200 +@@ -2,5 +2,5 @@ + # [Say: "loadkeys euro2" to get Euro and cent with AltGr (right alt) + # on the positions where many keyboards have E and C. + # To get it displayed, use a latin0 (i.e., latin9) font.] +-altgr keycode 18 = currency ++altgr keycode 18 = euro + altgr keycode 46 = cent diff --git a/kbd.changes b/kbd.changes index d5ad023..689a0b5 100644 --- a/kbd.changes +++ b/kbd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Sep 25 10:33:55 UTC 2014 - pgajdos@suse.com + +- euro{,1,2}.map now produces correct unicode for Euro sign + [bnc#360993] +- added patches: + * kbd-2.0.2-euro-unicode.patch + ------------------------------------------------------------------- Thu Sep 18 10:54:51 UTC 2014 - pgajdos@suse.com diff --git a/kbd.spec b/kbd.spec index adc8134..5c25f01 100644 --- a/kbd.spec +++ b/kbd.spec @@ -51,6 +51,7 @@ Patch5: kbd-1.15.2-setfont-no-cruft.patch Patch6: kbd-1.15.2-dumpkeys-C-opt.patch Patch9: kbd-2.0.2-comment-typo-qwerty.patch Patch10: kbd-2.0.2-doshell-reference.patch +Patch11: kbd-2.0.2-euro-unicode.patch BuildRequires: automake BuildRequires: bison @@ -93,6 +94,7 @@ Authors: %patch6 %patch9 %patch10 +%patch11 %build for i in `find data/keymaps/mac -type f` ; do