pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/ucon64 ucon64-2.0.0, an emulation ROM image ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/080d4d515108
branches:  trunk
changeset: 497366:080d4d515108
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jul 26 04:12:22 2005 +0000

description:
ucon64-2.0.0, an emulation ROM image manipulation tool.  From DESCR:
=====
uCON64 - THE tool for all your video game console concerns.

- Support for 14+ different cartridge and disc-based video game console system
- Support for ALL common patch file formats like: IPS *), APS, BSL, PPF and
  Game Genie
  *) with RLE compression
- Support for 10+ different backup units to backup/restore ROM(s), disc(s) and
  SRAM(s) like: Flash Advance Linker, Flash 2 Advance, Doctor V64 (Junior),
  Super Wild Card, Game Doctor, Dexdrive, Super Magic Drive, Game Boy Xchanger
  Mad Catz Camera Link, Lynxit, MD-PRO, SMS-PRO, PCE-PRO, GG-PRO, Super Flash
  and your CD-writer.

  Including:
  *VERY* verbose ROM information for ALL systems, detection of bad dumps using
  internal checksums or DAT files, CRC32 calculation, ROM comparison,
  modification (strip, pad, etc...), SRAM conversion (emulator <-> backup
  unit), DiscJuggler and Nero image conversions, complete gzip and zip support
  for all file-related funtions, etc...

diffstat:

 emulators/ucon64/DESCR            |  18 +++++++++++++++++
 emulators/ucon64/Makefile         |  34 +++++++++++++++++++++++++++++++++
 emulators/ucon64/PLIST            |  40 +++++++++++++++++++++++++++++++++++++++
 emulators/ucon64/distinfo         |   8 +++++++
 emulators/ucon64/options.mk       |  17 ++++++++++++++++
 emulators/ucon64/patches/patch-aa |  24 +++++++++++++++++++++++
 emulators/ucon64/patches/patch-ab |  13 ++++++++++++
 emulators/ucon64/patches/patch-ac |  14 +++++++++++++
 8 files changed, 168 insertions(+), 0 deletions(-)

diffs (200 lines):

diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/DESCR    Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,18 @@
+uCON64 - THE tool for all your video game console concerns.
+
+- Support for 14+ different cartridge and disc-based video game console system
+- Support for ALL common patch file formats like: IPS *), APS, BSL, PPF and
+  Game Genie
+  *) with RLE compression
+- Support for 10+ different backup units to backup/restore ROM(s), disc(s) and
+  SRAM(s) like: Flash Advance Linker, Flash 2 Advance, Doctor V64 (Junior),
+  Super Wild Card, Game Doctor, Dexdrive, Super Magic Drive, Game Boy Xchanger
+  Mad Catz Camera Link, Lynxit, MD-PRO, SMS-PRO, PCE-PRO, GG-PRO, Super Flash
+  and your CD-writer.
+
+  Including:
+  *VERY* verbose ROM information for ALL systems, detection of bad dumps using
+  internal checksums or DAT files, CRC32 calculation, ROM comparison,
+  modification (strip, pad, etc...), SRAM conversion (emulator <-> backup
+  unit), DiscJuggler and Nero image conversions, complete gzip and zip support
+  for all file-related funtions, etc...
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/Makefile Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+#
+
+DISTNAME=              ucon64-2.0.0-src
+PKGNAME=               ${DISTNAME:S/-src//}
+CATEGORIES=            emulators
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ucon64/}
+
+MAINTAINER=            tv%duh.org@localhost
+HOMEPAGE=              http://ucon64.sourceforge.net/
+COMMENT=               Emulator ROM and disk image converter and inspector
+
+WRKSRC=                        ${WRKDIR}/${DISTNAME}/src
+
+CONFIGURE_ARGS+=       --disable-discmage # requires some work
+CONFIGURE_ARGS+=       --disable-dload
+CPPFLAGS+=             -D__unix__
+GNU_CONFIGURE=         yes
+USE_TOOLS+=            gmake
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${PREFIX}/bin/
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucon64
+       ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt ${PREFIX}/share/examples/ucon64/
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucon64 \
+               ${PREFIX}/share/doc/ucon64/images
+       ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \
+               ${PREFIX}/share/doc/ucon64/
+       ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \
+               ${PREFIX}/share/doc/ucon64/images/
+
+.include "options.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/PLIST    Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+bin/ucon64
+share/doc/ucon64/changes.html
+share/doc/ucon64/developers.html
+share/doc/ucon64/faq.html
+share/doc/ucon64/hardware.html
+share/doc/ucon64/images/bg.jpg
+share/doc/ucon64/images/cameralink.png
+share/doc/ucon64/images/cd_rw.png
+share/doc/ucon64/images/dexdrive.png
+share/doc/ucon64/images/f2a.png
+share/doc/ucon64/images/fal.png
+share/doc/ucon64/images/fig.png
+share/doc/ucon64/images/gbx.png
+share/doc/ucon64/images/ggpro.png
+share/doc/ucon64/images/hr.png
+share/doc/ucon64/images/icon.png
+share/doc/ucon64/images/logo.png
+share/doc/ucon64/images/mdpro.png
+share/doc/ucon64/images/msg.png
+share/doc/ucon64/images/pcepro.png
+share/doc/ucon64/images/sf3.png
+share/doc/ucon64/images/smc.png
+share/doc/ucon64/images/smd.png
+share/doc/ucon64/images/smspro.png
+share/doc/ucon64/images/swc.png
+share/doc/ucon64/images/v64.png
+share/doc/ucon64/images/v64jr.png
+share/doc/ucon64/install.html
+share/doc/ucon64/license.html
+share/doc/ucon64/readme.html
+share/examples/ucon64/genpal.txt
+share/examples/ucon64/mdntsc.txt
+share/examples/ucon64/snescopy.txt
+share/examples/ucon64/snesntsc.txt
+share/examples/ucon64/snespal.txt
+share/examples/ucon64/snesslow.txt
+@dirrm share/examples/ucon64
+@dirrm share/doc/ucon64/images
+@dirrm share/doc/ucon64
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/distinfo Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+
+SHA1 (ucon64-2.0.0-src.tar.gz) = 8782bbc2bf5760fafe3fa4cd02b67991d984a973
+RMD160 (ucon64-2.0.0-src.tar.gz) = c28921cfae1a010db917b96be542c089690b374c
+Size (ucon64-2.0.0-src.tar.gz) = 1188488 bytes
+SHA1 (patch-aa) = fd1543314b6ca6d432c6d88b8b7590085dfc51e9
+SHA1 (patch-ab) = 25f5311844511674d5e64efe7c35cf86dacc34a9
+SHA1 (patch-ac) = 9c7febe59e1c8e6959f56e34ced83a31fa54c294
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/options.mk       Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.ucon64
+PKG_SUPPORTED_OPTIONS= libusb
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Build with USB support.
+###
+.if !empty(PKG_OPTIONS:Mlibusb)
+CONFIGURE_ARGS+=       --with-libusb
+CPPFLAGS+=             -I${BUILDLINK_PREFIX.libusb}/include
+LDFLAGS+=              -L${BUILDLINK_PREFIX.libusb}/lib
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libusb}/lib
+.  include "../../devel/libusb/buildlink3.mk"
+.endif
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/patches/patch-aa Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+
+--- Makefile.in.orig   2004-09-05 10:32:27.000000000 -0400
++++ Makefile.in
+@@ -7,8 +7,8 @@
+ @DEFINE_LIBCD64_MAKE@
+ 
+ CC=@CC@
+-CFLAGS=-I. -Wall -W -O3 @DEFS@
+-LDFLAGS=-s
++CFLAGS=-I. -Wall -W @CPPFLAGS@ @CFLAGS@ @DEFS@
++LDFLAGS=@LDFLAGS@
+ TARGETS=
+ 
+ ifdef USE_DISCMAGE
+@@ -76,7 +76,7 @@ endif
+ else                                    # DLOPEN
+ ifdef USE_DISCMAGE                      # GNU specific: "simply expanded variable"
+ FULLLIBNAME_DM:=$(addprefix lib,$(FULLLIBNAME_DM))
+-LDFLAGS+=-Llibdiscmage -l$(LIBNAME_DM)
++LDFLAGS+=-Llibdiscmage -l$(LIBNAME_DM) -lm
+ endif
+ 
+ endif
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/patches/patch-ab Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+
+--- libdiscmage/libdiscmage.h.orig     2005-07-25 18:00:47.000000000 -0400
++++ libdiscmage/libdiscmage.h
+@@ -28,7 +28,7 @@ extern "C" {
+ 
+ #include <stdio.h>                              // FILENAME_MAX
+ 
+-#if     defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || \
++#if     defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || \
+         defined __solaris__ || defined __MINGW32__ || defined __CYGWIN__ || \
+         defined __BEOS__ || defined AMIGA || defined __APPLE__ // Mac OS X actually
+ // We cannot use config.h (for HAVE_INTTYPES_H), because this header file may be
diff -r d92bddc19b03 -r 080d4d515108 emulators/ucon64/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/ucon64/patches/patch-ac Tue Jul 26 04:12:22 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+
+--- misc/unzip.h.orig  2004-07-28 13:27:22.000000000 -0400
++++ misc/unzip.h
+@@ -48,6 +48,9 @@ extern "C" {
+ #ifndef _ZLIB_H
+ #include "zlib.h"
+ #endif
++#ifndef OF
++#define OF(x) x
++#endif
+ 
+ #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
+ /* like the STRICT of WIN32, we define a pointer that cannot be converted



Home | Main Index | Thread Index | Old Index