Import xwit-3.4.

Patch by deraadt@

xwit ("x window interface tool") is a hodge-podge collection of
simple routines to call some of those X11 functions that don't
already have any utility commands built around them.
This commit is contained in:
naddy 2001-01-25 17:03:05 +00:00
parent 24eba80fb3
commit a62cdec7a1
6 changed files with 50 additions and 0 deletions

20
x11/xwit/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/25 17:03:05 naddy Exp $
DISTNAME= xwit-3.4
CATEGORIES= x11
NEED_VERSION= 1.352
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= utilities
USE_X11= Yes
CONFIGURE_STYLE= imake
.include <bsd.port.mk>

3
x11/xwit/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (xwit-3.4.tar.gz) = 627a2ff424ae5593be929f3def62dd1e
RMD160 (xwit-3.4.tar.gz) = 62a92780352e81130e8d894e377744b61c67bd90
SHA1 (xwit-3.4.tar.gz) = 916f32c200f8bd5d30738b9added84612c1366ae

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-xwit_c,v 1.1.1.1 2001/01/25 17:03:05 naddy Exp $
--- xwit.c.orig Tue Oct 21 03:32:54 1997
+++ xwit.c Mon Jan 22 22:21:10 2001
@@ -134,7 +134,7 @@ int ms;
struct timeval tv;
tv.tv_sec = ms/1000;
tv.tv_usec = (ms%1000)*1000;
- select(0,(int*)0,(int*)0,(int*)0,&tv);
+ select(0,NULL,NULL,NULL,&tv);
}
/*

1
x11/xwit/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
X11 window interface tool

11
x11/xwit/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
xwit ("x window interface tool") is a hodge-podge collection of
simple routines to call some of those X11 functions that don't
already have any utility commands built around them. The reasoning
behind this is that loosely every X function should be accessible
from a shell script.
For example, XWarpPointer() will move the X pointer, but no utility
program exists to do so on those rare occasions when you could
really use it. xwit will also resize, iconify, pop, and move windows
given by name or id, change an icon, title or name, set the screen
saver going, and change individual key autorepeat settings, etc.

3
x11/xwit/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/25 17:03:05 naddy Exp $
bin/xwit
man/cat1/xwit.0