summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-11-23 07:32:55 +0000
committerrh <rh@pkgsrc.org>1999-11-23 07:32:55 +0000
commitbc0a605ab153c5539646d896f1296a30b9a40612 (patch)
tree47c0934660b496c18f0652976f64abf28175c294 /x11
parent9c6b2278079c82250acdbf2dd234e2d2682799b2 (diff)
downloadpkgsrc-bc0a605ab153c5539646d896f1296a30b9a40612.tar.gz
Import xscript-19930228, an X script recording and playback tool.
Diffstat (limited to 'x11')
-rw-r--r--x11/xscript/Makefile21
-rw-r--r--x11/xscript/files/md53
-rw-r--r--x11/xscript/files/patch-sum4
-rw-r--r--x11/xscript/patches/patch-aa16
-rw-r--r--x11/xscript/patches/patch-ab12
-rw-r--r--x11/xscript/pkg/COMMENT1
-rw-r--r--x11/xscript/pkg/DESCR19
-rw-r--r--x11/xscript/pkg/PLIST3
8 files changed, 79 insertions, 0 deletions
diff --git a/x11/xscript/Makefile b/x11/xscript/Makefile
new file mode 100644
index 00000000000..e1d507629cf
--- /dev/null
+++ b/x11/xscript/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/11/23 07:32:55 rh Exp $
+#
+
+DISTNAME= xscript.tar
+PKGNAME= xscript-19930228
+WRKSRC= ${WRKDIR}/test-distrib/src
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
+ ftp://ftp.gwdg.de/pub/x11/x.org/R5contrib/ \
+ ftp://ftp.tu-darmstadt.de/pub/X11/R5contrib/ \
+ ftp://unix.hensa.ac.uk/mirrors/ftp.x.org/R5contrib/ \
+ ftp://ftp.darenet.dk/ny/mirrors/ftp.x.org/R5contrib/
+EXTRACT_SUFX= .Z
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.ee.ryerson.ca/~elf/xapps/Q-XVIII.html
+
+USE_X11BASE= YES
+USE_IMAKE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xscript/files/md5 b/x11/xscript/files/md5
new file mode 100644
index 00000000000..b886adfd157
--- /dev/null
+++ b/x11/xscript/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/11/23 07:32:56 rh Exp $
+
+MD5 (xscript.tar.Z) = 2a6c38240803b5876ab10ab5e745f185
diff --git a/x11/xscript/files/patch-sum b/x11/xscript/files/patch-sum
new file mode 100644
index 00000000000..7b8f1829c48
--- /dev/null
+++ b/x11/xscript/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/11/23 07:32:56 rh Exp $
+
+MD5 (patch-aa) = 036cd52c5059f7f67d2f2fc5582ce105
+MD5 (patch-ab) = 055f7c4768a62fc4601094ab945c8962
diff --git a/x11/xscript/patches/patch-aa b/x11/xscript/patches/patch-aa
new file mode 100644
index 00000000000..e4fde64776c
--- /dev/null
+++ b/x11/xscript/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/11/23 07:32:56 rh Exp $
+
+--- Imakefile.orig Wed Apr 28 06:31:43 1993
++++ Imakefile Mon Nov 22 09:46:01 1999
+@@ -17,9 +17,9 @@
+ ## prior permission.
+ ##
+
+- SYS_LIBRARIES = -Bdynamic -lm
++ SYS_LIBRARIES = -lm
+ DEPLIBS = $(DEPXLIB)
+-LOCAL_LIBRARIES = -Bstatic $(XLIB)
++LOCAL_LIBRARIES = $(XLIB)
+
+ SRCS = prtype.c print11.c table11.c decode11.c \
+ server.c fd.c common.c scope.c \
diff --git a/x11/xscript/patches/patch-ab b/x11/xscript/patches/patch-ab
new file mode 100644
index 00000000000..1781aff8ad0
--- /dev/null
+++ b/x11/xscript/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/11/23 07:32:56 rh Exp $
+
+--- ev_ascii.c.orig Wed Apr 28 06:31:48 1993
++++ ev_ascii.c Mon Nov 22 09:41:30 1999
+@@ -458,6 +458,7 @@
+ int scr_win, scr_subw;
+ char scr_spec_str [40];
+ int error = 0;
++ extern Display *Dpy;
+
+ if (8 != sscanf(line,"%s %s %s %x %x %d %d %lu",
+ scr_type, scr_spec_str, scr_state, &scr_win, &scr_subw,
diff --git a/x11/xscript/pkg/COMMENT b/x11/xscript/pkg/COMMENT
new file mode 100644
index 00000000000..64dc6010503
--- /dev/null
+++ b/x11/xscript/pkg/COMMENT
@@ -0,0 +1 @@
+X Window system script recording and playback
diff --git a/x11/xscript/pkg/DESCR b/x11/xscript/pkg/DESCR
new file mode 100644
index 00000000000..2714c4fa2ee
--- /dev/null
+++ b/x11/xscript/pkg/DESCR
@@ -0,0 +1,19 @@
+ xscript is a program which sits between an X client and an
+X server, monitors the events flowing from the server to
+the client, and records events in a script file. Xscript can
+also play back events from a script file to a client.
+
+ xscript is useful as part of a regression test system, as it
+can automate the playing of fixed sequences of operations into
+an application program based on X. xscript can detect
+application-program failures during playback. To do so, it
+detects the failure of windows to appear as necessary for
+playback, and reports errors when windows do not appear within
+one second of when they are expected. A failure of a window to
+appear is symptomatic of several classes of application failures,
+including failure of a popup to appear and an application crash.
+
+ Please note that xscript was written for X11R5 and therefore
+has problems with some X11R6 programs!
+
+ xscript is based on James L. Peterson's xscope program.
diff --git a/x11/xscript/pkg/PLIST b/x11/xscript/pkg/PLIST
new file mode 100644
index 00000000000..edb2b25937d
--- /dev/null
+++ b/x11/xscript/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/23 07:32:55 rh Exp $
+bin/xscript
+man/cat1/xscript.0