pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators mgba: update to 0.9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2da8a46d91de
branches:  trunk
changeset: 770263:2da8a46d91de
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Nov 28 11:34:14 2021 +0000

description:
mgba: update to 0.9.2

0.9.2: (2021-07-10)
Emulation fixes:
 - GB Video: Clear VRAM on reset (fixes mgba.io/i/2152)
 - GBA SIO: Add missing NORMAL8 implementation bits (fixes mgba.io/i/2172)
 - GBA SIO: Fix missing interrupt on an unattached NORMAL transfer
 - GBA Memory: Fix prefetch mask when swapping modes within a region
 - GBA Serialize: Fix loading audio enable bit late (fixes mgba.io/i/2230)
 - GBA Video: Revert scanline latching changes (fixes mgba.io/i/2153, mgba.io/i/2149)
Other fixes:
 - ARM Debugger: Fix disassembly alignment (fixes mgba.io/i/2204)
 - Core: Fix memory leak in opening games from the library
 - Core: Fix memory searches for relative values (fixes mgba.io/i/2135)
 - Core: Fix portable mode on macOS
 - GB Audio: Fix audio channel 4 being slow to deserialize
 - GB Core: Fix GBC colors setting breaking default model overrides (fixes mgba.io/i/2161)
 - mGUI: Cache save state screenshot validity in state menu (fixes mgba.io/i/2005)
 - Qt: Fix eventual deadlock when using sync to video
 - Qt: Fix applying savetype-only overrides
 - Qt: Fix crash in sprite view for partially out-of-bounds sprites (fixes mgba.io/i/2165)
 - Qt: Fix having to press controller buttons twice for menu items (fixes mgba.io/i/2143)
 - Qt: Redo sensor binding to be less fragile
 - Qt: Reuse timer when rescheduling missing frames (fixes mgba.io/i/2236)
 - Qt: Fix bounded fast forward with enhancement OpenGL renderer
 - Util: Fix loading UPS patches that affect the last byte of the file
Misc:
 - Util: Improve speed of UPS patch loading

diffstat:

 emulators/libretro-mgba/Makefile                                          |   4 +-
 emulators/libretro-mgba/distinfo                                          |  12 ++--
 emulators/libretro-mgba/patches/patch-CMakeLists.txt                      |   4 +-
 emulators/libretro-mgba/patches/patch-include_mgba-util_math.h            |   4 +-
 emulators/mgba/Makefile                                                   |   5 +-
 emulators/mgba/distinfo                                                   |  15 +++---
 emulators/mgba/patches/patch-CMakeLists.txt                               |   4 +-
 emulators/mgba/patches/patch-include_mgba-util_math.h                     |   4 +-
 emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h |   4 +-
 emulators/mgba/patches/patch-src_platform_qt_InputController.cpp          |  22 ----------
 10 files changed, 32 insertions(+), 46 deletions(-)

diffs (158 lines):

diff -r e9e460e27353 -r 2da8a46d91de emulators/libretro-mgba/Makefile
--- a/emulators/libretro-mgba/Makefile  Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/libretro-mgba/Makefile  Sun Nov 28 11:34:14 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2021/05/02 08:40:00 nia Exp $
+# $NetBSD: Makefile,v 1.14 2021/11/28 11:34:15 nia Exp $
 
-DISTNAME=      mgba-0.9.1
+DISTNAME=      mgba-0.9.2
 PKGNAME=       libretro-${DISTNAME}
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
diff -r e9e460e27353 -r 2da8a46d91de emulators/libretro-mgba/distinfo
--- a/emulators/libretro-mgba/distinfo  Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/libretro-mgba/distinfo  Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:23:55 nia Exp $
+$NetBSD: distinfo,v 1.14 2021/11/28 11:34:15 nia Exp $
 
