2013-02-17 02:22:41 -07:00
|
|
|
#/bin/sh
|
2021-05-22 10:55:04 -06:00
|
|
|
set -euo pipefail
|
2013-02-17 02:22:41 -07:00
|
|
|
|
|
|
|
XKBCONFIGROOT='/usr/share/X11/xkb'
|
2021-05-22 10:55:04 -06:00
|
|
|
XLOCALEDIR='/usr/share/X11/locale'
|
2013-02-17 02:22:41 -07:00
|
|
|
|
|
|
|
if [ ! -d test/data ]; then
|
|
|
|
echo "Run this from the top source dir"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
for file in \
|
|
|
|
symbols/terminate \
|
|
|
|
symbols/in \
|
|
|
|
symbols/keypad \
|
|
|
|
symbols/altwin \
|
|
|
|
symbols/ctrl \
|
|
|
|
symbols/eurosign \
|
|
|
|
symbols/inet \
|
|
|
|
symbols/shift \
|
|
|
|
symbols/pc \
|
|
|
|
symbols/ca \
|
2013-08-13 05:45:33 -06:00
|
|
|
symbols/cz \
|
2013-02-17 02:22:41 -07:00
|
|
|
symbols/srvr_ctrl \
|
|
|
|
symbols/capslock \
|
|
|
|
symbols/latin \
|
|
|
|
symbols/level5 \
|
2014-10-16 08:55:46 -06:00
|
|
|
symbols/macintosh_vndr/apple \
|
|
|
|
symbols/macintosh_vndr/us \
|
2013-02-17 02:22:41 -07:00
|
|
|
symbols/us \
|
|
|
|
symbols/nbsp \
|
|
|
|
symbols/il \
|
|
|
|
symbols/group \
|
|
|
|
symbols/compose \
|
|
|
|
symbols/level3 \
|
|
|
|
symbols/ru \
|
|
|
|
symbols/rupeesign \
|
|
|
|
symbols/kpdl \
|
|
|
|
symbols/de \
|
2013-08-01 11:24:27 -06:00
|
|
|
symbols/ch \
|
|
|
|
symbols/empty \
|
2013-02-17 02:22:41 -07:00
|
|
|
keycodes/xfree86 \
|
|
|
|
keycodes/aliases \
|
|
|
|
keycodes/evdev \
|
2013-08-01 11:24:27 -06:00
|
|
|
keycodes/empty \
|
2013-02-17 02:22:41 -07:00
|
|
|
types/complete \
|
|
|
|
types/pc \
|
|
|
|
types/basic \
|
|
|
|
types/iso9995 \
|
|
|
|
types/level5 \
|
|
|
|
types/numpad \
|
|
|
|
types/extra \
|
|
|
|
types/mousekeys \
|
|
|
|
compat/complete \
|
|
|
|
compat/lednum \
|
|
|
|
compat/pc \
|
|
|
|
compat/ledscroll \
|
|
|
|
compat/basic \
|
|
|
|
compat/misc \
|
|
|
|
compat/iso9995 \
|
|
|
|
compat/accessx \
|
|
|
|
compat/xfree86 \
|
|
|
|
compat/level5 \
|
|
|
|
compat/caps \
|
|
|
|
compat/ledcaps \
|
|
|
|
compat/mousekeys \
|
|
|
|
rules/base \
|
|
|
|
rules/evdev \
|
|
|
|
; do
|
|
|
|
cp "$XKBCONFIGROOT/$file" "test/data/$file"
|
|
|
|
done
|
2021-05-22 10:55:04 -06:00
|
|
|
|
|
|
|
for file in \
|
|
|
|
compose.dir \
|
|
|
|
locale.alias \
|
|
|
|
locale.dir \
|
|
|
|
en_US.UTF-8/Compose \
|
|
|
|
; do
|
|
|
|
cp "$XLOCALEDIR/$file" "test/data/locale/$file"
|
|
|
|
done
|