diff --git a/russian/Makefile b/russian/Makefile new file mode 100644 index 00000000000..7220aabc718 --- /dev/null +++ b/russian/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1998/07/21 08:28:24 form Exp $ +# + + SUBDIR += xcyrillic + SUBDIR += xruskb + +.include diff --git a/russian/pkg/COMMENT b/russian/pkg/COMMENT new file mode 100644 index 00000000000..97a8949856b --- /dev/null +++ b/russian/pkg/COMMENT @@ -0,0 +1 @@ +Russian language support. diff --git a/russian/xcyrillic/Makefile b/russian/xcyrillic/Makefile new file mode 100644 index 00000000000..52b5cb6f576 --- /dev/null +++ b/russian/xcyrillic/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: xrus +# Version required: 1.0 +# Date created: 21 Jul 1998 +# Whom: Oleg Safiullin +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/07/21 08:28:24 form Exp $ +# + +DISTNAME= xcyrillic-1.0 +CATEGORIES= russian x11 +MASTER_SITES= ftp://vs.itam.nsc.ru/pub/OpenBSD/distfiles/ +ALL_TARGET= X11R6 +INSTALL_TARGET= X11R6_install +USE_X11= yes + +MAINTAINER= form@vs.itam.nsc.ru + +post-install: + @${ECHO} "***" + @${ECHO} "*** Don't forget to add /usr/X11R6/lib/X11/fonts/cyrillic/*" + @${ECHO} "*** to your FontPath in /etc/XF86Config as first component." + @${ECHO} "***" + @${ECHO} "*** Also you may wish to install xruskb package to complete" + @${ECHO} "*** X11 cyrilisation process." + @${ECHO} "***" + +.include diff --git a/russian/xcyrillic/files/md5 b/russian/xcyrillic/files/md5 new file mode 100644 index 00000000000..c107cb0c840 --- /dev/null +++ b/russian/xcyrillic/files/md5 @@ -0,0 +1 @@ +MD5 (xcyrillic-1.0.tar.gz) = 096a24884314c034818c5b842c3c50d6 diff --git a/russian/xcyrillic/pkg/COMMENT b/russian/xcyrillic/pkg/COMMENT new file mode 100644 index 00000000000..2a3173e3dd8 --- /dev/null +++ b/russian/xcyrillic/pkg/COMMENT @@ -0,0 +1 @@ +Setup X11 fonts for russian language (koi8-r) diff --git a/russian/xcyrillic/pkg/DESCR b/russian/xcyrillic/pkg/DESCR new file mode 100644 index 00000000000..e3144caa738 --- /dev/null +++ b/russian/xcyrillic/pkg/DESCR @@ -0,0 +1,3 @@ +Setup X11 fonts for russian language (koi8-r) +Don't forget to add /usr/X11R6/lib/X11/fonts/cyrillic/* to your +FontPath in /etc/XF86Config as first component. diff --git a/russian/xcyrillic/pkg/PLIST b/russian/xcyrillic/pkg/PLIST new file mode 100644 index 00000000000..e43d69f762a --- /dev/null +++ b/russian/xcyrillic/pkg/PLIST @@ -0,0 +1,150 @@ +@exec if [ -d %D/lib/X11/fonts/cyrillic ]; then mv -f %D/lib/X11/fonts/cyrillic %D/lib/X11/fonts/cyrillic.old; fi +@exec mkdir -p %D/lib/X11/fonts/cyrillic +@exec mkdir -p %D/lib/X11/fonts/cyrillic/100dpi +@exec mkdir -p %D/lib/X11/fonts/cyrillic/75dpi +@exec mkdir -p %D/lib/X11/fonts/cyrillic/misc +lib/X11/fonts/cyrillic/xrus.info +lib/X11/fonts/cyrillic/75dpi/crox1c.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1cb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1cbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1co.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1h.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1hb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1hbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1ho.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1t.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1tb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1tbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox1to.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2c.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2cb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2cbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2co.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2h.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2hb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2hbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2ho.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2t.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2tb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2tbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox2to.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3c.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3cb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3cbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3co.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3h.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3hb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3hbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3ho.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3t.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3tb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3tbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox3to.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4h.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4hb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4hbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4ho.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4t.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4tb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4tbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox4to.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5h.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5hb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5hbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5ho.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5t.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5tb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5tbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox5to.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6h.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6hb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6hbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6ho.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6t.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6tb.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6tbo.pcf.gz +lib/X11/fonts/cyrillic/75dpi/crox6to.pcf.gz +lib/X11/fonts/cyrillic/75dpi/fonts.dir +lib/X11/fonts/cyrillic/100dpi/crox1c.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1cb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1cbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1co.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1h.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1hb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1hbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1ho.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1t.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1tb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1tbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox1to.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2c.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2cb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2cbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2co.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2h.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2hb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2hbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2ho.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2t.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2tb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2tbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox2to.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3c.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3cb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3cbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3co.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3h.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3hb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3hbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3ho.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3t.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3tb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3tbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox3to.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4h.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4hb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4hbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4ho.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4t.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4tb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4tbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox4to.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5h.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5hb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5hbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5ho.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5t.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5tb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5tbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox5to.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6h.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6hb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6hbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6ho.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6t.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6tb.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6tbo.pcf.gz +lib/X11/fonts/cyrillic/100dpi/crox6to.pcf.gz +lib/X11/fonts/cyrillic/100dpi/fonts.dir +lib/X11/fonts/cyrillic/misc/fonts.alias +lib/X11/fonts/cyrillic/misc/koi10x16b.pcf.gz +lib/X11/fonts/cyrillic/misc/koi10x20.pcf.gz +lib/X11/fonts/cyrillic/misc/koi12x24.pcf.gz +lib/X11/fonts/cyrillic/misc/koi6x10.pcf.gz +lib/X11/fonts/cyrillic/misc/koi6x13.pcf.gz +lib/X11/fonts/cyrillic/misc/koi8x13.pcf.gz +lib/X11/fonts/cyrillic/misc/koi9x15.pcf.gz +lib/X11/fonts/cyrillic/misc/koinil2.pcf.gz +lib/X11/fonts/cyrillic/misc/fonts.dir +@dirrm lib/X11/fonts/cyrillic/100dpi +@dirrm lib/X11/fonts/cyrillic/75dpi +@dirrm lib/X11/fonts/cyrillic/misc +@dirrm lib/X11/fonts/cyrillic +@exec echo "***" +@exec echo "*** Don't forget to add /usr/X11R6/lib/X11/fonts/cyrillic/*" +@exec echo "*** to your FontPath in /etc/XF86Config as first component." +@exec echo "***" +@exec echo "*** Also you may wish to install xruskb package to complete" +@exec echo "*** X11 cyrilisation process." +@exec echo "***" +@unexec if [ -d %D/lib/X11/fonts/cyrillic.old ]; then mv -f %D/lib/X11/fonts/cyrillic.old %D/lib/X11/fonts/cyrillic; fi diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile new file mode 100644 index 00000000000..76472480495 --- /dev/null +++ b/russian/xruskb/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: xruskb +# Version required: 1.5.3 +# Date created: 21 Jul 1998 +# Whom: Oleg Safiullin +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/07/21 08:28:24 form Exp $ +# + +DISTNAME= xruskb-1.5.3 +CATEGORIES= russian x11 +MASTER_SITES= ftp://ftp.kiarchive.ru/pub/cyrillic/x11/ \ + ftp://vs.itam.nsc.ru/pub/Unix/cyrillic/x11/ + +MAINTAINER= form@vs.itam.nsc.ru + +USE_X11= yes +GNU_CONFIGURE= yes + +.if defined(USE_MOTIF) +CONFIGURE_ARGS= --with-motif --without-Xaw +LIB_DEPENDS= Xm\\.1\\.:${PORTSDIR}/x11/lesstif +.else +CONFIGURE_ARGS= --without-motif --with-Xaw +.endif + +pre-configure: +.if !defined(USE_MOTIF) + @${ECHO} "***" + @${ECHO} "*** You are building Xaw version of xruskb." + @${ECHO} "*** Some features are not available in Xaw version." + @${ECHO} "*** If you wish to build full-featured Motif version," + @${ECHO} "*** just type 'make USE_MOTIF=yes'." + @${ECHO} "***" +.endif + +post-install: + ${CP} ${WRKSRC}/Xrus.ad ${X11BASE}/lib/X11/app-defaults/Xrus + ${CP} ${WRKSRC}/xrus.doc-english ${X11BASE}/share/xruskb/xrus.doc + ${CP} ${WRKSRC}/xrus.doc-koi8 ${X11BASE}/share/xruskb + +.include diff --git a/russian/xruskb/files/md5 b/russian/xruskb/files/md5 new file mode 100644 index 00000000000..947d9981714 --- /dev/null +++ b/russian/xruskb/files/md5 @@ -0,0 +1 @@ +MD5 (xruskb-1.5.3.tar.gz) = d0cad9abdcbff3816717e09a9ed2116b diff --git a/russian/xruskb/patches/patch-aa b/russian/xruskb/patches/patch-aa new file mode 100644 index 00000000000..22a64dfceed --- /dev/null +++ b/russian/xruskb/patches/patch-aa @@ -0,0 +1,63 @@ +*** Xrus.ad.orig Tue Jul 21 11:35:55 1998 +--- Xrus.ad Tue Jul 21 11:37:36 1998 +*************** +*** 19,28 **** + !*modeButton1.labelType: pixmap + !*modeButton1.labelPixmap: /home/lav/xrus/rus.xpm + +! *modeButton0.labelString: LAT +! *modeButton1.labelString: RUS +! *modeButton0.label: LAT +! *modeButton1.label: RUS + + ! whether make the two buttons equal in size + *adjustModeButtons: True +--- 19,28 ---- + !*modeButton1.labelType: pixmap + !*modeButton1.labelPixmap: /home/lav/xrus/rus.xpm + +! *modeButton0.labelString: En +! *modeButton1.labelString: Ru +! *modeButton0.label: En +! *modeButton1.label: Ru + + ! whether make the two buttons equal in size + *adjustModeButtons: True +*************** +*** 32,38 **** + *fontList: -*-helvetica-bold-r-*-*-14-* + + ! Display the button in the lower left corner +! *geometry: +0-0 + + ! To load russian modmap automatically on xrus startup, specify this: + !*xmodmap: /path/russian.xmm +--- 32,38 ---- + *fontList: -*-helvetica-bold-r-*-*-14-* + + ! Display the button in the lower left corner +! *geometry: -0+0 + + ! To load russian modmap automatically on xrus startup, specify this: + !*xmodmap: /path/russian.xmm +*************** +*** 50,58 **** + ! The command to use as screen locker + !*locker: exec xlock -remote >/dev/null 2>&1 + ! Bell when switching keyboard mode +! !*useBell: false + +! !*switchKeys: Shift_L+Shift_R + !*switchKeys: Shift_L+Control_L + + ! You can also specify non-triggering behavior by supplying +--- 50,58 ---- + ! The command to use as screen locker + !*locker: exec xlock -remote >/dev/null 2>&1 + ! Bell when switching keyboard mode +! *useBell: true + +! *switchKeys: Shift_L+Shift_R + !*switchKeys: Shift_L+Control_L + + ! You can also specify non-triggering behavior by supplying diff --git a/russian/xruskb/pkg/COMMENT b/russian/xruskb/pkg/COMMENT new file mode 100644 index 00000000000..686e0584196 --- /dev/null +++ b/russian/xruskb/pkg/COMMENT @@ -0,0 +1 @@ +xruskb 1.5.3, english-russian keyboard switcher for X11 diff --git a/russian/xruskb/pkg/DESCR b/russian/xruskb/pkg/DESCR new file mode 100644 index 00000000000..b9ad5f0d0a6 --- /dev/null +++ b/russian/xruskb/pkg/DESCR @@ -0,0 +1,18 @@ + Short description of Xrus + ~~~~~~~~~~~~~~~~~~~~~~~~~ + Xrus - program for switching two keyboard layouts with a hot +key combination. It also serves as autolock. + It can be compiled with Motif, Lesstif, Xaw or without any +widget library. In the later case it won't show its icon with +keyboard indicator. + It gets all keyboard and mouse events; when a particular hot +key combination is pressed, it swaps 1,2 and 3,4 columns of +keyboard map. When a timeout without keyboard and mouse events +passes, it starts a locker. + + Author: Alexander V. Lukaynov + Ported to OpenBSD by: Oleg Safiullin + +For more details on how to use Xrus, see +/usr/X11R6/share/xruskb/xrus.doc (english) or +/usr/X11R6/share/xrus/xrus.doc-koi8 (russian) diff --git a/russian/xruskb/pkg/PLIST b/russian/xruskb/pkg/PLIST new file mode 100644 index 00000000000..5abd45bdcd1 --- /dev/null +++ b/russian/xruskb/pkg/PLIST @@ -0,0 +1,19 @@ +bin/xrus +man/man1/xrus.1 +share/xruskb/DocumentL.xpm +share/xruskb/DocumentY.xpm +share/xruskb/rus.xpm +share/xruskb/usa.xpm +share/xruskb/jcuken-cp866.xmm +share/xruskb/jcuken-iso5.xmm +share/xruskb/yawerty-cyr.xmm +share/xruskb/jcuken-cp1251.xmm +share/xruskb/jcuken-koi8.xmm +share/xruskb/yawerty-iso5.xmm +share/xruskb/jcuken-cyr.xmm +share/xruskb/yawerty-cp866.xmm +share/xruskb/yawerty-koi8.xmm +share/xruskb/yawerty-cp1251.xmm +share/xruskb/xruskb.doc +share/xruskb/xruskb.doc-koi8 +@dirrm share/xruskb