Wed Aug 3 16:23:36 2022 UTC ()
sameboy: update to 0.15.4

                                    Changes

Version 0.15.4

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * The “Emulate Hardware” and “Preserve Brightness” color correction
       modes are now called “Modern – Balanced” and “Modern – Boost
       Contrast”, respectively, to better represent them in the context other
       modes that came after their introduction
     * A new “Modern – Accurate” color correction mode was added. This new
       mode preserves the modern saturation and contrast of “Modern –
       Balanced” but further improves on color balancing accuracy
     * The Anti-aliased Scale4x filter has been revised and improved

  Accuracy Improvements/Fixes

     * A color correction rounding error was fixed

  Bug Fixes

     * Fixed potential visual artifacts when using certain scaling filters on
       some combinations of resolutions and devices
     * Fixed a bug that made SameBoy crash on launch on older versions of
       macOS if an update was available
     * The SDL will no longer get stuck (unless “Skip” is used) when trying
       to use certain joypads’ D-pad to configure the directional keys
     * Attempt to work around an X11 bug that caused file and directory
       selection dialogs to ignore mouse keys

Version 0.15.3

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  Accuracy Improvements/Fixes

     * Improvements to all color correction modes

  Bug Fixes

     * Fixed a race condition that could cause the Memory Viewer to crash if
       used without pausing the ROM first
     * Fixed a bug that caused SameBoy to incorrectly warn about saves being
       unwritable
     * Fixed a bug that caused the SDL port to not respect the
       joypads-in-background setting at startup

Version 0.15.2

   This version is backwards compatible with save states from SameBoy 0.14.3
   and newer, as well as save states from any BESS compliant emulator

  New/Improved Features

     * A setting to allow joypad input when SameBoy is not in focus was added
       to both frontends
     * The SDL GUI now follows the user-configured Game Boy palette
     * The SDL frontend now supports Game Boy palettes exported from the
       Cocoa port, and now includes 7 new palettes to choose from
     * The scrollbar in the SDL frontend is now draggable
     * The SDL GUI now correctly allows using the user-configured buttons in
       its menu
     * An OpenAL audio driver is now available for Linux and other Unix users
       in the SDL port
     * Up to two joypad hotkeys may now be configured to perform actions such
       as pausing and saving states in both frontends
     * The softbreak debugger command was given a better description
     * Both frontends will now warn you if progress cannot be saved when
       loading a ROM
     * Game Boy Player (using CPU AGB A) is now a selectable Game Boy Advance
       revision

  Accuracy Improvements/Fixes

     * Emulated a glitch where a misconfigured window can insert
       pixels between tiles on models prior to the Game Boy Color, fixes Star
       Trek - 25th Anniversary
     * Fixed a window-related regression, affecting edge cases where WX=0
     * Accuracy improvements to emulation of the Game Boy Camera
     * Accurate emulation of JOYP switching delay on the DMG
     * Realistic emulation of button bouncing while keeping lag to a minimum

  Misc Internal Changes

     * Fixed a potential memory corruption when SameBoy is used as a library
       in a C++ project


(nia)
diff -r1.13 -r1.14 pkgsrc/emulators/sameboy/Makefile
diff -r1.16 -r1.17 pkgsrc/emulators/sameboy/Makefile.common
diff -r1.16 -r1.17 pkgsrc/emulators/sameboy/distinfo
diff -r1.4 -r1.5 pkgsrc/emulators/sameboy/PLIST
diff -r0 -r1.1 pkgsrc/emulators/sameboy/options.mk

