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
Hello Richard,


On 04/08/2012 04:18 PM, Richard Farina wrote:
> The pentoo founder is from Switzerland so we added the keymap for his > keyboard to genkernel. I figure if I'm going to unfork it would be > polite to include this in my submissions.
makes sense.
> Please note, the attached file > needs to be dropped in defaults/keymaps.tar.gz, and it seems that it > also must be copied to 43.map. Seems odd, but everything else appears > to be that way as well so.... submitted for approval. > > diff -Naur '--exclude=.svn' '--exclude=.git' > genkernel-3.4.18/defaults/initrd.scripts > pentoo/genkernel/trunk/defaults/initrd.scripts > --- genkernel-3.4.18/defaults/initrd.scripts 2012-03-24 > 23:23:39.476742487 -0400 > +++ pentoo/genkernel/trunk/defaults/initrd.scripts 2012-02-03 > 00:03:57.395026177 -0500 > @@ -581,6 +779,7 @@ > 40|uk) keymap=uk ;; > 41|us) keymap=us ;; > 42|wangbe) keymap=wangbe ;; > + 43|ch*) keymap=ch\(fr\) ;; > esac > fi > if [ -e /lib/keymaps/${keymap}.map ]
That tarball-in-git-thing bugged my so I resolved that issue in the process. It turned out the turkish keymap contained C code rather than a keymap. Yes, really. I have stored that keymap of yours as "sf.map" rather than "ch(fr).map" since that avoids braces and seems to be what others are calling it [1][2]. Please review branch "keymaps" so it can be merged into master: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=shortlog;h=refs/heads/keymaps Best, Sebastian [1] http://www.dosbox.com/wiki/KEYB [2] 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>