pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/gambatte gambatte: Remove obsolete package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12cc74bda5bf
branches:  trunk
changeset: 342870:12cc74bda5bf
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Oct 26 17:00:39 2019 +0000

description:
gambatte: Remove obsolete package

Last release 10 years ago and depends on qt4.

Potential successors:

 - https://github.com/sinamas/gambatte (no releases, no qt5 support)
 - https://github.com/pokemon-speedrunning/gambatte-speedrun/ (pokemon specific?)

diffstat:

 emulators/gambatte/DESCR                                             |   4 -
 emulators/gambatte/Makefile                                          |  38 ----------
 emulators/gambatte/PLIST                                             |   4 -
 emulators/gambatte/distinfo                                          |  11 --
 emulators/gambatte/options.mk                                        |  30 -------
 emulators/gambatte/patches/patch-aa                                  |  32 --------
 emulators/gambatte/patches/patch-ab                                  |  13 ---
 emulators/gambatte/patches/patch-gambatte__sdl_SConstruct            |  20 -----
 emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp |  14 ---
 emulators/gambatte/patches/patch-libgambatte_SConstruct              |  19 -----
 10 files changed, 0 insertions(+), 185 deletions(-)

diffs (225 lines):

diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/DESCR
--- a/emulators/gambatte/DESCR  Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-Gambatte is an accuracy-focused, open-source, cross-platform Game
-Boy / Game Boy Color emulator written in C++. It is based on hundreds
-of corner case hardware tests, as well as previous documentation
-and reverse engineering efforts.
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/Makefile
--- a/emulators/gambatte/Makefile       Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile,v 1.30 2019/01/02 19:19:51 tnn Exp $
-#
-
-DISTNAME=      gambatte_src-0.4.1
-PKGNAME=       ${DISTNAME:S/_src//}
-PKGREVISION=   23
-CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gambatte/}
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://gambatte.sourceforge.net/
-COMMENT=       Game Boy Color emulator
-
-USE_LANGUAGES= c c++03
-INSTALLATION_DIRS=     bin share/doc/gambatte
-
-SUBST_CLASSES+=                sdl
-SUBST_FILES.sdl=       gambatte_sdl/SConstruct
-SUBST_MESSAGE.sdl=     Fixing path to sdl-config.
-SUBST_SED.sdl=         -e "s,sdl-config,${LOCALBASE}/bin/sdl-config,"
-SUBST_STAGE.sdl=       pre-build
-
-.include "options.mk"
-
-do-build:
-       cd ${WRKSRC}/libgambatte && ${PKGSRC_SETENV} ${MAKE_ENV} ${SCONSBIN}
-       cd ${WRKSRC}/gambatte_sdl && ${PKGSRC_SETENV} ${MAKE_ENV} ${SCONSBIN}
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/gambatte_sdl/gambatte_sdl \
-               ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/gambatte
-
-.include "../../devel/SDL/buildlink3.mk"
-PYTHON_FOR_BUILD_ONLY?=        yes
-.include "../../devel/scons/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/PLIST
--- a/emulators/gambatte/PLIST  Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:51:04 joerg Exp $
-${PLIST.qt}bin/gambatte_qt
-bin/gambatte_sdl
-share/doc/gambatte/README
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/distinfo
--- a/emulators/gambatte/distinfo       Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 20:30:57 agc Exp $
-
-SHA1 (gambatte_src-0.4.1.tar.gz) = 1374720b9cad35b2dace20822bf9b4b2ea0d2059
-RMD160 (gambatte_src-0.4.1.tar.gz) = 2b09971498c8f474c71c5e53cbaf444df84b28f8
-SHA512 (gambatte_src-0.4.1.tar.gz) = 53502f9143b10679a8a5c1b37e16de53cd1a57cc874de5c7ca934913fd957f32705da12b9fbfbab7e04e93923e5adfcd33a1e697a7f8eecb8fba864072cb4564
-Size (gambatte_src-0.4.1.tar.gz) = 263391 bytes
-SHA1 (patch-aa) = 96fd6b152afa1ec603864068b747ac50ec830b7d
-SHA1 (patch-ab) = c9d7cf6ca8bfa98c0d970a60ecfc34812756447e
-SHA1 (patch-gambatte__sdl_SConstruct) = 5464a3c0793ea50caba70fd64fb415906273e15f
-SHA1 (patch-gambatte__sdl_src_gambatte__sdl.cpp) = 896c97289976a85c69fe291a9a7df2995809f7ca
-SHA1 (patch-libgambatte_SConstruct) = 0be4473b331036cd41624bbe1ade101e25c9eec8
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/options.mk
--- a/emulators/gambatte/options.mk     Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-# $NetBSD: options.mk,v 1.1.1.1 2009/01/03 18:45:45 wiz Exp $
-
-PKG_OPTIONS_VAR=       PKG_OPTIONS.gambatte
-PKG_SUPPORTED_OPTIONS= qt
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS=    qt
-
-.if !empty(PKG_OPTIONS:Mqt)
-# does not work well without GL:
-# Xlib:  extension "GLX" missing on display ":0.0".
-# QGLContext::makeCurrent(): Cannot make invalid context current.
-# Segmentation fault (core dumped)
-PLIST.qt=      yes
-
-post-build:
-       cd ${WRKSRC}/gambatte_qt && \
-               ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake && \
-               ${SETENV} ${MAKE_ENV} ${MAKE}
-
-post-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/gambatte_qt/bin/gambatte_qt \
-               ${DESTDIR}${PREFIX}/bin
-
-.include "../../x11/qt4-libs/buildlink3.mk"
-.include "../../x11/qt4-tools/buildlink3.mk"
-.include "../../x11/libXv/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
-.endif
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/patches/patch-aa
--- a/emulators/gambatte/patches/patch-aa       Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/01/03 18:45:45 wiz Exp $
-
---- gambatte_qt/src/framework/SDL_Joystick/src/bsd/SDL_sysjoystick.c.orig      2008-10-27 23:03:47.000000000 +0000
-+++ gambatte_qt/src/framework/SDL_Joystick/src/bsd/SDL_sysjoystick.c
-@@ -135,6 +135,9 @@ static char *joydevnames[MAX_JOYS];
- static int    report_alloc(struct report *, struct report_desc *, int);
- static void   report_free(struct report *);
- 
-+#ifdef __NetBSD__
-+#define USBHID_UCR_DATA
-+#endif
- #ifdef USBHID_UCR_DATA
- #define REP_BUF_DATA(rep) ((rep)->buf->ucr_data)
- #else
-@@ -304,7 +307,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick *joy)
-               goto usberr;
-       }
- 
--#if defined(USBHID_NEW) || (defined(__FREEBSD__) && __FreeBSD_version >= 500111)
-+#if defined(USBHID_NEW) || (defined(__FREEBSD__) && __FreeBSD_version >= 500111) || defined(__NetBSD__)
-       hdata = hid_start_parse(hw->repdesc, 1 << hid_input, rep->rid);
- #else
-       hdata = hid_start_parse(hw->repdesc, 1 << hid_input);
-@@ -443,7 +446,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick *joy
-       if (read(joy->hwdata->fd, REP_BUF_DATA(rep), rep->size) != rep->size) {
-               return;
-       }
--#if defined(USBHID_NEW) || (defined(__FREEBSD__) && __FreeBSD_version >= 500111)
-+#if defined(USBHID_NEW) || (defined(__FREEBSD__) && __FreeBSD_version >= 500111) || defined(__NetBSD__)
-       hdata = hid_start_parse(joy->hwdata->repdesc, 1 << hid_input, rep->rid);
- #else
-       hdata = hid_start_parse(joy->hwdata->repdesc, 1 << hid_input);
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/patches/patch-ab
--- a/emulators/gambatte/patches/patch-ab       Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/01/03 18:45:45 wiz Exp $
-
---- gambatte_qt/src/framework/framework.pro.orig       2008-10-27 23:03:48.000000000 +0000
-+++ gambatte_qt/src/framework/framework.pro
-@@ -106,6 +106,8 @@ else:unix { 
- #        framework/fullmodetogglers/xf86vidmodetoggler.h
-     LIBS += -L/usr/X11R6/lib \
-         -lXv \
-+        -lusbhid \
-+      ${LIBOSSAUDIO} \
-         -lXrandr #\
- #        -lXxf86vm \
- #        -lXinerama
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/patches/patch-gambatte__sdl_SConstruct
--- a/emulators/gambatte/patches/patch-gambatte__sdl_SConstruct Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-gambatte__sdl_SConstruct,v 1.2 2014/12/10 23:23:36 joerg Exp $
-
---- gambatte_sdl/SConstruct.orig       2013-06-26 20:25:50.000000000 +0000
-+++ gambatte_sdl/SConstruct
-@@ -1,3 +1,5 @@
-+import os
-+
- global_cflags = ARGUMENTS.get('CFLAGS', '-Wall -Wextra -O2 -fomit-frame-pointer')
- global_cxxflags = ARGUMENTS.get('CXXFLAGS', global_cflags + ' -fno-exceptions -fno-rtti')
- global_defines = ' -DHAVE_STDINT_H'
-@@ -6,7 +8,8 @@ env = Environment(CPPPATH = ['src', '../
-                   LIBS = ['gambatte'],
-                   LIBPATH = '../libgambatte',
-                   CFLAGS = global_cflags + global_defines,
--                  CXXFLAGS = global_cxxflags + global_defines)
-+                  CXXFLAGS = global_cxxflags + global_defines,
-+                  ENV = os.environ)
- 
- env.ParseConfig('sdl-config --cflags --libs')
- 
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp
--- a/emulators/gambatte/patches/patch-gambatte__sdl_src_gambatte__sdl.cpp      Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-gambatte__sdl_src_gambatte__sdl.cpp,v 1.1 2011/08/14 19:05:04 wiz Exp $
-
-Fix build with gcc-4.5.
-
---- gambatte_sdl/src/gambatte_sdl.cpp.orig     2009-01-10 22:43:34.000000000 +0000
-+++ gambatte_sdl/src/gambatte_sdl.cpp
-@@ -21,6 +21,7 @@
- #include <resample/resamplerinfo.h>
- #include <rateest.h>
- #include <SDL.h>
-+#include <cstdio>
- #include <cstdlib>
- #include <cstring>
- #include <string>
diff -r bbf8ea0ab879 -r 12cc74bda5bf emulators/gambatte/patches/patch-libgambatte_SConstruct
--- a/emulators/gambatte/patches/patch-libgambatte_SConstruct   Sat Oct 26 16:57:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-libgambatte_SConstruct,v 1.2 2014/12/10 23:23:36 joerg Exp $
-
---- libgambatte/SConstruct.orig        2013-06-26 20:24:31.000000000 +0000
-+++ libgambatte/SConstruct
-@@ -1,10 +1,13 @@
-+import os
-+
- global_cflags = ARGUMENTS.get('CFLAGS', '-Wall -Wextra -O2 -fomit-frame-pointer')
- global_cxxflags = ARGUMENTS.get('CXXFLAGS', global_cflags + ' -fno-exceptions -fno-rtti')
- global_defines = ' -DHAVE_STDINT_H -DCHAR_WIDTH_8'
- 
- env = Environment(CPPPATH = ['src', 'include', '../common'],
-                   CFLAGS = global_cflags + global_defines,
--                  CXXFLAGS = global_cxxflags + global_defines)
-+                  CXXFLAGS = global_cxxflags + global_defines,
-+                  ENV = os.environ)
- 
- sourceFiles = Split('''
-                       src/bitmap_font.cpp



Home | Main Index | Thread Index | Old Index