pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/openmsx emulators/openmsx: Upgrade from vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/065ead574e6e
branches:  trunk
changeset: 608029:065ead574e6e
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun Aug 26 09:07:21 2012 +0000

description:
emulators/openmsx: Upgrade from version 0.6.2 to 0.9.0

By request of the upstream developers, openMSX has been upgraded to the
12 Aug 2012 release (0.9.0).  The current version in pkgsrc is 0.6.2 was
released over 5 years ago on 15 April 2007.  The openMSX project has
added extensive features through eight newer releases since then, so the
project was "embarrassed" about the currency of the pkgsrc version.  The
changes of each release are way to long to list, so here are the links:

http://sourceforge.net/projects/openmsx/files/openmsx/0.9.0/README_release-notes.txt/view
http://sourceforge.net/projects/openmsx/files/openmsx/0.8.2/README_release-notes.txt/view
http://sourceforge.net/projects/openmsx/files/openmsx/0.8.1/README_release-notes.txt/view
http://sourceforge.net/projects/openmsx/files/openmsx/0.8.0/release-notes.txt/view
Consecutive release notes 0.7.2/0.7.1, 0.7.0, 0.6.3:
http://sourceforge.net/project/shownotes.php?group_id=38274&release_id=693184

Tested Zombie Incident on DragonFly.  It works nicely!

diffstat:

 emulators/openmsx/DESCR                                      |   21 +-
 emulators/openmsx/Makefile                                   |   67 +-
 emulators/openmsx/PLIST                                      |  313 +++++++---
 emulators/openmsx/distinfo                                   |   34 +-
 emulators/openmsx/files/platform-netbsd.mk                   |   30 -
 emulators/openmsx/patches/patch-aa                           |   15 -
 emulators/openmsx/patches/patch-build_detectsys.py           |   15 +
 emulators/openmsx/patches/patch-build_probe.py               |   16 +
 emulators/openmsx/patches/patch-build_version.py             |   18 +
 emulators/openmsx/patches/patch-src_MSXDevice.cc             |   12 -
 emulators/openmsx/patches/patch-src_commands_Completer.cc    |   12 -
 emulators/openmsx/patches/patch-src_cpu_MSXCPUInterface.cc   |   12 -
 emulators/openmsx/patches/patch-src_events_Socket.cc         |   12 -
 emulators/openmsx/patches/patch-src_fdc_MSXtar.cc            |   12 -
 emulators/openmsx/patches/patch-src_fdc_TC8566AF.cc          |   12 -
 emulators/openmsx/patches/patch-src_file_Date.cc             |   12 -
 emulators/openmsx/patches/patch-src_file_FileBase.cc         |   12 -
 emulators/openmsx/patches/patch-src_file_GZFileAdapter.cc    |   12 -
 emulators/openmsx/patches/patch-src_file_ZipFileAdapter.cc   |   12 -
 emulators/openmsx/patches/patch-src_input_RecordedCommand.hh |   13 -
 emulators/openmsx/patches/patch-src_memory_Ram.cc            |   12 -
 emulators/openmsx/patches/patch-src_sound_AY8910.cc          |   12 -
 emulators/openmsx/patches/patch-src_sound_MSXMixer.cc        |   12 -
 emulators/openmsx/patches/patch-src_sound_Y8950Adpcm.cc      |   12 -
 emulators/openmsx/patches/patch-src_sound_YMF262.cc          |   12 -
 emulators/openmsx/patches/patch-src_video_MemoryOps.cc       |   12 -
 emulators/openmsx/patches/patch-src_video_ScreenShotSaver.cc |   43 -
 emulators/openmsx/patches/patch-src_video_VDP.cc             |   12 -
 emulators/openmsx/patches/patch-src_video_VDPVRAM.cc         |   12 -
 emulators/openmsx/patches/patch-src_video_v9990_V9990.cc     |   12 -
 emulators/openmsx/patches/patch-src_video_v9990_V9990VRAM.cc |   12 -
 31 files changed, 307 insertions(+), 518 deletions(-)

diffs (truncated from 1197 to 300 lines):

diff -r 6a5265846fb6 -r 065ead574e6e emulators/openmsx/DESCR
--- a/emulators/openmsx/DESCR   Sun Aug 26 07:46:11 2012 +0000
+++ b/emulators/openmsx/DESCR   Sun Aug 26 09:07:21 2012 +0000
@@ -1,16 +1,7 @@
-openMSX, the open source MSX emulator that tries to achieve near-perfect
-emulation by using a novel emulation model.
-
-Hardware emulated:
+MSX emulator that aims for perfection
 
