pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/gens import gens 2.12rc3 from pkgsrc-wip:
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b88652feb70
branches: trunk
changeset: 478575:9b88652feb70
user: dillo <dillo%pkgsrc.org@localhost>
date: Mon Jul 26 18:23:22 2004 +0000
description:
import gens 2.12rc3 from pkgsrc-wip:
Gens is an emulator of Sega's 16 bit consoles: Genesis
(a.k.a Megadrive) and Sega CD (a.k.a Mega CD). For Sega
CD, you will need BIOS ROM images.
diffstat:
emulators/gens/DESCR | 3 +
emulators/gens/Makefile | 30 ++
emulators/gens/PLIST | 39 +++
emulators/gens/distinfo | 15 +
emulators/gens/patches/patch-aa | 73 +++++++
emulators/gens/patches/patch-ab | 43 ++++
emulators/gens/patches/patch-ac | 118 +++++++++++
emulators/gens/patches/patch-ad | 133 +++++++++++++
emulators/gens/patches/patch-ae | 21 ++
emulators/gens/patches/patch-af | 405 ++++++++++++++++++++++++++++++++++++++++
emulators/gens/patches/patch-ag | 99 +++++++++
emulators/gens/patches/patch-ah | 51 +++++
emulators/gens/patches/patch-ai | 15 +
emulators/gens/patches/patch-aj | 35 +++
emulators/gens/patches/patch-ak | 19 +
15 files changed, 1099 insertions(+), 0 deletions(-)
diffs (truncated from 1159 to 300 lines):
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/DESCR Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,3 @@
+Gens is an emulator of Sega's 16 bit consoles: Genesis (a.k.a
+Megadrive) and Sega CD (a.k.a Mega CD). For Sega CD, you will need
+BIOS ROM images.
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/Makefile Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/26 18:23:22 dillo Exp $
+#
+
+DISTNAME= gens-rc3
+PKGNAME= gens-2.12rc3
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gens/}
+
+MAINTAINER= dillo%NetBSD.org@localhost
+HOMEPAGE= http://gens.consolemul.com/
+COMMENT= Sega Genesis emulator with Sega CD support
+
+BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
+
+# contains i386 assembler sources
+ONLY_FOR_PLATFORM= *-i386
+
+WRKSRC= ${WRKDIR}/GensForLinux
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gens
+ ${INSTALL_DATA} ${WRKSRC}/gens.txt ${PREFIX}/share/doc/gens
+
+.include "../../mk/bsd.pkg.mk"
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/PLIST Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/26 18:23:22 dillo Exp $
+bin/gens
+share/doc/gens/gens.txt
+share/gens/Gens2.ico
+share/gens/bitmap1.png
+share/gens/bmp00000.png
+share/gens/bmp00001.png
+share/gens/bmp00002.png
+share/gens/bmp00003.png
+share/gens/bmp00004.png
+share/gens/bmp00005.png
+share/gens/bmp00006.png
+share/gens/gens.ico
+share/gens/gens_big.bmp
+share/gens/gens_small.png
+share/gens/sonic.ico
+share/gens/sonic2.ico
+share/gens/file_text.png
+share/gens/2rightarrow.png
+share/gens/Modem.png
+share/gens/binary.png
+share/gens/cdrom2_unmount.png
+share/gens/editcopy.png
+share/gens/filleclose.png
+share/gens/folder_slin_open.png
+share/gens/history.png
+share/gens/kmix.png
+share/gens/ksysguard.png
+share/gens/memory.png
+share/gens/package_games.png
+share/gens/package_settings.png
+share/gens/password.png
+share/gens/reload.png
+share/gens/resource.png
+share/gens/viewmag.png
+share/gens/viewmag1.png
+share/gens/xpaint.png
+@dirrm share/gens
+@dirrm share/doc/gens
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/distinfo Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/26 18:23:22 dillo Exp $
+
+SHA1 (gens-rc3.tar.gz) = 6057564665007686c9ea8df364be3220499f9917
+Size (gens-rc3.tar.gz) = 658729 bytes
+SHA1 (patch-aa) = e6a4768963e9da1799b80e775f0637eb07b2ca5c
+SHA1 (patch-ab) = cb5e049b813016aec6cd7b4c67560953a04e5bc6
+SHA1 (patch-ac) = 7c3f17c59727365ff4cf11d1a5d1c3da19943872
+SHA1 (patch-ad) = dae2ad294272f18067a640d88286ddfeb7775aaf
+SHA1 (patch-ae) = 6902f4e2abd38b2dcd946309c1321a95c3ded2b4
+SHA1 (patch-af) = 5acae2a597166b3948a56bb24b712ea49d114c8d
+SHA1 (patch-ag) = d16015ffd9e2e2d33ed229dbaa41a18c44968f47
+SHA1 (patch-ah) = a72c19bb5a521f4c26604131ff4245be4968835d
+SHA1 (patch-ai) = 596fe718e5c38091a06198413bcf29b3c668571f
+SHA1 (patch-aj) = 87d2f4001bf16469430d955d7e58ffe6316595af
+SHA1 (patch-ak) = 4b06340b3702dafea12d78841f379b5255a1a74f
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/patches/patch-aa Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,73 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/26 18:23:22 dillo Exp $
+
+--- src/gens/Makefile.in.orig 2004-05-19 22:48:47.000000000 +0200
++++ src/gens/Makefile.in
+@@ -199,6 +199,8 @@ gens_SOURCES = \
+ util/gym.h \
+ util/scrshot.c \
+ util/scrshot.h \
++ util/chd.c \
++ util/chd.h \
+ util/unzip.c \
+ util/unzip.h \
+ util/wave.c \
+@@ -284,6 +286,7 @@ am_gens_OBJECTS = gens_core/cpu/68k/gens
+ sdllayer/gens-g_sdlsound.$(OBJEXT) util/gens-rom.$(OBJEXT) \
+ util/gens-save.$(OBJEXT) util/gens-ggenie.$(OBJEXT) \
+ util/gens-gym.$(OBJEXT) util/gens-scrshot.$(OBJEXT) \
++ util/gens-chd.$(OBJEXT) \
+ util/gens-unzip.$(OBJEXT) util/gens-wave.$(OBJEXT) \
+ port/gens-port.$(OBJEXT) port/gens-timer.$(OBJEXT) \
+ emulator/gens-ui_proxy.$(OBJEXT) emulator/gens-g_main.$(OBJEXT) \
+@@ -343,6 +346,7 @@ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ @AMDEP_TRUE@ $(DEPDIR)/util/gens-rom.Po \
+ @AMDEP_TRUE@ $(DEPDIR)/util/gens-save.Po \
+ @AMDEP_TRUE@ $(DEPDIR)/util/gens-scrshot.Po \
++@AMDEP_TRUE@ $(DEPDIR)/util/gens-chd.Po \
+ @AMDEP_TRUE@ $(DEPDIR)/util/gens-unzip.Po \
+ @AMDEP_TRUE@ $(DEPDIR)/util/gens-wave.Po
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+@@ -502,6 +506,8 @@ util/gens-gym.$(OBJEXT): util/gym.c util
+ $(DEPDIR)/util/.dirstamp
+ util/gens-scrshot.$(OBJEXT): util/scrshot.c util/.dirstamp \
+ $(DEPDIR)/util/.dirstamp
++util/gens-chd.$(OBJEXT): util/chd.c util/.dirstamp \
++ $(DEPDIR)/util/.dirstamp
+ util/gens-unzip.$(OBJEXT): util/unzip.c util/.dirstamp \
+ $(DEPDIR)/util/.dirstamp
+ util/gens-wave.$(OBJEXT): util/wave.c util/.dirstamp \
+@@ -609,6 +615,7 @@ mostlyclean-compile:
+ -rm -f util/gens-rom.$(OBJEXT)
+ -rm -f util/gens-save.$(OBJEXT)
+ -rm -f util/gens-scrshot.$(OBJEXT)
++ -rm -f util/gens-chd.$(OBJEXT)
+ -rm -f util/gens-unzip.$(OBJEXT)
+ -rm -f util/gens-wave.$(OBJEXT)
+
+@@ -684,6 +691,7 @@ distclean-compile:
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-rom.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-save.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-scrshot.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-chd.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-unzip.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util/gens-wave.Po@am__quote@
+
+@@ -1038,6 +1046,18 @@ util/gens-scrshot.obj: util/scrshot.c
+ @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gens_CFLAGS) $(CFLAGS) -c -o util/gens-scrshot.obj `cygpath -w util/scrshot.c`
+
++util/gens-chd.o: util/chd.c
++@AMDEP_TRUE@ source='util/chd.c' object='util/gens-chd.o' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@ depfile='$(DEPDIR)/util/gens-chd.Po' tmpdepfile='$(DEPDIR)/util/gens-chd.TPo' @AMDEPBACKSLASH@
++@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gens_CFLAGS) $(CFLAGS) -c -o util/gens-chd.o `test -f util/chd.c || echo '$(srcdir)/'`util/chd.c
++
++util/gens-chd.obj: util/chd.c
++@AMDEP_TRUE@ source='util/chd.c' object='util/gens-chd.obj' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@ depfile='$(DEPDIR)/util/gens-chd.Po' tmpdepfile='$(DEPDIR)/util/gens-chd.TPo' @AMDEPBACKSLASH@
++@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gens_CFLAGS) $(CFLAGS) -c -o util/gens-chd.obj `cygpath -w util/chd.c`
++
+ util/gens-unzip.o: util/unzip.c
+ @AMDEP_TRUE@ source='util/unzip.c' object='util/gens-unzip.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@ depfile='$(DEPDIR)/util/gens-unzip.Po' tmpdepfile='$(DEPDIR)/util/gens-unzip.TPo' @AMDEPBACKSLASH@
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/patches/patch-ab Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/07/26 18:23:23 dillo Exp $
+
+--- src/gens/gtkui/support.c.orig 2004-05-18 20:04:29.000000000 +0200
++++ src/gens/gtkui/support.c
+@@ -783,12 +783,14 @@ addIsoFilter(GtkWidget* widget)
+ // "SegaCD image file\0*.bin;*.iso;*.raw\0All files\0*.*\0\0"
+ const char* bin = "*.[bb][iI][nN]";
+ const char* iso = "*.[iI][sS][oO]";
++ const char* chd = "*.[cC][hH][dD]";
+ const char* raw = "*.[rR][aA][wW]";
+
+ filter = gtk_file_filter_new ();
+ gtk_file_filter_set_name (filter, "SegaCD image file");
+ gtk_file_filter_add_pattern (filter, bin);
+ gtk_file_filter_add_pattern (filter, iso);
++ gtk_file_filter_add_pattern (filter, chd);
+ gtk_file_filter_add_pattern (filter, raw);
+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (widget), filter);
+ }
+@@ -803,6 +805,7 @@ addRomsFilter(GtkWidget* widget)
+ const char* gen = "*.[gG][eE][nN]";
+ const char* _32x = "*.32[xX]";
+ const char* iso = "*.[iI][sS][oO]";
++ const char* chd = "*.[cC][hH][dD]";
+ const char* raw = "*.[rR][aA][wW]";
+ const char* zip = "*.[zZ][iI][pP]";
+ const char* gz ="*.[gG][zZ]";
+@@ -816,6 +819,7 @@ addRomsFilter(GtkWidget* widget)
+ gtk_file_filter_add_pattern (filter, gen);
+ gtk_file_filter_add_pattern (filter, _32x);
+ gtk_file_filter_add_pattern (filter, iso);
++ gtk_file_filter_add_pattern (filter, chd);
+ gtk_file_filter_add_pattern (filter, raw);
+ gtk_file_filter_add_pattern (filter, zip);
+ gtk_file_filter_add_pattern (filter, gz);
+@@ -842,6 +846,7 @@ addRomsFilter(GtkWidget* widget)
+ filter = gtk_file_filter_new ();
+ gtk_file_filter_set_name (filter, "SegaCD image");
+ gtk_file_filter_add_pattern (filter, iso);
++ gtk_file_filter_add_pattern (filter, chd);
+ gtk_file_filter_add_pattern (filter, raw);
+ gtk_file_filter_add_pattern (filter, bin);
+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (widget), filter);
diff -r 610736eeec13 -r 9b88652feb70 emulators/gens/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/gens/patches/patch-ac Mon Jul 26 18:23:22 2004 +0000
@@ -0,0 +1,118 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/07/26 18:23:23 dillo Exp $
+
+--- src/gens/segacd/cd_aspi.c.orig 2004-05-18 22:34:00.000000000 +0200
++++ src/gens/segacd/cd_aspi.c
+@@ -8,6 +8,8 @@
+ #include "cd_aspi.h"
+ #include "mem_s68k.h"
+
++#ifdef linux
++
+ #define HIBYTE(x) x >> 8
+ #define LOBYTE(x) x & 0xff
+ void Sleep (int i);
+@@ -2878,3 +2880,104 @@ Fill_SCD_TOC_Zero (void)
+
+ CD_Present = 0;
+ }
++
++#else
++
++int CUR_DEV;
++int Num_CD_Drive;
++
++int
++ASPI_Close_Tray_CDD_cC_COMP (SRB_ExecSCSICmd * s)
++{
++ return -1;
++}
++
++int
++ASPI_End (void)
++{
++ return 1;
++}
++
++int
++ASPI_Fast_Seek_COMP (SRB_ExecSCSICmd * s)
++{
++ return 0;
++}
++
++void
++ASPI_Flush_Cache_CDC (void)
++{
++ return;
++}
++
++int
++ASPI_Init (void)
++{
++ Num_CD_Drive = 0;
++ return 0;
++}
++
++int
++ASPI_Lock (int flock)
++{
++ return 5;
++}
++
++int
++ASPI_Open_Tray_CDD_cD_COMP (SRB_ExecSCSICmd * s)
++{
++ return -1;
++}
++
++void
++ASPI_Read_One_LBA_CDC (void)
++{
Home |
Main Index |
Thread Index |
Old Index