pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9748eed03e1
branches:  trunk
changeset: 407795:a9748eed03e1
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jan 10 11:11:36 2020 +0000

description:
emulators: Remove zsnes.

32-bit x86 only due to use of 32-bit assembly code, but fails to build
on i386 due to problems with atomics.

No upstream release for 12 years and numerous accuracy problems and security
problems with untrusted ROMs unfixed - use emulators/snes9x.

diffstat:

 emulators/Makefile                            |   3 +-
 emulators/zsnes/DESCR                         |   1 -
 emulators/zsnes/Makefile                      |  35 ---------------------------
 emulators/zsnes/PLIST                         |   3 --
 emulators/zsnes/distinfo                      |  15 -----------
 emulators/zsnes/patches/patch-aa              |  22 ----------------
 emulators/zsnes/patches/patch-ab              |  24 ------------------
 emulators/zsnes/patches/patch-ac              |  15 -----------
 emulators/zsnes/patches/patch-ad              |  14 ----------
 emulators/zsnes/patches/patch-ae              |  15 -----------
 emulators/zsnes/patches/patch-af              |  34 --------------------------
 emulators/zsnes/patches/patch-makefilein      |  15 -----------
 emulators/zsnes/patches/patch-tools_strutil.h |  14 ----------
 emulators/zsnes/patches/patch-zip_zpng.c      |  14 ----------
 14 files changed, 1 insertions(+), 223 deletions(-)

diffs (289 lines):

diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/Makefile
--- a/emulators/Makefile        Fri Jan 10 11:05:04 2020 +0000
+++ b/emulators/Makefile        Fri Jan 10 11:11:36 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.309 2019/12/28 19:32:47 thorpej Exp $
+# $NetBSD: Makefile,v 1.310 2020/01/10 11:11:36 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -406,6 +406,5 @@
 SUBDIR+=       xyame
 SUBDIR+=       yabause
 SUBDIR+=       z26
