aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/rules/bin
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-07-13 07:35:01 +0000
committermarha <marha@users.sourceforge.net>2010-07-13 07:35:01 +0000
commit81124070f120ab658e094b64f6944d701b003a99 (patch)
tree735e49473d8c4545e39cf98981e3dcdfd70760f9 /xorg-server/xkeyboard-config/rules/bin
parentf2388fcb82e72ee921139e9a4c8f9223e4ae04cd (diff)
downloadvcxsrv-81124070f120ab658e094b64f6944d701b003a99.tar.gz
vcxsrv-81124070f120ab658e094b64f6944d701b003a99.tar.bz2
vcxsrv-81124070f120ab658e094b64f6944d701b003a99.zip
Renamed xkbdata.src to xkeyboard-config (to reflect the name in the git repository)
Diffstat (limited to 'xorg-server/xkeyboard-config/rules/bin')
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/Makefile.am10
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/ml1_s.sh18
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/ml1v1_s.sh10
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh10
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/ml_s.sh14
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/mln_s.sh20
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/mlnvn_s.sh12
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/mlv_s.sh10
8 files changed, 104 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/rules/bin/Makefile.am b/xorg-server/xkeyboard-config/rules/bin/Makefile.am
new file mode 100644
index 000000000..787e34f8a
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/Makefile.am
@@ -0,0 +1,10 @@
+transform_scripts= \
+mln_s.sh \
+mlnvn_s.sh \
+ml_s.sh \
+mlv_s.sh \
+ml1_s.sh \
+ml1v_s.sh \
+ml1v1_s.sh
+
+EXTRA_DIST=$(transform_scripts)
diff --git a/xorg-server/xkeyboard-config/rules/bin/ml1_s.sh b/xorg-server/xkeyboard-config/rules/bin/ml1_s.sh
new file mode 100644
index 000000000..b2d222432
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/ml1_s.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+INDIR=$1
+OUTFILE=base.ml1_s.part
+
+> $OUTFILE
+
+awk '{
+ if (index($2, "(") == 0) {
+ printf " * %s = pc+%s%%(v[1])\n", $1, $2;
+ } else {
+ printf " * %s = pc+%s\n", $1, $2;
+ }
+}' < $INDIR/layoutsMapping.lst >> $OUTFILE
+
+awk '{
+ printf " * %s(%s) = pc+%s(%s)\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE
diff --git a/xorg-server/xkeyboard-config/rules/bin/ml1v1_s.sh b/xorg-server/xkeyboard-config/rules/bin/ml1v1_s.sh
new file mode 100644
index 000000000..7c2b1a84c
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/ml1v1_s.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+INDIR=$1
+OUTFILE=base.ml1v1_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " * %s %s = pc+%s(%s)\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE
diff --git a/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh b/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh
new file mode 100644
index 000000000..084d4c0be
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+INDIR=$1
+OUTFILE=base.ml1v_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " * %s %s = pc+%s(%s)\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE
diff --git a/xorg-server/xkeyboard-config/rules/bin/ml_s.sh b/xorg-server/xkeyboard-config/rules/bin/ml_s.sh
new file mode 100644
index 000000000..666ba870f
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/ml_s.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+INDIR=$1
+OUTFILE=base.ml_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " * %s = pc+%s\n", $1, $2;
+}' < $INDIR/layoutsMapping.lst >> $OUTFILE
+
+awk '{
+ printf " * %s(%s) = pc+%s(%s)\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE
diff --git a/xorg-server/xkeyboard-config/rules/bin/mln_s.sh b/xorg-server/xkeyboard-config/rules/bin/mln_s.sh
new file mode 100644
index 000000000..4a615fe7d
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/mln_s.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+variant=$1
+
+INDIR=$2
+OUTFILE=base.ml${variant}_s.part
+
+> $OUTFILE
+
+awk '{
+ if (index($2, "(") == 0) {
+ printf " * %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2;
+ } else {
+ printf " * %s = +%s:'${variant}'\n", $1, $2;
+ }
+}' < $INDIR/layoutsMapping.lst >> $OUTFILE
+
+awk '{
+ printf " * %s(%s) = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE
diff --git a/xorg-server/xkeyboard-config/rules/bin/mlnvn_s.sh b/xorg-server/xkeyboard-config/rules/bin/mlnvn_s.sh
new file mode 100644
index 000000000..30123874b
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/mlnvn_s.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+variant=$1
+
+INDIR=$2
+OUTFILE=base.ml${variant}v${variant}_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " * %s %s = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE
diff --git a/xorg-server/xkeyboard-config/rules/bin/mlv_s.sh b/xorg-server/xkeyboard-config/rules/bin/mlv_s.sh
new file mode 100644
index 000000000..5b466d59c
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/mlv_s.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+INDIR=$1
+OUTFILE=base.mlv_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " * %s %s = pc+%s(%s)\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE