Bug 59000

Summary: Several corrections and improvements to console<->xkb keymap translation table (kbd-model-map)
Product: systemd Reporter: Adam Williamson <adamw>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: 0001-French-Canadian-xlayout-is-just-ca-not-ca-fr-any-mor.patch
0002-add-Belarussian-mapping-simple-by-and-by.patch
0003-add-Hebrew-Israel-simple-il-il.patch
0004-add-Kazakh-keyboard-mapping-kazakh-kz.patch
0005-add-Lithuanian-keyboard-mapping-lt-lt.patch
0006-correct-Macedonian-keyboard-mapping-X-layout-is-mk-n.patch

Description Adam Williamson 2013-01-03 22:01:23 UTC
Created attachment 72480 [details] [review]
0001-French-Canadian-xlayout-is-just-ca-not-ca-fr-any-mor.patch

Attached are several git formatted patches against master which correct various issues in the kbd-model-map table for translating between xkb and console keyboard maps.

0001-French-Canadian-xlayout-is-just-ca-not-ca-fr-any-mor.patch - the xkb layout for French Canadian is now just 'ca', not 'ca(fr)'.

0002-add-Belarussian-mapping-simple-by-and-by.patch - Belarussian (Byelorussian) entry was missing, this is straightforward, 'by' / 'by,us' like the other Russic layouts.

0003-add-Hebrew-Israel-simple-il-il.patch - simple entry for Israeli (Hebrew).

0004-add-Kazakh-keyboard-mapping-kazakh-kz.patch - simple entry for Kazakh (kazakh / kz,us), with switching like other Russic ones.

0005-add-Lithuanian-keyboard-mapping-lt-lt.patch - simple entry for Lithuanian.

0006-correct-Macedonian-keyboard-mapping-X-layout-is-mk-n.patch - xkb layout for Macedonian is now 'mk', not 'mkd'.

This should somewhat ameliorate the situation described in downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=889562 , though many many cases remain, where there simply is no console layout that matches a given X layout. We could get fancy and start guessing that Georgians probably want a Russian layout, or something, but I think that way madness lies, we just need to get xkb layouts working on console outside of Debianland. This is just a stopgap for Fedora 18.
Comment 1 Adam Williamson 2013-01-03 22:02:10 UTC
Created attachment 72481 [details] [review]
0002-add-Belarussian-mapping-simple-by-and-by.patch
Comment 2 Adam Williamson 2013-01-03 22:02:52 UTC
Created attachment 72482 [details] [review]
0003-add-Hebrew-Israel-simple-il-il.patch
Comment 3 Adam Williamson 2013-01-03 22:03:06 UTC
Created attachment 72483 [details] [review]
0004-add-Kazakh-keyboard-mapping-kazakh-kz.patch
Comment 4 Adam Williamson 2013-01-03 22:06:16 UTC
Created attachment 72484 [details] [review]
0005-add-Lithuanian-keyboard-mapping-lt-lt.patch
Comment 5 Adam Williamson 2013-01-03 22:06:31 UTC
Created attachment 72485 [details] [review]
0006-correct-Macedonian-keyboard-mapping-X-layout-is-mk-n.patch
Comment 6 Lennart Poettering 2013-01-03 22:11:48 UTC
Hey, do you want commit access? If so, can you follow http://www.freedesktop.org/wiki/AccountRequests (unless you already have a user)?

The stuff looks all flawless to me, commited all 6 of them.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.