diff options
Diffstat (limited to 'xorg-server/xkeyboard-config/rules/bin')
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/Makefile.am | 10 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/ml1_s.sh | 9 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/ml1v1_s.sh | 7 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh | 7 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/ml_s.sh | 9 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/mln_s.sh | 10 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/mlnvn_s.sh | 8 | ||||
-rw-r--r-- | xorg-server/xkeyboard-config/rules/bin/mlv_s.sh | 7 |
8 files changed, 67 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..b09459a5d --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/ml1_s.sh @@ -0,0 +1,9 @@ +@echo off + +set OUTFILE=base.ml1_s.part + +if exist %OUTFILE% del %OUTFILE% + +gawk "{ if (index($2, """(""") == 0) { printf """ * %%s = pc+%%s%%%%(v[1])\n""", $1, $2; } else { printf """ * %%s = pc+%%s\n""", $1, $2; }}" < layoutsMapping.lst >> %OUTFILE% + +gawk "{ printf """ * %%s(%%s) = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < 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..4d492e02b --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/ml1v1_s.sh @@ -0,0 +1,7 @@ +@echo off + +set OUTFILE=base.ml1v1_s.part + +if exist %OUTFILE% del %OUTFILE% + +gawk "{ printf """ * %%s %%s = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < 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..cec1334c0 --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh @@ -0,0 +1,7 @@ +@echo off + +set OUTFILE=base.ml1v_s.part + +if exist %OUTFILE% del %OUTFILE% + +gawk "{ printf """ * %%s %%s = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < 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..b7f0d9c46 --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/ml_s.sh @@ -0,0 +1,9 @@ +@echo off + +set OUTFILE=base.ml_s.part + +if exist %OUTFILE% del %OUTFILE% + +gawk "{ printf """ * %%s = pc+%%s\n""", $1, $2; }" < layoutsMapping.lst >> %OUTFILE% + +gawk "{ printf """ * %%s(%%s) = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < 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..66794a4fc --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/mln_s.sh @@ -0,0 +1,10 @@ +@echo off
+set variant=%1
+
+set OUTFILE=base.ml%variant%_s.part
+
+if exist %OUTFILE% del %OUTFILE%
+
+echo "{ if (index($2, """(""") == 0) { printf """ * %%s = +%%s%%%%(v[%variant%]):%variant%\n""", $1, $2; } else { printf """ * %%s = +%%s:%variant%\n""", $1, $2; }}" < layoutsMapping.lst >> %OUTFILE%
+
+gawk "{ printf """ * %%s(%%s) = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < 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..8e252943b --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/mlnvn_s.sh @@ -0,0 +1,8 @@ +@echo off
+set variant=%1
+
+set OUTFILE=base.ml%variant%v%variant%_s.part
+
+if exist %OUTFILE% del %OUTFILE%
+
+gawk "{ printf """ * %%s %%s = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < 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..573cb930f --- /dev/null +++ b/xorg-server/xkeyboard-config/rules/bin/mlv_s.sh @@ -0,0 +1,7 @@ +@echo off + +set OUTFILE=base.mlv_s.part + +if exist %OUTFILE% del %OUTFILE% + +gawk "{ printf """ * %%s %%s = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < variantsMapping.lst >> %OUTFILE% |