pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators Remove emulators/darcnes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/773349c9fb70
branches:  trunk
changeset: 397231:773349c9fb70
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 18 20:50:05 2019 +0000

description:
Remove emulators/darcnes.

- Build broken.
- HOMEPAGE dead.
- No updates for nearly two decades (release is from ~2001).
- Poor quality emulation (at least according to the DESCR full of typos)
- Strange license.

Usable alternatives:
emulators/mednafen, emulators/retroarch, emulators/blastem...

This has a Makefile.common, but it's only included by a package in wip.

diffstat:

 emulators/Makefile                 |   3 +-
 emulators/darcnes/DESCR            |  13 ----------
 emulators/darcnes/Makefile         |  20 ----------------
 emulators/darcnes/Makefile.common  |  30 ------------------------
 emulators/darcnes/PLIST            |   3 --
 emulators/darcnes/distinfo         |  16 -------------
 emulators/darcnes/patches/patch-aa |  37 ------------------------------
 emulators/darcnes/patches/patch-ab |  17 --------------
 emulators/darcnes/patches/patch-ac |  13 ----------
 emulators/darcnes/patches/patch-ad |  46 --------------------------------------
 emulators/darcnes/patches/patch-ae |   9 -------
 emulators/darcnes/patches/patch-af |  33 ---------------------------
 emulators/darcnes/patches/patch-ag |  12 ---------
 emulators/darcnes/patches/patch-ah |  13 ----------
 emulators/darcnes/patches/patch-ai |  12 ---------
 emulators/darcnes/patches/patch-aj |  13 ----------
 16 files changed, 1 insertions(+), 289 deletions(-)

diffs (truncated from 364 to 300 lines):

diff -r 435fc8a6a49d -r 773349c9fb70 emulators/Makefile
--- a/emulators/Makefile        Tue Jun 18 20:11:50 2019 +0000
+++ b/emulators/Makefile        Tue Jun 18 20:50:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.297 2019/06/09 13:58:08 nia Exp $
+# $NetBSD: Makefile,v 1.298 2019/06/18 20:50:05 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -48,7 +48,6 @@
 #SUBDIR+=      compat_netbsd           # only contains Makefile fragments
 SUBDIR+=       cygwin_esound
 SUBDIR+=       cygwin_lib
