Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2003 01:07:20 +0900 (JST)
From:      HIYAMA Takeshi <th@smtp02.odn.ne.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60629: Update port: emulators/fceu-0.97.5
Message-ID:  <200312271607.hBRG7KOC087723@breton.hiyama>
Resent-Message-ID: <200312271640.hBRGeAl3045147@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60629
>Category:       ports
>Synopsis:       Update port: emulators/fceu-0.97.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 27 08:40:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     HIYAMA Takeshi
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Hitachi Naka Electronics Co., Ld.
>Environment:
System: FreeBSD breton.hiyama 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Dec 9 22:17:05 JST 2003 th@breton.hiyama:/usr/obj/usr/src/sys/BRETON i386


>Description:
	Update ports: emulators/fceu-0.97.5
>How-To-Repeat:
>Fix:

--- fceu.diff begins here ---
diff -urN fceu.orig/Makefile fceu/Makefile
--- fceu.orig/Makefile	Sun Aug 31 23:41:53 2003
+++ fceu/Makefile	Thu Dec 25 01:52:43 2003
@@ -6,17 +6,15 @@
 #
 
 PORTNAME=	fceu
-PORTVERSION=	0.96
-PORTREVISION=	1
+PORTVERSION=	0.97.5
 CATEGORIES=	emulators
