Initial import

This commit is contained in:
don 1998-01-24 21:36:51 +00:00
parent 7ac253f104
commit 4cf9677881
40 changed files with 448 additions and 0 deletions

18
x11/sliderule/Makefile Normal file
View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: sliderule
# Version required: 11.3 (X11R3)
# Date created: 11 January 1998
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:36:51 don Exp $
#
DISTNAME= sliderule
PKGNAME= sliderule-1.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
.include <bsd.port.mk>

1
x11/sliderule/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (sliderule.tar.gz) = 94f1b0947a8a6f5aaafe332ee38c48b9

View File

@ -0,0 +1 @@
The part of X11R3's xcalc featuring a slide rule

7
x11/sliderule/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
This is the part of X11R3's xcalc(1) utility that features a historic
Slide Rule. This is not taken to be too serious, it's merely a little
fun project for those people who have learned their basics of mathemat-
ics and logarithms by using such a nice ``pocket calculator''.
The original xcalc is from John Bradley, and Mark Rosenstein. A number
of bugs and inaccuracies fixed by Joerg Wunsch.

2
x11/sliderule/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/sliderule
man/cat1/sliderule.0

18
x11/swisswatch/Makefile Normal file
View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: swisswatch
# Version required: 0.0.6
# Date created: 11 January 1998
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:40:53 don Exp $
#
DISTNAME= swisswatch-0.06
CATEGORIES= x11
MASTER_SITES= ftp://ftp.iij.ad.jp/pub/X/R5contrib/
EXTRACT_SUFX= .tar.Z
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
.include <bsd.port.mk>

1
x11/swisswatch/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (swisswatch-0.06.tar.Z) = 003c4829d7fc9d93ff1d1fdf3c148395

View File

@ -0,0 +1,11 @@
--- Imakefile.org Sat Dec 16 19:10:12 1995
+++ Imakefile Sat Dec 16 18:59:27 1995
@@ -1,7 +1,7 @@
#ifdef ContribRules
ContribRules
#endif
-DEFINES = ExtensionDefines
+DEFINES = ExtensionDefines -DSHAPE
SRCS = swisswatch.c SwissWatch.c Hand.c Mark.c HandOrMark.c TableConvert.c
OBJS = swisswatch.o SwissWatch.o Hand.o Mark.o HandOrMark.o TableConvert.o
DEPLIBS = $(DEPXTOOLLIB) $(DEPXMULIB) $(DEPEXTENSIONLIB) $(DEPXLIB)

View File

@ -0,0 +1,19 @@
*** SwissWatch.c.orig Sun Jan 11 20:15:34 1998
--- SwissWatch.c Sun Jan 11 20:16:09 1998
***************
*** 280,286 ****
struct timeval tvnow;
gettimeofday(& tvnow, (struct timezone *) 0);
! tm_now = localtime(&tvnow.tv_sec);
#if HAVE_GMTOFF
w->swiss_watch.now_local_sec = tvnow.tv_sec+tm_now->tm_gmtoff;
#else /* not HAVE_GMTOFF */
--- 280,286 ----
struct timeval tvnow;
gettimeofday(& tvnow, (struct timezone *) 0);
! tm_now = localtime((time_t *)&tvnow.tv_sec);
#if HAVE_GMTOFF
w->swiss_watch.now_local_sec = tvnow.tv_sec+tm_now->tm_gmtoff;
#else /* not HAVE_GMTOFF */

View File

@ -0,0 +1 @@
A Swiss railway clock emulation, and a fancy default appearance.

12
x11/swisswatch/pkg/DESCR Normal file
View File

