pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/fceu Initial import of FCE Ultra, a Nintendo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/11f37d3c8fdd
branches: trunk
changeset: 478210:11f37d3c8fdd
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jul 19 18:37:14 2004 +0000
description:
Initial import of FCE Ultra, a Nintendo Entertainment System and
Famicom emulator.
FCE Ultra is an NTSC and PAL Famicom/NES emulator for various
platforms. It is based upon Bero's original FCE source code. Current
features include good PPU, CPU, pAPU, expansion chip, and joystick
emulation. Also a feature unique to this emulator (at the current
time) is authentic Game Genie emulation. Save states and snapshot
features also have been implemented.
diffstat:
emulators/fceu/DESCR | 6 ++++++
emulators/fceu/Makefile | 36 ++++++++++++++++++++++++++++++++++++
emulators/fceu/PLIST | 10 ++++++++++
emulators/fceu/distinfo | 7 +++++++
emulators/fceu/patches/patch-aa | 17 +++++++++++++++++
emulators/fceu/patches/patch-ab | 15 +++++++++++++++
emulators/fceu/patches/patch-ac | 16 ++++++++++++++++
7 files changed, 107 insertions(+), 0 deletions(-)
diffs (135 lines):
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/DESCR Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,6 @@
+FCE Ultra is an NTSC and PAL Famicom/NES emulator for various
+platforms. It is based upon Bero's original FCE source code. Current
+features include good PPU, CPU, pAPU, expansion chip, and joystick
+emulation. Also a feature unique to this emulator (at the current
+time) is authentic Game Genie emulation. Save states and snapshot
+features also have been implemented.
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/Makefile Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 18:37:14 wiz Exp $
+#
+
+DISTNAME= fceu-0.98.10.src
+PKGNAME= ${DISTNAME:S/.src//}
+CATEGORIES= emulators
+MASTER_SITES= http://fceultra.sourceforge.net/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= wiz%NetBSD.org@localhost
+HOMEPAGE= http://fceultra.sourceforge.net/
+COMMENT= Portable NES and Famicom emulator
+
+WRKSRC= ${WRKDIR}/fceu
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+SUBST_CLASSES+= dsp
+SUBST_STAGE.dsp= post-patch
+SUBST_MESSAGE.dsp= Adjusting sound device path.
+SUBST_FILES.dsp= src/drivers/sexyal/drivers/oss.c
+SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/fceu-sdl.6 \
+ ${PREFIX}/man/man6/fceu.6
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fceu
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
+ ${PREFIX}/share/doc/fceu
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/*.txt \
+ ${PREFIX}/share/doc/fceu
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/PLIST Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 18:37:14 wiz Exp $
+bin/fceu
+man/man6/fceu.6
+share/doc/fceu/cheat.html
+share/doc/fceu/faq.html
+share/doc/fceu/fceultra.html
+share/doc/fceu/fcm.txt
+share/doc/fceu/fcs.txt
+share/doc/fceu/protocol.txt
+@dirrm share/doc/fceu
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/distinfo Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
+
+SHA1 (fceu-0.98.10.src.tar.bz2) = 578e25792f42e8fd640f0bd070241c43a63bbda2
+Size (fceu-0.98.10.src.tar.bz2) = 559750 bytes
+SHA1 (patch-aa) = e2e32735e52963f456ae9f74ed94b30d22468394
+SHA1 (patch-ab) = 192e6c25fd63db9cea4975af515e6e831bc56040
+SHA1 (patch-ac) = 8a5297b11484c6eaf5d70a391bb486ff58475f35
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/patches/patch-aa Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
+
+Make default keys match documentation.
+
+--- src/drivers/pc/input.c.orig 2004-05-17 01:48:26.000000000 +0200
++++ src/drivers/pc/input.c
+@@ -286,8 +286,8 @@ static void KeyboardCommands(void)
+ ButtConfig GamePadConfig[4][10]={
+ /* Gamepad 1 */
+ {
+- MK(KP3), MK(KP2), MK(TAB), MK(ENTER), MK(W),MK(Z),
+- MK(A), MK(S), MKZ(), MKZ()
++ MK(LEFTALT), MK(LEFTCONTROL), MK(TAB), MK(ENTER), MK(CURSORUP),
++ MK(CURSORDOWN), MK(CURSORLEFT), MK(CURSORRIGHT), MKZ(), MKZ()
+ },
+
+ /* Gamepad 2 */
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/patches/patch-ab Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
+
+SOL_TCP is 6, the same as IPPROTO_TCP and ISOPROTO_TCP on NetBSD.
+
+--- src/drivers/pc/unix-netplay.c.orig 2004-05-17 07:28:06.000000000 +0200
++++ src/drivers/pc/unix-netplay.c
+@@ -86,7 +86,7 @@ int FCEUD_NetworkConnect(void)
+ return(0);
+ }
+ int tcpopt = 1;
+- if(setsockopt(TSocket, SOL_TCP, TCP_NODELAY, &tcpopt, sizeof(int)))
++ if(setsockopt(TSocket, 6, TCP_NODELAY, &tcpopt, sizeof(int)))
+ puts("Nodelay fail");
+
+ memset(&sockin,0,sizeof(sockin));
diff -r 8dd8719cf3bf -r 11f37d3c8fdd emulators/fceu/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fceu/patches/patch-ac Mon Jul 19 18:37:14 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 18:37:15 wiz Exp $
+
+NetBSD's zlib.h does not define OF().
+
+--- src/unzip.h.orig 2004-01-21 21:50:00.000000000 +0100
++++ src/unzip.h
+@@ -58,6 +58,9 @@ typedef unzFile__ *unzFile;
+ typedef voidp unzFile;
+ #endif
+
++#ifndef OF
++#define OF(a) a
++#endif
+
+ #define UNZ_OK (0)
+ #define UNZ_END_OF_LIST_OF_FILE (-100)
Home |
Main Index |
Thread Index |
Old Index