-BLAKE2s (mgba-0.9.1.tar.gz) = bad19bb1498f00bc7904fda9f896c87d3b5d3558eaf758d953071f9d7519d5ce
-SHA512 (mgba-0.9.1.tar.gz) = f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578
-Size (mgba-0.9.1.tar.gz) = 12795893 bytes
-SHA1 (patch-CMakeLists.txt) = e4bb18352c0d5602084c0674c1b5d6c3cd84b9bc
-SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
+BLAKE2s (mgba-0.9.2.tar.gz) = 56f46f5d999ccc68138325fbe720b0eaadf4879dc56bf52ae60450a7b20a12ff
+SHA512 (mgba-0.9.2.tar.gz) = ea9868c104996c44a2fcfdf9d3f4d6177b853dec478ab7a2dd19a0f127b597a887150200bfbf14de593328217ff5493ca675bfcb4f0b2ee6a5097e0cdf0e2997
+Size (mgba-0.9.2.tar.gz) = 12761919 bytes
+SHA1 (patch-CMakeLists.txt) = 61bb343f28a5031732b1a34157e1dca73bbddcd9
+SHA1 (patch-include_mgba-util_math.h) = 83ef3284dd5674f30dc4dec8aefe721ce5939f56
diff -r e9e460e27353 -r 2da8a46d91de emulators/libretro-mgba/patches/patch-CMakeLists.txt
--- a/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-CMakeLists.txt,v 1.6 2021/05/02 08:40:00 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.7 2021/11/28 11:34:15 nia Exp $
 
 Fix locale detection.
 
+https://github.com/mgba-emu/mgba/pull/2366
+
 --- CMakeLists.txt.orig        2020-08-04 04:46:14.000000000 +0000
 +++ CMakeLists.txt
 @@ -364,7 +364,9 @@ if(HAVE_LOCALTIME_R)
diff -r e9e460e27353 -r 2da8a46d91de emulators/libretro-mgba/patches/patch-include_mgba-util_math.h
--- a/emulators/libretro-mgba/patches/patch-include_mgba-util_math.h    Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/libretro-mgba/patches/patch-include_mgba-util_math.h    Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-include_mgba-util_math.h,v 1.1 2018/08/12 14:25:09 nia Exp $
+$NetBSD: patch-include_mgba-util_math.h,v 1.2 2021/11/28 11:34:15 nia Exp $
 
 NetBSD defines popcount32 in libc.
 
+https://github.com/mgba-emu/mgba/pull/2366
+
 --- include/mgba-util/math.h.orig      2017-07-16 19:04:50.000000000 +0000
 +++ include/mgba-util/math.h
 @@ -10,11 +10,15 @@
diff -r e9e460e27353 -r 2da8a46d91de emulators/mgba/Makefile
--- a/emulators/mgba/Makefile   Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/mgba/Makefile   Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2021/10/09 15:35:04 nia Exp $
+# $NetBSD: Makefile,v 1.29 2021/11/28 11:34:14 nia Exp $
 
-DISTNAME=      mgba-0.9.1
-PKGREVISION=   3
+DISTNAME=      mgba-0.9.2
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
 
diff -r e9e460e27353 -r 2da8a46d91de emulators/mgba/distinfo
--- a/emulators/mgba/distinfo   Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/mgba/distinfo   Sun Nov 28 11:34:14 2021 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 10:23:58 nia Exp $
+$NetBSD: distinfo,v 1.15 2021/11/28 11:34:14 nia Exp $
 
-BLAKE2s (mgba-0.9.1.tar.gz) = bad19bb1498f00bc7904fda9f896c87d3b5d3558eaf758d953071f9d7519d5ce
-SHA512 (mgba-0.9.1.tar.gz) = f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578
-Size (mgba-0.9.1.tar.gz) = 12795893 bytes
-SHA1 (patch-CMakeLists.txt) = e4bb18352c0d5602084c0674c1b5d6c3cd84b9bc
-SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
-SHA1 (patch-include_mgba-util_platform_posix_threading.h) = deabb02eda72a4682ad84f263982eb6f8db4699b
-SHA1 (patch-src_platform_qt_InputController.cpp) = 9297dbd0f8ef92f66d89caa77fe6dc03bb60e1cb
+BLAKE2s (mgba-0.9.2.tar.gz) = 56f46f5d999ccc68138325fbe720b0eaadf4879dc56bf52ae60450a7b20a12ff
+SHA512 (mgba-0.9.2.tar.gz) = ea9868c104996c44a2fcfdf9d3f4d6177b853dec478ab7a2dd19a0f127b597a887150200bfbf14de593328217ff5493ca675bfcb4f0b2ee6a5097e0cdf0e2997
+Size (mgba-0.9.2.tar.gz) = 12761919 bytes
+SHA1 (patch-CMakeLists.txt) = 61bb343f28a5031732b1a34157e1dca73bbddcd9
+SHA1 (patch-include_mgba-util_math.h) = 83ef3284dd5674f30dc4dec8aefe721ce5939f56
+SHA1 (patch-include_mgba-util_platform_posix_threading.h) = 87d25708f24f4f42b3da22d1f2da667d314ac9f5
diff -r e9e460e27353 -r 2da8a46d91de emulators/mgba/patches/patch-CMakeLists.txt
--- a/emulators/mgba/patches/patch-CMakeLists.txt       Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/mgba/patches/patch-CMakeLists.txt       Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2020/08/09 14:37:22 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.5 2021/11/28 11:34:14 nia Exp $
 
 Fix locale detection.
 
