pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/raine Initial import of raine-0.40.0 from pk...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3e65fa84db4
branches: trunk
changeset: 472123:f3e65fa84db4
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Mon Apr 05 05:05:27 2004 +0000
description:
Initial import of raine-0.40.0 from pkgsrc-wip.
Raine is an emulator, it emulates some M68000 and M68020 arcade games and is
mainly focused on Taito and Jaleco games hardware. It started as an experiment
with the Rainbow Islands romset, dumped by Aracorn/Romlist. Raine can emulate
many nice games now, including new additions from Cave and other companies.
diffstat:
emulators/raine/DESCR | 4 +
emulators/raine/Makefile | 32 ++++++++
emulators/raine/PLIST | 29 +++++++
emulators/raine/distinfo | 7 +
emulators/raine/files/raine.sh | 7 +
emulators/raine/patches/patch-aa | 73 ++++++++++++++++++
emulators/raine/patches/patch-ab | 150 +++++++++++++++++++++++++++++++++++++++
emulators/raine/patches/patch-ac | 22 +++++
8 files changed, 324 insertions(+), 0 deletions(-)
diffs (truncated from 356 to 300 lines):
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/DESCR Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,4 @@
+Raine is an emulator, it emulates some M68000 and M68020 arcade games and is
+mainly focused on Taito and Jaleco games hardware. It started as an experiment
+with the Rainbow Islands romset, dumped by Aracorn/Romlist. Raine can emulate
+many nice games now, including new additions from Cave and other companies.
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/Makefile Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/05 05:05:27 xtraeme Exp $
+#
+
+DISTNAME= raines-0.40.0
+PKGNAME= ${DISTNAME:S/raines/raine/}
+CATEGORIES= emulators
+MASTER_SITES= http://www.rainemu.com/html/archive/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= xtraeme%NetBSD.org@localhost
+HOMEPAGE= http://www.rainemu.com/
+COMMENT= 680x0 Arcade Emulator
+
+BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
+
+WRKSRC= ${WRKDIR}/raine
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+MAKEFILE= makefile
+MAKE_ENV+= OSTYPE=linux
+USE_PERL5= run
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+pre-install:
+ @${SED} -e s,@RAINEDATA@,${PREFIX}/share/raine, \
+ ${FILESDIR}/raine.sh > ${WRKSRC}/raine.sh
+ @${INSTALL_SCRIPT} ${WRKSRC}/raine.sh ${PREFIX}/bin/raine
+
+.include "../../devel/allegro/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/PLIST Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
+bin/raine
+share/raine/languages/Brasil.cfg
+share/raine/languages/CZECH.CFG
+share/raine/languages/Catala.cfg
+share/raine/languages/Dansk.cfg
+share/raine/languages/Dutch.cfg
+share/raine/languages/English.cfg
+share/raine/languages/Español.cfg
+share/raine/languages/Euskera.cfg
+share/raine/languages/Finnish.cfg
+share/raine/languages/French.cfg
+share/raine/languages/French2.cfg
+share/raine/languages/German.cfg
+share/raine/languages/German2.cfg
+share/raine/languages/Italian.cfg
+share/raine/languages/Japanese.cfg
+share/raine/languages/POLISH.CFG
+share/raine/languages/Portugal.cfg
+share/raine/languages/Spanish.cfg
+share/raine/languages/Svenska.cfg
+share/raine/languages/Template.cfg
+share/raine/languages/Turkish.cfg
+share/raine/languages/galego.cfg
+share/raine/raine
+share/raine/raine.dat
+@dirrm share/raine/languages
+@dirrm share/raine/roms
+@dirrm share/raine
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/distinfo Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
+
+SHA1 (raines-0.40.0.tar.bz2) = bb3fe7aa758f8081e5aa14632ddff1858dfb86bb
+Size (raines-0.40.0.tar.bz2) = 1505268 bytes
+SHA1 (patch-aa) = abee628fbe69a12a98fdc88aee96f59a7a2ec721
+SHA1 (patch-ab) = 3fc85718ec2079fbbb7a59d06f782e2832889d0a
+SHA1 (patch-ac) = 40ec161397eed474a1274ea8f0e802eb5e687608
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/files/raine.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/files/raine.sh Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,7 @@
+#! /bin/sh
+#
+# $NetBSD: raine.sh,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
+#
+
+cd @RAINEDATA@ && ./raine "$@"
+exit 0
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/patches/patch-aa Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,73 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/05 05:05:28 xtraeme Exp $
+
+--- makefile.orig 2004-04-05 06:00:31.000000000 +0200
++++ makefile 2004-04-05 06:08:35.000000000 +0200
+@@ -171,10 +171,10 @@
+
+ # SDL = 1
+
+- bindir = $(prefix)/usr/games
+- sharedir = $(prefix)/usr/share
++ bindir = $(PREFIX)/bin
++ sharedir = $(PREFIX)/share
+ mandir = $(sharedir)/man/man6
+- rainedata = $(sharedir)/games/raine
++ rainedata = $(sharedir)/raine
+ langdir = $(rainedata)/languages
+ romdir = $(rainedata)/roms
+
+@@ -197,10 +197,10 @@
+ DEFINE = -D__RAINE__ \
+ -DRAINE_UNIX \
+
+- LIBS = -lz `allegro-config --libs` -lvga # -lreadline -lefence
+- LIBS_DEBUG = -lz -lvga `allegro-config --libs debug`
++ LIBS = -lz `allegro-config --libs` # -lreadline -lefence
++ LIBS_DEBUG = -lz `allegro-config --libs debug`
+
+- LIBS_STATIC = -lz -lvga `allegro-config --static`
++ LIBS_STATIC = -lz `allegro-config --static`
+
+ endif # linux / mingw32
+ endif # djgpp
+@@ -950,11 +950,7 @@
+ make.dep:
+ ./makedep $(OBJDIR) $(OBJS) > make.dep
+
+-cpuinfo:
+- @sh ./detect-cpu
+-
+ include make.dep
+-include cpuinfo
+
+ # create directories
+
+@@ -983,7 +979,6 @@
+ $(RM) -r $(OBJDIR)
+ @echo Deleting $(RAINE_EXE)...
+ $(RM) $(RAINE_EXE) make.dep
+- $(RM) cpuinfo
+
+ vclean:
+ @echo make vclean is no longer necessary, just type make clean
+@@ -992,14 +987,16 @@
+ install: install_dirs $(RAINE_LNG)
+ ifdef RAINE_LINUX
+
+- $(INSTALL_BIN) $(RAINE_EXE) $(bindir)
+- $(INSTALL_DATA) $(RAINE_DAT) $(rainedata)
++ $(BSD_INSTALL_PROGRAM) $(RAINE_EXE) $(rainedata)
++ $(BSD_INSTALL_DATA) $(RAINE_DAT) $(rainedata)
+
+ install_dirs:
+- $(MD) -pv $(bindir) $(rainedata) $(langdir) $(romdir)
++ $(BSD_INSTALL_DATA_DIR) $(rainedata)
++ $(BSD_INSTALL_DATA_DIR) $(langdir)
++ $(BSD_INSTALL_DATA_DIR) $(romdir)
+
+ $(RAINE_LNG):
+- $(INSTALL_DATA) config/language/$@ $(langdir)
++ $(BSD_INSTALL_DATA) config/language/$@ $(langdir)
+
+ else
+ @echo There is no needs to install for a win32/dos system
diff -r 4dc8b3d6f219 -r f3e65fa84db4 emulators/raine/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/raine/patches/patch-ab Mon Apr 05 05:05:27 2004 +0000
@@ -0,0 +1,150 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:05:29 xtraeme Exp $
+
+--- source/unzip.h.orig 2004-04-05 05:50:54.000000000 +0200
++++ source/unzip.h 2004-04-05 05:53:19.000000000 +0200
+@@ -142,9 +142,9 @@
+ tm_unz tmu_date;
+ } unz_file_info;
+
+-extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1,
++extern int ZEXPORT unzStringFileNameCompare (const char* fileName1,
+ const char* fileName2,
+- int iCaseSensitivity));
++ int iCaseSensitivity);
+ /*
+ Compare two filename (fileName1,fileName2).
+ If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
+@@ -155,7 +155,7 @@
+ */
+
+
+-extern unzFile ZEXPORT unzOpen OF((const char *path));
++extern unzFile ZEXPORT unzOpen (const char *path);
+ /*
+ Open a Zip file. path contain the full pathname (by example,
+ on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer
+@@ -166,24 +166,24 @@
+ of this unzip package.
+ */
+
+-extern int ZEXPORT unzClose OF((unzFile file));
++extern int ZEXPORT unzClose (unzFile file);
+ /*
+ Close a ZipFile opened with unzipOpen.
+ If there is files inside the .Zip opened with unzOpenCurrentFile (see later),
+ these files MUST be closed with unzipCloseCurrentFile before call unzipClose.
+ return UNZ_OK if there is no problem. */
+
+-extern int ZEXPORT unzGetGlobalInfo OF((unzFile file,
+- unz_global_info *pglobal_info));
++extern int ZEXPORT unzGetGlobalInfo (unzFile file,
++ unz_global_info *pglobal_info);
+ /*
+ Write info about the ZipFile in the *pglobal_info structure.
+ No preparation of the structure is needed
+ return UNZ_OK if there is no problem. */
+
+
+-extern int ZEXPORT unzGetGlobalComment OF((unzFile file,
++extern int ZEXPORT unzGetGlobalComment (unzFile file,
+ char *szComment,
+- uLong uSizeBuf));
++ uLong uSizeBuf);
+ /*
+ Get the global comment string of the ZipFile, in the szComment buffer.
+ uSizeBuf is the size of the szComment buffer.
+@@ -194,22 +194,22 @@
+ /***************************************************************************/
+ /* Unzip package allow you browse the directory of the zipfile */
+
+-extern int ZEXPORT unzGoToFirstFile OF((unzFile file));
++extern int ZEXPORT unzGoToFirstFile (unzFile file);
+ /*
+ Set the current file of the zipfile to the first file.
+ return UNZ_OK if there is no problem
+ */
+
+-extern int ZEXPORT unzGoToNextFile OF((unzFile file));
++extern int ZEXPORT unzGoToNextFile (unzFile file);
+ /*
+ Set the current file of the zipfile to the next file.
+ return UNZ_OK if there is no problem
+ return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
+ */
+
+-extern int ZEXPORT unzLocateFile OF((unzFile file,
++extern int ZEXPORT unzLocateFile (unzFile file,
+ const char *szFileName,
+- int iCaseSensitivity));
++ int iCaseSensitivity);
+ /*
+ Try locate the file szFileName in the zipfile.
+ For the iCaseSensitivity signification, see unzStringFileNameCompare
+@@ -220,14 +220,14 @@
+ */
+
+
+-extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file,
++extern int ZEXPORT unzGetCurrentFileInfo (unzFile file,
+ unz_file_info *pfile_info,
+ char *szFileName,
+ uLong fileNameBufferSize,
+ void *extraField,
+ uLong extraFieldBufferSize,
+ char *szComment,
+- uLong commentBufferSize));
++ uLong commentBufferSize);
+ /*
+ Get Info about the current file
+ if pfile_info!=NULL, the *pfile_info structure will contain somes info about
+@@ -246,22 +246,22 @@
+ from it, and close it (you can close it before reading all the file)
+ */
+
+-extern int ZEXPORT unzOpenCurrentFile OF((unzFile file));
++extern int ZEXPORT unzOpenCurrentFile (unzFile file);
+ /*
+ Open for reading data the current file in the zipfile.
+ If there is no error, the return value is UNZ_OK.
+ */
+
+-extern int ZEXPORT unzCloseCurrentFile OF((unzFile file));
++extern int ZEXPORT unzCloseCurrentFile (unzFile file);
+ /*
+ Close the file in zip opened with unzOpenCurrentFile
+ Return UNZ_CRCERROR if all the file was read but the CRC is not good
+ */
+
+
+-extern int ZEXPORT unzReadCurrentFile OF((unzFile file,
++extern int ZEXPORT unzReadCurrentFile (unzFile file,
Home |
Main Index |
Thread Index |
Old Index