-SUBDIR+=       darcnes
 SUBDIR+=       darwin_lib
 SUBDIR+=       dega
 SUBDIR+=       dgen
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/DESCR
--- a/emulators/darcnes/DESCR   Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-DarcNES is a multi-system emulator. Some of the systems it emulates
-are
-  o Sega Master System, Sega Game Gear (with sound)
-  o Nintende Entertainment System (with sound)
-  o PC-Engine
-and in development is support for
-  o Colecovision
-  o Sega Megadrive, also known as Sega Genesis
-  o Apple ][
-
-The keys are: 'A', 'S', '[', ']', arrows, and escape.
-
-By Nyef (Alastair Bridgewater).
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/Makefile
--- a/emulators/darcnes/Makefile        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-# $NetBSD: Makefile,v 1.29 2012/10/03 12:55:11 asau Exp $
-
-PKGNAME=       darcnes-20010401
-PKGREVISION=   4
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-COMMENT=       Multi-system emulator (NES, SMS, GG, PCE, and others)
-
-MAKE_ENV+=     TARGET=Linux_X
-
-INSTALLATION_DIRS=     bin
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/darcnes
-       ${INSTALL_MAN} ${WRKSRC}/readme ${DESTDIR}${PREFIX}/share/doc/darcnes
-
-.include "Makefile.common"
-.include "../../x11/libXaw/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/Makefile.common
--- a/emulators/darcnes/Makefile.common Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-# $NetBSD: Makefile.common,v 1.10 2009/05/19 08:59:13 wiz Exp $
-
-DISTNAME=      dn9b0401
-CATEGORIES=    emulators
-MASTER_SITES=  http://www.dridus.com/~nyef/darcnes/download/
-EXTRACT_SUFX=  .tgz
-
-HOMEPAGE=      http://www.dridus.com/~nyef/darcnes/
-LICENSE=       no-commercial-use
-
-WRKSRC=                ${WRKDIR}/darcnes
-USE_TOOLS+=    gmake
-PATCHDIR=      ${.CURDIR}/../../emulators/darcnes/patches
-DISTINFO_FILE= ${.CURDIR}/../../emulators/darcnes/distinfo
-
-# tool.c causes the sunpro acomp process to spin on the CPU.
-NOT_FOR_COMPILER=      sunpro
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ( ${OBJECT_FMT} == "a.out" )
-MAKE_FLAGS+=   ASM_FLAGS=-DASM_UNDERBARS
-MAKE_FLAGS+=   NO_MULTIPLE_COMMON_WARNING=-DNO_MULTIPLE_COMMON_WARNING
-.endif
-
-.if ( ${MACHINE_ARCH} == "i386" )
-MAKE_FLAGS+=   MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\"
-.else
-MAKE_FLAGS+=   C_ONLY=-DC_ONLY
-.endif
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/PLIST
--- a/emulators/darcnes/PLIST   Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:51:03 joerg Exp $
-bin/darcnes
-share/doc/darcnes/readme
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/distinfo
--- a/emulators/darcnes/distinfo        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 20:30:56 agc Exp $
-
-SHA1 (dn9b0401.tgz) = 3158ae8bd53891c2d17989cbb9d03493f1511132
-RMD160 (dn9b0401.tgz) = 82201c3a2da113fa39edeb9ea675ddeceeec2bf3
-SHA512 (dn9b0401.tgz) = 7029b399e9d12a3623814430e46fbadea9b00fd3c220291d4bf3af8463bc70d9c0e2c6adc3cfa526248a6be85fea1b8890dbbb3dab30d419dfd5712e292271ca
-Size (dn9b0401.tgz) = 199963 bytes
-SHA1 (patch-aa) = e7d2631d41d7914ed650a450a75f47ef711a3ca0
-SHA1 (patch-ab) = 896a42a538f8a54da70fc3e8d0d01ac13eeb151d
-SHA1 (patch-ac) = d758adc247a574ebe97a5dd9bfcf0cc4b5c0e3e9
-SHA1 (patch-ad) = 1b3b493b41402edab814b6addaf19cc44dc2e8eb
-SHA1 (patch-ae) = b4a1029aebc356f10a90df35dcf3c392232a8c05
-SHA1 (patch-af) = 470abb49e62e0b508893c0a32e3248635395896a
-SHA1 (patch-ag) = 9a2689d2a0a18574a53c52404e380672cebefb54
-SHA1 (patch-ah) = caab7e9e0d3489883f242ab305f8534e99de9bca
-SHA1 (patch-ai) = f0c05c73ef4dae953edcd0dfde31e259c2632920
-SHA1 (patch-aj) = fd6f3c3eec4cc9353b12a896d6d8e8cd73b40e57
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-aa
--- a/emulators/darcnes/patches/patch-aa        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2001/07/08 18:12:00 wiz Exp $
-
---- Makefile.orig      Wed Mar 28 02:51:41 2001
-+++ Makefile
-@@ -11,16 +11,16 @@
- 
- #C_ONLY=-DC_ONLY
- 
--MACH_TYPES=-DMACH_TYPES=\"types-i386.h\"
-+#MACH_TYPES=-DMACH_TYPES=\"types-i386.h\"
- 
- #BYTE_ORDER=-DMSB_FIRST
--BYTE_ORDER=-DLSB_FIRST
-+#BYTE_ORDER=-DLSB_FIRST
- 
- DEBUG=-g
- 
- OPTFLAGS=-O2 -fomit-frame-pointer
- 
--BASE_CFLAGS=-Wall $(DEBUG) $(OPTFLAGS) $(C_ONLY) $(BYTE_ORDER) $(MACH_TYPES)
-+BASE_CFLAGS=-Wall $(DEBUG) $(OPTFLAGS) $(C_ONLY) $(MACH_TYPES)
- BASE_SFLAGS=-Wall $(DEBUG) $(OPTFLAGS)
- BASE_LDFLAGS=
- 
-@@ -43,9 +43,9 @@
- #
- ifeq ($(TARGET),Linux_X)
- CONFFLAGS=-DPCE_CD_SUPPORT -DSOUND
--LDFLAGS+=-L/usr/X11R6/lib
--CFLAGS+=-I/usr/X11R6/include
--SFLAGS+=-I/usr/X11R6/include
-+LDFLAGS+=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib
-+CFLAGS+=-I${X11BASE}/include
-+SFLAGS+=${ASM_FLAGS} -I${X11BASE}/include
- SYSTEMSRCS=video_x.c ui_x.c snd_unix.c keyboard_x.c cd_unix.c
- BINFILE=darcnes
- LIBS=-lXext -lXaw -lXmu -lXt -lX11
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-ab
--- a/emulators/darcnes/patches/patch-ab        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2003/09/17 07:15:34 wiz Exp $
-
---- ui_x.c.orig        Mon Oct 30 23:15:31 2000
-+++ ui_x.c
-@@ -177,6 +177,12 @@ int main(int argc, char *argv[])
-       return 1;
-     }
- 
-+    if (romfile == NULL) {
-+      printf("rom not specified.\n");
-+      usage(argv[0]);
-+      return 1;
-+    }
-+
-     initialize_window(display);
- 
-     activate_system(system_type, romfile);
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-ac
--- a/emulators/darcnes/patches/patch-ac        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2007/06/17 07:42:48 wiz Exp $
-
---- ui.h.orig  2000-06-29 01:06:05.000000000 +0000
-+++ ui.h
-@@ -37,7 +37,7 @@ extern shutdown_t dn_shutdown;
- 
- struct joypad_button_template {
-     int num_buttons;
--    unsigned long buttons[0];
-+    unsigned long buttons[20]; /* shouldn't need more than that */
- };
- 
- struct joypad {
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-ad
--- a/emulators/darcnes/patches/patch-ad        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2000/06/03 10:57:12 wiz Exp $
-
---- endian.h.orig      Thu Jun  1 02:43:03 2000
-+++ endian.h   Thu Jun  1 02:43:04 2000
-@@ -0,0 +1,41 @@
-+#ifndef __HAD_MY_ENDIAN_H
-+#define __HAD_MY_ENDIAN_H
-+
-+#include <sys/param.h>
-+
-+#if (defined(BSD) && (BSD >= 199306))
-+/* this should filter out NetBSD, FreeBSD and OpenBSD */
-+#include <machine/endian.h>
-+
-+#if BYTE_ORDER == BIG_ENDIAN
-+#define MSB_FIRST 1
-+#undef LSB_FIRST
-+#else
-+#define LSB_FIRST 1
-+#undef MSB_FIRST
-+#endif
-+
-+#else
-+/* for Linux, perhaps use #ifdef __linux__? */
-+#include <sys/types.h>
-+
-+#if defined(__BYTE_ORDER)
-+#if __BYTE_ORDER == __BIG_ENDIAN
-+#define MSB_FIRST 1
-+#undef LSB_FIRST
-+#else
-+#define LSB_FIRST 1
-+#undef MSB_FIRST
-+#endif /* __BYTE_ORDER == __BIG_ENDIAN */
-+
-+#else /* defined(__BYTE_ORDER) */
-+
-+/* not Linux, either, just set it to LSB */
-+#define LSB_FIRST 1
-+#undef MSB_FIRST
-+
-+#endif /* defined(__BYTE_ORDER) */
-+
-+#endif /* defined(BSD) && (BSD >= 199306) */
-+
-+#endif /* __HAD_MY_ENDIAN_H */
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-ae
--- a/emulators/darcnes/patches/patch-ae        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2000/06/03 10:57:12 wiz Exp $
-
---- mtypes.h.orig      Sat Aug  7 18:19:37 1999
-+++ mtypes.h   Thu Jun  1 02:43:05 2000
-@@ -11,2 +11,4 @@
- 
-+#include "endian.h"
-+
- typedef unsigned char byte;
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-af
--- a/emulators/darcnes/patches/patch-af        Tue Jun 18 20:11:50 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-af,v 1.4 2000/10/28 23:04:31 wiz Exp $
-
---- cd_unix.c.orig     Sun Aug 20 03:25:53 2000
-+++ cd_unix.c
-@@ -62,7 +62,6 @@
- 
- void cd_play_track(u8 track)
- {
--#ifdef SYSTEM_FREEBSD
-     struct ioc_play_track playtrack;
- 
-     /* FIXME: CD keeps playing after program quits */
-@@ -74,12 +73,10 @@
-     playtrack.end_index = 1;
- 
-     ioctl(cd_drive, CDIOCPLAYTRACKS, &playtrack);
--#endif
- }
- 
- void cd_play_lba(u32 from, u32 to, int repeat)
- {
--#ifdef SYSTEM_FREEBSD
-     struct ioc_play_blocks playblocks;
- 
-     /* FIXME: ignores the repeat flag */
-@@ -94,7 +91,6 @@
-     playblocks.len = to - from;
- 
-     ioctl(cd_drive, CDIOCPLAYBLOCKS, &playblocks);
--#endif
- }
- 
- #ifdef SYSTEM_LINUX
diff -r 435fc8a6a49d -r 773349c9fb70 emulators/darcnes/patches/patch-ag
--- a/emulators/darcnes/patches/patch-ag        Tue Jun 18 20:11:50 2019 +0000



Home | Main Index | Thread Index | Old Index