pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06e4a9b4095b
branches:  trunk
changeset: 339191:06e4a9b4095b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Sep 08 11:04:04 2019 +0000

description:
Remove emulators/generator.

Ancient, unmaintained, dead upstream, and not wanting to build, for some
time.

This version is from 2003 and only supports GTK1.

Lots of alternatives in this category - blastem, mednafen, even the
generator-cbiere fork, if you must.

diffstat:

 emulators/Makefile                                 |   3 +-
 emulators/generator/DESCR                          |  22 --------------
 emulators/generator/Makefile                       |  32 ---------------------
 emulators/generator/PLIST                          |   2 -
 emulators/generator/distinfo                       |  16 ----------
 emulators/generator/patches/patch-aa               |  13 --------
 emulators/generator/patches/patch-ab               |  14 ---------
 emulators/generator/patches/patch-ac               |  20 -------------
 emulators/generator/patches/patch-ae               |  33 ----------------------
 emulators/generator/patches/patch-af               |  13 --------
 emulators/generator/patches/patch-ag               |  13 --------
 emulators/generator/patches/patch-ah               |  13 --------
 emulators/generator/patches/patch-main_event.c     |  13 --------
 emulators/generator/patches/patch-main_vdp.c       |  22 --------------
 emulators/generator/patches/patch-ym2612_support.h |  13 --------
 15 files changed, 1 insertions(+), 241 deletions(-)

diffs (truncated from 312 to 300 lines):

diff -r e71b5be53812 -r 06e4a9b4095b emulators/Makefile
--- a/emulators/Makefile        Sun Sep 08 10:43:43 2019 +0000
+++ b/emulators/Makefile        Sun Sep 08 11:04:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.301 2019/09/07 00:38:00 tsutsui Exp $
+# $NetBSD: Makefile,v 1.302 2019/09/08 11:04:04 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -68,7 +68,6 @@
 SUBDIR+=       fuse-emulator-utils
 SUBDIR+=       gambatte
 SUBDIR+=       gcube
