pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/nestopia nestopia: Update to version 1.49.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21853f76e084
branches:  trunk
changeset: 317170:21853f76e084
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jan 01 18:36:09 2019 +0000

description:
nestopia: Update to version 1.49.

this is now the Nestopia UE fork, as used in Debian,
FreeBSD Ports, Ubuntu, [...]

----------------------------------------------------------------
1.49
----------------------------------------------------------------
Shell:

 Additions:
  - Added more palettes to extras
  - Game-specific custom palettes
  - Scale factors up to 8x
  - Added option to enable overclocking
  - Added rewind controls to gamepad
  - Famicom Mic support
  - Optional JACK Audio support (McKayJT)
  - Added .wav sample loading


 Changes:
  - Separated GTK+ and SDL input settings
  - Removed deprecated functions from UI
  - Use GTK+ OpenGL widget for GUI (Wayland support)
  - Reworked Alternate Speed/Fast-Forward
  - Allow mapping more than 9 joysticks (Lou-Cipher)
  - Restructured build system, separated SDL and GTK builds
  - Cursor options split int normal and special cursor options

 Fixes:
  - Fixed automatic ROM patching, improved patching function (hugoarpin)

libretro:

 Additions:
  - Add support for multiline cheats and raw cheats (iLag)
  - Add adapter autoselect using NstDatabase.xml (hunterk)
  - Famicom Mic support
  - Cheevos ram access support (meepingsnesroms)
  - Add .wav sample loading

 Fixes:
  - Fixed heap corruption bug with crosshair (Arto Vainiolehto)
  - Fixed black screen when non-existent custom palette is selected
  - Fixed crosshair and overscan with blargg filter

Core:

 Additions:
  - Added support for overclocking (meepingsnesroms)

 Fixes:
  - Fixed NSF and FDS in Dendy mode (Eugene.S)
  - Fixed coding mistake in PPU (zeromus)
  - Modified submappers for VRC2/VRC4 games (GeneralFailer)
  - Fixed compilation error in SetRamPowerState (Arto Vainiolehto)
  - Fix for McAcc games (joepogo)

----------------------------------------------------------------
1.48
----------------------------------------------------------------
Shell:

 Additions:
  - Remember previous ROM directory (fabiengb)
  - Added an option to disable the cursor
  - Added ability to load custom palettes
  - Added many palettes to extras (FirebrandX, BMF, others)
  - Added monochrome blargg NTSC filter
  - Added new build systems: CMake and Autotools (David Seifert)

 Changes:
  - TV Aspect Ratio changes depending on region

 Fixes:
  - Made the region selector more coherent
  - Fixed a bug that switches video modes rapidly
  - Revamped region selector code
  - Fixed fullscreen switching too fast
  - Fixed region selector when the XML database is not present

libretro:

 Additions:
  - Added ability to load custom palettes
  - Added many palettes (Monroe88)
  - Added monochrome blargg NTSC filter (dalter)
  - Added Turbo A/B buttons

Core:

 Additions:
  - RAM Power-on State setting
  - Support for mapper 23.10

 Fixes:
  - VRC2 Mirroring bug (koitsu, lidnariq)
  - Dendy timing and audio fixes (FHorse, Eugene.S)
  - Removed unused code in APU
  - Properly initialize RAM - fixes F-1 Race (koitsu)
  - Silenced many build warnings (orbea)

----------------------------------------------------------------
1.47
----------------------------------------------------------------
Shell:

 Additions:
  - On-screen text when saving/loading states
  - Basic NSF player
  - PNG Screenshots
  - Quick State Save/Load menu items
  - Open Recent menu item
  - Ability to pause games when configuration dialog is open
  - Customizable NTSC filter options
  - Support for Mac OS X

 Changes:
  - Updated to modern OpenGL (version 3.2 minimum)

 Fixes:
  - Empty audio buffer when volume is set to 0
  - Input config now accepts joystick buttons over 10

