[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UPDATE: xsnow



Hi, attaching a diff; xsnow-1.40 -> xsnow-1.42.

As you can see I changed PERMIT_* as the custom license isn't really 
that vague nowadays. I quote from http://www.euronet.nl/~rja/Xsnow/;

"It *is* allowed to package Xsnow for Unix/Linux distributions, CD-Roms 
etc, and to make the necessary changes to makefiles etc. to facilitate 
this."

I also cleaned up the Makefile a bit and added myself as maintainer.
And, before you ask, no - 1.42 isn't avilable at MASTER_SITE_XCONTRIB.

- Victor
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/xsnow/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	8 Oct 2003 17:13:19 -0000	1.12
+++ Makefile	1 Jul 2004 13:22:29 -0000
@@ -1,17 +1,21 @@
-# $OpenBSD: Makefile,v 1.12 2003/10/08 17:13:19 sturm Exp $
+# $OpenBSD$
 
-COMMENT=	"snowy and Santa-y desktop"
+COMMENT=		"snowy and Santa-y desktop"
 
-DISTNAME=	xsnow-1.40
-CATEGORIES=	x11
+DISTNAME=		xsnow-1.42
+CATEGORIES=		x11
 
-MASTER_SITES=	${MASTER_SITE_XCONTRIB:=games/}
-EXTRACT_SUFX=	.tar.Z
+HOMEPAGE=		http://www.euronet.nl/~rja/Xsnow/
 
-PERMIT_PACKAGE_CDROM=	"vague license"
-PERMIT_PACKAGE_FTP=	"vague license"
-PERMIT_DISTFILES_CDROM=	"vague license"
+MAINTAINER=             Victor Sahlstedt <cvss@home.se>
+
+# Custom
+PERMIT_PACKAGE_CDROM=	Yes
+PERMIT_PACKAGE_FTP=	Yes
+PERMIT_DISTFILES_CDROM=	Yes
 PERMIT_DISTFILES_FTP=	Yes
+
+MASTER_SITES		${HOMEPAGE}
 
 USE_X11=		Yes
 CONFIGURE_STYLE=	imake
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/xsnow/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	21 Mar 2002 20:06:37 -0000	1.1
+++ distinfo	1 Jul 2004 13:22:29 -0000
@@ -1,3 +1,3 @@
-MD5 (xsnow-1.40.tar.Z) = 3d47c3bf4df725ecf41f282a185f51b9
-RMD160 (xsnow-1.40.tar.Z) = c33743a145e57531e478e37902f18130c5c0c50f
-SHA1 (xsnow-1.40.tar.Z) = b587778002f22a8977602d670e122633ea70e234
+MD5 (xsnow-1.42.tar.gz) = 451d8fc0a2b5393b428faa496a556036
+RMD160 (xsnow-1.42.tar.gz) = 4fdf881d045b986f003a13c0eaa2308775cf5e9e
+SHA1 (xsnow-1.42.tar.gz) = d63987560dac9c6341e50d270089e40d17031ce3
Index: patches/patch-aa
===================================================================
RCS file: /cvs/ports/x11/xsnow/patches/patch-aa,v
retrieving revision 1.3
diff -u -r1.3 patch-aa
--- patches/patch-aa	16 Apr 2000 00:55:05 -0000	1.3
+++ patches/patch-aa	1 Jul 2004 13:22:29 -0000
@@ -1,9 +1,9 @@
---- Imakefile.orig	Sun Dec 26 06:41:21 1999
-+++ Imakefile	Sun Dec 26 06:41:57 1999
-@@ -3,5 +3,6 @@
+--- Imakefile.orig	Sun Dec 16 00:11:23 2001
++++ Imakefile	Wed Jun 30 04:23:42 2004
+@@ -3,5 +3,6 @@ LOCAL_LIBRARIES = $(XLIB)
  DEPLIBS = $(DEPXLIB)
- SRCS = xsnow.c snowmap.h vroot.h
- OBJS = xsnow.o
+ SRCS = xsnow.c toon_root.c xsnow.h vroot.h
+ OBJS = xsnow.o toon_root.o
 +MANDIR=/usr/local/man/cat6
  
  ComplexProgramTarget(xsnow)
Index: patches/patch-ab
===================================================================
RCS file: /cvs/ports/x11/xsnow/patches/patch-ab,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ab
--- patches/patch-ab	24 Jan 1998 22:00:48 -0000	1.1.1.1
+++ patches/patch-ab	1 Jul 2004 13:22:29 -0000
@@ -1,19 +1,11 @@
-*** xsnow.c.orig	Thu Nov 23 08:33:50 1995
---- xsnow.c	Mon Dec 22 12:53:41 1997
-***************
-*** 464,470 ****
-  #ifdef VMS
-      srand((int)time((unsigned long *)NULL));
-  #else
-!     srand((int)time((long *)NULL));
-  #endif
-  
-  
---- 464,470 ----
-  #ifdef VMS
-      srand((int)time((unsigned long *)NULL));
-  #else
-!     srand((int)time((time_t *)NULL));
-  #endif
-  
-  
+--- xsnow.c.orig	Wed Jun 30 04:27:30 2004
++++ xsnow.c	Wed Jun 30 04:32:08 2004
+@@ -531,7 +531,7 @@ char *av[];
+ #ifdef VMS
+ 		srand((int)time((unsigned long *)NULL));
+ #else
+-		srand((int)time((long *)NULL));
++		srand((int)time((time_t *)NULL));
+ #endif
+ 			 
+ 		signal(SIGKILL, SigHandler);