@ -0,0 +1,12 @@
Swisswatch is a fancy Swiss railway clock emulator.
This program support color display, you must add belong lines to ~/.Xdefaults.
#if COLOR
swisswatch*customization: -color
#endif
and exec `xrdb $HOME/.Xdefaults'.
- Yoshiro MIHIRA
(sanpei@yy.cs.keio.ac.jp)

4
x11/swisswatch/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
bin/swisswatch
lib/X11/app-defaults/SwissWatch
lib/X11/app-defaults/SwissWatch-color
man/cat1/swisswatch.0

19
x11/xantfarm/Makefile Normal file
View File

@ -0,0 +1,19 @@
# OpenBSD makefile for: xantfarm
# Version required: 1.16
# Date created: 6 January 1998
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:44:10 don Exp $
#
DISTNAME= xantfarm
PKGNAME= xantfarm-1.16
CATEGORIES= x11
MASTER_SITES= ftp://ftp.kuis.kyoto-u.ac.jp/Linux/JG/other-sources/
DISTFILES= xantfarm23oct91.tar.gz
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
.include <bsd.port.mk>

1
x11/xantfarm/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xantfarm23oct91.tar.gz) = 2820d9fa8090c269a51a544fb22200c0

View File

@ -0,0 +1,117 @@
*** xantfarm.c.orig Wed Oct 23 12:42:38 1991
--- xantfarm.c Tue Jan 6 17:16:57 1998
***************
*** 108,119 ****
/* Externals. */
!
extern char* getenv();
extern char* malloc();
extern long random();
extern char* realloc();
extern long time();
/* Forward routines. */
--- 108,120 ----
/* Externals. */
! #ifndef __OpenBSD__
extern char* getenv();
extern char* malloc();
extern long random();
extern char* realloc();
extern long time();
+ #endif
/* Forward routines. */
***************
*** 395,401 ****
--- 396,406 ----
}
/* Initialize the random number generator. */
+ #ifndef __OpenBSD__
srandom( (int) ( time( (long*) 0 ) ^ getpid() ) );
+ #else
+ srandom( (int) ( time( (time_t*) 0 ) ^ getpid() ) );
+ #endif
/* Create the ant world. */
ant_init();
***************
*** 617,634 ****
char buf[500];
cp = getenv( "HOME" );
! if ( cp != (char*) 0 )
(void) strcpy( buf, cp );
else
{
struct passwd* pw;
cp = getenv( "USER" );
! if ( cp != (char*) 0 )
pw = getpwnam( cp );
else
pw = getpwuid( getuid() );
! if ( pw != (struct passwd*) 0 )
(void) strcpy( buf, pw->pw_dir );
else
(void) strcpy( buf, "." ); /* best we can do */
--- 622,639 ----
char buf[500];
cp = getenv( "HOME" );
! if ( cp != NULL )
(void) strcpy( buf, cp );
else
{
struct passwd* pw;
cp = getenv( "USER" );
! if ( cp != NULL )
pw = getpwnam( cp );
else
pw = getpwuid( getuid() );
! if ( pw != NULL )
(void) strcpy( buf, pw->pw_dir );
else
(void) strcpy( buf, "." ); /* best we can do */
***************
*** 639,645 ****
/* Merge in XENVIRONMENT, if any. */
xenv = getenv( "XENVIRONMENT" );
! if ( xenv != (char*) 0 )
{
XrmDatabase tdb;
--- 644,650 ----
/* Merge in XENVIRONMENT, if any. */
xenv = getenv( "XENVIRONMENT" );
! if ( xenv != NULL )
{
XrmDatabase tdb;
***************
*** 1530,1536 ****
char* cf;
{
FILE* cfP;
! char* buf[500];
int w, h, x, y, c;
cfP = fopen( cf, "r" );
--- 1535,1541 ----
char* cf;
{
FILE* cfP;
! char buf[500];
int w, h, x, y, c;
cfP = fopen( cf, "r" );

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

@ -0,0 +1 @@
ant hill simulation on X11 root window

1
x11/xantfarm/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
Xantfarm animates the X11 root window with a simulated ant hill.

2
x11/xantfarm/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/xantfarm
man/cat1/xantfarm.0

18
x11/xdaliclock/Makefile Normal file
View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: xdaliclock
# Version required 2.10
# Date created: 21 December, 1997
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:47:51 don Exp $
#
DISTNAME= xdaliclock-2.10
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
.include <bsd.port.mk>

1
x11/xdaliclock/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xdaliclock-2.10.tar.gz) = 9687fc15bb8f20e646531a5002e4e0c1

View File

@ -0,0 +1 @@
A rather neat animated clock.

7
x11/xdaliclock/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
XDaliClock V 2.05
This is a neat program which ``morphs'' each of the digits into the
next in the sequence to update the time. Good processor hog for all you
P90 owners.
Gary Palmer <gpalmer@FreeBSD.ORG>

2
x11/xdaliclock/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/xdaliclock
man/cat1/xdaliclock.0

22
x11/xmold/Makefile Normal file
View File

@ -0,0 +1,22 @@
# OpenBSD makefile for: xmold
# Version required: 1.0
# Date created: December 21, 1997
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:50:36 don Exp $
#
DISTNAME= xmold
PKGNAME= xmold-1.0
CATEGORIES= x11
MASTER_SITES= ftp://cclub.tutcc.tut.ac.jp/pub/xwin/
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
do-install:
@${MKDIR} -p ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/xmold ${PREFIX}/bin
.include <bsd.port.mk>

1
x11/xmold/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xmold.tar.gz) = 55044eb045346c226a53e09f2e215002

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

@ -0,0 +1 @@
mold spreading over your X-Window screen

10
x11/xmold/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
XMold, mold spreading over your X-Window screen.
Usage:
xmold
Recover:
xrefresh
Yukihiro Nakai<Nakai@Mlab.t.u-tokyo.ac.jp>

1
x11/xmold/pkg/PLIST Normal file
View File

@ -0,0 +1 @@
bin/xmold

25
x11/xpostit/Makefile Normal file
View File

@ -0,0 +1,25 @@
# OpenBSD makefile for: xpostit
# Version required: 3.3.1
# Date created: 11 January 1998
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:51:54 don Exp $
#
DISTNAME= xpostit3.3.1
PKGNAME= xpostit-3.3.1
CATEGORIES= x11
#
# Not all servers archie could find actually still have it. Alas, some
# servers only have the comp.sources.x version, with its distfile named
# `part01.gz'.
#
MASTER_SITES= ftp://ftp.hrz.th-darmstadt.de/pub/X11/R5contrib/
EXTRACT_SUFX= .tar.Z
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/xpostit
.include <bsd.port.mk>

