Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 1998 10:36:38 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6151: New port: xrus-1.5.2
Message-ID:  <199803280736.KAA13627@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         6151
>Category:       ports
>Synopsis:       New port: xrus-1.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 27 23:40:01 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of X localized keyboard switch and autolock.

   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.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xrus-1.5.2
#	xrus-1.5.2/Makefile
#	xrus-1.5.2/files
#	xrus-1.5.2/files/md5
#	xrus-1.5.2/patches
#	xrus-1.5.2/patches/patch-aa
#	xrus-1.5.2/patches/patch-ab
#	xrus-1.5.2/pkg
#	xrus-1.5.2/pkg/COMMENT
#	xrus-1.5.2/pkg/PLIST
#	xrus-1.5.2/pkg/DESCR
#
echo c - xrus-1.5.2
mkdir -p xrus-1.5.2 > /dev/null 2>&1
echo x - xrus-1.5.2/Makefile
sed 's/^X//' >xrus-1.5.2/Makefile << 'END-of-xrus-1.5.2/Makefile'
X# New ports collection makefile for:	xrus
X# Version required:			1.5.2
X# Date created:				24 March 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		xruskb-1.5.2
XPKGNAME=		xrus-1.5.2
XCATEGORIES=		russian x11
XMASTER_SITES=		ftp://ftp.yars.free.net/pub/software/unix/x11/ \
X			ftp://ftp.relcom.ru/pub/x11/cyrillic/ \
X			${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	x11/xutils
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XLIB_DEPENDS=		Xm\\.0\\.:${PORTSDIR}/x11/lesstif
X
XGNU_CONFIGURE=		yes
XUSE_X11=		yes
X
XMAN1=			xrus.1
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/xrus ${PREFIX}/bin
X	@ ${INSTALL_MAN} ${WRKSRC}/xrus.1 ${PREFIX}/man/man1
X	@ ${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${PREFIX}/lib/X11/app-defaults/Xrus
X	@ ${MKDIR} ${PREFIX}/share/xrus
X	@ ${INSTALL_DATA} ${WRKSRC}/keymaps/*.xmm ${PREFIX}/share/xrus
X	@ ${MKDIR} ${PREFIX}/share/doc/xrus
X.for file in COPYING NEWS README TODO xrus.doc-english xrus.doc-koi8
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xrus
X.endfor
X
X.include <bsd.port.mk>
END-of-xrus-1.5.2/Makefile
echo c - xrus-1.5.2/files
mkdir -p xrus-1.5.2/files > /dev/null 2>&1
echo x - xrus-1.5.2/files/md5
sed 's/^X//' >xrus-1.5.2/files/md5 << 'END-of-xrus-1.5.2/files/md5'
XMD5 (xruskb-1.5.2.tar.gz) = 89727f52a979b3b27c255b89da4fd85c
END-of-xrus-1.5.2/files/md5
echo c - xrus-1.5.2/patches
mkdir -p xrus-1.5.2/patches > /dev/null 2>&1
echo x - xrus-1.5.2/patches/patch-aa
sed 's/^X//' >xrus-1.5.2/patches/patch-aa << 'END-of-xrus-1.5.2/patches/patch-aa'
X--- configure	Fri Jan 30 17:12:17 1998
X+++ /home/andy/tmp/wrk/configure	Sat Mar 28 00:19:30 1998
X@@ -695,7 +695,7 @@
X fi
X 
X 
X-PACKAGE=xruskb
X+PACKAGE=xrus
X 
X VERSION=1.5.2
X 
END-of-xrus-1.5.2/patches/patch-aa
echo x - xrus-1.5.2/patches/patch-ab
sed 's/^X//' >xrus-1.5.2/patches/patch-ab << 'END-of-xrus-1.5.2/patches/patch-ab'
X--- Xrus.ad	Sun Apr 20 21:19:59 1997
X+++ /home/andy/tmp/wrk/Xrus.ad	Sat Mar 28 01:28:37 1998
X@@ -36,6 +36,7 @@
X 
X ! To load russian modmap automatically on xrus startup, specify this:
X !*xmodmap: /path/russian.xmm
X+*xmodmap: jcuken-koi8-xrus
X 
X ! If you want xrus to hang always on top of other windows, uncomment this:
X !*alwaysOnTop: True
X@@ -52,6 +53,7 @@
X ! Bell when switching keyboard mode
X !*useBell:	false
X 
X+*switchKeys:	Control_R
X !*switchKeys:	Shift_L+Shift_R
X !*switchKeys:	Shift_L+Control_L
X 
END-of-xrus-1.5.2/patches/patch-ab
echo c - xrus-1.5.2/pkg
mkdir -p xrus-1.5.2/pkg > /dev/null 2>&1
echo x - xrus-1.5.2/pkg/COMMENT
sed 's/^X//' >xrus-1.5.2/pkg/COMMENT << 'END-of-xrus-1.5.2/pkg/COMMENT'
XX localized keyboard switch and autolock.
END-of-xrus-1.5.2/pkg/COMMENT
echo x - xrus-1.5.2/pkg/PLIST
sed 's/^X//' >xrus-1.5.2/pkg/PLIST << 'END-of-xrus-1.5.2/pkg/PLIST'
Xbin/xrus
Xman/man1/xrus.1.gz
Xshare/doc/xrus/COPYING
Xshare/doc/xrus/NEWS
Xshare/doc/xrus/README
Xshare/doc/xrus/TODO
Xshare/doc/xrus/xrus.doc-english
Xshare/doc/xrus/xrus.doc-koi8
Xshare/xrus/jcuken-alt-xrus.xmm
Xshare/xrus/jcuken-cp1251-xrus.xmm
Xshare/xrus/jcuken-cyr-xrus.xmm
Xshare/xrus/jcuken-iso-xrus.xmm
Xshare/xrus/jcuken-koi8-xrus.xmm
Xshare/xrus/yawerty-alt-xrus.xmm
Xshare/xrus/yawerty-cyr-xrus.xmm
Xshare/xrus/yawerty-iso-xrus.xmm
Xshare/xrus/yawerty-koi8-xrus.xmm
X@dirrm share/xrus
X@dirrm share/doc/xrus
END-of-xrus-1.5.2/pkg/PLIST
echo x - xrus-1.5.2/pkg/DESCR
sed 's/^X//' >xrus-1.5.2/pkg/DESCR << 'END-of-xrus-1.5.2/pkg/DESCR'
X   Xrus - program for switching two keyboard layouts with a hot
Xkey combination. It also serves as autolock.
X   It can be  compiled with Motif, Lesstif, Xaw  or without any
Xwidget library. In  the later case it won't show  its icon with
Xkeyboard indicator.
X   It gets all keyboard and mouse events; when a particular hot
Xkey combination  is pressed,  it swaps 1,2  and 3,4  columns of
Xkeyboard map. When a timeout  without keyboard and mouse events
Xpasses, it starts a locker.
END-of-xrus-1.5.2/pkg/DESCR
exit


>How-To-Repeat:

>Fix:
	
   Please, check and commit this port.
   Please, also take a look at the following problem: this port can 
compile with or without Motif/lesstif library. What the preferred
way to do dependencies?

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803280736.KAA13627>