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.diff -r1.164 -r1.165 pkgsrc/emulators/mame/Makefile
(wiz)
@@ -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 | |||
3 | DISTNAME= mame-0.251 | 3 | DISTNAME= mame-0.252 | |
4 | PKGREVISION= 3 | |||
5 | CATEGORIES= emulators | 4 | CATEGORIES= emulators | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/} | |
7 | GITHUB_TAG= ${DISTNAME:S/-//S/.//} | 6 | GITHUB_TAG= ${DISTNAME:S/-//S/.//} | |
8 | 7 | |||
9 | MAINTAINER= wiz@NetBSD.org | 8 | MAINTAINER= wiz@NetBSD.org | |
10 | HOMEPAGE= https://www.mamedev.org/ | 9 | HOMEPAGE= https://www.mamedev.org/ | |
11 | COMMENT= Multiple Arcade Machine Emulator | 10 | COMMENT= Multiple Arcade Machine Emulator | |
12 | LICENSE= modified-bsd AND gnu-gpl-v2 | 11 | LICENSE= modified-bsd AND gnu-gpl-v2 | |
13 | 12 | |||
14 | DOCDIR= share/doc/mame | 13 | DOCDIR= share/doc/mame | |
15 | SHAREDIR= share/mame | 14 | SHAREDIR= share/mame | |
16 | INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6 | 15 | INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6 | |
17 | INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur | 16 | INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur |
@@ -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 $ | |
2 | bin/castool | 2 | bin/castool | |
3 | bin/chdman | 3 | bin/chdman | |
4 | bin/floptool | 4 | bin/floptool | |
5 | bin/imgtool | 5 | bin/imgtool | |
6 | bin/jedutil | 6 | bin/jedutil | |
7 | bin/ldresample | 7 | bin/ldresample | |
8 | bin/ldverify | 8 | bin/ldverify | |
9 | bin/mame | 9 | bin/mame | |
10 | bin/nltool | 10 | bin/nltool | |
11 | bin/nlwav | 11 | bin/nlwav | |
12 | bin/pngcmp | 12 | bin/pngcmp | |
13 | bin/regrep | 13 | bin/regrep | |
14 | bin/romcmp | 14 | bin/romcmp | |
@@ -184,26 +184,27 @@ share/mame/hash/casio_rompack.xml | @@ -184,26 +184,27 @@ share/mame/hash/casio_rompack.xml | |||
184 | share/mame/hash/casloopy.xml | 184 | share/mame/hash/casloopy.xml | |
185 | share/mame/hash/cbm2_cart.xml | 185 | share/mame/hash/cbm2_cart.xml | |
186 | share/mame/hash/cbm2_flop.xml | 186 | share/mame/hash/cbm2_flop.xml | |
187 | share/mame/hash/cbm8096_flop.xml | 187 | share/mame/hash/cbm8096_flop.xml | |
188 | share/mame/hash/cbm8296_flop.xml | 188 | share/mame/hash/cbm8296_flop.xml | |
189 | share/mame/hash/cc40_cart.xml | 189 | share/mame/hash/cc40_cart.xml | |
190 | share/mame/hash/cd32.xml | 190 | share/mame/hash/cd32.xml | |
191 | share/mame/hash/cdi.xml | 191 | share/mame/hash/cdi.xml | |
192 | share/mame/hash/cdtv.xml | 192 | share/mame/hash/cdtv.xml | |
193 | share/mame/hash/cecflop.xml | 193 | share/mame/hash/cecflop.xml | |
194 | share/mame/hash/cgenie_cass.xml | 194 | share/mame/hash/cgenie_cass.xml | |
195 | share/mame/hash/cgenie_flop_rom.xml | 195 | share/mame/hash/cgenie_flop_rom.xml | |
196 | share/mame/hash/channelf.xml | 196 | share/mame/hash/channelf.xml | |
197 | share/mame/hash/chessking_cart.xml | |||
197 | share/mame/hash/chessmstdm.xml | 198 | share/mame/hash/chessmstdm.xml | |
198 | share/mame/hash/chip8_quik.xml | 199 | share/mame/hash/chip8_quik.xml | |
199 | share/mame/hash/clickstart_cart.xml | 200 | share/mame/hash/clickstart_cart.xml | |
200 | share/mame/hash/clipper_flop.xml | 201 | share/mame/hash/clipper_flop.xml | |
201 | share/mame/hash/coco_cart.xml | 202 | share/mame/hash/coco_cart.xml | |
202 | share/mame/hash/coco_flop.xml | 203 | share/mame/hash/coco_flop.xml | |
203 | share/mame/hash/coleco.xml | 204 | share/mame/hash/coleco.xml | |
204 | share/mame/hash/compclr2_flop.xml | 205 | share/mame/hash/compclr2_flop.xml | |
205 | share/mame/hash/compis.xml | 206 | share/mame/hash/compis.xml | |
206 | share/mame/hash/comx35_flop.xml | 207 | share/mame/hash/comx35_flop.xml | |
207 | share/mame/hash/conchess_plymate.xml | 208 | share/mame/hash/conchess_plymate.xml | |
208 | share/mame/hash/conchess_standard.xml | 209 | share/mame/hash/conchess_standard.xml | |
209 | share/mame/hash/copera.xml | 210 | share/mame/hash/copera.xml |
@@ -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 | |||
3 | BLAKE2s (mame-0.251.tar.gz) = 7135b30ff36448ffca0197cbbf85ae1285284c4135238ff23372f0e1fe797453 | 3 | BLAKE2s (mame-0.252.tar.gz) = 522719e67c6ef14c09473ec63f099f4ba65198026a359c501af192449838be29 | |
4 | SHA512 (mame-0.251.tar.gz) = 5d613f5057cbd30e20bd47912e31db25d284b75e768228d637a740c2d5303297a0d53caff79f38b1dd3f691e1c1978f9e3c3b20158c61f71b94d879fc9c8ddf5 | 4 | SHA512 (mame-0.252.tar.gz) = 7f40141b851a9d6ede93d38e9ef0c9208fc635fe919f33cd879aaba4d0597f5c689cdf4cf48b2db328b9f17425f4bbde11a2cd175150a412cae583ef06bb2cd9 | |
5 | Size (mame-0.251.tar.gz) = 186162996 bytes | 5 | Size (mame-0.252.tar.gz) = 206258807 bytes | |
6 | SHA1 (patch-3rdparty_bx_src_thread.cpp) = c415ceecd244c2a4f3907c0f19dac89807a1ffc7 | |||
6 | SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056 | 7 | SHA1 (patch-3rdparty_genie_build_gmake.darwin_genie.make) = bb2e8c06d4b5f5869fb48e06390d5ca94a190056 | |
7 | SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e | 8 | SHA1 (patch-makefile) = 343fac4d165438a26e2e8077216db1c6c46a5d1e |
$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>