diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2015-10-29 13:29:20 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2015-10-29 13:32:35 +0100 |
commit | 61c6597246cba5af1ea82cbbe0d2f094604c6569 (patch) | |
tree | 6b2a62e78ef24c1ad6f6bab151e197174c8447e1 | |
parent | 6efc697224cd26394b22329ec043405f9eca6797 (diff) | |
download | nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.tar nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.tar.gz nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.tar.bz2 nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.tar.lz nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.tar.xz nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.tar.zst nixlib-61c6597246cba5af1ea82cbbe0d2f094604c6569.zip |
Bringing back eo symbols for xkb
I port the patch for esperanto symbols removed in 1be2acd1317aadc8e1a08d17312e524fb5fc2a4300 to the current xkeyboardconfig. (cherry picked from commit 4a830de0323e34592a36dea660d9a3ec8348964e)
-rw-r--r-- | pkgs/servers/x11/xorg/overrides.nix | 3 | ||||
-rw-r--r-- | pkgs/servers/x11/xorg/xkeyboard-config-eo.patch | 71 |
2 files changed, 73 insertions, 1 deletions
diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 23583f6dfb74..1ef67a1aa8e5 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -264,7 +264,8 @@ in buildInputs = attrs.buildInputs ++ [args.intltool]; - #TODO: resurrect patches for US_intl or Esperanto? + #TODO: resurrect patches for US_intl? + patches = [ ./xkeyboard-config-eo.patch ]; # 1: compatibility for X11/xkb location # 2: I think pkgconfig/ is supposed to be in /lib/ diff --git a/pkgs/servers/x11/xorg/xkeyboard-config-eo.patch b/pkgs/servers/x11/xorg/xkeyboard-config-eo.patch new file mode 100644 index 000000000000..360768774db9 --- /dev/null +++ b/pkgs/servers/x11/xorg/xkeyboard-config-eo.patch @@ -0,0 +1,71 @@ +diff --git a/rules/base.xml.in b/rules/base.xml.in +index ec321f8..e9c3546 100644 +--- a/rules/base.xml.in ++++ b/rules/base.xml.in +@@ -1786,6 +1786,13 @@ + </layout> + <layout> + <configItem> ++ <name>eo</name> ++ <_shortDescription>Esp</_shortDescription> ++ <_description>Esperanto</_description> ++ </configItem> ++ </layout> ++ <layout> ++ <configItem> + <name>ir</name> + <_shortDescription>Irn</_shortDescription> + <_description>Iran</_description> +diff --git a/symbols/Makefile.am b/symbols/Makefile.am +index 97c816d..d7e3a4e 100644 +--- a/symbols/Makefile.am ++++ b/symbols/Makefile.am +@@ -10,7 +10,7 @@ bt by braille \ + ca cd \ + ch cn cz \ + de dk \ +-ee es et epo eu \ ++ee eo es et epo eu \ + fi fo fr \ + gb ge gh gn \ + gr hr hu \ +diff --git a/symbols/Makefile.in b/symbols/Makefile.in +index b5be077..5cddcc7 100644 +--- a/symbols/Makefile.in ++++ b/symbols/Makefile.in +@@ -222,7 +222,7 @@ bt by braille \ + ca cd \ + ch cn cz \ + de dk \ +-ee es et epo eu \ ++ee eo es et epo eu \ + fi fo fr \ + gb ge gh gn \ + gr hr hu \ +diff --git a/symbols/eo b/symbols/eo +new file mode 100644 +index 0000000..d6358c9 +--- /dev/null ++++ b/symbols/eo +@@ -0,0 +1,21 @@ ++// $XFree86$ ++ ++partial alphanumeric_keys ++xkb_symbols "basic" { ++ ++ // Describes the differences between a very simple en_US ++ // keyboard and a simple Esperanto keyboard ++ // Press AltGr or Windows Menu key together with C, H, J, S, U ++ // to get accented letters. ++ // 2001 by Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk> ++ ++ key.type = "FOUR_LEVEL"; ++ ++ key <AD02> { [w,W, ubreve,Ubreve ] }; ++ key <AD07> { [u,U, ubreve, Ubreve ] }; ++ key <AC02> { [s,S, scircumflex, Scircumflex ] }; ++ key <AC05> { [g,G, gcircumflex,Gcircumflex ] }; ++ key <AC06> { [h,H, hcircumflex,Hcircumflex ] }; ++ key <AC07> { [j,J, jcircumflex,Jcircumflex ] }; ++ key <AB03> { [c,C, ccircumflex,Ccircumflex ] }; ++}; |