From a62cdec7a1528e4799f72429d1506724a0001957 Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 25 Jan 2001 17:03:05 +0000 Subject: [PATCH] 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. --- x11/xwit/Makefile | 20 ++++++++++++++++++++ x11/xwit/files/md5 | 3 +++ x11/xwit/patches/patch-xwit_c | 12 ++++++++++++ x11/xwit/pkg/COMMENT | 1 + x11/xwit/pkg/DESCR | 11 +++++++++++ x11/xwit/pkg/PLIST | 3 +++ 6 files changed, 50 insertions(+) create mode 100644 x11/xwit/Makefile create mode 100644 x11/xwit/files/md5 create mode 100644 x11/xwit/patches/patch-xwit_c create mode 100644 x11/xwit/pkg/COMMENT create mode 100644 x11/xwit/pkg/DESCR create mode 100644 x11/xwit/pkg/PLIST diff --git a/x11/xwit/Makefile b/x11/xwit/Makefile new file mode 100644 index 00000000000..4ed6a7c3926 --- /dev/null +++ b/x11/xwit/Makefile @@ -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 + +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 diff --git a/x11/xwit/files/md5 b/x11/xwit/files/md5 new file mode 100644 index 00000000000..31d86a6f8ab --- /dev/null +++ b/x11/xwit/files/md5 @@ -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 diff --git a/x11/xwit/patches/patch-xwit_c b/x11/xwit/patches/patch-xwit_c new file mode 100644 index 00000000000..f64f618b97d --- /dev/null +++ b/x11/xwit/patches/patch-xwit_c @@ -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); + } + + /* diff --git a/x11/xwit/pkg/COMMENT b/x11/xwit/pkg/COMMENT new file mode 100644 index 00000000000..6536a828704 --- /dev/null +++ b/x11/xwit/pkg/COMMENT @@ -0,0 +1 @@ +X11 window interface tool diff --git a/x11/xwit/pkg/DESCR b/x11/xwit/pkg/DESCR new file mode 100644 index 00000000000..a7f9fed5262 --- /dev/null +++ b/x11/xwit/pkg/DESCR @@ -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. diff --git a/x11/xwit/pkg/PLIST b/x11/xwit/pkg/PLIST new file mode 100644 index 00000000000..4eb58c64021 --- /dev/null +++ b/x11/xwit/pkg/PLIST @@ -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