Wed Feb 22 11:15:21 2023 UTC ()
mame: update to 0.252.

After almost two months, we窶决e ready to release MAME 0.252, the
first MAME release of 2023! As promised, there are some big updates,
and some of them may require you to make a few adjustments to your
MAME setups. In particular, the modules MAME uses to handle input
and output (e.g. video, sound and controllers) have been cleaned
up, fixing lots of bugs and resource leaks.

First of all, the BGFX video module has had a serious overhaul.
Numerous issues affecting artwork rendering have been fixed, and
toggling full-screen mode no longer crashes. MAME now saves many
BGFX video settings to your CFG files for each emulated system.

Game controller handling has also been overhauled. The downside is
that you may need to reconfigure inputs for MAME. The upside is
that things should work better out-of-the-box, with better default
input assignments for more controllers:

    For Windows users, more XInput controllers are fully supported,
    including guitars, the DJ Hero turntable, and the Rock Band
    keyboard.

    For people using SDL builds, like our lovely macOS and Linux
    users, there窶冱 a brand new joystick input module using the SDL
    game controller API. This gives consistent assignments for
    popular gamepads, and allows you to supply your own button and
    axis assignment schemes if the defaults don窶冲 suit you. If want
    the old behaviour, it窶冱 still available: just set the
    joystickprovider setting to sdljoy in your mame.ini file.

    For everyone, it should be easier to navigate MAME窶冱 UI using
    a game controller, and MAME should choose better default game
    input assignments for more gamepads.

Of course, we haven窶冲 stopped working on emulation. Newly supported
systems include the NABU PC (a Canadian 8-bit home computer and
cable network terminal), the I-Star Chess King (a Taiwanese hand-held
chess computer of dubious quality), Computer Othello (one of
Nintendo窶冱 earliest video games), YoYo Spell (a prototype of the
arcade game Little Robin), the very rare English language version
of SegaSonic Cosmo Fighter (dumped from the unit previously operated
at Sega World Sydney), and Saturn: Space Fighter 3D (a Space Invaders
variant from Data East).

The MSX updates haven窶冲 stopped: this release includes support for
MSX-DOS2 and RAM expansion cartridges. The Hyper Neo Geo 64 has
had some welcome fixes for both 2D and 3D graphics, and there should
be more coming in the next release. At the other end of the spectrum,
Apple II video has seen a number of improvements, and somewhere in
between, S3 ViRGE reached a point where 256-colour mode works in
Windows 98.


(wiz)
diff -r1.164 -r1.165 pkgsrc/emulators/mame/Makefile
diff -r1.73 -r1.74 pkgsrc/emulators/mame/PLIST
diff -r1.127 -r1.128 pkgsrc/emulators/mame/distinfo
diff -r0 -r1.4 pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp

cvs diff -r1.164 -r1.165 pkgsrc/emulators/mame/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/mame/Makefile 2023/02/14 16:05:58 1.164
+++ pkgsrc/emulators/mame/Makefile 2023/02/22 11:15:21 1.165
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.164 2023/02/14 16:05:58 wiz Exp $ 1# $NetBSD: Makefile,v 1.165 2023/02/22 11:15:21 wiz Exp $
2 2
3DISTNAME= mame-0.251 3DISTNAME= mame-0.252
4PKGREVISION= 3 
5CATEGORIES= emulators 4CATEGORIES= emulators
6MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
7GITHUB_TAG= ${DISTNAME:S/-//S/.//} 6GITHUB_TAG= ${DISTNAME:S/-//S/.//}
8 7
9MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
10HOMEPAGE= https://www.mamedev.org/ 9HOMEPAGE= https://www.mamedev.org/
11COMMENT= Multiple Arcade Machine Emulator 10COMMENT= Multiple Arcade Machine Emulator
12LICENSE= modified-bsd AND gnu-gpl-v2 11LICENSE= modified-bsd AND gnu-gpl-v2
13 12
14DOCDIR= share/doc/mame 13DOCDIR= share/doc/mame
15SHAREDIR= share/mame 14SHAREDIR= share/mame
16INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6 15INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6
17INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur 16INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur

cvs diff -r1.73 -r1.74 pkgsrc/emulators/mame/PLIST (expand / switch to unified diff)

--- pkgsrc/emulators/mame/PLIST 2022/12/31 11:12:58 1.73
+++ pkgsrc/emulators/mame/PLIST 2023/02/22 11:15:21 1.74
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.73 2022/12/31 11:12:58 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.74 2023/02/22 11:15:21 wiz Exp $
2bin/castool 2bin/castool
3bin/chdman 3bin/chdman
4bin/floptool 4bin/floptool
5bin/imgtool 5bin/imgtool
6bin/jedutil 6bin/jedutil
7bin/ldresample 7bin/ldresample
8bin/ldverify 8bin/ldverify
9bin/mame 9bin/mame
10bin/nltool 10bin/nltool
11bin/nlwav 11bin/nlwav
12bin/pngcmp 12bin/pngcmp
13bin/regrep 13bin/regrep
14bin/romcmp 14bin/romcmp
@@ -184,26 +184,27 @@ share/mame/hash/casio_rompack.xml @@ -184,26 +184,27 @@ share/mame/hash/casio_rompack.xml
184share/mame/hash/casloopy.xml 184share/mame/hash/casloopy.xml
185share/mame/hash/cbm2_cart.xml 185share/mame/hash/cbm2_cart.xml
186share/mame/hash/cbm2_flop.xml 186share/mame/hash/cbm2_flop.xml
187share/mame/hash/cbm8096_flop.xml 187share/mame/hash/cbm8096_flop.xml
188share/mame/hash/cbm8296_flop.xml 188share/mame/hash/cbm8296_flop.xml
189share/mame/hash/cc40_cart.xml 189share/mame/hash/cc40_cart.xml
190share/mame/hash/cd32.xml 190share/mame/hash/cd32.xml
191share/mame/hash/cdi.xml 191share/mame/hash/cdi.xml
192share/mame/hash/cdtv.xml 192share/mame/hash/cdtv.xml
193share/mame/hash/cecflop.xml 193share/mame/hash/cecflop.xml
194share/mame/hash/cgenie_cass.xml 194share/mame/hash/cgenie_cass.xml
195share/mame/hash/cgenie_flop_rom.xml 195share/mame/hash/cgenie_flop_rom.xml
196share/mame/hash/channelf.xml 196share/mame/hash/channelf.xml
 197share/mame/hash/chessking_cart.xml
197share/mame/hash/chessmstdm.xml 198share/mame/hash/chessmstdm.xml
198share/mame/hash/chip8_quik.xml 199share/mame/hash/chip8_quik.xml
199share/mame/hash/clickstart_cart.xml 200share/mame/hash/clickstart_cart.xml
200share/mame/hash/clipper_flop.xml 201share/mame/hash/clipper_flop.xml
201share/mame/hash/coco_cart.xml 202share/mame/hash/coco_cart.xml
202share/mame/hash/coco_flop.xml 203share/mame/hash/coco_flop.xml
203share/mame/hash/coleco.xml 204share/mame/hash/coleco.xml
204share/mame/hash/compclr2_flop.xml 205share/mame/hash/compclr2_flop.xml
205share/mame/hash/compis.xml 206share/mame/hash/compis.xml
206share/mame/hash/comx35_flop.xml 207share/mame/hash/comx35_flop.xml
207share/mame/hash/conchess_plymate.xml 208share/mame/hash/conchess_plymate.xml
208share/mame/hash/conchess_standard.xml 209share/mame/hash/conchess_standard.xml
209share/mame/hash/copera.xml 210share/mame/hash/copera.xml

cvs diff -r1.127 -r1.128 pkgsrc/emulators/mame/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/mame/distinfo 2022/12/31 11:12:58 1.127
+++ pkgsrc/emulators/mame/distinfo 2023/02/22 11:15:21 1.128
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.127 2022/12/31 11:12:58 wiz Exp $ 1$NetBSD: distinfo,v 1.128 2023/02/22 11:15:21 wiz Exp $
2 2
3BLAKE2s (mame-0.251.tar.gz) = 7135b30ff36448ffca0197cbbf85ae1285284c4135238ff23372f0e1fe797453 3BLAKE2s (mame-0.252.tar.gz) = 522719e67c6ef14c09473ec63f099f4ba65198026a359c501af192449838be29
4SHA512 (mame-0.251.tar.gz) = 5d613f5057cbd30e20bd47912e31db25d284b75e768228d637a740c2d5303297a0d53caff79f38b1dd3f691e1c1978f9e3c3b20158c61f71b94d879fc9c8ddf5 4SHA512 (mame-0.252.tar.gz) = 7f40141b851a9d6ede93d38e9ef0c9208fc635fe919f33cd879aaba4d0597f5c689cdf4cf48b2db328b9f17425f4bbde11a2cd175150a412cae583ef06bb2cd9
5Size (mame-0.251.tar.gz) = 186162996 bytes 5Size (mame-0.252.tar.gz) = 206258807 bytes
 6SHA1 (patch-3rdparty_bx_src_thread.cpp) = c415ceecd244c2a4f3907c0f19dac89807a1ffc7
6SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056 7SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056
7SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e 8SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e

File Added: pkgsrc/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp
$NetBSD: patch-3rdparty_bx_src_thread.cpp,v 1.4 2023/02/22 11:15:21 wiz Exp $

NetBSD does not provide pthread_np.h.

--- 3rdparty/bx/src/thread.cpp.orig	2023-02-21 17:59:53.000000000 +0000
+++ 3rdparty/bx/src/thread.cpp
@@ -25,7 +25,9 @@
 	|| BX_PLATFORM_NX
 #	include <pthread.h>
 #	if BX_PLATFORM_BSD
+#ifndef __NetBSD__
 #		include <pthread_np.h>
+#endif
 #	endif // BX_PLATFORM_BSD
 #	if BX_PLATFORM_LINUX && (BX_CRT_GLIBC < 21200)
 #		include <sys/prctl.h>