libretro:

 Additions:
  - Game Genie Sound Distortion option
  - Region selection core option

 Changes:
  - Default to "consumer" palette
  - Vertical and Horizontal overscan options separated

 Fixes:
  - Fixed FDS save path

Core:

 Additions:
  - Added support for MC-ACC (perilsensitive)
  - Added NstDatabase.xml entries (clobber)
  - Added support for NES 2.0 submappers
  - Added support for mapper 4.1
  - Added support for mapper 4.3
  - Added support for mapper 23.15
  - Added support for mapper 25.15
  - Added support for mapper 32.1
  - Added support for mapper 68.1
  - Added support for mapper 71.1
  - Added support for mapper 78.1
  - Added support for mapper 78.3

 Fixes:
  - Reverted fix for Mapper 79
  - Fixed Burai Fighter status area (perilsensitive)
  - FME-7 IRQ Fix (lidnariq)
  - Disabled buggy audio sync

----------------------------------------------------------------
1.46.1/1.46.2
----------------------------------------------------------------
Unix Shell:

 Fixes:
  - Input config bugfixes
  - Only go fullscreen when the game is actually playing

----------------------------------------------------------------
1.46
----------------------------------------------------------------
Unix Shell:

 Additions:
  - Mask Overscan option
  - Disable GUI option
  - Command line interface
  - Scale Factor and Filters can be changed while playing
  - Zapper support
  - Palette and Picture options
  - Ability to turn Vsync on/off
  - Alternate emulation speed
  - libao audio output (handles ALSA, OSS, Pulse, etc)
  - More volume controls
  - Turbo Buttons A and B

 Changes:
  - Ported to SDL 2.0
  - Completely rewrote config file handling
  - Completely rewrote input config and input handling
  - Completely rewrote cheats
  - Removed ALSA and OSS audio output

Windows Shell:

 Fixes:
  - xBR dialog now updates video output when options change

libretro:

 Additions:
  - Ability to load NstDatabase.xml (needed for some games)
  - Overscan masking (themaister)
  - Palette options
  - Zapper support

 Changes:
  - Region detection based on NstDatabase.xml

Core:

 Additions:
  - Game Genie sound distortion option
  - Mapper 210 (NAMCOT-175, NAMCOT-340)

 Fixes:
  - Hard Drivin' now playable (dragon2snow)
  - Kaettekita Mario Bros. fix (dragon2snow)
  - Fix for rewinder sound issue (steelywing)
  - Typos and syntax error fixes (lioncash)
  - Fix for Mickey's Safari in Letterland (joepogo, james)

----------------------------------------------------------------
1.45
----------------------------------------------------------------

Unix Shell:

 Additions:
  - Added the ability to switch FDS disks for multi-disk games
  - xBR filter options
  - Support for more archive formats through libarchive
  - Differentiated Soft/Hard Reset

 Changes:
  - Removed internal zip and 7zip decoders in favour of libarchive
  - Replaced gtk_key_snooper with key_press_event and key_release_event

 Fixes:
  - 7zip CRC check segfault

Windows Shell:

 Additions:
  - xBR filter options

 Changes:
  - Redundant TV Aspect checkbox removed from NTSC filter dialog
  - Modified default sound settings to avoid desync

libretro:

 Additions:
  - blargg's NTSC filter core option
  - L/R now insert coins on Vs. System games

Core:

 Additions:
  - xBR filter added - Hyllian, notBald

 Fixes:
  - Triangle volume bug in Dendy mode - emu-russia
  - NTSC filter background colour fix - blargg

----------------------------------------------------------------
1.44
----------------------------------------------------------------

Unix Shell:

 Additions:
  - Support for FreeBSD, OpenBSD, and NetBSD
  - TV Aspect Ratio option added
  - 2xSaI filter option exposed

 Changes:
  - Renamed Linux port to Unix port
  - Removed status bar
  - General UI improvements
  - Stop warning about unused results
  - SDL is the default sound API on Linux, the only one on the BSDs
  - Drag and Drop re-enabled

 Fixes:
  - Fixed SDL sound crashes
  - Fixed Movie Record crash
  - Loading a state when none exists no longer resets
  - Fixed bug that causes "Enter" to toggle fullscreen
  - GUI responsiveness glitches when failing to output sound fixed