cvs diff -r1.13 -r1.14 pkgsrc/emulators/sameboy/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/sameboy/Makefile 2022/07/07 05:46:15 1.13
+++ pkgsrc/emulators/sameboy/Makefile 2022/08/03 16:23:36 1.14
@@ -1,25 +1,26 @@ @@ -1,25 +1,26 @@
1# $NetBSD: Makefile,v 1.13 2022/07/07 05:46:15 nia Exp $ 1# $NetBSD: Makefile,v 1.14 2022/08/03 16:23:36 nia Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4 4
5MAINTAINER= nia@NetBSD.org 5MAINTAINER= nia@NetBSD.org
6HOMEPAGE= https://sameboy.github.io/ 6HOMEPAGE= https://sameboy.github.io/
7COMMENT= Highly accurate Game Boy and Game Boy Color emulator 7COMMENT= Highly accurate Game Boy and Game Boy Color emulator
8 8
9BUILD_TARGET= sdl 9BUILD_TARGET= sdl
10 10
11MAKE_FLAGS+= DATA_DIR=${PREFIX}/share/sameboy/ 11MAKE_FLAGS+= DATA_DIR=${PREFIX}/share/sameboy/
12MAKE_FLAGS+= FREEDESKTOP=true 12MAKE_FLAGS+= FREEDESKTOP=true
13 13
14BUILDLINK_TRANSFORM+= rm:-Werror 14BUILDLINK_TRANSFORM+= rm:-Werror
15 15
16.include "../../mk/bsd.prefs.mk" 16.include "../../mk/bsd.prefs.mk"
17.if ${OPSYS} != "Darwin" 17.if ${OPSYS} != "Darwin"
18.include "../../graphics/MesaLib/buildlink3.mk" 18.include "../../graphics/MesaLib/buildlink3.mk"
19.endif 19.endif
20 20
 21.include "options.mk"
21.include "../../devel/SDL2/buildlink3.mk" 22.include "../../devel/SDL2/buildlink3.mk"
22.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 23.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
23.include "../../mk/dlopen.buildlink3.mk" 24.include "../../mk/dlopen.buildlink3.mk"
24BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} 25BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
25.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.16 -r1.17 pkgsrc/emulators/sameboy/Makefile.common (expand / switch to unified diff)

--- pkgsrc/emulators/sameboy/Makefile.common 2022/07/13 09:08:22 1.16
+++ pkgsrc/emulators/sameboy/Makefile.common 2022/08/03 16:23:36 1.17
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile.common,v 1.16 2022/07/13 09:08:22 nia Exp $ 1# $NetBSD: Makefile.common,v 1.17 2022/08/03 16:23:36 nia Exp $
2# used by emulators/sameboy/Makefile 2# used by emulators/sameboy/Makefile
3# used by emulators/libretro-sameboy/Makefile 3# used by emulators/libretro-sameboy/Makefile
4 4
5DISTNAME= sameboy-0.15.1 5DISTNAME= sameboy-0.15.4
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= ${MASTER_SITE_GITHUB:=LIJI32/} 7MASTER_SITES= ${MASTER_SITE_GITHUB:=LIJI32/}
8GITHUB_PROJECT= SameBoy 8GITHUB_PROJECT= SameBoy
9GITHUB_TAG= v${PKGVERSION_NOREV} 9GITHUB_TAG= v${PKGVERSION_NOREV}
10 10
11LICENSE= mit 11LICENSE= mit
12 12
13USE_TOOLS+= gmake pkg-config 13USE_TOOLS+= gmake pkg-config
14 14
15TOOL_DEPENDS+= rgbds-[0-9]*:../../devel/rgbds 15TOOL_DEPENDS+= rgbds-[0-9]*:../../devel/rgbds
16 16
17DISTINFO_FILE= ${.CURDIR}/../../emulators/sameboy/distinfo 17DISTINFO_FILE= ${.CURDIR}/../../emulators/sameboy/distinfo
18PATCHDIR= ${.CURDIR}/../../emulators/sameboy/patches 18PATCHDIR= ${.CURDIR}/../../emulators/sameboy/patches