-       o almost all MSX systems, except for some details.
-       o Different CPU clock speeds, including those for the Panasonic
-         MSX2+ machines.
-       o Almost all known cartridge mapper types via autodetection or the
-          included ROM database.
-       o Many MSX storage (disk/SRAM) systems.
-       o kanji JIS ROM 1 and 2.
-       o Mouse and joystick (with option to use the keyboard as joystick).
-       o rensha turbo auto fire support.
-
-And more!
+openMSX is an open source MSX emulator that uses a unique emulation model
+which tries to achieve the highest level of accuracy possible.  It allows
+emulating a large number of different MSX machines.  Using the included
+C-BIOS ROM files, you can run game ROMs without the need to acquire the
+non-free original MSX-BIOS ROM.
diff -r 6a5265846fb6 -r 065ead574e6e emulators/openmsx/Makefile
--- a/emulators/openmsx/Makefile        Sun Aug 26 07:46:11 2012 +0000
+++ b/emulators/openmsx/Makefile        Sun Aug 26 09:07:21 2012 +0000
@@ -1,39 +1,49 @@
-# $NetBSD: Makefile,v 1.32 2012/08/21 23:49:21 marino Exp $
+# $NetBSD: Makefile,v 1.33 2012/08/26 09:07:21 marino Exp $
 #
 
-DISTNAME=              openmsx-0.6.2
-PKGREVISION=           10
+DISTNAME=              openmsx-0.9.0
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=openmsx/}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://openmsx.sourceforge.net/
 COMMENT=               MSX emulator that aims for perfection
+LICENSE=               gnu-gpl-v2
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
-USE_LANGUAGES=         c c++
+USE_LANGUAGES+=                c++
 HAS_CONFIGURE=         yes
 
 MAKE_FILE=             GNUmakefile
-CONFIGURE_ENV+=                OPENMSX_FLAVOUR=pkgsrc
-MAKE_ENV+=             OPENMSX_FLAVOUR=pkgsrc
+MAKE_ENV+=             OPENMSX_FLAVOUR=opt
+CONFIGURE_ENV+=        OPENMSX_FLAVOUR=opt
+CONFIGURE_ENV+=        LOCALBASE=${PREFIX}
+INSTALLATION_DIRS+=    bin
+INSTALL_MAKE_FLAGS+=   SYMLINK_FOR_BINARY=false
+INSTALL_MAKE_FLAGS+=   INSTALL_BASE=${PREFIX}/openmsx
+MAKE_ENV+=             OPENMSX_INSTALL=${PREFIX}/openmsx
+
+.include "../../mk/bsd.prefs.mk"
+
+.if "${PKGSRC_COMPILER}" == "clang"
+# As a result of predefining CXX, .wrapper/bin/clang++ is automatically
+# hardlinked to c++, g++, which is exactly what we what!
+CXX_OVERRIDE=clang++
+.elif "${PKGSRC_COMPILER}" == "gcc"
+CXX_OVERRIDE=g++
+.else
+CXX_OVERRIDE=${CXX}
+.endif
+CXX=${CXX_OVERRIDE}
 
 post-extract:
-       ${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
-       ${LN} -s platform-netbsd.mk ${WRKSRC}/build/platform-dragonfly.mk
-       ${ECHO_MSG} "OPENMSX_STRIP:=true" > \
-               ${WRKSRC}/build/flavour-pkgsrc.mk
-
-REPLACE_PYTHON+=       share/scripts/convert_hardwareconfig.py
-REPLACE_PYTHON+=       share/scripts/convert_hardwareconfig2.py
-
-SUBST_CLASSES+=                prefix
-SUBST_STAGE.prefix=    post-patch
-SUBST_FILES.prefix=    build/custom.mk
-SUBST_SED.prefix=      -e "s,/opt/openMSX,${PREFIX}/openmsx,"
-SUBST_MESSAGE.prefix=  Fixing installation directory.
+       ${CP} ${WRKSRC}/build/platform-freebsd.mk \
+             ${WRKSRC}/build/platform-dragonfly.mk
+       # Fix permission problem specific to release 0.9.0 and below
+       ${CHMOD} 644 ${WRKSRC}/share/extensions/debugdevice/hardwareconfig.xml
+       ${CHMOD} 644 ${WRKSRC}/share/extensions/gfx9000/hardwareconfig.xml
 
 post-build:
        (                                                       \
@@ -41,19 +51,26 @@
        ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'        \
        ) > ${WRKSRC}/openmsx.sh
 
-INSTALLATION_DIRS+=    bin
-INSTALL_MAKE_FLAGS+=   OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx
-INSTALL_MAKE_FLAGS+=   SYMLINK_FOR_BINARY=false
-
 post-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
+       @${ECHO_MSG} "======================================================================"
+       @${ECHO_MSG} "  Don't forget to have sound driver loaded before running openMSX."
+       @${ECHO_MSG} "  Otherwise, aRts will throw an exception when launching OpenMSX or"
+       @${ECHO_MSG} "  fail to create a directory called '.mcoprc' in the home directory."
+       @${ECHO_MSG} "  However, you may execute OpenMSX without sound support like this:"
+       @${ECHO_MSG} "  # env SDL_AUDIODRIVER=dummy openmsx <args>"
+       @${ECHO_MSG} "======================================================================"
 
-.include "../../lang/python/application.mk"
+.include "../../audio/libao/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/SDL_ttf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
 .include "../../graphics/SDL_image/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../lang/tcl/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6a5265846fb6 -r 065ead574e6e emulators/openmsx/PLIST
--- a/emulators/openmsx/PLIST   Sun Aug 26 07:46:11 2012 +0000
+++ b/emulators/openmsx/PLIST   Sun Aug 26 09:07:21 2012 +0000
@@ -1,11 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2009/06/14 17:51:06 joerg Exp $
+@comment $NetBSD: PLIST,v 1.7 2012/08/26 09:07:21 marino Exp $
 bin/openmsx
 openmsx/bin/openmsx
-openmsx/doc/AUTHORS
-openmsx/doc/GPL
-openmsx/doc/README
+openmsx/doc/GPL.txt
+openmsx/doc/authors.txt
 openmsx/doc/cbios.txt
-openmsx/doc/exampleconfigs.xml
 openmsx/doc/manual/commands.html
 openmsx/doc/manual/compile.html
 openmsx/doc/manual/diskmanipulator.html
@@ -14,275 +12,307 @@
 openmsx/doc/manual/manual-minty.css
 openmsx/doc/manual/manual-purple.css
 openmsx/doc/manual/manual.css
-openmsx/doc/manual/nocartfound021.png
+openmsx/doc/manual/nocartfound.png
+openmsx/doc/manual/openmsx-control.html
 openmsx/doc/manual/setup.html
 openmsx/doc/manual/user.html
-openmsx/doc/openmsx-control-xml.txt
 openmsx/doc/release-history.txt
 openmsx/doc/release-notes.txt
+openmsx/share/extensions/ASCII_MSX-DOS2/hardwareconfig.xml
+openmsx/share/extensions/AVT_DPF-550/hardwareconfig.xml
+openmsx/share/extensions/Boosted_audio/hardwareconfig.xml
 openmsx/share/extensions/Checkmark_FM_Stereo_PAK/hardwareconfig.xml
-openmsx/share/extensions/Checkmark_FM_Stereo_PAK/roms/SHA1SUMS
 openmsx/share/extensions/DDX_3.0/hardwareconfig.xml
-openmsx/share/extensions/DDX_3.0/roms/SHA1SUMS
+openmsx/share/extensions/ESE_MEGA-SCSI/hardwareconfig.xml
+openmsx/share/extensions/ESE_Ramdisk/hardwareconfig.xml
+openmsx/share/extensions/ESE_SCC/hardwareconfig.xml
+openmsx/share/extensions/ESE_WAVE-SCSI/hardwareconfig.xml
+openmsx/share/extensions/Gouda_SCSI/hardwareconfig.xml
 openmsx/share/extensions/Konami_EC-702/hardwareconfig.xml
-openmsx/share/extensions/Konami_EC-702/roms/SHA1SUMS
 openmsx/share/extensions/Konami_SD-Snatcher_Sound_Cartridge/hardwareconfig.xml
 openmsx/share/extensions/Konami_Snatcher_Sound_Cartridge/hardwareconfig.xml
+openmsx/share/extensions/Lascom_Kanji/hardwareconfig.xml
 openmsx/share/extensions/MegaRAM_Disk/hardwareconfig.xml
-openmsx/share/extensions/MegaRAM_Disk/roms/SHA1SUMS
+openmsx/share/extensions/Mega_Flash_ROM_SCC/hardwareconfig.xml
+openmsx/share/extensions/Mega_Flash_ROM_SCC_Plus/hardwareconfig.xml
 openmsx/share/extensions/Microsol_CDX-2/hardwareconfig.xml
-openmsx/share/extensions/Microsol_CDX-2/roms/SHA1SUMS
+openmsx/share/extensions/Mitsubishi_ML-30DC_ML-30FD/hardwareconfig.xml
+openmsx/share/extensions/OPL3Cartridge/hardwareconfig.xml
 openmsx/share/extensions/Panasonic_FS-CA1/hardwareconfig.xml
-openmsx/share/extensions/Panasonic_FS-CA1/roms/SHA1SUMS
 openmsx/share/extensions/Panasonic_FS-FD1A/hardwareconfig.xml
-openmsx/share/extensions/Panasonic_FS-FD1A/roms/SHA1SUMS
+openmsx/share/extensions/Password_Cartridge/hardwareconfig.xml
+openmsx/share/extensions/Philips_NMS_1200/hardwareconfig.xml
 openmsx/share/extensions/Philips_NMS_1205/hardwareconfig.xml
-openmsx/share/extensions/Philips_NMS_1205/roms/SHA1SUMS
 openmsx/share/extensions/Philips_VY_0010/hardwareconfig.xml
-openmsx/share/extensions/Philips_VY_0010/roms/SHA1SUMS
+openmsx/share/extensions/README
+openmsx/share/extensions/Sanyo_MFD-001/hardwareconfig.xml
+openmsx/share/extensions/Sharp_HB-3600/hardwareconfig.xml
 openmsx/share/extensions/Sony_HBD-50/hardwareconfig.xml
-openmsx/share/extensions/Sony_HBD-50/roms/SHA1SUMS
 openmsx/share/extensions/Sony_HBD-F1/hardwareconfig.xml
-openmsx/share/extensions/Sony_HBD-F1/roms/SHA1SUMS
+openmsx/share/extensions/Sony_HBI-232/hardwareconfig.xml
 openmsx/share/extensions/Sony_HBI-55/hardwareconfig.xml
 openmsx/share/extensions/Sony_HBK-30/hardwareconfig.xml
-openmsx/share/extensions/Sony_HBK-30/roms/SHA1SUMS
+openmsx/share/extensions/Talent_DPF-550/hardwareconfig.xml
 openmsx/share/extensions/Toshiba_HX-MU900/hardwareconfig.xml
-openmsx/share/extensions/Toshiba_HX-MU900/roms/SHA1SUMS
+openmsx/share/extensions/Yamaha_SFG-05/hardwareconfig.xml
 openmsx/share/extensions/advram/hardwareconfig.xml
 openmsx/share/extensions/audio/hardwareconfig.xml
 openmsx/share/extensions/audio2/hardwareconfig.xml
 openmsx/share/extensions/debugdevice/hardwareconfig.xml
 openmsx/share/extensions/fmpac/hardwareconfig.xml
-openmsx/share/extensions/fmpac/roms/SHA1SUMS
 openmsx/share/extensions/gfx9000/hardwareconfig.xml
 openmsx/share/extensions/ide/hardwareconfig.xml
-openmsx/share/extensions/ide/roms/SHA1SUMS
 openmsx/share/extensions/mbstereo/hardwareconfig.xml
-openmsx/share/extensions/mbstereo/roms/SHA1SUMS
 openmsx/share/extensions/megaram/hardwareconfig.xml
 openmsx/share/extensions/moonsound/hardwareconfig.xml
-openmsx/share/extensions/moonsound/roms/SHA1SUMS
 openmsx/share/extensions/msxdos2/hardwareconfig.xml
-openmsx/share/extensions/msxdos2/roms/SHA1SUMS
+openmsx/share/extensions/nowind/hardwareconfig.xml
 openmsx/share/extensions/pac/hardwareconfig.xml
 openmsx/share/extensions/ram1mb/hardwareconfig.xml
 openmsx/share/extensions/ram2mb/hardwareconfig.xml
 openmsx/share/extensions/ram4mb/hardwareconfig.xml
 openmsx/share/extensions/ram512k/hardwareconfig.xml
 openmsx/share/extensions/rs232/hardwareconfig.xml
-openmsx/share/extensions/rs232/roms/SHA1SUMS
 openmsx/share/extensions/scc+/hardwareconfig.xml
 openmsx/share/extensions/scc/hardwareconfig.xml
 openmsx/share/extensions/slotexpander/hardwareconfig.xml
+openmsx/share/extensions/video9000/hardwareconfig.xml
 openmsx/share/icons/openMSX-logo-128.png
 openmsx/share/icons/openMSX-logo-16.png
 openmsx/share/icons/openMSX-logo-32.png
 openmsx/share/icons/openMSX-logo-48.png
 openmsx/share/icons/openMSX-logo-64.png
 openmsx/share/init.tcl
-openmsx/share/keymaps/keymap.default
-openmsx/share/keymaps/keymap.rus2eng
 openmsx/share/machines/Al_Alamiah_AX170/hardwareconfig.xml
-openmsx/share/machines/Al_Alamiah_AX170/roms/SHA1SUMS
+openmsx/share/machines/Boosted_MSX2+_JP/README
+openmsx/share/machines/Boosted_MSX2+_JP/hardwareconfig.xml
 openmsx/share/machines/Boosted_MSX2_EN/README
 openmsx/share/machines/Boosted_MSX2_EN/hardwareconfig.xml
-openmsx/share/machines/Boosted_MSX2_EN/roms/README
 openmsx/share/machines/C-BIOS_MSX1/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX1/roms/cbios_logo_msx1.rom
 openmsx/share/machines/C-BIOS_MSX1/roms/cbios_main_msx1.rom
+openmsx/share/machines/C-BIOS_MSX1_BR/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX1_BR/roms/cbios_logo_msx1.rom
+openmsx/share/machines/C-BIOS_MSX1_BR/roms/cbios_main_msx1_br.rom
+openmsx/share/machines/C-BIOS_MSX1_JP/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX1_JP/roms/cbios_logo_msx1.rom
+openmsx/share/machines/C-BIOS_MSX1_JP/roms/cbios_main_msx1_jp.rom
 openmsx/share/machines/C-BIOS_MSX2+/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_logo_msx2+.rom
 openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_main_msx2+.rom
 openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_music.rom
 openmsx/share/machines/C-BIOS_MSX2+/roms/cbios_sub.rom
+openmsx/share/machines/C-BIOS_MSX2+_BR/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX2+_BR/roms/cbios_main_msx2+_br.rom
+openmsx/share/machines/C-BIOS_MSX2+_BR/roms/cbios_music.rom
+openmsx/share/machines/C-BIOS_MSX2+_BR/roms/cbios_sub.rom
+openmsx/share/machines/C-BIOS_MSX2+_JP/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX2+_JP/roms/cbios_logo_msx2+.rom
+openmsx/share/machines/C-BIOS_MSX2+_JP/roms/cbios_main_msx2+_jp.rom
+openmsx/share/machines/C-BIOS_MSX2+_JP/roms/cbios_music.rom
+openmsx/share/machines/C-BIOS_MSX2+_JP/roms/cbios_sub.rom
 openmsx/share/machines/C-BIOS_MSX2/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX2/roms/cbios_logo_msx2.rom
 openmsx/share/machines/C-BIOS_MSX2/roms/cbios_main_msx2.rom
 openmsx/share/machines/C-BIOS_MSX2/roms/cbios_sub.rom
+openmsx/share/machines/C-BIOS_MSX2_BR/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX2_BR/roms/cbios_logo_msx2.rom
+openmsx/share/machines/C-BIOS_MSX2_BR/roms/cbios_main_msx2_br.rom
+openmsx/share/machines/C-BIOS_MSX2_BR/roms/cbios_sub.rom
+openmsx/share/machines/C-BIOS_MSX2_JP/hardwareconfig.xml
+openmsx/share/machines/C-BIOS_MSX2_JP/roms/cbios_logo_msx2.rom
+openmsx/share/machines/C-BIOS_MSX2_JP/roms/cbios_main_msx2_jp.rom
+openmsx/share/machines/C-BIOS_MSX2_JP/roms/cbios_sub.rom
+openmsx/share/machines/CIEL_Expert-Turbo/hardwareconfig.xml
 openmsx/share/machines/Canon_V-20/hardwareconfig.xml
-openmsx/share/machines/Canon_V-20/roms/SHA1SUMS
 openmsx/share/machines/Daewoo_CPC-300/hardwareconfig.xml
-openmsx/share/machines/Daewoo_CPC-300/roms/SHA1SUMS
 openmsx/share/machines/Daewoo_CPC-400S/hardwareconfig.xml
-openmsx/share/machines/Daewoo_CPC-400S/roms/SHA1SUMS
 openmsx/share/machines/Daewoo_DPC-100/hardwareconfig.xml
-openmsx/share/machines/Daewoo_DPC-100/roms/SHA1SUMS
 openmsx/share/machines/Daewoo_DPC-180/hardwareconfig.xml
-openmsx/share/machines/Daewoo_DPC-180/roms/SHA1SUMS



Home | Main Index | Thread Index | Old Index