summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-09-02 12:22:46 +0000
committerwiz <wiz@pkgsrc.org>2016-09-02 12:22:46 +0000
commit9f22614d791fa90f0b64820333df9ea4ed9177a9 (patch)
tree044f612b2e74dee7242f29926c1ba2765e09f232 /emulators
parentd2851cb5680cab563d970fc555306a0bbadcd263 (diff)
downloadpkgsrc-9f22614d791fa90f0b64820333df9ea4ed9177a9.tar.gz
Updated mame to 0.177.
Today marks the end of the southern winter/northern summer, and time for the hotly anticipated August MAME release. Possibly most importantly, we've fixed the issues that were causing menus to display off the edge of the screen on Windows (MT06335). We've integrated a fix for Aimtrack Dual Lightguns on windows from new contributor Pitou, and the behaviour of XAudio2 sound output should be much improved when adjusting game speed to match monitor refresh rate. Mouse behaviour on SDL builds (Linux/Mac) is also improved. Thanks very much to all the users who reported issues and helped out testing fixes. We have lots of newly working computer systems to show off: Xerox Alto-II, TeleNova Compis (a 16-bit educational computer from Sweden), Victor 9000, Wang Professional Computer (DOS-based but not IBM compatible), Atari Portfolio (of Terminator 2 fame), and Vector-06C (a mass-produced Soviet home computer). Newly working games include Namco Techno Drive, the original Japanese release of Orca's River Patrol, Korean puzzle game Intergirl, and gambling game Magical Butterfly. Speaking of gambling games, this release is a huge update for BFM, JPM and Maygay fruit machines. John Parker has created a tool that converts MFME layouts to MAME layouts and contributed layouts for hundreds of games. This should make it far easier and more rewarding to work on these drivers. MAME now includes a driver for a VGM music file player virtual machine (VGM is a popular video game music file format). This feature is primarily intended as a way for developers to test sound cores and do A/B comparisons, as it's a lot easier to just load a VGM test case than to play a game until it uses the sound chip feature you want to test, but it's also a convenient way to enjoy a wide variety of video game music. You can try it out by running mame vgmplay -bitb file.vgm or choosing "VGM player" from the list of systems and loading a VGM file in the appropriate media slot through the internal file manager. The generic serial terminal and keyboard devices have been greatly improved. This should make computers controlled via serial port far more usable. (Keyboard layout, key repeat, simultaneous keypresses, local echo, auto CR/LF and audible bell have all been improved and/or made configurable.) There are a number of improvements for MAME developers and contributors. We now allow Unicode characters in C++ and Lua source comments. This can make documentation clearer when referring to original machine labels. Source files must be encoded in UTF-8 with no initial byte order mark. Non-ASCII characters are allowed in comments, but not in most other parts of source files. Source and comments must still be written in English. We've improved build times a little, and migrated a lot of MAME-specific constructs to standard C++14 library features. A number of MAME APIs have been streamlined and modernised. The palette viewer now shows some details about the colour swatch under the mouse pointer (press F4 during gameplay to show, this may be interesting to regular users as well). Of course, this release also comes with more alternate versions of games supported (including The NewZealand Story, Metamorphic Force, Super Hang-On, Terminator 2, Golden Tee '98, Gulf Storm, and Teenage Mutant Ninja Turtles), and other fixes and improvements for machines already emulated by MAME (including Midway V-Unit outputs/layouts from Risugami and input/output improvements for gambling/medal games from AJR).
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile7
-rw-r--r--emulators/mame/PLIST15
-rw-r--r--emulators/mame/distinfo14
-rw-r--r--emulators/mame/patches/patch-makefile4
-rw-r--r--emulators/mame/patches/patch-scripts_genie.lua46
5 files changed, 17 insertions, 69 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 8f9ef80bb26..5aedd68f42f 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2016/08/03 10:22:43 adam Exp $
+# $NetBSD: Makefile,v 1.63 2016/09/02 12:22:46 wiz Exp $
-DISTNAME= mame-0.176
-PKGREVISION= 1
+DISTNAME= mame-0.177
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
GITHUB_TAG= ${DISTNAME:S/-//S/.//}
@@ -120,7 +119,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/artwork/bgfx/border_blur/* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork/bgfx/border_blur
${INSTALL_DATA} ${WRKSRC}/artwork/bgfx/chains/*.* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork/bgfx/chains
${INSTALL_DATA} ${WRKSRC}/artwork/bgfx/chains/crt-geom/* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork/bgfx/chains/crt-geom/
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.md ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/hash/* ${DESTDIR}${PREFIX}/${SHAREDIR}/hash
.include "../../lang/python/application.mk"
diff --git a/emulators/mame/PLIST b/emulators/mame/PLIST
index 6f6bd55ce96..87842088765 100644
--- a/emulators/mame/PLIST
+++ b/emulators/mame/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2016/07/30 17:14:28 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2016/09/02 12:22:46 wiz Exp $
bin/castool
bin/chdman
bin/floptool
@@ -27,17 +27,8 @@ man/man1/ldverify.1
man/man1/romcmp.1
man/man6/mame.6
man/man6/mess.6
-share/doc/mame/SDL.txt
-share/doc/mame/config.txt
-share/doc/mame/emscripten.txt
-share/doc/mame/floppy.txt
-share/doc/mame/hlsl.txt
-share/doc/mame/imgtool.txt
-share/doc/mame/m6502.txt
-share/doc/mame/mame.txt
-share/doc/mame/newvideo.txt
-share/doc/mame/nscsi.txt
-share/doc/mame/windows.txt
+share/doc/mame/CONTRIBUTING.md
+share/doc/mame/README.md
share/mame/artwork/LICENSE
share/mame/artwork/README.md
share/mame/artwork/aperture-grille.png
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index ece45c27f79..d3ca87fbfb8 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.56 2016/07/30 17:14:28 wiz Exp $
+$NetBSD: distinfo,v 1.57 2016/09/02 12:22:46 wiz Exp $
-SHA1 (mame-0.176.tar.gz) = 7c6d454c75bce7f0167943d225cf5e3204c42a5d
-RMD160 (mame-0.176.tar.gz) = 04090c5d6e96386ab2760d9d284a3a7a13ed05e5
-SHA512 (mame-0.176.tar.gz) = f3b19da5f3759900e112b53edd47ff8cb2b52a3d47730d29e2b1a2ed472ad7179b904fcc24dec9d46129660869240234e3db125e3008947bb7223620de6ab56f
-Size (mame-0.176.tar.gz) = 103205294 bytes
+SHA1 (mame-0.177.tar.gz) = f2f03b8489cb568005584347501737b042137830
+RMD160 (mame-0.177.tar.gz) = 92e39e2d8342baec07189839b1bf8ef72232881a
+SHA512 (mame-0.177.tar.gz) = 83a08796db5dc4ae7feecab6bd41fc3035638cf468c47b11198d3f4409c8eef397bc5e9c99036207ca7db8328a1d7f52399ad644df7735411b9b885fea8fc7a0
+Size (mame-0.177.tar.gz) = 112261386 bytes
SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4
-SHA1 (patch-makefile) = 07a3b69c4044b01da9a28f6ebd1601ae16b2a996
-SHA1 (patch-scripts_genie.lua) = f0b6b9fe00b6f572089fc2a7495fe1fd3c86ae4e
+SHA1 (patch-makefile) = 0b42791f1d6a11b6ce168bd57a995987e692ab52
+SHA1 (patch-scripts_genie.lua) = bd402f8127cf5d5bd5d70e12f5a6bd04cb8d7a73
diff --git a/emulators/mame/patches/patch-makefile b/emulators/mame/patches/patch-makefile
index d42a43285f5..de295e4fde9 100644
--- a/emulators/mame/patches/patch-makefile
+++ b/emulators/mame/patches/patch-makefile
@@ -1,4 +1,6 @@
-$NetBSD: patch-makefile,v 1.16 2016/06/30 18:05:55 wiz Exp $
+$NetBSD: patch-makefile,v 1.17 2016/09/02 12:22:46 wiz Exp $
+
+Treat all BSDs the same.
--- makefile.orig 2016-06-29 06:34:30.000000000 +0000
+++ makefile
diff --git a/emulators/mame/patches/patch-scripts_genie.lua b/emulators/mame/patches/patch-scripts_genie.lua
index 1372420559f..f7509f3d767 100644
--- a/emulators/mame/patches/patch-scripts_genie.lua
+++ b/emulators/mame/patches/patch-scripts_genie.lua
@@ -1,4 +1,4 @@
-$NetBSD: patch-scripts_genie.lua,v 1.3 2016/04/29 08:30:50 wiz Exp $
+$NetBSD: patch-scripts_genie.lua,v 1.4 2016/09/02 12:22:46 wiz Exp $
Precompilation is broken on NetBSD with gcc-5.3.
Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
@@ -45,47 +45,3 @@ Detect clang correctly.
}
end
-- this speeds it up a bit by piping between the preprocessor/compiler/assembler
-@@ -950,7 +945,17 @@ end
-
-
- local version = str_to_version(_OPTIONS["gcc_version"])
-- if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "pnacl") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android") then
-+ if _OPTIONS["clang_version"] == "" then
-+ if (version < 40900) then
-+ print("GCC version 4.9 or later needed")
-+ os.exit(-1)
-+ end
-+ buildoptions {
-+ "-Wno-unused-result", -- needed for fgets,fread on linux
-+ -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds)
-+ "-Wno-array-bounds",
-+ }
-+ else
- if (version < 30400) then
- print("Clang version 3.4 or later needed")
- os.exit(-1)
-@@ -963,7 +968,6 @@ end
- "-Wno-inline-new-delete",
- "-Wno-constant-logical-operand",
- "-Wno-deprecated-register",
-- "-fdiagnostics-show-note-include-stack",
- }
- if (version >= 30500) then
- buildoptions {
-@@ -977,16 +981,6 @@ end
- "-Wno-tautological-undefined-compare",
- }
- end
-- else
-- if (version < 40900) then
-- print("GCC version 4.9 or later needed")
-- os.exit(-1)
-- end
-- buildoptions {
-- "-Wno-unused-result", -- needed for fgets,fread on linux
-- -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds)
-- "-Wno-array-bounds",
-- }
- end
- end
-