-SUBDIR+=       zsnes
 
 .include "../mk/misc/category.mk"
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/DESCR
--- a/emulators/zsnes/DESCR     Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-Play Super Nintendo games on your Intel x86 or compatible PC.
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/Makefile
--- a/emulators/zsnes/Makefile  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-# $NetBSD: Makefile,v 1.46 2015/04/25 14:20:48 tnn Exp $
-
-DISTNAME=      zsnes151src
-PKGNAME=       zsnes-1.51
-PKGREVISION=   4
-CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=zsnes/}
-EXTRACT_SUFX=  .tar.bz2
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.zsnes.com/
-COMMENT=       Super NES emulator
-LICENSE=       gnu-gpl-v2
-
-BUILD_DEPENDS+=                nasm-[0-9]*:../../devel/nasm
-
-# Makes heavy use of 32-bit x86 assembler.
-ONLY_FOR_PLATFORM=     *-*-i386
-# Theoretically we can build a 32-bit binary on amd64 NetBSD, but we'd
-# need 32-bit SDL and png and pkgsrc doesn't currently have
-# infrastructure for that.
-#ONLY_FOR_PLATFORM+=   NetBSD-*-x86_64
-
-WRKSRC=                        ${WRKDIR}/zsnes_1_51/src
-USE_LANGUAGES=         c c++
-USE_TOOLS+=            gmake
-GNU_CONFIGURE=         yes
-LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib
-
-BUILDLINK_API_DEPENDS.zlib+=   zlib>=1.2.3
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/PLIST
--- a/emulators/zsnes/PLIST     Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:33 zuntum Exp $
-bin/zsnes
-man/man1/zsnes.1
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/distinfo
--- a/emulators/zsnes/distinfo  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: distinfo,v 1.18 2015/11/03 20:31:10 agc Exp $
-
-SHA1 (zsnes151src.tar.bz2) = 03df35490870c9950d7010747d0546c8525c0362
-RMD160 (zsnes151src.tar.bz2) = 337407bf7e5516bcd7bf310c7b17d6d12a948750
-SHA512 (zsnes151src.tar.bz2) = 2cec9ad7762fc7a257c6b1d3e190b0ed53565dbafe42e1dee9eb182644392b7dd2c57faa846f63cd30ac079e5c05354d26ce0612d20481a1f54d760d62d95353
-Size (zsnes151src.tar.bz2) = 1071712 bytes
-SHA1 (patch-aa) = f564e61b3105594d935e4fb46c41f3d5d21f254e
-SHA1 (patch-ab) = 2fa2fd6c4eb721d6588b9a72eb0dbf41c265c739
-SHA1 (patch-ac) = 451e3a56da55d6d58ecc2c335b804ba374ed31e5
-SHA1 (patch-ad) = 6244778c7f5c3c5d8c4f040760f8243161ae886d
-SHA1 (patch-ae) = 81236ed52fe7095f6317f655374234ce17cf30dd
-SHA1 (patch-af) = 971ec4850936f24c5a519095e18ba79a39fe9653
-SHA1 (patch-makefilein) = d75b9b99888106bfbc7c5d12b311527103ceaccd
-SHA1 (patch-tools_strutil.h) = 18302bd76b325b2654a354282e3bf9ab8e9d8a0c
-SHA1 (patch-zip_zpng.c) = bee7b0635afa9f22a05910b86c4f742296e1f78f
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-aa
--- a/emulators/zsnes/patches/patch-aa  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2007/04/16 16:06:32 joerg Exp $
-
---- configure.orig     2007-01-25 00:51:21.000000000 +0000
-+++ configure
-@@ -3422,7 +3422,7 @@ case x$target in
-     CFLAGS="$CFLAGS -D__BEOS__"
-     NFLAGS="$NFLAGS -D__BEOS__ -f elf -DELF"
-     ;;
--  *-*-*bsd*)
-+  *-*-*bsd* | *-*-dragonfly*)
-     CFLAGS="$CFLAGS -D__BSDSDL__"
-     NFLAGS="$NFLAGS -D__BSDSDL__ -f elf -DELF"
-     ;;
-@@ -5233,7 +5233,7 @@ echo "$as_me: WARNING: If you intend to 
-     CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr $STRIP -D__RELEASE__"
-     NFLAGS="$NFLAGS -O99999999 -D__RELEASE__"
-   else
--    CFLAGS="$CFLAGS -O3 -fomit-frame-pointer $STRIP"
-+    CFLAGS="$CFLAGS $STRIP"
-     NFLAGS="$NFLAGS -O1"
-   fi
- fi
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-ab
--- a/emulators/zsnes/patches/patch-ab  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2007/03/24 20:10:08 adam Exp $
-
---- gblhdr.h.orig      2006-12-27 11:47:05.000000000 +0100
-+++ gblhdr.h
-@@ -109,6 +109,8 @@ however it's a static value that we can 
- #include <sys/ioctl.h>
- #include <sys/socket.h>
- #include <sys/types.h>
-+#undef FALSE
-+#undef TRUE
- #include <netinet/in.h>
- #include <netdb.h>
- #include <utime.h>
-@@ -122,9 +124,9 @@ however it's a static value that we can 
- #ifdef linux
- #include <asm/ioctls.h>
- #else
--#include <sys/filio.h>
- #endif
- #endif
- 
-+#include <pthread.h>
- 
- #endif
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-ac
--- a/emulators/zsnes/patches/patch-ac  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2007/03/24 20:10:08 adam Exp $
-
---- zip/unzip.c.orig   2005-08-14 15:49:35.000000000 +0200
-+++ zip/unzip.c
-@@ -15,6 +15,10 @@
- 
- #include "zunzip.h"
- 
-+#ifndef OF
-+# define OF(args)      args
-+#endif
-+
- #ifdef STDC
- #  include <stddef.h>
- #  include <string.h>
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-ad
--- a/emulators/zsnes/patches/patch-ad  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2007/03/24 20:10:08 adam Exp $
-
---- linux/sw_draw.c.orig       2007-01-18 17:52:16.000000000 +0100
-+++ linux/sw_draw.c
-@@ -139,6 +139,9 @@ extern unsigned char prevKeep4_3Ratio;
- 
- void sw_drawwin()
- {
-+#ifdef _PTH_PTHREAD_H_
-+  pthread_yield_np();
-+#endif
-   NGNoTransp = 0;             // Set this value to 1 within the appropriate
-                               // video mode if you want to add a custom
-                               // transparency routine or hardware
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-ae
--- a/emulators/zsnes/patches/patch-ae  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2005/01/20 00:43:15 xtraeme Exp $
-
---- zip/zunzip.h.orig  2005-01-20 01:37:57.000000000 +0100
-+++ zip/zunzip.h       2005-01-20 01:38:09.000000000 +0100
-@@ -41,6 +41,10 @@
- #ifndef _unz_H
- #define _unz_H
- 
-+#ifndef OF
-+# define OF(args)      args
-+#endif
-+
- #ifdef __cplusplus
- extern "C" {
- #endif
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-af
--- a/emulators/zsnes/patches/patch-af  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-af,v 1.4 2013/06/12 01:57:24 dholland Exp $
-
-- use standard headers
-- the type of main() does not involve size_t
-
---- tools/depbuild.cpp.orig    2006-12-27 11:04:05.000000000 +0000
-+++ tools/depbuild.cpp
-@@ -24,6 +24,8 @@ This program generates dependencies for 
- #include <iostream>
- #include <string>
- #include <cstdio>
-+#include <cstdlib>
-+#include <unistd.h>
- using namespace std;
- 
- #include "fileutil.h"
-@@ -183,7 +185,7 @@ void dependency_calculate(const char *fi
-   }
- }
- 
--int main(size_t argc, const char *const *const argv)
-+int main(int argc, const char *const *const argv)
- {
-   if (argc < 5)
-   {
-@@ -209,7 +211,7 @@ int main(size_t argc, const char *const 
-     else
-     {
-       struct stat unused;
--      for (size_t i = 5; i < argc; i++)
-+      for (int i = 5; i < argc; i++)
-       {
-         dependency_calculate(argv[i], unused);
-       }
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-makefilein
--- a/emulators/zsnes/patches/patch-makefilein  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-makefilein,v 1.1 2007/06/06 22:05:45 rillig Exp $
-
-When linking a program, the linking flags are needed.
-
---- Makefile.in.orig   2007-01-24 21:54:12.000000000 +0100
-+++ Makefile.in        2007-06-06 23:59:19.000000000 +0200
-@@ -104,7 +104,7 @@ main: makefile.dep $(Z_OBJS)
-       rm -f version.o
- 
- $(PSR): parsegen.cpp
--      @CXX@ @CXXFLAGS@ -o $@ $< -lz
-+      @CXX@ @CXXFLAGS@ -o $@ $< @LDFLAGS@ @LIBS@ -lz
- 
- TOOLSEXE=$(TOOL_D)/archopt $(TOOL_D)/cutrtype $(TOOL_D)/extraext\
-       $(TOOL_D)/macroll $(TOOL_D)/minwhite $(TOOL_D)/nreplace\
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-tools_strutil.h
--- a/emulators/zsnes/patches/patch-tools_strutil.h     Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-tools_strutil.h,v 1.1 2012/12/17 03:37:20 dholland Exp $
-
-add <cstring> for strcasecmp.
-
---- tools/strutil.h~   2006-12-27 11:04:05.000000000 +0000
-+++ tools/strutil.h
-@@ -23,6 +23,7 @@ This is part of a toolkit used to assist
- #define STRUTIL_H
- 
- #include <string>
-+#include <cstring>
- #include <vector>
- #include <cctype>
- 
diff -r 7c2bf9b994f4 -r a9748eed03e1 emulators/zsnes/patches/patch-zip_zpng.c
--- a/emulators/zsnes/patches/patch-zip_zpng.c  Fri Jan 10 11:05:04 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-zip_zpng.c,v 1.1 2011/03/15 11:46:09 obache Exp $
-
-* direct access is not allowed with png-1.5, but already set color_type.
-
---- zip/zpng.c.orig    2007-01-15 23:06:29.000000000 +0000
-+++ zip/zpng.c
-@@ -129,7 +129,6 @@ int Png_Dump(const char *filename, unsig
-         png_set_IHDR(png_ptr, info_ptr, width, height, 8,
-                      PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE,
-                      PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
--        info_ptr->color_type = PNG_COLOR_TYPE_RGB;
- 
-         //Allocate an array of scanline pointers
-         row_pointers = (png_bytep*)malloc(height*sizeof(png_bytep));



Home | Main Index | Thread Index | Old Index