Windows Shell:

 Fixes:
  - TV Aspect is more accurate - W.M. Martinez

libretro:

  Additions:
  - libretro port done by Themaister and twinaphex

Core:

 Fixes:
  - Merged a fix for Mapper 79 that affects "Puzzle (Unl)" - shalma
  - Fixed a PPU bug that causes problems in "The Young Indiana Jones
    Chronicles" - Art Vandelae, plasturion, and James
  - Mapper 143 fix that affects "Dancing Blocks (Unl)" - shalma

----------------------------------------------------------------
1.43
----------------------------------------------------------------

Linux Shell:

 Additions:
  - Fullscreen defaults to native screen resolution

 Changes:
  - Completely rewrote the GUI (except for Cheat Manager and Archive Selector)
    - More traditional look and feel
    - Improved input configuration
    - Keyboard shortcuts
    - More functionality exposed directly through GUI
  - Better looking icons

Windows Shell:

 Changes:
  - Updated icons, about dialog, copyright
  - Merged the remaining features from Unofficial 1.41.1

----------------------------------------------------------------
1.42
----------------------------------------------------------------

Linux Shell:

 Additions:
  - Added native support for D-pads (Hat Switches)
  - Added an About dialog box
  - Added icons and a desktop menu entry

 Fixes:
  - Fixed the 100% CPU usage bug
  - Fixed the "Error writing setting!" bug (patch from Arch Linux)

----------------------------------------------------------------
1.41
----------------------------------------------------------------

Linux shell:

 Fixes:
  - Fixed a braindead SRAM path issue

Windows Shell:

 Changes:
  - Merged win32 fixes from Unofficial Build 1.41.1

----------------------------------------------------------------
1.40-undead
----------------------------------------------------------------

Linux Shell:

 Additions:
  - Added install/uninstall targets to Makefile

 Changes:
  - Ported to GTK+3
  - Changed default sound API to ALSA (SDL audio has problems on some computers)
  - Changed default renderer to OpenGL with a scale factor of 2
  - Changed binary name to "nestopia"
  - SRAM now saves to ~/.nestopia/save (for people who have roms on a read-only network share)
  - Automatically install a new nstcontrols file to ~/.nestopia if it doesn't exist
  - Install NstDatabase.xml to a proper location on the filesystem instead of forcing the user to manually copy it to ~/.nestopia

 Fixes:
  - Fixed numerous compiler warnings.

----------------------------------------------------------------
Unofficial 1.41.1 - by Geestarraw (geestarraw%gmail.com@localhost) (May 17, 2011)
----------------------------------------------------------------

Shell:

 Changes:

  - Added fullscreen support for non-primary monitor displays.
  - Modified Video Options dialog component layout and added device index to
    identify mutiple monitors.
  - Refactoring.
  - Code documentation.

 Fixes:

  - Fixed so menu is still displayed after fullscreen monitor to monitor switch.

Project:

 Changes:

  - Converted solution and projects to Visual Studio 2010.
  - Improved version enumeration previously locked to x.xx (exactly 3 digits) to
    be anything from y.y, y.y.y, and y.y.y.y (where y can be up to 4 digits).
  - Changed build output target to nestopia.exe.

 Fixes:

  - Fixed bug in version enumeration always excluding highest version number.
  - Moved unofficial 1.41 release notes to official changelog file.

----------------------------------------------------------------
Unofficial 1.41 - by Keith Kelly (c0d3h4x0r%hotmail.com@localhost) (March 29, 2010)
----------------------------------------------------------------