-SUBDIR+=       generator
 SUBDIR+=       generator-cbiere
 SUBDIR+=       gens
 SUBDIR+=       gns3
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/DESCR
--- a/emulators/generator/DESCR Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-Generator is an open source emulator designed to emulate the Sega
-Genesis / Mega Drive console, a popular games machine produced in the
-early 1990s.  It is a portable program written in C and has been
-ported to the Amiga, Macintosh, Windows and even pocket PCs such as
-the iPAQ and Cassiopeia.  Natively it compiles under unix for X
-Windows with either tcl/tk or gtk/SDL, for svgalib and even
-cross-compiles to DOS with djgpp/allegro.
-
-Generator uses its own custom 68000 processor emulation which is
-designed for dynamic recompilation, and uses techniques from this such
-as block-marking, flag calculation removal, operand pre-calculation,
-endian pre-conversion etc.  There are approximately 1600 C routines
-generated by the first stage of compilation to cope with the 67
-instruction families.  These routines are used as a 'backup' when
-dynamic recompilation isn't supported on your platform or the
-recompiler doesn't support a particular instruction.  The CPU engine
-is by all accounts very fast, whatever the mode.
-
-There is a 'test' recompiler written for the ARM processor, but it is
-no longer supported.  If someone with assembler knowledge wants to put
-the effort into writing a recompiling back-end for a processor (and it
-really is major effort), let me know - particularly if you know i386.
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/Makefile
--- a/emulators/generator/Makefile      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.26 2017/12/24 09:50:47 wiz Exp $
-
-DISTNAME=      generator-0.35
-PKGREVISION=   6
-CATEGORIES=    emulators
-MASTER_SITES=  http://www.squish.net/generator/files/
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://segaretro.org/Generator_(emulator)
-COMMENT=       Sega Mega drive genesis emulator
-
-MAKE_JOBS_SAFE=                no
-
-GNU_CONFIGURE=         yes
-
-.if (${MACHINE_ARCH} == "i386")
-BUILD_DEPENDS+=                nasm-[0-9]*:../../devel/nasm
-CONFIGURE_ARGS+=       --with-gtk --with-raze
-.else
-CONFIGURE_ARGS+=       --with-gtk --with-cmz80
-.endif
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+=       -DBYTES_HIGHFIRST
-.endif
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/PLIST
--- a/emulators/generator/PLIST Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/09 19:08:39 agc Exp $
-bin/generator-gtk
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/distinfo
--- a/emulators/generator/distinfo      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 20:30:57 agc Exp $
-
-SHA1 (generator-0.35.tar.gz) = a61138579efd97028d3a69c54c3c6fcd0a3d74ab
-RMD160 (generator-0.35.tar.gz) = 6b448018b8ed0fd9755ddb850f48892304d12e78
-SHA512 (generator-0.35.tar.gz) = 0aa30a8c71a1eb5e2c5bbf01a39794818bbcedb572a6989c84b6f3cc5f69eb316425928a1e514412c11142951cdec75be3f3d6845b94490776c417407ada44bf
-Size (generator-0.35.tar.gz) = 469541 bytes
-SHA1 (patch-aa) = 5b971a07345bbd8e3d86284127829df5f4f5a541
-SHA1 (patch-ab) = 487620ee83fc17119ad6b8ab3e9a19a1401a5c02
-SHA1 (patch-ac) = 7467437c39f7df56a261a330d8f021c0d9c0381b
-SHA1 (patch-ae) = 4e689421fe66aa7f635191e9f0100cd98daf8a76
-SHA1 (patch-af) = ef1c72b6da1ae93209a13b6836d5a85f66ffa51c
-SHA1 (patch-ag) = 2837e5f931326b1ac4fb7b045c05a81d809693e4
-SHA1 (patch-ah) = 4e76b9cd2fd377dee83273bafe930bec77b9bef1
-SHA1 (patch-main_event.c) = 6016e3c5de1b0c027f637962f740238f0a1e4573
-SHA1 (patch-main_vdp.c) = 0d5ef7815c8c4e03b2df8692af31739c9a1f773c
-SHA1 (patch-ym2612_support.h) = 1bf38d55f289881468cb2e7eb0fa02c7ec08dd1c
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-aa
--- a/emulators/generator/patches/patch-aa      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/04/02 22:23:53 kristerw Exp $
-
---- hdr/registers.h.orig       Sat Apr  2 23:59:51 2005
-+++ hdr/registers.h    Sun Apr  3 00:05:50 2005
-@@ -13,7 +13,7 @@
-        register uint32 *reg68k_regs asm ("6");
-        register t_sr reg68k_sr asm ("7");
- #  else
--#    ifdef PROCESSOR_INTEL
-+#    if defined (PROCESSOR_INTEL) && (__GNUC__ > 2)
-          register uint32 reg68k_pc asm ("%ebx");
-          register uint32 *reg68k_regs asm ("%edi");
-          register t_sr reg68k_sr asm ("%esi");
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-ab
--- a/emulators/generator/patches/patch-ab      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2005/04/02 22:23:53 kristerw Exp $
-
---- main/reg68k.c.orig Sun Apr  3 00:02:45 2005
-+++ main/reg68k.c      Sun Apr  3 00:04:24 2005
-@@ -21,7 +21,8 @@
- /*** global variables ***/
- 
- #if (!(defined(PROCESSOR_ARM) || defined(PROCESSOR_SPARC) \
--       || defined(PROCESSOR_INTEL)))
-+       || defined(PROCESSOR_INTEL))) \
-+    || (defined(PROCESSOR_INTEL) && (__GNUC__ <= 2))
- uint32 reg68k_pc;
- uint32 *reg68k_regs;
- t_sr reg68k_sr;
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-ac
--- a/emulators/generator/patches/patch-ac      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
-
---- configure.orig     2005-02-01 00:40:15.000000000 +0100
-+++ configure  2005-02-01 00:40:29.000000000 +0100
-@@ -1919,15 +1919,6 @@
- echo "${ECHO_T}Turning on gcc 3 optimisations" >&6
-         CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
-       fi
--      case $target_cpu in
--        i?86) echo "$as_me:$LINENO: result: Turning on pentium optimisations" >&5
--echo "${ECHO_T}Turning on pentium optimisations" >&6
--              # cannot do malign-double as we link to other libraries and it
--              # would break binary compatibility
--              CFLAGS="$CFLAGS -march=pentium -malign-loops=5"
--              CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
--              ;;
--      esac
-     else
-       { echo "$as_me:$LINENO: WARNING: You did not opt for gcc optimisations!" >&5
- echo "$as_me: WARNING: You did not opt for gcc optimisations!" >&2;}
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-ae
--- a/emulators/generator/patches/patch-ae      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
-
---- hdr/generator.h.orig       2003-05-04 20:50:43.000000000 +0200
-+++ hdr/generator.h    2005-02-01 00:46:44.000000000 +0100
-@@ -21,6 +21,11 @@
-   #include <machine/endian.h>
-   #define SWAP16(x) bswap_16((x))
-   #define SWAP32(x) bswap_32((x))
-+#elif defined(__NetBSD__)
-+  #include <sys/types.h>
-+  #include <machine/endian.h>
-+  #define SWAP16(x) bswap16((x))
-+  #define SWAP32(x) bswap32((x))
- #else
-   #define SWAP16(y) (( ((y)>>8) & 0x00ff) | (( ((y)<<8) & 0xff00)))
-   #define SWAP32(y) (( ((y)>>24) & 0x000000ff) | \
-@@ -221,11 +226,11 @@
- #  define LOG_DEBUG3(x)   /* ui_log_debug3 ## x */
- #  define LOG_DEBUG2(x)   /* ui_log_debug2 ## x */
- #  define LOG_DEBUG1(x)   /* ui_log_debug1 ## x */
--#  define LOG_USER(x)     ui_log_user ## x
--#  define LOG_VERBOSE(x)  ui_log_verbose ## x
--#  define LOG_NORMAL(x)   ui_log_normal ## x
--#  define LOG_CRITICAL(x) ui_log_critical ## x
--#  define LOG_REQUEST(x)  ui_log_request ## x
-+#  define LOG_USER(x)     ui_log_user x
-+#  define LOG_VERBOSE(x)  ui_log_verbose x
-+#  define LOG_NORMAL(x)   ui_log_normal x
-+#  define LOG_CRITICAL(x) ui_log_critical x
-+#  define LOG_REQUEST(x)  ui_log_request x
- #endif
- 
- typedef struct {
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-af
--- a/emulators/generator/patches/patch-af      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/02/13 23:41:28 kristerw Exp $
-
---- main/ui-gtk.c.orig 2004-02-14 00:30:00.000000000 +0100
-+++ main/ui-gtk.c      2004-02-14 00:30:20.000000000 +0100
-@@ -626,7 +626,7 @@
- /* logging is done this way because this was the best I could come up with
-    whilst battling with macros that can only take fixed numbers of arguments */
- 
--#define LOG_FUNC(name,level,txt) void ui_log_ ## name ## (const char *text, ...) \
-+#define LOG_FUNC(name,level,txt) void ui_log_ ## name (const char *text, ...) \
- { \
-   va_list ap; \
-   if (gen_loglevel >= level) { \
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-ag
--- a/emulators/generator/patches/patch-ag      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2007/10/10 22:09:48 rillig Exp $
-
---- cpu68k/def68k.c.orig       2003-05-05 02:58:27.000000000 +0200
-+++ cpu68k/def68k.c    2007-10-11 00:04:48.000000000 +0200
-@@ -1318,7 +1318,7 @@ void procline(char *line, int lineno, FI
-   } /* block */
- }
- 
--int clocks_movetable[] = {
-+static int clocks_movetable[] = {
-    4,   4,  8,  8,  8, 12, 14, 12, 16,
-    4,   4,  8,  8,  8, 12, 14, 12, 16,
-    8,   8, 12, 12, 12, 16, 18, 16, 20,
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-ah
--- a/emulators/generator/patches/patch-ah      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2009/10/29 17:58:50 joerg Exp $
-
---- cmz80/z80stb.h.orig        2009-10-29 18:37:09.000000000 +0100
-+++ cmz80/z80stb.h
-@@ -128,8 +128,6 @@ void CallbackMemWriteWord(WORD wAddr, WO
- /* inline */ BYTE Srl(BYTE b);
- /* inline */ BYTE Sla(BYTE b);
- /* inline */ BYTE Sra(BYTE b);
--/* inline */ BYTE Inc(BYTE b);
--/* inline */ BYTE Dec(BYTE b);
- 
- /* inline */ WORD Add_2(WORD wArg1, WORD wArg2);
- /* inline */ WORD Adc_2(WORD wArg1, WORD wArg2);
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-main_event.c
--- a/emulators/generator/patches/patch-main_event.c    Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-main_event.c,v 1.1 2012/12/20 21:59:21 joerg Exp $
-
---- main/event.c.orig  2012-12-20 19:12:33.000000000 +0000
-+++ main/event.c
-@@ -16,7 +16,7 @@
- 
- /* time for next event - update vdp_event - return when to call again */
- 
--inline void event_nextevent(void)
-+static inline void event_nextevent(void)
- {
-   /* call this when it *is* time for the next event as dictated by vdp_event,
-      so we switch on it and update vdp_event at the same time */
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-main_vdp.c
--- a/emulators/generator/patches/patch-main_vdp.c      Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-main_vdp.c,v 1.1 2012/12/20 21:59:21 joerg Exp $
-
---- main/vdp.c.orig    2012-12-20 19:12:50.000000000 +0000
-+++ main/vdp.c
-@@ -90,7 +90,7 @@ void vdp_describe(void);
- void vdp_eventinit(void);
- void vdp_layer_simple(unsigned int layer, unsigned int priority,
-                       uint8 *fielddata, unsigned int lineoffset);
--inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
-+static inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
-                          uint8 *cellloc, unsigned int lineoffset);
- void vdp_sprites(unsigned int line, uint8 *pridata, uint8 *outdata);
- int vdp_sprite_simple(unsigned int priority, uint8 *framedata,
-@@ -1705,7 +1705,7 @@ void vdp_endfield(void)
-      vdp_event_endline); */
- }
- 
--inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
-+static inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
-                          uint8 *cellloc, unsigned int lineoffset)
- {
-   int y, x;
diff -r e71b5be53812 -r 06e4a9b4095b emulators/generator/patches/patch-ym2612_support.h
--- a/emulators/generator/patches/patch-ym2612_support.h        Sun Sep 08 10:43:43 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ym2612_support.h,v 1.1 2012/12/20 21:59:21 joerg Exp $



Home | Main Index | Thread Index | Old Index