-MASTER_SITES=	http://fceultra.sourceforge.net/files/
-DISTNAME=	fceu${PORTVERSION:S/.//}src
+MASTER_SITES=	http://xodnizel.net/fceultra/downloads/
+DISTNAME=	${PORTNAME}-${PORTVERSION}.src
 
 MAINTAINER=	gibbon@cocoa.freemail.ne.jp
 COMMENT=	A portable NES/Famicom emulator based on Bero's original FCE
 
-LIB_DEPENDS=	SDL-1.1:${PORTSDIR}/devel/sdl12
-
+USE_SDL=	yes
 MAN6=		fceu.6
 WRKSRC=		${WRKDIR}/fceu
 USE_X_PREFIX=	yes
@@ -25,16 +23,17 @@
 USE_REINPLACE=	yes
 
 DOCS=		AUTHORS COPYING ChangeLog FAQ README TODO \
-		cheat.txt fcs.txt porting.txt rel/readme-linux.txt
+		cheat.html fceultra.html fcs.txt porting.txt protocol.txt
 TECHDOCS=	README.now README.sound UNIF_current.txt nsfspec.txt
 TECHCPUDOC=	4017.txt 6502_cpu.txt NESSOUND-4th.txt NESSOUND.txt dmc.txt
-TECHEXPDOCS=	mmc5-e.txt mmc5_bank_switch.txt
-TECHPPUDOCS=	"2C02\technical\operation.TXT" loopy1.txt loopy2.txt
+TECHEXPDOCS=	SMB2j.txt mmc5-e.txt mmc5_bank_switch.txt tengen.txt \
+		vrcvi.txt vrcvii.txt
+TECHPPUDOCS=	"2C02_technical_operation.TXT" loopy1.txt loopy2.txt
 
 .if defined(WITH_OPTIMIZED_FLAGS)
 CFLAGS+=	-O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
 .if (${MACHINE_ARCH} == "i386")
-CFLAGS+=	-mfancy-math-387
+CFLAGS+=	-ffast-math -mfancy-math-387
 .endif # i386
 .endif
 
@@ -56,7 +55,6 @@
 .include <bsd.port.pre.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/Makefile.unixsdl
 .if (${MACHINE_ARCH} != "i386")
 # do I have to do this for ia64 and amd64 too?
 	@${REINPLACE_CMD} -e 's|-DC80x86||g;' ${WRKSRC}/Makefile.unixsdl
@@ -70,6 +68,7 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin
+
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .if !defined(NOPORTDOCS)
@@ -77,6 +76,7 @@
 	${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
 .endfor
 .endif
+
 .if !defined(NOPORTDOCS)
 	${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
 .if defined(TECH_DOC_INSTALL)
@@ -96,8 +96,8 @@
 .endfor
 	@${MKDIR} ${DOCSDIR}/tech/ppu
 .for docs in ${TECHPPUDOCS}
-	${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S/\\/ /g} \
-			${DOCSDIR}/tech/ppu
+	${INSTALL_DATA} ${WRKSRC}/Documentation/tech/ppu/${docs:S|_| |g} \
+			${DOCSDIR}/tech/ppu/${docs}
 .endfor
 .endif
 .endif
diff -urN fceu.orig/distinfo fceu/distinfo
--- fceu.orig/distinfo	Sun Jul 20 20:51:26 2003
+++ fceu/distinfo	Thu Dec 25 01:52:43 2003
@@ -1 +1 @@
-MD5 (fceu096src.tar.gz) = 26934713c1f64f20a3f4f8a2dba0f9fb
+MD5 (fceu-0.97.5.src.tar.gz) = a3a3732d58ddb66ae9a78b2bac1d6a1f
diff -urN fceu.orig/files/patch-Makefile.unixsdl fceu/files/patch-Makefile.unixsdl
--- fceu.orig/files/patch-Makefile.unixsdl	Thu Jul 24 02:37:17 2003
+++ fceu/files/patch-Makefile.unixsdl	Thu Dec 25 01:52:43 2003
@@ -1,18 +1,18 @@
---- Makefile.unixsdl.orig	Fri Jun 20 12:50:03 2003
-+++ Makefile.unixsdl	Mon Jul 21 07:53:48 2003
+--- Makefile.unixsdl.orig	Mon Nov 10 12:33:14 2003
++++ Makefile.unixsdl	Tue Dec  9 01:13:35 2003
 @@ -1,5 +1,5 @@
  CC	= gcc 
--TFLAGS  = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
-+TFLAGS  = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `%%LOCALBASE%%/bin/sdl11-config --cflags` -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
+-TFLAGS  = -DOPENGL -DFRAMESKIP -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DC80x86
++TFLAGS  = -DOPENGL -DFRAMESKIP -DUNIXDSP -DNETWORK -DFPS `${SDL_CONFIG} --cflags` -I/usr/X11R6/include -Izlib -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DC80x86
  
  RM	= rm -f
  B	= drivers/cli/
 @@ -9,7 +9,7 @@
  include zlib/Makefile
  
- OBJDRIVER	= ${B}sdl.o ${B}interface.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o ${UNZIPOBJS}
--LDRIVER		= -lm `sdl-config --libs` -lz
-+LDRIVER		= -lm `%%LOCALBASE%%/bin/sdl11-config --libs` -lz
+ OBJDRIVER	= ${B}sdl.o ${B}sdl-opengl.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o drivers/common/sfifo.o ${UNZIPOBJS}
+-LDRIVER		= -lm `sdl-config --libs` -lz -lGL
++LDRIVER		= -lm `${SDL_CONFIG} --libs` -lz -lGL -L/usr/X11R6/lib
  
  include Makefile.base
  
diff -urN fceu.orig/pkg-plist fceu/pkg-plist
--- fceu.orig/pkg-plist	Sun Aug 31 23:41:53 2003
+++ fceu/pkg-plist	Thu Dec 25 01:52:43 2003
@@ -5,10 +5,11 @@
 %%PORTDOCS%%%%DOCSDIR%%/FAQ
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/cheat.txt
+%%PORTDOCS%%%%DOCSDIR%%/cheat.html
+%%PORTDOCS%%%%DOCSDIR%%/fceultra.html
 %%PORTDOCS%%%%DOCSDIR%%/fcs.txt
 %%PORTDOCS%%%%DOCSDIR%%/porting.txt
-%%PORTDOCS%%%%DOCSDIR%%/readme-linux.txt
+%%PORTDOCS%%%%DOCSDIR%%/protocol.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/UNIF_current.txt
@@ -18,11 +19,15 @@
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND-4th.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/dmc.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/SMB2j.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5-e.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5_bank_switch.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/tengen.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvi.txt
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/vrcvii.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy1.txt
 %%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy2.txt
-%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02 technical operation.TXT
+%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02_technical_operation.TXT
 %%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/ppu
 %%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/exp
 %%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/cpu
--- fceu.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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