This is an unofficial maintenance release I created to fix an annoying joystick lag issue.
This lag was particularly bad when VSync was enabled.  The original Nestopia author (Martin
Freij) appears to have abandoned the official Nestopia project on SourceForge and has not
responded to any of my e-mails, so I am left with no choice but to provide this unofficial
release as a public service to the emulation community.

Changes:

1. Removed manual option to set priority of Nestopia's main emulation loop thread. Instead,
Nestopia now boosts its own process base priority AND its own main emulation thread priority
whenever it is the active foreground window (and/or running in full-screen mode). This brings
Nestopia much closer to real-time performance and responsiveness.

2. Removed some screwy input polling logic, and added some calls to input.Poll(), to ensure
that the input devices are always polled immediately before the input state is utilized.
This was the key change that got rid of most of the lag.

3. Removed some screwy input timing logic that was causing input polling to work only on
certain clock intervals, rather than allowing it to work every time it was called.

(As far as I can tell on my own hardware configuration, these three changes taken together
have completely eliminated the lag problems that have been present in Nestopia for several
releases.  Your mileage may vary.)

4. Updated the Visual Studio solution/project to build successfully under Visual C++ 2008
Express Edition.

5. Added this releasenotes.txt file and bumped the version number to 1.41.

----------------------------------------------------------------
1.40 Release A-H - by R. Belmont
----------------------------------------------------------------

Linux Shell:

 Additions:
  - XML ROM support
  - More flexible video configuration including OpenGL hardware scaling
  - Input mapping in the GUI
  - Cheat Manager with flexible support and import/export capability (win32 compatible format)
  - Core logging is now enabled to the terminal you start NEStopia from for easier diagnosis of problems
  - Automatic soft-patching added
  - Coin inputs added for Vs. system
  - Audio filters added for fun
  - [Release C] Proper default nstcontrols file included
  - [Release E] Added SDL audio driver, should be most compatible
  - [Release G] Cheat Manager now shows descriptions on imported XML files.  Also fixed a CM crash.

 Changes:
  - Complains more if it's unable to write to the settings file
  - Archive browser comes up automatically if you select a zip or 7zip archive with multiple NES files in it
  - Option to select favored console
  - [Release E] Refactored to get UI code out of main.cpp
  - [Release G] Settings window auto-hides during emulation [enik]

 Fixes:
  - Fixed bug where keyboard input could stick
  - [Release B] Cleaned up some crashy issues with the control configurator
  - [Release D] Fixed ability to remap "meta" keys (keys that control NEStopia itself), fixed documentation on defaults.
  - [Release E] Fixed quicksave/quickload
  - [Release F] Fixed keyboard to ignore numlock/capslock
  - [Release G] Taskbar description is set properly for the game window [enik]

diffstat:

 emulators/nestopia/DESCR                                   |  27 +----
 emulators/nestopia/MESSAGE                                 |  11 --
 emulators/nestopia/MESSAGE.NetBSD                          |   9 +
 emulators/nestopia/Makefile                                |  64 +++++--------
 emulators/nestopia/PLIST                                   |  19 +++-
 emulators/nestopia/distinfo                                |  17 +--
 emulators/nestopia/options.mk                              |  22 ++++
 emulators/nestopia/patches/patch-Makefile                  |  12 --
 emulators/nestopia/patches/patch-aa                        |  12 --
 emulators/nestopia/patches/patch-source_core_NstMemory.hpp |  13 --
 10 files changed, 80 insertions(+), 126 deletions(-)

diffs (259 lines):

diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/DESCR
--- a/emulators/nestopia/DESCR  Tue Jan 01 17:20:11 2019 +0000
+++ b/emulators/nestopia/DESCR  Tue Jan 01 18:36:09 2019 +0000
@@ -1,21 +1,8 @@
-NEStopia is a portable Nintendo Entertainment System emulator
-written in C++ by Martin Freij and ported to Linux by R. Belmont.
-NEStopia strives for the most accurate emulation possible at the
-pixel-by-pixel and sample-by-sample level, and it has excellent
-mapper and UNIF board support as well. A few features:
+Nestopia is a portable and cycle-accurate open-source Nintendo
+Entertainment System/Famicom emulator designed to emulate the NES
+hardware as accurately as possible.
 
