Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2002 17:20:02 -0800 (PST)
From:      Keith Jones <freebsd.dev@blueyonder.co.uk>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/46627: [PATCH] upgrade stella to 1.2 (1.1 is broken in -CURRENT)
Message-ID:  <200301010120.h011K2NB006483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/46627; it has been noted by GNATS.

From: Keith Jones <freebsd.dev@blueyonder.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/46627: [PATCH] upgrade stella to 1.2 (1.1 is broken in
 -CURRENT)
Date: Wed, 01 Jan 2003 01:11:28 +0000

 This is a multi-part message in MIME format.
 --------------060503060403070805090500
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Oops, accidentally broke the makefile!
 
 Find revised diffs attached together with new patch.
 
 Keith
 
 --------------060503060403070805090500
 Content-Type: text/plain;
  name="diffs.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="diffs.txt"
 
 --- Makefile.orig	Sun Nov 10 16:45:56 2002
 +++ Makefile	Wed Jan  1 01:06:16 2003
 @@ -1,14 +1,21 @@
 -# New ports collection makefile for:   	stella-1.1
 -# Date created:				March 4, 1999
 -# Whom:					Jacques Vidrine <nectar@FreeBSD.org>
 +# New ports collection makefile for:   	stella-1.2
 +# Date created:				January 1, 2003
 +# Whom:					Keith Jones <freebsd.dev@blueyonder.co.uk>
  #
 -# $FreeBSD: ports/emulators/stella/Makefile,v 1.14 2002/11/10 16:45:56 lioux Exp $
 +# $FreeBSD$
  #
  
  PORTNAME=	stella
 -PORTVERSION=	1.1
 +PORTVERSION=	1.2
  CATEGORIES=	emulators
 -MASTER_SITES=	ftp://ftp.eos.ncsu.edu/pub/bsvc/stella/1.1/
 +MASTER_SITES=	http://unc.dl.sourceforge.net/sourceforge/stella/ \
 +		http://umn.dl.sourceforge.net/sourceforge/stella/ \
 +		http://telia.dl.sourceforge.net/sourceforge/stella/ \
 +		http://easynews.dl.sourceforge.net/sourceforge/stella/ \
 +		http://twtelecom.dl.sourceforge.net/sourceforge/stella/ \
 +		http://belnet.dl.sourceforge.net/sourceforge/stella/ \
 +		http://switch.dl.sourceforge.net/sourceforge/stella/ \
 +		http://cesnet.dl.sourceforge.net/sourceforge/stella/
  DISTNAME=	${PORTNAME}-${PORTVERSION}-src
  
  MAINTAINER=	ports@FreeBSD.org
 @@ -17,16 +24,21 @@
  
  PORTTOP=	${WRKDIR}/${PKGNAME}
  WRKSRC=		${PORTTOP}/src/build
 +USE_GMAKE=	yes
  MAKEFILE=	makefile
  ALL_TARGET=	freebsd-x
  
  USE_XLIB=	yes
  
 -ROMSDIR=	${PREFIX}/share/stella/roms
 -ROMS=		ELK.BIN OKIEDOKE.BIN OYSTR29.BIN TEST.BIN TPS.BIN
  DOCSDIR=	${PREFIX}/share/doc/stella
 -DOCS=		docs/Stella.pdf games/docs/elk.doc games/docs/okiedoke.doc \
 -		games/docs/oystron.doc games/docs/tps.doc
 +DOCS=		docs/stella.html
 +GFX=		docs/graphics/chucky_cheese.png \
 +		docs/graphics/circuit.png \
 +		docs/graphics/console.png \
 +		docs/graphics/jr_pacman.png \
 +		docs/graphics/pacman.png \
 +		docs/graphics/secret_quest.png \
 +		docs/graphics/space_invaders.png
  
  post-build:
  	@(cd ${PORTTOP}/src/ui/sound && \
 @@ -34,19 +46,20 @@
  		${MAKE_ARGS} oss)
  
  do-install:
 -.for exe in src/build/xstella src/ui/sound/stella-sound
 +.for exe in src/build/stella.x11 src/ui/sound/stella-sound
  	${INSTALL_PROGRAM} ${PORTTOP}/${exe} ${PREFIX}/bin/
  .endfor
 -	${MKDIR} ${ROMSDIR}
 -.for rom in ${ROMS}
 -	${INSTALL_DATA} ${PORTTOP}/games/ROMS/${rom} ${ROMSDIR}/
 -.endfor
 +	${MKDIR} ${PREFIX}/share/stella
  	${INSTALL_DATA} ${PORTTOP}/src/emucore/stella.pro \
  		${PREFIX}/share/stella/
  .if !defined(NOPORTDOCS)
  	${MKDIR} ${DOCSDIR}
  .for doc in ${DOCS}
  	${INSTALL_DATA} ${PORTTOP}/${doc} ${DOCSDIR}/
 +.endfor
 +	${MKDIR} ${DOCSDIR}/graphics
 +.for gfx in ${GFX}
 +	${INSTALL_DATA} ${PORTTOP}/${gfx} ${DOCSDIR}/graphics/
  .endfor
  .endif
  
 --- distinfo.orig	Thu Mar  4 23:24:28 1999
 +++ distinfo	Mon Dec 30 04:11:26 2002
 @@ -1 +1 @@
 -MD5 (stella-1.1-src.tar.gz) = 6e2e5336f2789654ddd822d82a4c7b8e
 +MD5 (stella-1.2-src.tar.gz) = 2c24c0fa2655a597b9e04742485e5ed8
 --- pkg-descr.orig	Thu Mar  4 23:24:29 1999
 +++ pkg-descr	Wed Jan  1 01:06:21 2003
 @@ -4,9 +4,7 @@
    to enjoy all of your favorite 2600 games once again by emulating the
    2600's hardware with software. Stella is written in C++, which allows
    it to be ported to other operating systems and architectures. Since
 -  its original release Stella has been ported to AcronOS, AmigaOS, DOS,
 +  its original release Stella has been ported to AcornOS, AmigaOS, DOS,
    FreeBSD, IRIX, Linux, MacOS, OpenStep, OS/2, Unix, and Windows.
  
 -See also: http://www4.ncsu.edu/~bwmott/www/2600/
 -
 -Jacques Vidrine <nectar@FreeBSD.ORG>
 +See also: http://stella.sourceforge.net/
 --- pkg-plist.orig	Thu Mar  4 23:24:29 1999
 +++ pkg-plist	Mon Dec 30 04:29:04 2002
 @@ -1,16 +1,14 @@
 -bin/xstella
 +bin/stella.x11
  bin/stella-sound
 -share/stella/roms/ELK.BIN
 -share/stella/roms/OKIEDOKE.BIN
 -share/stella/roms/OYSTR29.BIN
 -share/stella/roms/TEST.BIN
 -share/stella/roms/TPS.BIN
 -@dirrm share/stella/roms
  share/stella/stella.pro
  @dirrm share/stella
 -share/doc/stella/Stella.pdf
 -share/doc/stella/elk.doc
 -share/doc/stella/okiedoke.doc
 -share/doc/stella/oystron.doc
 -share/doc/stella/tps.doc
 +share/doc/stella/graphics/chucky_cheese.png
 +share/doc/stella/graphics/circuit.png
 +share/doc/stella/graphics/console.png
 +share/doc/stella/graphics/jr_pacman.png
 +share/doc/stella/graphics/pacman.png
 +share/doc/stella/graphics/secret_quest.png
 +share/doc/stella/graphics/space_invaders.png
 +@dirrm share/doc/stella/graphics
 +share/doc/stella/stella.html
  @dirrm share/doc/stella
 --- files/patch-ac.orig	Thu Mar  4 23:24:28 1999
 +++ files/patch-ac	Mon Dec 30 03:47:48 2002
 @@ -1,15 +1,15 @@
 ---- makefile.orig	Thu Mar  4 16:52:03 1999
 -+++ makefile	Thu Mar  4 16:53:33 1999
 -@@ -129,6 +129,15 @@
 -           LDLIBS=`gtk-config --libs` \
 -           OBJS="gtk.o editor.o SndUnix.o"
 +--- makefile.orig	Mon Apr 22 01:53:19 2002
 ++++ makefile	Mon Dec 30 03:44:36 2002
 +@@ -218,6 +218,15 @@
 +           LDLIBS+="$(LIBS.X11)" \
 +           OBJS="mainX11.o SndUnix.o"
   
  +freebsd-x:
 -+	make xstella \
 ++	gmake stella.x11 \
  +          INCLUDES="$(INCLUDES) -I$(UI)/x11 -I$(UI)/sound" \
 -+          SYS_INCLUDES="-I${X11BASE}/include" \
 ++          SYS_INCLUDES="-I$(X11BASE)/include" \
  +          OPTIONS="-DBSPF_UNIX -DSHOW_TIMING" \
 -+          LDFLAGS="-L${X11BASE}/lib" \
 ++          LDFLAGS="-L$(X11BASE)/lib" \
  +          LDLIBS="-lX11 -lXext" \
  +          OBJS="mainX11.o SndUnix.o"
  +
 
 --------------060503060403070805090500
 Content-Type: text/plain;
  name="patch-ae"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="patch-ae"
 
 --- ../ui/sound/OSS.c.orig	Tue Jan  8 17:11:32 2002
 +++ ../ui/sound/OSS.c	Mon Dec 30 04:08:03 2002
 @@ -32,12 +32,7 @@
  #include <sys/types.h>
  #include <unistd.h>
  #include <string.h>
 -
 -#ifdef __FreeBSD__
 -  #include <machine/soundcard.h>
 -#else
 -  #include <sys/soundcard.h>
 -#endif
 +#include <sys/soundcard.h>
  
  #include "TIASound.h"
  
 
 --------------060503060403070805090500--
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301010120.h011K2NB006483>