Gentoo Archives: gentoo-genkernel

From: Richard Farina <sidhayn@×××××.com>
To: gentoo-genkernel@l.g.o
Subject: Re: [gentoo-genkernel] keymap addition
Date: Mon, 09 Apr 2012 02:38:47
Message-Id: 4F824BEF.3060800@gmail.com
In Reply to: Re: [gentoo-genkernel] keymap addition by Sebastian Pipping
1 On 04/08/12 21:58, Sebastian Pipping wrote:
2 > Hello Richard,
3 >
4 >
5 > On 04/08/2012 04:18 PM, Richard Farina wrote:
6 >> The pentoo founder is from Switzerland so we added the keymap for his
7 >> keyboard to genkernel. I figure if I'm going to unfork it would be
8 >> polite to include this in my submissions.
9 > makes sense.
10 >
11 >
12 >> Please note, the attached file
13 >> needs to be dropped in defaults/keymaps.tar.gz, and it seems that it
14 >> also must be copied to 43.map. Seems odd, but everything else appears
15 >> to be that way as well so.... submitted for approval.
16 >>
17 >> diff -Naur '--exclude=.svn' '--exclude=.git'
18 >> genkernel-3.4.18/defaults/initrd.scripts
19 >> pentoo/genkernel/trunk/defaults/initrd.scripts
20 >> --- genkernel-3.4.18/defaults/initrd.scripts 2012-03-24
21 >> 23:23:39.476742487 -0400
22 >> +++ pentoo/genkernel/trunk/defaults/initrd.scripts 2012-02-03
23 >> 00:03:57.395026177 -0500
24 >> @@ -581,6 +779,7 @@
25 >> 40|uk) keymap=uk ;;
26 >> 41|us) keymap=us ;;
27 >> 42|wangbe) keymap=wangbe ;;
28 >> + 43|ch*) keymap=ch\(fr\) ;;
29 >> esac
30 >> fi
31 >> if [ -e /lib/keymaps/${keymap}.map ]
32 > That tarball-in-git-thing bugged my so I resolved that issue in the
33 > process. It turned out the turkish keymap contained C code rather than
34 > a keymap. Yes, really.
35 Fantastic.
36 > I have stored that keymap of yours as "sf.map" rather than "ch(fr).map"
37 > since that avoids braces and seems to be what others are calling it [1][2].
38 Acceptable
39 > Please review branch "keymaps" so it can be merged into master:
40 >
41 > http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=shortlog;h=refs/heads/keymaps
42 Acked-by: Rick Farina <sidhayn@×××××.com>
43 > Best,
44 >
45 >
46 >
47 > Sebastian
48 >
49 >
50 > [1] http://www.dosbox.com/wiki/KEYB
51 > [2]
52 > http://en.wikipedia.org/wiki/Keyboard_layout#Switzerland_.28German.2C_French.2C_Italian.2C_Romansh.29.2C_Liechtenstein.2C_Luxembourg
53 >
54 >

Replies

Subject Author
Re: [gentoo-genkernel] keymap addition Sebastian Pipping <sping@g.o>