-- Supports .nes and .unf/.unif format ROMs
-- Supports .fds discs
-- Supports .nsf music rips
-- All supported files can be extracted from zip or 7zip containers (an
-  archive browser is not yet included - this assumes the common
-  GoodSet case of one zip or 7zip per game)
-- Supports save states
-- Supports movie recordings
-- Supports the "rewinder" - if you make a bad jump and screw up your game,
-  press Backspace and the game will run in reverse. Press \ to take over
-  again and try to fix your mistake.
-- Friendly GUI configuration
-- Autodetection of PAL and NTSC format games
-- Supports drag and drop of compatible games and music rips from modern
-  Linux file managers, including KDE's Konqueror and GNOME's Nautilus.
+This is Nestopia UE. Nestopia UE (Undead Edition) is a fork of the
+original source code, with enhancements from members of the emulation
+community. This includes support for new platforms, and bug fixes
+in the emulator core.
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/MESSAGE
--- a/emulators/nestopia/MESSAGE        Tue Jan 01 17:20:11 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
-
-Before running, install the contents of ${PREFIX}/share/examples/nestopia
-to ~/.nestopia, and make sure that the nstcontrols is writable:
-
-       mkdir ~/.nestopia
-       cp ${PREFIX}/share/examples/nestopia/* ~/.nestopia
-       chmod 644 ~/.nestopia/nstcontrols
-
-===========================================================================
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/MESSAGE.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/MESSAGE.NetBSD Tue Jan 01 18:36:09 2019 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1 2019/01/01 18:36:09 nia Exp $
+
+Nestopia has several audio API options in its configuration menu.
+
+* SDL seems to stutter badly on NetBSD.
+* libao seems best.
+
+===========================================================================
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/Makefile
--- a/emulators/nestopia/Makefile       Tue Jan 01 17:20:11 2019 +0000
+++ b/emulators/nestopia/Makefile       Tue Jan 01 18:36:09 2019 +0000
@@ -1,51 +1,33 @@
-# $NetBSD: Makefile,v 1.34 2018/11/14 22:21:26 kleink Exp $
+# $NetBSD: Makefile,v 1.35 2019/01/01 18:36:09 nia Exp $
 #
 
-DISTNAME=      Nestopia140src
-PKGNAME=       nestopia-1.40h
-PKGREVISION=   28
+DISTNAME=      nestopia-1.49
 CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nestopia/}
-EXTRACT_SUFX=  .zip
-DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} nst140_lnx_release_h.zip
-
-SITES.nst140_lnx_release_h.zip=        http://rbelmont.mameworld.info/
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nestopiaue/}
+EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://rbelmont.mameworld.info/?page_id=200
-COMMENT=       Portable, very accurate NES emulator with UNIF support
-
-WRKSRC=                ${WRKDIR}
-USE_LANGUAGES= c c++
-USE_TOOLS=     gmake pkg-config
+HOMEPAGE=      http://0ldsk00l.ca/nestopia/
+COMMENT=       Portable, very accurate NES emulator
+LICENSE=       gnu-gpl-v2
 
-SUBST_CLASSES+=                oss
-SUBST_SED.oss=         -e "s,/dev/dsp,${DEVOSSAUDIO},"
-SUBST_FILES.oss=       source/linux/oss.cpp
-SUBST_MESSAGE.oss=     Fixing path to OSS device.
-SUBST_STAGE.oss=       pre-build
+USE_LANGUAGES= c c++
+USE_TOOLS+=    autoreconf autoconf automake gawk pkg-config
+HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
 
-INSTALLATION_DIRS=     bin share/doc/nestopia share/examples/nestopia
+AUTOCONF_REQD= 2.69
+AUTOMAKE_REQD= 1.15
 
-pre-patch:
-       for f in ${WRKSRC}/source/core/NstMemory.hpp; do        \
-               ${TR} -d '\r' < $${f} > $${f}.new;              \
-               ${MV} $${f}.new $${f};                          \
-       done
+BUILD_DEPENDS+=        autoconf-archive-[0-9]*:../../devel/autoconf-archive
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -vif
 
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/nst ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/README.Linux \
-               ${DESTDIR}${PREFIX}/share/doc/nestopia
-       ${INSTALL_DATA} ${WRKSRC}/readme.html \
-               ${DESTDIR}${PREFIX}/share/doc/nestopia
-       ${INSTALL_DATA} ${WRKSRC}/NstDatabase.xml \
-               ${DESTDIR}${PREFIX}/share/examples/nestopia
-       ${INSTALL_DATA} ${WRKSRC}/nstcontrols \
-               ${DESTDIR}${PREFIX}/share/examples/nestopia
-
-.include "../../audio/alsa-lib/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
+.include "options.mk"
+.include "../../archivers/libarchive/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/libepoxy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/PLIST
--- a/emulators/nestopia/PLIST  Tue Jan 01 17:20:11 2019 +0000
+++ b/emulators/nestopia/PLIST  Tue Jan 01 18:36:09 2019 +0000
@@ -1,6 +1,15 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:51:06 joerg Exp $
-bin/nst
-share/doc/nestopia/README.Linux
+@comment $NetBSD: PLIST,v 1.3 2019/01/01 18:36:09 nia Exp $
+bin/nestopia
+share/applications/nestopia.desktop
+share/doc/nestopia/AUTHORS
+share/doc/nestopia/ChangeLog
+share/doc/nestopia/README.md
 share/doc/nestopia/readme.html
-share/examples/nestopia/NstDatabase.xml
-share/examples/nestopia/nstcontrols
+share/icons/hicolor/128x128/apps/nestopia.png
+share/icons/hicolor/32x32/apps/nestopia.png
+share/icons/hicolor/48x48/apps/nestopia.png
+share/icons/hicolor/64x64/apps/nestopia.png
+share/icons/hicolor/96x96/apps/nestopia.png
+share/icons/hicolor/scalable/apps/nespad.svg
+share/icons/hicolor/scalable/apps/nestopia.svg
+share/nestopia/NstDatabase.xml
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/distinfo
--- a/emulators/nestopia/distinfo       Tue Jan 01 17:20:11 2019 +0000
+++ b/emulators/nestopia/distinfo       Tue Jan 01 18:36:09 2019 +0000
@@ -1,13 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 20:31:00 agc Exp $
+$NetBSD: distinfo,v 1.7 2019/01/01 18:36:09 nia Exp $
 
-SHA1 (Nestopia140src.zip) = ef85771132cc8652456727278df36f7068d238e0
-RMD160 (Nestopia140src.zip) = caecb991dfd459093b88b2abb84ac9bbd95ced63
-SHA512 (Nestopia140src.zip) = 54a7c569239c15aa9bd7a5bbe13f67b5a62baccf95f81fb55ad9578872edc11a3e456af7ea67107e96c0c88726e976203058cf971fbb527cd30b644d8d51795a
-Size (Nestopia140src.zip) = 2346187 bytes
-SHA1 (nst140_lnx_release_h.zip) = 94a2a911f306514ed725cff68ddbc47bd33b9f99
-RMD160 (nst140_lnx_release_h.zip) = f187b2ff44d8a57432cd7b73679a61142b9ff877
-SHA512 (nst140_lnx_release_h.zip) = eea9b212a26f0d8c294371eeb15a22c1aba595334dd46629767af19671692bd29eda078caa96d4a91f505b4e2764861090578c63dd3715cfa0fce4af7fc39339
-Size (nst140_lnx_release_h.zip) = 250216 bytes
-SHA1 (patch-Makefile) = d3abca01943618fe58d12fac3db2ef2762404aef
-SHA1 (patch-aa) = f598f572056344660c72212900b6b8997d996655
-SHA1 (patch-source_core_NstMemory.hpp) = 82584af16889d2fd7c00ae601a0364cd0d909f6d
+SHA1 (nestopia-1.49.tgz) = eb51087901f3a7c5a09f7894216e5b7bc14508c6
+RMD160 (nestopia-1.49.tgz) = 73f498f790dfe4fd13f880eca871ce7f584be4e9
+SHA512 (nestopia-1.49.tgz) = fc5dfe13b52964597990531a324f94c31ae0e16f5405c38caca2bf236beeab1710d704aad6f0f9fb6843b9dd2f3d60cafcb30ab5a505e060cca7066f43667ae6
+Size (nestopia-1.49.tgz) = 1294779 bytes
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/nestopia/options.mk     Tue Jan 01 18:36:09 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2019/01/01 18:36:09 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.nestopia
+PKG_SUPPORTED_OPTIONS+=                gtk3 jack libao
+PKG_SUGGESTED_OPTIONS+=                gtk3 libao
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk3)
+CONFIGURE_ARGS+=       --enable-gui
+.include "../../x11/gtk3/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+=       --with-jack
+.include "../../audio/jack/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mlibao)
+CONFIGURE_ARGS+=       --with-ao
+.include "../../audio/libao/buildlink3.mk"
+.endif
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/patches/patch-Makefile
--- a/emulators/nestopia/patches/patch-Makefile Tue Jan 01 17:20:11 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2013/10/28 23:44:44 joerg Exp $
-
---- Makefile.orig      2013-10-17 17:39:42.000000000 +0000
-+++ Makefile
-@@ -10,7 +10,6 @@ CFLAGS += -DNST_PRAGMA_ONCE_SUPPORT -D_S
- CFLAGS += -Isource -Isource/core -Isource/zlib -Isource/core/api -Isource/core/board -Isource/core/input -Isource/linux/unzip 
- CFLAGS += -Isource/core/vssystem -Isource/linux -Isource/nes_ntsc -I.. -I../nes_ntsc -Isource/linux/7zip 
- CFLAGS += `sdl-config --cflags` `pkg-config --cflags gtk+-2.0`
--CFLAGS += -finline-limit=2000 --param inline-unit-growth=1000 --param large-function-growth=1000 -finline-functions-called-once
- 
- # enable this for input debugging
- #CFLAGS += -DDEBUG_INPUT
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/patches/patch-aa
--- a/emulators/nestopia/patches/patch-aa       Tue Jan 01 17:20:11 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
-
---- source/linux/main.cpp.orig 2008-10-23 03:44:46.000000000 +0000
-+++ source/linux/main.cpp
-@@ -17,6 +17,7 @@
- #include <sys/types.h>
- #include <errno.h>
- #include <vector>
-+#include <libgen.h>
- 
- #include "core/api/NstApiEmulator.hpp"
- #include "core/api/NstApiVideo.hpp"
diff -r 835a18a42f08 -r 21853f76e084 emulators/nestopia/patches/patch-source_core_NstMemory.hpp
--- a/emulators/nestopia/patches/patch-source_core_NstMemory.hpp        Tue Jan 01 17:20:11 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-source_core_NstMemory.hpp,v 1.3 2014/09/27 09:54:06 jperkin Exp $
-
---- source/core/NstMemory.hpp.orig     2012-12-25 16:47:49.000000000 +0000
-+++ source/core/NstMemory.hpp
-@@ -763,7 +763,7 @@ namespace Nes
-                               for (uint i=0; i < MEM_NUM_PAGES; ++i)
-                               {
-                                       if (pageData[i*3+0] < NUM_SOURCES)
--                                              Source( pageData[i*3+0] ).SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
-+                                              SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
-                                       else
-                                               throw RESULT_ERR_CORRUPT_FILE;
-                               }



Home | Main Index | Thread Index | Old Index