wok-current rev 13277
Add X keyboard name aliases in kbd-base (Bug 19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 23 10:14:12 2012 +0200 (2012-08-23) |
parents | fbb0f6a5043a |
children | ab6b8c6c469c |
files | kbd-base/receipt syslinux/receipt |
line diff
1.1 --- a/kbd-base/receipt Thu Aug 23 09:27:46 2012 +0200 1.2 +++ b/kbd-base/receipt Thu Aug 23 10:14:12 2012 +0200 1.3 @@ -35,5 +35,11 @@ 1.4 $fs/usr/share/kbd/keymaps 1.5 cp -a $install/usr/share/kbd/keymaps/i386/include \ 1.6 $fs/usr/share/kbd/keymaps/i386/include 1.7 + # X11 keyboard aliases 1.8 + while read X keymap ; do 1.9 + ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz 1.10 + done <<EOT 1.11 +qwertz/hr croat 1.12 +EOT 1.13 } 1.14
2.1 --- a/syslinux/receipt Thu Aug 23 09:27:46 2012 +0200 2.2 +++ b/syslinux/receipt Thu Aug 23 10:14:12 2012 +0200 2.3 @@ -44,16 +44,19 @@ 2.4 rm -f $fs/boot/isolinux/display.txt 2.5 ( cd $src ; ls *.kbd | cpio -o -H newc ) > $fs/boot/isolinux/cpio.kbd 2.6 while read label kbd loc menu; do 2.7 - #[ -s $src/$kbd.kbd ] || continue 2.8 - cat >> $fs/boot/isolinux/i18n.cfg <<EOT 2.9 + for i in ${kbd/,/ }; do 2.10 + [ -e $src/$i.kbd ] || continue 2.11 + cat >> $fs/boot/isolinux/i18n.cfg <<EOT 2.12 2.13 LABEL $label 2.14 MENU LABEL $menu 2.15 com32 c32box.c32 2.16 - append kbdmap cpio.kbd $kbd.kbd lang=$loc kmap=$kbd 2.17 + append kbdmap cpio.kbd $i.kbd lang=$loc kmap=$i 2.18 EOT 2.19 + break 2.20 + done 2.21 done <<EOT 2.22 -cr croat hr_HR Hvratski 2.23 +cr hr,croat hr_HR Hvratski 2.24 cz cz-lat2 cs_CZ Cesky 2.25 de de-latin1 de_DE@euro Deutsch 2.26 de_CH\ deCH de_CH-latin1 de_DE Deutsch Schweitz