+https://github.com/mgba-emu/mgba/pull/2366
+
 --- CMakeLists.txt.orig        2020-08-04 04:46:14.000000000 +0000
 +++ CMakeLists.txt
 @@ -364,7 +364,9 @@ if(HAVE_LOCALTIME_R)
diff -r e9e460e27353 -r 2da8a46d91de emulators/mgba/patches/patch-include_mgba-util_math.h
--- a/emulators/mgba/patches/patch-include_mgba-util_math.h     Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/mgba/patches/patch-include_mgba-util_math.h     Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-include_mgba-util_math.h,v 1.1 2019/06/08 22:46:03 nia Exp $
+$NetBSD: patch-include_mgba-util_math.h,v 1.2 2021/11/28 11:34:14 nia Exp $
 
 NetBSD defines popcount32 in libc.
 
+https://github.com/mgba-emu/mgba/pull/2366
+
 --- include/mgba-util/math.h.orig      2017-07-16 19:04:50.000000000 +0000
 +++ include/mgba-util/math.h
 @@ -10,11 +10,15 @@
diff -r e9e460e27353 -r 2da8a46d91de emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h
--- a/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h Sun Nov 28 10:46:51 2021 +0000
+++ b/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h Sun Nov 28 11:34:14 2021 +0000
@@ -1,7 +1,9 @@
-$NetBSD: patch-include_mgba-util_platform_posix_threading.h,v 1.2 2020/01/25 19:26:19 nia Exp $
+$NetBSD: patch-include_mgba-util_platform_posix_threading.h,v 1.3 2021/11/28 11:34:14 nia Exp $
 
 Support NetBSD pthreads.
 
+https://github.com/mgba-emu/mgba/pull/2366
+
 --- include/mgba-util/platform/posix/threading.h.orig  2020-01-22 02:17:11.000000000 +0000
 +++ include/mgba-util/platform/posix/threading.h
 @@ -94,7 +94,11 @@ static inline int ThreadSetName(const ch
diff -r e9e460e27353 -r 2da8a46d91de emulators/mgba/patches/patch-src_platform_qt_InputController.cpp
--- a/emulators/mgba/patches/patch-src_platform_qt_InputController.cpp  Sun Nov 28 10:46:51 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-src_platform_qt_InputController.cpp,v 1.1 2021/05/04 14:19:17 nia Exp $
-
-Fix building without Qt5Multimedia.
-
---- src/platform/qt/InputController.cpp.orig   2021-04-19 04:47:22.000000000 +0000
-+++ src/platform/qt/InputController.cpp
-@@ -94,7 +94,6 @@ InputController::InputController(int pla
-               InputControllerImage* image = static_cast<InputControllerImage*>(context);
-               image->w = w;
-               image->h = h;
--              image->p->m_cameraActive = true;
-               if (image->image.isNull()) {
-                       image->image.load(":/res/no-cam.png");
-               }
-@@ -103,6 +102,7 @@ InputController::InputController(int pla
-               if (!camera.isNull()) {
-                       image->p->m_cameraDevice = camera;
-               }
-+              image->p->m_cameraActive = true;
-               QMetaObject::invokeMethod(image->p, "setupCam");
- #endif
-       };



Home | Main Index | Thread Index | Old Index