aboutsummaryrefslogtreecommitdiff
path: root/x11/xkeyboard-config
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-10-29 09:53:25 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-10-29 09:53:25 +0000
commit6c2205980ceb9265e550b5dab29486b30e182f2b (patch)
treeaf5dd854c2c7602797aa194c86437980d260b2cf /x11/xkeyboard-config
parente2b43e3ac822b387410f5a092c7293faf27f7c5e (diff)
downloadports-6c2205980ceb9265e550b5dab29486b30e182f2b.tar.gz
ports-6c2205980ceb9265e550b5dab29486b30e182f2b.zip
Notes
Diffstat (limited to 'x11/xkeyboard-config')
-rw-r--r--x11/xkeyboard-config/Makefile8
-rw-r--r--x11/xkeyboard-config/files/etersoft-patch-symbols-typo26
2 files changed, 32 insertions, 2 deletions
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile
index 065f25e7a9d3..ebfa770a8e7a 100644
--- a/x11/xkeyboard-config/Makefile
+++ b/x11/xkeyboard-config/Makefile
@@ -4,10 +4,10 @@ PORTNAME= xkeyboard-config
PORTVERSION= 2.9
PORTREVISION= 1
CATEGORIES= x11
+MASTER_SITE_SUBDIR= individual/${XORG_CAT}/${PORTNAME}
MAINTAINER= x11@FreeBSD.org
COMMENT= X Keyboard Configuration Database
-MASTER_SITE_SUBDIR= individual/${XORG_CAT}/${PORTNAME}
LICENSE= MIT
@@ -28,8 +28,12 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN7= xkeyboard-config.7
+OPTIONS_DEFINE= ETERSOFT
+ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
+ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
+
NO_STAGE= yes
-.include <bsd.port.options.mk>
+#.include <bsd.port.options.mk>
# !nls case doesn't work correctly, comment it out.
#.if ${PORT_OPTIONS:MNLS}
diff --git a/x11/xkeyboard-config/files/etersoft-patch-symbols-typo b/x11/xkeyboard-config/files/etersoft-patch-symbols-typo
new file mode 100644
index 000000000000..cf04abcf75bd
--- /dev/null
+++ b/x11/xkeyboard-config/files/etersoft-patch-symbols-typo
@@ -0,0 +1,26 @@
+Etersoft version of typographic keyboard layout. It removes Yen symbol `¥'
+(can be easily inserted via "Compose Y =") and adds four letters of Russian
+orthography that were removed during the reform of 1917-1918.
+
+Original upstream bugzilla request:
+
+ http://bugs.etersoft.ru/show_bug.cgi?id=5466
+
+Description (in Russian) and the picture of keyboard layout:
+
+ http://kb.etersoft.ru/Типографская_раскладка_Etersoft
+
+--- symbols/typo.orig
++++ symbols/typo
+@@ -29,7 +29,10 @@
+ key <AD03> { [NoSymbol, NoSymbol, EuroSign] }; // "e"
+ key <AD04> { [NoSymbol, NoSymbol, registered] }; // "r"
+ key <AD05> { [NoSymbol, NoSymbol, trademark] }; // "t"
+- key <AD06> { [NoSymbol, NoSymbol, yen] }; // "y"
++ key <AD06> { [NoSymbol, NoSymbol, U0463, U0462] };
++ key <AD07> { [NoSymbol, NoSymbol, U0475, U0474] };
++ key <AD08> { [NoSymbol, NoSymbol, U0456, U0406] };
++ key <AD09> { [NoSymbol, NoSymbol, U0473, U0472] };
+ key <AD10> { [NoSymbol, NoSymbol, acute, doubleacute] }; // "p"
+ key <AD11> { [NoSymbol, NoSymbol, bracketleft, braceleft] }; // [
+ key <AD12> { [NoSymbol, NoSymbol, bracketright, braceright] }; // ]