mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
remove old x11 games that were already failing (xasteroids segfaulting
all over the place, at least on LP64; xpilot unable to connect to either network or local server). ok tb
This commit is contained in:
@@ -369,7 +369,6 @@
|
||||
SUBDIR += wordwarvi
|
||||
SUBDIR += wrath
|
||||
SUBDIR += wtf
|
||||
SUBDIR += xasteroids
|
||||
SUBDIR += xbattle
|
||||
SUBDIR += xbill
|
||||
SUBDIR += xbl
|
||||
@@ -401,7 +400,6 @@
|
||||
SUBDIR += xonix
|
||||
SUBDIR += xonotic
|
||||
SUBDIR += xpat2
|
||||
SUBDIR += xpilot
|
||||
SUBDIR += xroach
|
||||
SUBDIR += xscavenger
|
||||
SUBDIR += xscrabble
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
COMMENT= X11-based asteroids-style arcade
|
||||
|
||||
DISTNAME= xasteroids
|
||||
PKGNAME= xasteroids-5.0
|
||||
REVISION= 4
|
||||
CATEGORIES= games
|
||||
|
||||
SITES= ${SITE_R5CONTRIB}
|
||||
EXTRACT_SUFX= .sh.Z
|
||||
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB= X11 Xau Xdmcp Xext c m xcb
|
||||
|
||||
CONFIGURE_STYLE=imake
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/Imakefile ${WRKSRC}
|
||||
@mv ${WRKSRC}/xast.man ${WRKSRC}/xasteroids.man
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (xasteroids.sh.Z) = fqL5177JJMlRcAuOsBEkoIhG/+vTNLIFWOGjdzCybKw=
|
||||
SIZE (xasteroids.sh.Z) = 18700
|
||||
@@ -1,7 +0,0 @@
|
||||
LOCAL_LIBRARIES = -lm $(XLIB)
|
||||
MANSUFFIX = 6
|
||||
|
||||
OBJS = xast.o
|
||||
SRCS = xast.c
|
||||
|
||||
ComplexProgramTarget(xasteroids)
|
||||
@@ -1,10 +0,0 @@
|
||||
--- xast.c.orig Wed Apr 19 17:39:04 2017
|
||||
+++ xast.c Wed Apr 19 17:40:03 2017
|
||||
@@ -282,6 +282,7 @@ blastpair(i, j) /* Generate random velocity vector v.
|
||||
#define rotinert(i) (double) (obj[i].mass*shapesize[obj[i].shape]*shapesize[obj[i].shape])
|
||||
|
||||
/* cause two objects to collide elastically */
|
||||
+void
|
||||
bounce(i, j)
|
||||
int i,j;
|
||||
{
|
||||
@@ -1,26 +0,0 @@
|
||||
--- xasteroids.man.orig Tue Feb 17 21:50:09 2015
|
||||
+++ xasteroids.man Tue Feb 17 21:50:02 2015
|
||||
@@ -61,10 +61,16 @@ Phil Goetz
|
||||
.br
|
||||
goetz@cs.Buffalo.EDU
|
||||
.SH CONTRIBUTORS
|
||||
-Peter Phillips pphillip@cs.ubc.ca
|
||||
-Pat Ryan pat@jaameri.gsfc.nasa.gov
|
||||
-Craig Smith csmith@cscs.UUCP
|
||||
-Doug Merritt doug@netcom.com
|
||||
-James Berg berg@plains (makefile)
|
||||
-Chris Moore moore@src.bae.co.uk (hi score script)
|
||||
-David Partain dlp@ida.liu.se (original man page)
|
||||
+Peter Phillips <pphillip@cs.ubc.ca>
|
||||
+.br
|
||||
+Pat Ryan <pat@jaameri.gsfc.nasa.gov>
|
||||
+.br
|
||||
+Craig Smith <csmith@cscs.UUCP>
|
||||
+.br
|
||||
+Doug Merritt <doug@netcom.com>
|
||||
+.br
|
||||
+James Berg <berg@plains> (makefile)
|
||||
+.br
|
||||
+Chris Moore <moore@src.bae.co.uk> (hi score script)
|
||||
+.br
|
||||
+David Partain <dlp@ida.liu.se> (original man page)
|
||||
@@ -1 +0,0 @@
|
||||
X-based asteroids style arcade game. Make big rocks into little ones.
|
||||
@@ -1,2 +0,0 @@
|
||||
@bin bin/xasteroids
|
||||
@man man/man6/xasteroids.6
|
||||
@@ -1,20 +0,0 @@
|
||||
COMMENT= multiplayer 2d space battles game
|
||||
|
||||
DISTNAME= xpilot-4.5.5
|
||||
CATEGORIES= games x11
|
||||
REVISION= 1
|
||||
|
||||
HOMEPAGE= http://www.xpilot.org/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB= X11 Xau Xdmcp Xext c m
|
||||
|
||||
SITES= ${SITE_SOURCEFORGE:=xpilotgame/}
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
CONFIGURE_STYLE= imake
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (xpilot-4.5.5.tar.bz2) = XkBCTQk8i3EhcKXf8zlt9jMCd19C2oKbiDKEDzWc2So=
|
||||
SIZE (xpilot-4.5.5.tar.bz2) = 1115502
|
||||
@@ -1,26 +0,0 @@
|
||||
--- Local.config.orig Sun Feb 21 16:59:28 2010
|
||||
+++ Local.config Thu Oct 10 19:12:51 2013
|
||||
@@ -36,12 +36,11 @@
|
||||
#define LocalGuru xpilot@xpilot.org /* The one to contact for problems */
|
||||
#endif /* LocalGuru */
|
||||
|
||||
-PREFIX = /usr/local
|
||||
-
|
||||
/* Manual pages for games usually go to section 6. */
|
||||
MANSUFFIX = 6
|
||||
+PREFIX = $(LOCALBASE)
|
||||
INSTMANDIR = $(PREFIX)/man/man$(MANSUFFIX)
|
||||
-INSTLIBDIR = $(PREFIX)/lib/xpilot
|
||||
+INSTLIBDIR = $(PREFIX)/share/xpilot
|
||||
INSTBINDIR = $(PREFIX)/bin
|
||||
|
||||
/* #define Log /* Try to log every server start to log file */
|
||||
@@ -105,7 +104,7 @@ INSTBINDIR = $(PREFIX)/bin
|
||||
* Try not defining anything first. You probably want -O for speed.
|
||||
*/
|
||||
/* CDEBUGFLAGS = -g /* General debug flag */
|
||||
-CDEBUGFLAGS = -O /* General optimize flag */
|
||||
+/* CDEBUGFLAGS = -O /* General optimize flag */
|
||||
/* CDEBUGFLAGS = -Ae +O3 +FPD /* HP cc optimize flags (no +ESlit) */
|
||||
/* CDEBUGFLAGS = -Ae -g -z +w1 /* HP cc debug flags */
|
||||
/* CDEBUGFLAGS = -g2 -O2 /* SGI debug */
|
||||
@@ -1,92 +0,0 @@
|
||||
--- src/client/textinterface.c.orig Sat Mar 17 11:58:08 2012
|
||||
+++ src/client/textinterface.c Sat Mar 17 11:58:50 2012
|
||||
@@ -75,7 +75,7 @@ extern char hostname[]; /* my local hostname */
|
||||
/*
|
||||
* just like fgets() but strips newlines like gets().
|
||||
*/
|
||||
-static char* getline(char* buf, int len, FILE* stream)
|
||||
+static char* get_line(char* buf, int len, FILE* stream)
|
||||
{
|
||||
char *nl;
|
||||
|
||||
@@ -305,7 +305,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
else if (!auto_connect) {
|
||||
printf("*** Server on %s. Enter command> ", conpar->server_name);
|
||||
|
||||
- getline(linebuf, MAX_LINE-1, stdin);
|
||||
+ get_line(linebuf, MAX_LINE-1, stdin);
|
||||
if (feof(stdin)) {
|
||||
puts("");
|
||||
c = 'Q';
|
||||
@@ -385,7 +385,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
case 'K':
|
||||
printf("Enter name of victim: ");
|
||||
fflush(stdout);
|
||||
- if (!getline(linebuf, MAX_LINE-1, stdin)) {
|
||||
+ if (!get_line(linebuf, MAX_LINE-1, stdin)) {
|
||||
printf("Nothing changed.\n");
|
||||
continue;
|
||||
}
|
||||
@@ -396,7 +396,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
case 'R':
|
||||
printf("Enter maximum number of robots: ");
|
||||
fflush(stdout);
|
||||
- if (!getline(linebuf, MAX_LINE-1, stdin)) {
|
||||
+ if (!get_line(linebuf, MAX_LINE-1, stdin)) {
|
||||
printf("Nothing changed.\n");
|
||||
continue;
|
||||
}
|
||||
@@ -410,7 +410,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
case 'M': /* Send a message to server. */
|
||||
printf("Enter message: ");
|
||||
fflush(stdout);
|
||||
- if (!getline(linebuf, MAX_LINE-1, stdin) || !linebuf[0]) {
|
||||
+ if (!get_line(linebuf, MAX_LINE-1, stdin) || !linebuf[0]) {
|
||||
printf("No message sent.\n");
|
||||
continue;
|
||||
}
|
||||
@@ -425,7 +425,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
case 'D': /* Shutdown */
|
||||
if (!auto_shutdown) {
|
||||
printf("Enter delay in seconds or return for cancel: ");
|
||||
- getline(linebuf, MAX_LINE-1, stdin);
|
||||
+ get_line(linebuf, MAX_LINE-1, stdin);
|
||||
/*
|
||||
* No argument = cancel shutdown = arg_int=0
|
||||
*/
|
||||
@@ -436,7 +436,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
delay = 1;
|
||||
|
||||
printf("Enter reason: ");
|
||||
- getline(linebuf, MAX_LINE-1, stdin);
|
||||
+ get_line(linebuf, MAX_LINE-1, stdin);
|
||||
} else {
|
||||
strlcpy(linebuf, shutdown_reason, sizeof(linebuf));
|
||||
delay = 60;
|
||||
@@ -448,7 +448,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
case 'O': /* Tune an option. */
|
||||
printf("Enter option: ");
|
||||
fflush(stdout);
|
||||
- if (!getline(linebuf, MAX_LINE-1, stdin)
|
||||
+ if (!get_line(linebuf, MAX_LINE-1, stdin)
|
||||
|| (len=strlen(linebuf)) == 0) {
|
||||
printf("Nothing changed.\n");
|
||||
continue;
|
||||
@@ -456,7 +456,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
printf("Enter new value for %s: ", linebuf);
|
||||
fflush(stdout);
|
||||
strcat(linebuf, ":"); len++;
|
||||
- if (!getline(&linebuf[len], MAX_LINE-1-len, stdin)
|
||||
+ if (!get_line(&linebuf[len], MAX_LINE-1-len, stdin)
|
||||
|| linebuf[len] == '\0') {
|
||||
printf("Nothing changed.\n");
|
||||
continue;
|
||||
@@ -516,7 +516,7 @@ static bool Process_commands(sockbuf_t *ibuf,
|
||||
case 'T': /* Set team. */
|
||||
printf("Enter team: ");
|
||||
fflush(stdout);
|
||||
- if (!getline(linebuf, MAX_LINE-1, stdin)
|
||||
+ if (!get_line(linebuf, MAX_LINE-1, stdin)
|
||||
|| (len = strlen(linebuf)) == 0) {
|
||||
printf("Nothing changed.\n");
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
XPilot is a multi-player 2D space game for Unix workstations with X11.
|
||||
Players move along in an artificial world and shoot each other using
|
||||
various kinds of weapons, bullets, mines and bombs, rockets (smarts,
|
||||
torpedos and nuclear), lasers; defend using cloaking devices, sensors,
|
||||
transporters, autopilot etc.
|
||||
|
||||
XPilot's highlights include:
|
||||
* True client/server based game; optimal speed for every player.
|
||||
* Meta server with up to date information about servers hosting games
|
||||
around the world.
|
||||
* 'Real physics'; particles of explosions and sparks from your engines
|
||||
all affect you if you're hit by them. This makes it possible to kill
|
||||
someone by blowing them into a wall with engine thrust or shock waves
|
||||
from explosions.
|
||||
* Specialized editors for editing ship-shapes and maps.
|
||||
* Adjustable gravity; adjustable by putting special attractors or
|
||||
deflectors in the world, or by adjusting the global gravity in various
|
||||
ways.
|
||||
|
||||
Some features are borrowed from classics like the Atari coin-ops
|
||||
Asteroids and Gravitar, and the home-computer games Thrust
|
||||
(Commodore 64) and Gravity Force (Commodore Amiga).
|
||||
The main idea of the game is scoring points and having lots of fun.
|
||||
@@ -1,90 +0,0 @@
|
||||
@bin bin/xp-mapedit
|
||||
@bin bin/xp-replay
|
||||
@bin bin/xpilot
|
||||
@bin bin/xpilots
|
||||
@man man/man6/xp-mapedit.6
|
||||
@man man/man6/xp-replay.6
|
||||
@man man/man6/xpilot.6
|
||||
@man man/man6/xpilots.6
|
||||
share/xpilot/
|
||||
share/xpilot/defaults
|
||||
share/xpilot/maps/
|
||||
share/xpilot/maps/CAMD.xp
|
||||
share/xpilot/maps/blood-music2.xp
|
||||
share/xpilot/maps/cloudscape.xp
|
||||
share/xpilot/maps/default.xp
|
||||
share/xpilot/maps/doggy.xp
|
||||
share/xpilot/maps/fireball.xp
|
||||
share/xpilot/maps/fuzz.xp
|
||||
share/xpilot/maps/fuzz2.xp
|
||||
share/xpilot/maps/globe.xp
|
||||
share/xpilot/maps/grandprix.xp
|
||||
share/xpilot/maps/newdarkhell.xp
|
||||
share/xpilot/maps/newdarkhell2.xp
|
||||
share/xpilot/maps/pad.xp
|
||||
share/xpilot/maps/pit.xp
|
||||
share/xpilot/maps/planetx.xp
|
||||
share/xpilot/maps/teamball.xp
|
||||
share/xpilot/maps/tourmination.xp
|
||||
share/xpilot/maps/tournament.xp
|
||||
share/xpilot/maps/war.xp
|
||||
share/xpilot/password
|
||||
share/xpilot/robots
|
||||
share/xpilot/sounds
|
||||
share/xpilot/textures/
|
||||
share/xpilot/textures/allitems.ppm
|
||||
share/xpilot/textures/asteroidconcentrator.ppm
|
||||
share/xpilot/textures/ball.ppm
|
||||
share/xpilot/textures/ball.xpm
|
||||
share/xpilot/textures/base_down.ppm
|
||||
share/xpilot/textures/base_left.ppm
|
||||
share/xpilot/textures/base_right.ppm
|
||||
share/xpilot/textures/base_up.ppm
|
||||
share/xpilot/textures/bullet.ppm
|
||||
share/xpilot/textures/bullet2.ppm
|
||||
share/xpilot/textures/bullet_blue.ppm
|
||||
share/xpilot/textures/bullet_green.ppm
|
||||
share/xpilot/textures/cannon_down.ppm
|
||||
share/xpilot/textures/cannon_left.ppm
|
||||
share/xpilot/textures/cannon_right.ppm
|
||||
share/xpilot/textures/cannon_up.ppm
|
||||
share/xpilot/textures/checkpoint.ppm
|
||||
share/xpilot/textures/clouds.ppm
|
||||
share/xpilot/textures/concentrator.ppm
|
||||
share/xpilot/textures/fuel2.ppm
|
||||
share/xpilot/textures/fuelcell.ppm
|
||||
share/xpilot/textures/holder1.ppm
|
||||
share/xpilot/textures/holder2.ppm
|
||||
share/xpilot/textures/logo.ppm
|
||||
share/xpilot/textures/metalite.xpm
|
||||
share/xpilot/textures/meter.ppm
|
||||
share/xpilot/textures/mine_other.ppm
|
||||
share/xpilot/textures/mine_team.ppm
|
||||
share/xpilot/textures/minus.ppm
|
||||
share/xpilot/textures/moon.xpm
|
||||
share/xpilot/textures/paused.ppm
|
||||
share/xpilot/textures/plus.ppm
|
||||
share/xpilot/textures/radar.ppm
|
||||
share/xpilot/textures/radar2.ppm
|
||||
share/xpilot/textures/radar3.ppm
|
||||
share/xpilot/textures/refuel.ppm
|
||||
share/xpilot/textures/rock4.xpm
|
||||
share/xpilot/textures/ship.ppm
|
||||
share/xpilot/textures/ship_blue.ppm
|
||||
share/xpilot/textures/ship_red.ppm
|
||||
share/xpilot/textures/ship_red2.ppm
|
||||
share/xpilot/textures/ship_red3.ppm
|
||||
share/xpilot/textures/sparks.ppm
|
||||
share/xpilot/textures/volcanic.xpm
|
||||
share/xpilot/textures/wall_bottom.ppm
|
||||
share/xpilot/textures/wall_dl.ppm
|
||||
share/xpilot/textures/wall_dr.ppm
|
||||
share/xpilot/textures/wall_fi.ppm
|
||||
share/xpilot/textures/wall_left.ppm
|
||||
share/xpilot/textures/wall_right.ppm
|
||||
share/xpilot/textures/wall_top.ppm
|
||||
share/xpilot/textures/wall_ul.ppm
|
||||
share/xpilot/textures/wall_ull.ppm
|
||||
share/xpilot/textures/wall_ur.ppm
|
||||
share/xpilot/textures/wall_url.ppm
|
||||
share/xpilot/textures/wormhole.ppm
|
||||
Reference in New Issue
Block a user