pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games
Module Name: pkgsrc
Committed By: nia
Date: Thu Dec 30 00:43:35 UTC 2021
Modified Files:
pkgsrc/games: Makefile
Added Files:
pkgsrc/games/xtacy: DESCR Makefile PLIST distinfo
pkgsrc/games/xtacy/patches: patch-Imakefile patch-color.c patch-lunch.c
patch-modes.c patch-password.c patch-rotate.c
Log Message:
games: add xtacy
Xtacy displays bouncing shapes, rotating palettes, a couple fractals, a
kaleidascope, and lots of more stuff.
To generate a diff of this commit:
cvs rdiff -u -r1.510 -r1.511 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/xtacy/DESCR pkgsrc/games/xtacy/Makefile \
pkgsrc/games/xtacy/PLIST pkgsrc/games/xtacy/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/xtacy/patches/patch-Imakefile \
pkgsrc/games/xtacy/patches/patch-color.c \
pkgsrc/games/xtacy/patches/patch-lunch.c \
pkgsrc/games/xtacy/patches/patch-modes.c \
pkgsrc/games/xtacy/patches/patch-password.c \
pkgsrc/games/xtacy/patches/patch-rotate.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.510 pkgsrc/games/Makefile:1.511
--- pkgsrc/games/Makefile:1.510 Thu Dec 30 00:26:20 2021
+++ pkgsrc/games/Makefile Thu Dec 30 00:43:35 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.510 2021/12/30 00:26:20 nia Exp $
+# $NetBSD: Makefile,v 1.511 2021/12/30 00:43:35 nia Exp $
#
COMMENT= Games
@@ -470,6 +470,7 @@ SUBDIR+= xscrabble
SUBDIR+= xskat
SUBDIR+= xsokoban
SUBDIR+= xsoldier
+SUBDIR+= xtacy
SUBDIR+= xtris
SUBDIR+= xtux
SUBDIR+= xu4
Added files:
Index: pkgsrc/games/xtacy/DESCR
diff -u /dev/null pkgsrc/games/xtacy/DESCR:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/DESCR Thu Dec 30 00:43:35 2021
@@ -0,0 +1,2 @@
+Xtacy displays bouncing shapes, rotating palettes, a couple fractals, a
+kaleidascope, and lots of more stuff.
Index: pkgsrc/games/xtacy/Makefile
diff -u /dev/null pkgsrc/games/xtacy/Makefile:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/Makefile Thu Dec 30 00:43:35 2021
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+DISTNAME= xtacy114
+PKGNAME= xtacy-1.14
+CATEGORIES= games
+MASTER_SITES= https://web.archive.org/web/20000422141333/http://www.ultranet.com/~jjohnson/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://web.archive.org/web/20000422141333/http://www.gweep.net/~jer/xtacy.html
+COMMENT= Graphics hack for X11
+LICENSE= gnu-gpl-v2
+
+# XXX: HACK: the tar.gz is not actually a gzip file
+EXTRACT_ENV+= GZCAT=cat
+
+WRKSRC= ${WRKDIR}/Xtacy
+
+USE_IMAKE= yes
+
+LDFLAGS.NetBSD+= -lcrypt
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/xtacy/PLIST
diff -u /dev/null pkgsrc/games/xtacy/PLIST:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/PLIST Thu Dec 30 00:43:35 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/12/30 00:43:35 nia Exp $
+bin/xtacy
+man/man1/xtacy.1
Index: pkgsrc/games/xtacy/distinfo
diff -u /dev/null pkgsrc/games/xtacy/distinfo:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/distinfo Thu Dec 30 00:43:35 2021
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+BLAKE2s (xtacy114.tar.gz) = 1cd914aa0e9076938ca5f465bfa12ccfb33040f219f9eebf649b14020efe7c3d
+SHA512 (xtacy114.tar.gz) = 72bcdc51ded08ed876bdb005300e92621893410ea1d8bc30eec40e18a0d0b4c2e3dacb4dffd0f6620181d50016f52b00007250b2dfa93b4c1c7ea216acda356a
+Size (xtacy114.tar.gz) = 1064960 bytes
+SHA1 (patch-Imakefile) = 4dcd350ececcc37a29a60e853b2d7a6b056ddcd8
+SHA1 (patch-color.c) = 5884916d32486abb8a91b5145bfa80e64051215f
+SHA1 (patch-lunch.c) = f1250a8c240b026c206ac73e26c2a5710f0fd905
+SHA1 (patch-modes.c) = d5fb941456472898074a54c2928f0ae5e867c889
+SHA1 (patch-password.c) = cdbdfc2621a7968c551f6835d8f1ea686da7c8d2
+SHA1 (patch-rotate.c) = 7cd2fa3d4530981c4cec89737a98ab55d2db435c
Index: pkgsrc/games/xtacy/patches/patch-Imakefile
diff -u /dev/null pkgsrc/games/xtacy/patches/patch-Imakefile:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/patches/patch-Imakefile Thu Dec 30 00:43:35 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-Imakefile,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+Honor CFLAGS.
+
+--- Imakefile.orig 1998-12-15 17:54:32.000000000 +0000
++++ Imakefile
+@@ -13,8 +13,5 @@ OBJS=bezier.o blob.o color.o cursor.o fi
+ starback.o swarm.o tag.o trippy.o waves.o xguts.o mirrors.o \
+ fractals.o modes.o
+
+-CDEBUGFLAGS = -O3 -Wall -g
+-CFLAGS = -O3
+-
+ ComplexProgramTarget(xtacy)
+
Index: pkgsrc/games/xtacy/patches/patch-color.c
diff -u /dev/null pkgsrc/games/xtacy/patches/patch-color.c:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/patches/patch-color.c Thu Dec 30 00:43:35 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-color.c,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+Need string.h for memcpy().
+
+--- color.c.orig 1998-09-04 05:40:45.000000000 +0000
++++ color.c
+@@ -7,6 +7,7 @@
+ #include <math.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "trippy.h"
+
+ #ifndef sgn
Index: pkgsrc/games/xtacy/patches/patch-lunch.c
diff -u /dev/null pkgsrc/games/xtacy/patches/patch-lunch.c:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/patches/patch-lunch.c Thu Dec 30 00:43:35 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-lunch.c,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+Need string.h for strlen().
+
+--- lunch.c.orig 1997-04-28 01:34:27.000000000 +0000
++++ lunch.c
+@@ -7,6 +7,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include "trippy.h"
Index: pkgsrc/games/xtacy/patches/patch-modes.c
diff -u /dev/null pkgsrc/games/xtacy/patches/patch-modes.c:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/patches/patch-modes.c Thu Dec 30 00:43:35 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-modes.c,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+Need string.h for memcpy().
+
+--- modes.c.orig 1998-05-24 02:23:12.000000000 +0000
++++ modes.c
+@@ -11,6 +11,7 @@
+ #include <X11/Xutil.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <math.h>
+ #include "trippy.h"
+ #include "lmath.h"
Index: pkgsrc/games/xtacy/patches/patch-password.c
diff -u /dev/null pkgsrc/games/xtacy/patches/patch-password.c:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/patches/patch-password.c Thu Dec 30 00:43:35 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-password.c,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+Need string.h for strcpy().
+
+--- password.c.orig 1997-04-20 21:48:36.000000000 +0000
++++ password.c
+@@ -50,6 +50,7 @@ extern char *password;
+ #define SECURE_PASSWD
+ #endif
+ #include <unistd.h>
++#include <string.h>
+
+ int
+ matchesPassword (char *guess, int allowroot)
Index: pkgsrc/games/xtacy/patches/patch-rotate.c
diff -u /dev/null pkgsrc/games/xtacy/patches/patch-rotate.c:1.1
--- /dev/null Thu Dec 30 00:43:35 2021
+++ pkgsrc/games/xtacy/patches/patch-rotate.c Thu Dec 30 00:43:35 2021
@@ -0,0 +1,20 @@
+$NetBSD: patch-rotate.c,v 1.1 2021/12/30 00:43:35 nia Exp $
+
+Don't cast pointer to int, it no longer even works under Linux/GCC
+because this isn't 1995 and 64-bit platforms exist.
+
+--- rotate.c.orig 1998-11-29 21:09:40.000000000 +0000
++++ rotate.c
+@@ -510,9 +510,9 @@ morph(int winno, SHAPE* source, SHAPE* d
+ {
+ /* wheee.. fun with pointer math ... but will it work everywhere? */
+ /* eh... what the hell, it works under Linux/GCC */
+- int base=(int)&(source->vertices[0]);
+- int facenum =(int) (source->faces[i]);
+- int sidenum= (facenum-base)/(sizeof(vertex_type));
++ intptr_t base=(int)&(source->vertices[0]);
++ intptr_t facenum =(int) (source->faces[i]);
++ intptr_t sidenum= (facenum-base)/(sizeof(vertex_type));
+ temp.faces[i]= &temp.vertices[sidenum];
+ }
+ for(i=0;i<dest->numVert;i++)
Home |
Main Index |
Thread Index |
Old Index