cvs diff -r1.16 -r1.17 pkgsrc/emulators/sameboy/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/sameboy/distinfo 2022/07/13 09:08:22 1.16
+++ pkgsrc/emulators/sameboy/distinfo 2022/08/03 16:23:36 1.17
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.16 2022/07/13 09:08:22 nia Exp $ 1$NetBSD: distinfo,v 1.17 2022/08/03 16:23:36 nia Exp $
2 2
3BLAKE2s (sameboy-0.15.1.tar.gz) = 87ef44662940cd0160ef877e8adcc4a063dcc46e67302817d757b9810606a039 3BLAKE2s (sameboy-0.15.4.tar.gz) = 246c0414b6489465bd6b7d46a13c6659bbf145ae8ffb9cd129a7cff89182d36a
4SHA512 (sameboy-0.15.1.tar.gz) = 14e8bca30a932cad9f6e1b547d844f35fa00dbd59c9157c68f8348d422952bb1445c7c3fe4d80f614355952e9a344a34ad6ff65f0bc5737eb0a18fa1bd08d45b 4SHA512 (sameboy-0.15.4.tar.gz) = a9a9f056f302dd130fbc31ca5a5824b9863c0d3df8cdb650e8a2035adf78c2d1f2a6ecce4903968a45ca98bc3e668118fe552ae9b8ff28cd307cbdbf3359c41b
5Size (sameboy-0.15.1.tar.gz) = 3082898 bytes 5Size (sameboy-0.15.4.tar.gz) = 3096947 bytes
6SHA1 (patch-Core_gb.c) = 3945b96fcfa2047213e34a398b2e18b89057fdab 6SHA1 (patch-Core_gb.c) = 3945b96fcfa2047213e34a398b2e18b89057fdab

cvs diff -r1.4 -r1.5 pkgsrc/emulators/sameboy/PLIST (expand / switch to unified diff)

--- pkgsrc/emulators/sameboy/PLIST 2022/07/07 05:46:15 1.4
+++ pkgsrc/emulators/sameboy/PLIST 2022/08/03 16:23:36 1.5
@@ -1,36 +1,43 @@ @@ -1,36 +1,43 @@
1@comment $NetBSD: PLIST,v 1.4 2022/07/07 05:46:15 nia Exp $ 1@comment $NetBSD: PLIST,v 1.5 2022/08/03 16:23:36 nia Exp $
2bin/sameboy 2bin/sameboy
3share/applications/sameboy.desktop 3share/applications/sameboy.desktop
4share/icons/hicolor/128x128/apps/sameboy.png 4share/icons/hicolor/128x128/apps/sameboy.png
5share/icons/hicolor/128x128/mimetypes/x-gameboy-color-rom.png 5share/icons/hicolor/128x128/mimetypes/x-gameboy-color-rom.png
6share/icons/hicolor/128x128/mimetypes/x-gameboy-rom.png 6share/icons/hicolor/128x128/mimetypes/x-gameboy-rom.png
7share/icons/hicolor/16x16/apps/sameboy.png 7share/icons/hicolor/16x16/apps/sameboy.png
8share/icons/hicolor/16x16/mimetypes/x-gameboy-color-rom.png 8share/icons/hicolor/16x16/mimetypes/x-gameboy-color-rom.png
9share/icons/hicolor/16x16/mimetypes/x-gameboy-rom.png 9share/icons/hicolor/16x16/mimetypes/x-gameboy-rom.png
10share/icons/hicolor/256x256/apps/sameboy.png 10share/icons/hicolor/256x256/apps/sameboy.png
11share/icons/hicolor/256x256/mimetypes/x-gameboy-color-rom.png 11share/icons/hicolor/256x256/mimetypes/x-gameboy-color-rom.png
12share/icons/hicolor/256x256/mimetypes/x-gameboy-rom.png 12share/icons/hicolor/256x256/mimetypes/x-gameboy-rom.png
13share/icons/hicolor/32x32/apps/sameboy.png 13share/icons/hicolor/32x32/apps/sameboy.png
14share/icons/hicolor/32x32/mimetypes/x-gameboy-color-rom.png 14share/icons/hicolor/32x32/mimetypes/x-gameboy-color-rom.png
15share/icons/hicolor/32x32/mimetypes/x-gameboy-rom.png 15share/icons/hicolor/32x32/mimetypes/x-gameboy-rom.png
16share/icons/hicolor/512x512/apps/sameboy.png 16share/icons/hicolor/512x512/apps/sameboy.png
17share/icons/hicolor/512x512/mimetypes/x-gameboy-color-rom.png 17share/icons/hicolor/512x512/mimetypes/x-gameboy-color-rom.png
18share/icons/hicolor/512x512/mimetypes/x-gameboy-rom.png 18share/icons/hicolor/512x512/mimetypes/x-gameboy-rom.png
19share/icons/hicolor/64x64/apps/sameboy.png 19share/icons/hicolor/64x64/apps/sameboy.png
20share/icons/hicolor/64x64/mimetypes/x-gameboy-color-rom.png 20share/icons/hicolor/64x64/mimetypes/x-gameboy-color-rom.png
21share/icons/hicolor/64x64/mimetypes/x-gameboy-rom.png 21share/icons/hicolor/64x64/mimetypes/x-gameboy-rom.png
22share/mime/packages/sameboy.xml 22share/mime/packages/sameboy.xml
23share/sameboy/LICENSE 23share/sameboy/LICENSE
 24share/sameboy/Palettes/Desert.sbp
 25share/sameboy/Palettes/Evening.sbp
 26share/sameboy/Palettes/Fog.sbp
 27share/sameboy/Palettes/Magic Eggplant.sbp
 28share/sameboy/Palettes/Radioactive Pea.sbp
 29share/sameboy/Palettes/Seaweed.sbp
 30share/sameboy/Palettes/Twilight.sbp
