Gentoo Archives: gentoo-genkernel

From: Sebastian Pipping <sping@g.o>
To: gentoo-genkernel@l.g.o
Subject: Re: [gentoo-genkernel] keymap addition
Date: Mon, 09 Apr 2012 01:59:00
Message-Id: 4F82423B.5090203@gentoo.org
In Reply to: [gentoo-genkernel] keymap addition by Richard Farina
1 Hello Richard,
2
3
4 On 04/08/2012 04:18 PM, Richard Farina wrote:
5 > The pentoo founder is from Switzerland so we added the keymap for his
6 > keyboard to genkernel. I figure if I'm going to unfork it would be
7 > polite to include this in my submissions.
8
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
33 That tarball-in-git-thing bugged my so I resolved that issue in the
34 process. It turned out the turkish keymap contained C code rather than
35 a keymap. Yes, really.
36
37 I have stored that keymap of yours as "sf.map" rather than "ch(fr).map"
38 since that avoids braces and seems to be what others are calling it [1][2].
39
40 Please review branch "keymaps" so it can be merged into master:
41
42 http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=shortlog;h=refs/heads/keymaps
43
44 Best,
45
46
47
48 Sebastian
49
50
51 [1] http://www.dosbox.com/wiki/KEYB
52 [2]
53 http://en.wikipedia.org/wiki/Keyboard_layout#Switzerland_.28German.2C_French.2C_Italian.2C_Romansh.29.2C_Liechtenstein.2C_Luxembourg

Replies

Subject Author
Re: [gentoo-genkernel] keymap addition Richard Farina <sidhayn@×××××.com>