1
x11/xpostit/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xpostit3.3.1.tar.Z) = 9fa0b297118054ea3242e0ae00cf2345

View File

@ -0,0 +1,50 @@
--- plaid.c.orig Thu Dec 10 17:40:26 1992
+++ plaid.c Mon May 6 13:23:17 1996
@@ -60,6 +60,7 @@
{
Arg args[4];
register int nargs;
+ Dimension width, height;
/*
* Create the plaid widget.
@@ -78,20 +79,22 @@
* Get the width and height of the widget.
*/
nargs = 0;
- SetArg(XtNwidth, NULL);
- SetArg(XtNheight, NULL);
+ SetArg(XtNwidth, &width);
+ SetArg(XtNheight, &height);
XtGetValues(plaidwidget, args, nargs);
/*
* If the user didn't set them, then we
* should set them to the defaults.
*/
- if ((args[0].value == 0) || (args[1].value == 0)) {
- if (args[0].value == 0)
- XtSetArg(args[0], XtNwidth, DefaultPlaidWidth);
+ if (width == 0 || height == 0) {
+ nargs = 0;
- if (args[1].value == 0)
- XtSetArg(args[1], XtNheight, DefaultPlaidHeight);
+ if (width == 0)
+ SetArg(XtNwidth, DefaultPlaidWidth);
+
+ if (height == 0)
+ SetArg(XtNheight, DefaultPlaidHeight);
XtSetValues(plaidwidget, args, nargs);
}
--- ./xpostit.c.org Thu Dec 10 08:40:27 1992
+++ ./xpostit.c Thu Oct 31 21:31:14 1996
@@ -121,7 +121,6 @@
{
Arg args[4];
char *appname;
- char *rindex();
Atom protos[2];
register int nargs;
Boolean setsigs = False;

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

@ -0,0 +1 @@
PostIt (R) messages onto your X11 screen

23
x11/xpostit/pkg/DESCR Normal file
View File

@ -0,0 +1,23 @@
Copyright 1991 by David A. Curry
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting documentation. The
author makes no representations about the suitability of this software for
any purpose. It is provided "as is" without express or implied warranty.
------------------------------------------------------------------------
This is XPostIt Version 3.3.1 for X11 Releases 4 and 5. XPostIt allows
you to create small notes to yourself in windows on the screen, and save
them in disk files. This is generally neater than having numerous real
Post-it notes stuck all around the edges of your monitor.
------------------------------------------------------------------------
Dave Curry
Purdue University
Engineering Computer Network
West Lafayette, IN 47907
davy@ecn.purdue.edu

4
x11/xpostit/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
bin/xpostit
lib/X11/app-defaults/XPostit
lib/X11/app-defaults/XPostit-color
man/man1/xpostit.1.gz

18
x11/xpostitPlus/Makefile Normal file
View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: xpostit+
# Version required: 2.3
# Date created: 11 January 1998
# Whom: Don Schmidt
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/24 21:54:09 don Exp $
#
DISTNAME= XPostitPlus-2.3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= office
MAINTAINER= don@OpenBSD.ORG
USE_IMAKE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (XPostitPlus-2.3.tar.gz) = e5a7eca4abb91ad4db21add67f8d203c

View File

@ -0,0 +1,19 @@
--- Imakefile.orig Fri Sep 26 12:06:02 1997
+++ Imakefile Fri Sep 26 12:30:24 1997
@@ -25,4 +25,4 @@
-BINDIR=bin-d
-MANDIR=man-d
+XCOMM BINDIR=bin-d
+XCOMM MANDIR=man-d
@@ -37,3 +37,3 @@
XCOMM for debugging purposes
-DEFINES = -g -Wall
+DEFINES = -Wall
@@ -44,3 +44,3 @@
XCOMM notes if you haven't specified to save-on-exit on the command line.
-XCOMM DEFINES = -DPROMPT_FOR_SAVE
+DEFINES = -DPROMPT_FOR_SAVE

View File

@ -0,0 +1 @@
PostIt (R) messages onto your X11 screen

View File

@ -0,0 +1,2 @@
This is another branch of xpostit development tree. Allows to fill
your screen with virtual PostIt (R) notes. They are saved into files.

View File

@ -0,0 +1,3 @@
bin/xpostit+
lib/X11/app-defaults/XPostitPlus
man/cat1/xpostit+.0