24share/sameboy/Shaders/AAOmniScaleLegacy.fsh 31share/sameboy/Shaders/AAOmniScaleLegacy.fsh
25share/sameboy/Shaders/AAScale2x.fsh 32share/sameboy/Shaders/AAScale2x.fsh
26share/sameboy/Shaders/AAScale4x.fsh 33share/sameboy/Shaders/AAScale4x.fsh
27share/sameboy/Shaders/Bilinear.fsh 34share/sameboy/Shaders/Bilinear.fsh
28share/sameboy/Shaders/CRT.fsh 35share/sameboy/Shaders/CRT.fsh
29share/sameboy/Shaders/HQ2x.fsh 36share/sameboy/Shaders/HQ2x.fsh
30share/sameboy/Shaders/LCD.fsh 37share/sameboy/Shaders/LCD.fsh
31share/sameboy/Shaders/MasterShader.fsh 38share/sameboy/Shaders/MasterShader.fsh
32share/sameboy/Shaders/MonoLCD.fsh 39share/sameboy/Shaders/MonoLCD.fsh
33share/sameboy/Shaders/NearestNeighbor.fsh 40share/sameboy/Shaders/NearestNeighbor.fsh
34share/sameboy/Shaders/OmniScale.fsh 41share/sameboy/Shaders/OmniScale.fsh
35share/sameboy/Shaders/OmniScaleLegacy.fsh 42share/sameboy/Shaders/OmniScaleLegacy.fsh
36share/sameboy/Shaders/Scale2x.fsh 43share/sameboy/Shaders/Scale2x.fsh

File Added: pkgsrc/emulators/sameboy/options.mk
# $NetBSD: options.mk,v 1.1 2022/08/03 16:23:36 nia Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.sameboy
PKG_SUPPORTED_OPTIONS=		openal
PKG_SUGGESTED_OPTIONS.Darwin=	openal

.include "../../mk/bsd.options.mk"

.include "../../mk/bsd.fast.prefs.mk"

.if !empty(PKG_OPTIONS:Mopenal)
MAKE_FLAGS+=		ENABLE_OPENAL=1
.if ${OPSYS} != "Darwin"
.  include "../../audio/openal-soft/buildlink3.mk"
.endif
.else
MAKE_FLAGS+=		ENABLE_OPENAL=0
.endif