summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2010-07-24 09:44:57 +0000
committerwiz <wiz>2010-07-24 09:44:57 +0000
commitcae17bba36bee1a260d3a36e4e1c28ac8fbc955f (patch)
tree4f02fc139a2ae8896e3a4c38a4370bd97aa12554 /emulators
parent9c6f96ad924dfc96689ba8aa703eb0651975c869 (diff)
downloadpkgsrc-cae17bba36bee1a260d3a36e4e1c28ac8fbc955f.tar.gz
Update to 2.2, based on wip package by Olaf Seibert, with additional
fixes to get png, jpeg, and ffmpeg support. * Changes in VICE 2.2 ====================== ** General ---------- - On autostart, do not change true drive emulation (TDE) anymore by default. The old behaviour can be switched on again by specifiying -autostart-handle-tde on the command line. There is one drawback of this behaviour: If TDE is switched on, an image attached must fit to the drive type set. For example, when you attach a .D81, you must have the drive type set to 1581, or the autostart will fail. - Added automatic Warp mode during autostart. If this resource is enabled then VICE automatically enables the warp mode and then loads a file. After loading the warp mode is disabled again and then the program is started. - Autostarting a PRG file can now be done in three different ways: * "Virtual FS": This mode mounts the directory where the file resides as a virtual filesystem on drive #8 and then loads the PRG via virtual drive traps. This was the only way of autostarting in previous VICE versions and is still the default. * "Inject to RAM": The PRG file is loaded from VICE directly into the RAM of the emulated machine. Then the memory setup of a Basic LOAD is simulated and the program is run. This is the fastest mode available but may lack compatibility as no actual load operation was performed in the emulator. However, no drive setup is altered during the operation. * "Diskimage": VICE creates a temporary new disk image and copies the contents of the PRG file onto it. Then this image is mounted in drive #8 and the program is loaded from there. If TDE is enabled then the load operation is most compatible. The disk image stays attached until a new image is mounted. - Improved PAL emulation is now available for Unix/Xaw XVideo mode, and AmigaOS. Only the YUV packed modes work, the planar modes still use the old code paths, though. - Sound core has been reworked to enable lower latency of operation. Approximately 50 ms latency values are now routinely reached, and some people have reported that as low as 30 ms still works for them. - New SDL port. See ReadmeSDL.txt for details. - New win64 ports, both amd64/x64 and ia64 are supported (msvc compile only). - New SDL based armle, mipsle, ppcbe and shle QNX 6.x ports. - New SDL based M68k and sparc SunOS ports. - New SDL based Syllable port. - New SDL based Dingoo port. - Remote monitor (in other words: TCP/IP interface to VICE monitor) added. - Fixed non-6502/6510 CPU handling in monitor. ** C64/C128 changes ------------------- - ReSID's resampler has been optimized with MMX assembly. Some long-standing bugs in resample-interpolate mode were also fixed. - ReSID-FP has been optimized, too. It clocks the analog parts at half the rate now, which saves CPU during filter emulation especially for 6581 modes. - Added SFX Sound Sampler and SFX Sound Expander emulation. - Added EasyFlash cartridge emulation. - Added paddle emulation. - Added lightpen/lightgun emulation, currently only available for the following ports: SDL, GTK+, cocoa, win32/win64 and msdos. - Added support for the following userport joystick adapters: CGA/Protovision, DXS/HIT, PET (normally only used on the PET/CBM2), Hummer (normally only used on the C64DTV) and OEM (normally only used on the VIC20). ** C128 changes --------------- - Added RAM banks 2 and 3 support. - Improved the VDC emulation. - Stereo SID $D7xx range support. ** VIC20 changes ---------------- - New cycle exact emulation core. Handles accesses to unconnected address space and in-line graphics data changes correctly. (fixes "Impossiblator 3" and others) - Improved VIC emulation (in-line color/reverse mode changes on half-chars). - Cartridge handling rewritten. - Added Mega-Cart cartridge emulation. - Added Final Expansion cartridge emulation. - Default memory configuration changed from full to unexpanded. - Added paddle emulation. - Added lightpen/lightgun emulation, currently only available for the following ports: SDL, GTK+, cocoa, win32/win64 and msdos. - Corrected the joystick support, since the VIC20 can only have one joystick attached on the joystick port. - Added support for the following userport joystick adapters: CGA/Protovision (normally only used on the C64/C128), PET (normally only used on the PET/CBM2), Hummer (normally only used on the C64DTV) and OEM. ** PLUS4 changes ---------------- - Added Digibooster SID Cart add-on emulation. - Added SID Cart joystick port emulation. - Fixed bug in tape recording. - Improved graphics handling. ** C64DTV changes ----------------- - Replaced old DTVSID emulation with ReSID-DTV. - Minor bug fixes and emulation improvements. - Added support for the following userport joystick adapters: CGA/Protovision (normally only used on the C64/C128), PET (normally only used for the PET), Hummer and OEM (normally only used on the VIC20). ** PET changes -------------- - Corrected the joystick support, since the only way a PET can use a joystick is by a userport joystick adapter, the following userport joystick adapters are currently supported: CGA/Protovision (normally only used on the C64/C128), PET, Hummer (normally only used on the C64DTV) and OEM (normally only used on the VIC20). ** CBM2 changes --------------- - Corrected the joystick support, since the only way a CBM2 can use a joystick is by a userport joystick adapter, the following userport joystick adapters are currently supported: CGA/Protovision (normally only used on the C64/C128), PET, Hummer (normally only used on the C64DTV) and OEM (normally only used on the VIC20). ** Unix changes --------------- - Rudimentary PulseAudio sound driver has been added. - Added support for dynamic loading of FFMPEG libraries. - Added support for dynamic loading of OpenCBM and Lame library * Changes in VICE 2.1 ====================== ** General ---------- - The VICEplus project has been joined with VICE. Thus, x64dtv is now part of VICE. - We can be contacted via IRC: #vice-dev on freenode - Added a more accurate ReSID engine using floating point math (ReSID-FP). - Added support for the USB HardSID. - PAL emulation has been rewritten and optimized. - Fixed the ACIA 6551 emulation. (x64/x128/xcbm2/xpet/xplus4) - Monitor commands help text is now translated too (in ports where translation is available at all) - Monitor IO command now displays IO area even if it is currently banked out. - GCR file handling (.G64) issues an error message if the .G64 does not have the expected outline. Before, VICE just silently ignored such files. - IRQ handling fix ** C64/C128 changes ------------------- - Fixed the digimax sound generation. - Added the RR clockport disable functionality at $DF00.0. Allows to disable the RRnet. - Improved REU compatibility and timing. ** C64 changes -------------- - Added isepic cartridge emulation. - Added Double Quick Brown Box cartridge emulation. ** VIC20 changes ---------------- - Improved the sound emulation. - Fixed the lowest note bug. - Improved VIC emulation (exact in-line color/reverse mode changes). ** C64DTV changes ----------------- - New emulator. ** Unix changes --------------- - XRandR fullscreen implemented - Command line option `-fullscreen' is supposed to do something useful. - Vsync code imported from win32 (based on openGL extension). see also doc/openGLsync-howto.txt. - Vidmode (fullscreen support) is broken and therefore marked as deprecated. It will be removed in the next release if no-one takes responsibility to fix the broken code and is willing to maintain the code. - PAL Emulation (new implementation, improved speed) should be usable again (it was broken on certain display depths). - Log messages are always english. - Only x11 keymaps will be installed when doing a 'make install'. - MIDI cartridge emulation for x128, x64 and xvic. * Changes in VICE 2.0 ====================== ** General ---------- - VICE development has moved to public services: http://sf.net/projects/vice-emu You can read the latest development in the Subversion repository, file bug reports, and similar things. Check it out! - New Openserver 5.x, Openserver 6.x and Unixware ports. - New AROS64 port. - New QNX 4.x port. - New HPUX (HPPA and IA64) ports. - New SkyOS port. - New Atari Mint port. - New Solaris Express aka OpenSolaris aka Solaris 11 port. ** C64/C128 changes ------------------- - Improved $01 behaviour with regards to unused bit fall-off. - New experimental NEOS and Amiga mouse support. - Added a working RTC to the emulation of the IDE64 cartridge. - New more precise PAL emulation, works only with double size and double scan. - Added support for the Action Replay 4 and StarDos cartridges. - Improved REU compatibility - Fixed CPU timing bug introduced in 1.22 (demo "Borderless"). - Fixed bugs in the CIA emulation (demo "So-phisticated", W. Lorenz testsuite). - Fixed various bugs in VIC-II emulation: Sprite x-positioning, Latch X/Y, video mode changes, DEN bit handling, raster IRQ, NTSC sprites and sprites in full/debugging border mode (list of fixed demos/games too long to mention here). - RESTORE key is handled differently now, fixing an NMI bug because the NMI was asserted too long before. ** VIC20 changes ---------------- - Added unconnected c-bus floating byte support. - New more precise PAL emulation, works only with double size and double scan. ** PET changes -------------- - Added support for toggling CB2 sound output line. ** PLUS4 changes ---------------- - New more precise PAL emulation, works only with double size and double scan. ** Drive changes ---------------- - Fixed block allocation and interleave. ** Unix changes --------------- - Broken DGA1/DGA2 code removed - XRandR fullscreen implemented for all (but CRTC/VDC) videochips. - XRandR/Fullscreen can now toggle the Statusbar/Menu - Fixed unix mouse for single sized display. - Fixed mouse grab and xaw menu popup. - After a CPU jam user can select to resume emulation without reset. ** Miscellaneous changes ------------------------ - Added support for more 3rd party basic extenders to petcat. - Extended BMP saving to support 24bit. - Fixed the joystick code of all emulators to handle state changes on both joysticks at the same time. - New monitor commands and features. - New memmap feature which allows tracking of memory accesses, activated by the configure option --enable-memmap. - Fixed bug in ffmpeg/FFV1 driver. Should be really lossless now.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vice/Makefile17
-rw-r--r--emulators/vice/PLIST97
-rw-r--r--emulators/vice/distinfo17
-rw-r--r--emulators/vice/options.mk7
-rw-r--r--emulators/vice/patches/patch-aa4
-rw-r--r--emulators/vice/patches/patch-ab185
-rw-r--r--emulators/vice/patches/patch-ad15
-rw-r--r--emulators/vice/patches/patch-af26
8 files changed, 217 insertions, 151 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index f94932c89d3..31db64004d8 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -1,15 +1,19 @@
-# $NetBSD: Makefile,v 1.83 2010/06/13 22:44:15 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2010/07/24 09:44:57 wiz Exp $
#
-DISTNAME= vice-1.22
-PKGREVISION= 8
+DISTNAME= vice-2.2
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.zimmers.net/pub/cbm/crossplatform/emulators/VICE/ \
- http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/
+ http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/ \
+ http://www.trikaliotis.net/Download/vice/
-MAINTAINER= kristerw@NetBSD.org
-HOMEPAGE= http://www.viceteam.org/
+MAINTAINER= rhialto@falu.nl
+HOMEPAGE= http://vice-emu.sourceforge.net/
COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20
+LICENSE= gnu-gpl-v2
+
+PATCH_SITES= http://www.students.tut.fi/~nuotio/
+PATCHFILES+= vice_2_2_netbsd.patch
PKG_DESTDIR_SUPPORT= user-destdir
@@ -44,6 +48,7 @@ CONFIGURE_ARGS+= --without-oss
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
diff --git a/emulators/vice/PLIST b/emulators/vice/PLIST
index cf3904c7973..3dbe433f934 100644
--- a/emulators/vice/PLIST
+++ b/emulators/vice/PLIST
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.21 2009/06/14 17:51:09 joerg Exp $
+@comment $NetBSD: PLIST,v 1.22 2010/07/24 09:44:57 wiz Exp $
bin/c1541
bin/cartconv
bin/petcat
bin/vsid
bin/x128
bin/x64
+bin/x64dtv
bin/xcbm2
bin/xpet
bin/xplus4
@@ -16,22 +17,30 @@ man/man1/vice.1
share/doc/vice/64doc.txt
share/doc/vice/BUGS
share/doc/vice/COPYING
+share/doc/vice/CommodoreInnovationPriceSoftware2008.jpg
+share/doc/vice/GP2X-Howto.txt
share/doc/vice/MSDOS-Ethernet-Howto.txt
share/doc/vice/MSDOS-Howto.txt
+share/doc/vice/MacOSX-Build.txt
+share/doc/vice/MacOSX-ResourceTree.txt
share/doc/vice/Minix-Howto.txt
share/doc/vice/NEWS
share/doc/vice/NLS-Howto.txt
+share/doc/vice/OpenVMS-Howto.txt
share/doc/vice/PETdoc.txt
share/doc/vice/Readme.beos
share/doc/vice/Readme.dos
share/doc/vice/ReadmeMacOSX.txt
+share/doc/vice/ReadmeSDL.txt
share/doc/vice/TODO
share/doc/vice/Walkthrough-Howto.txt
+share/doc/vice/Win32-Cygwin-HOWTO.txt
share/doc/vice/Win32-Howto.txt
share/doc/vice/amigaos.html
share/doc/vice/beos.html
share/doc/vice/cartconv.txt
share/doc/vice/cbm_basic_tokens.txt
+share/doc/vice/coding-guidelines.txt
share/doc/vice/drive_info.txt
share/doc/vice/iec-bus.txt
share/doc/vice/index.html
@@ -39,6 +48,8 @@ share/doc/vice/macosx.html
share/doc/vice/mon.txt
share/doc/vice/new.gif
share/doc/vice/openGLsync-howto.txt
+share/doc/vice/qnx.html
+share/doc/vice/sco.html
share/doc/vice/serial.txt
share/doc/vice/solaris.html
share/doc/vice/vice-logo.jpg
@@ -59,6 +70,7 @@ share/doc/vice/vice_7.html
share/doc/vice/vice_8.html
share/doc/vice/vice_9.html
share/doc/vice/vice_toc.html
+share/locale/da/LC_MESSAGES/vice.mo
share/locale/de/LC_MESSAGES/vice.mo
share/locale/fr/LC_MESSAGES/vice.mo
share/locale/hu/LC_MESSAGES/vice.mo
@@ -66,14 +78,10 @@ share/locale/it/LC_MESSAGES/vice.mo
share/locale/nl/LC_MESSAGES/vice.mo
share/locale/pl/LC_MESSAGES/vice.mo
share/locale/sv/LC_MESSAGES/vice.mo
-share/vice/C128/ROdflt.vkm
-share/vice/C128/amiga_pos.vkm
-share/vice/C128/amiga_sym.vkm
+share/locale/tr/LC_MESSAGES/vice.mo
share/vice/C128/basic64
share/vice/C128/basichi
share/vice/C128/basiclo
-share/vice/C128/beos_pos.vkm
-share/vice/C128/beos_sym.vkm
share/vice/C128/c64hq.vpl
share/vice/C128/c64s.vpl
share/vice/C128/ccs64.vpl
@@ -83,8 +91,6 @@ share/vice/C128/chargfr
share/vice/C128/chargse
share/vice/C128/default.vpl
share/vice/C128/default.vrs
-share/vice/C128/dos_pos.vkm
-share/vice/C128/dos_sym.vkm
share/vice/C128/frodo.vpl
share/vice/C128/godot.vpl
share/vice/C128/kernal
@@ -95,22 +101,13 @@ share/vice/C128/kernalfr
share/vice/C128/kernalit
share/vice/C128/kernalno
share/vice/C128/kernalse
-share/vice/C128/os2.vkm
-share/vice/C128/osx_pos.vkm
-share/vice/C128/osx_sym.vkm
share/vice/C128/pc64.vpl
+share/vice/C128/vdc_comp.vpl
share/vice/C128/vdc_deft.vpl
share/vice/C128/vice.vpl
-share/vice/C128/win_pos.vkm
-share/vice/C128/win_sym.vkm
share/vice/C128/x11_pos.vkm
share/vice/C128/x11_sym.vkm
-share/vice/C64/ROdflt.vkm
-share/vice/C64/amiga_pos.vkm
-share/vice/C64/amiga_sym.vkm
share/vice/C64/basic
-share/vice/C64/beos_pos.vkm
-share/vice/C64/beos_sym.vkm
share/vice/C64/c64hq.vpl
share/vice/C64/c64mem.sym
share/vice/C64/c64s.vpl
@@ -118,31 +115,27 @@ share/vice/C64/ccs64.vpl
share/vice/C64/chargen
share/vice/C64/default.vpl
share/vice/C64/default.vrs
-share/vice/C64/dos_pos.vkm
-share/vice/C64/dos_sym.vkm
share/vice/C64/frodo.vpl
share/vice/C64/godot.vpl
share/vice/C64/kernal
-share/vice/C64/os2.vkm
-share/vice/C64/os2_sym.vkm
-share/vice/C64/osx_pos.vkm
-share/vice/C64/osx_sym.vkm
share/vice/C64/pc64.vpl
share/vice/C64/vice.vpl
-share/vice/C64/win_pos.vkm
-share/vice/C64/win_sym_de.vkm
-share/vice/C64/win_sym_us.vkm
share/vice/C64/x11_pos.vkm
+share/vice/C64/x11_posger.vkm
share/vice/C64/x11_sym.vkm
-share/vice/CBM-II/ROdflt.vkm
+share/vice/C64/x11_symger.vkm
+share/vice/C64DTV/basic
+share/vice/C64DTV/c64mem.sym
+share/vice/C64DTV/chargen
+share/vice/C64DTV/default.vrs
+share/vice/C64DTV/dtvrom.bin
+share/vice/C64DTV/kernal
+share/vice/C64DTV/x11_pos.vkm
+share/vice/C64DTV/x11_sym.vkm
share/vice/CBM-II/amber.vpl
-share/vice/CBM-II/amiga_bukp.vkm
-share/vice/CBM-II/amiga_buks.vkm
share/vice/CBM-II/basic.128
share/vice/CBM-II/basic.256
share/vice/CBM-II/basic.500
-share/vice/CBM-II/beos_bukp.vkm
-share/vice/CBM-II/beos_buks.vkm
share/vice/CBM-II/c64hq.vpl
share/vice/CBM-II/c64s.vpl
share/vice/CBM-II/ccs64.vpl
@@ -150,14 +143,11 @@ share/vice/CBM-II/chargen.500
share/vice/CBM-II/chargen.600
share/vice/CBM-II/chargen.700
share/vice/CBM-II/default.vpl
-share/vice/CBM-II/dos_bukp.vkm
-share/vice/CBM-II/dos_buks.vkm
share/vice/CBM-II/frodo.vpl
share/vice/CBM-II/godot.vpl
share/vice/CBM-II/green.vpl
share/vice/CBM-II/kernal
share/vice/CBM-II/kernal.500
-share/vice/CBM-II/os2.vkm
share/vice/CBM-II/pc64.vpl
share/vice/CBM-II/rom128h.vrs
share/vice/CBM-II/rom128l.vrs
@@ -165,8 +155,6 @@ share/vice/CBM-II/rom256h.vrs
share/vice/CBM-II/rom256l.vrs
share/vice/CBM-II/rom500.vrs
share/vice/CBM-II/white.vpl
-share/vice/CBM-II/win_pos_uk.vkm
-share/vice/CBM-II/win_sym_uk.vkm
share/vice/CBM-II/x11_buks.vkm
share/vice/DRIVES/d1541II
share/vice/DRIVES/d1571cr
@@ -180,20 +168,12 @@ share/vice/DRIVES/dos2031
share/vice/DRIVES/dos2040
share/vice/DRIVES/dos3040
share/vice/DRIVES/dos4040
-share/vice/PET/RObusi.vkm
-share/vice/PET/ROgrph.vkm
share/vice/PET/amber.vpl
-share/vice/PET/amiga_bgrs.vkm
-share/vice/PET/amiga_buks.vkm
share/vice/PET/basic1
share/vice/PET/basic2
share/vice/PET/basic4
-share/vice/PET/beos_bgrs.vkm
-share/vice/PET/beos_buks.vkm
share/vice/PET/chargen
share/vice/PET/chargen.de
-share/vice/PET/dos_bgrs.vkm
-share/vice/PET/dos_buks.vkm
share/vice/PET/edit1g
share/vice/PET/edit2b
share/vice/PET/edit2g
@@ -204,8 +184,6 @@ share/vice/PET/green.vpl
share/vice/PET/kernal1
share/vice/PET/kernal2
share/vice/PET/kernal4
-share/vice/PET/os2.vkm
-share/vice/PET/os2_40.vkm
share/vice/PET/rom1g.vrs
share/vice/PET/rom2b.vrs
share/vice/PET/rom2g.vrs
@@ -213,29 +191,17 @@ share/vice/PET/rom4b40.vrs
share/vice/PET/rom4b80.vrs
share/vice/PET/rom4g40.vrs
share/vice/PET/white.vpl
-share/vice/PET/win_sym_gr.vkm
-share/vice/PET/win_sym_uk.vkm
share/vice/PET/x11_bdep.vkm
share/vice/PET/x11_bdes.vkm
share/vice/PET/x11_bgrs.vkm
share/vice/PET/x11_buks.vkm
share/vice/PLUS4/3plus1hi
share/vice/PLUS4/3plus1lo
-share/vice/PLUS4/ROdflt.vkm
-share/vice/PLUS4/amiga_pos.vkm
-share/vice/PLUS4/amiga_sym.vkm
share/vice/PLUS4/basic
-share/vice/PLUS4/beos_pos.vkm
-share/vice/PLUS4/beos_sym.vkm
share/vice/PLUS4/default.vpl
share/vice/PLUS4/default.vrs
-share/vice/PLUS4/dos_pos.vkm
-share/vice/PLUS4/dos_sym.vkm
share/vice/PLUS4/kernal
-share/vice/PLUS4/os2.vkm
share/vice/PLUS4/vice.vpl
-share/vice/PLUS4/win_pos.vkm
-share/vice/PLUS4/win_sym.vkm
share/vice/PLUS4/x11_pos.vkm
share/vice/PLUS4/x11_sym.vkm
share/vice/PRINTER/cbm1526
@@ -243,21 +209,12 @@ share/vice/PRINTER/mps801
share/vice/PRINTER/mps803
share/vice/PRINTER/mps803.vpl
share/vice/PRINTER/nl10-cbm
-share/vice/VIC20/ROdflt.vkm
-share/vice/VIC20/amiga_pos.vkm
-share/vice/VIC20/amiga_sym.vkm
share/vice/VIC20/basic
-share/vice/VIC20/beos_pos.vkm
-share/vice/VIC20/beos_sym.vkm
share/vice/VIC20/chargen
share/vice/VIC20/default.vpl
share/vice/VIC20/default.vrs
-share/vice/VIC20/dos_pos.vkm
-share/vice/VIC20/dos_sym.vkm
share/vice/VIC20/kernal
-share/vice/VIC20/os2.vkm
-share/vice/VIC20/win_pos.vkm
-share/vice/VIC20/win_sym.vkm
share/vice/VIC20/x11_pos.vkm
share/vice/VIC20/x11_sym.vkm
-share/vice/fonts/vice-cbm.pcf
+share/vice/fonts/CBM.ttf
+share/vice/fonts/vice-cbm.bdf
diff --git a/emulators/vice/distinfo b/emulators/vice/distinfo
index c1003570c2b..7137accac2e 100644
--- a/emulators/vice/distinfo
+++ b/emulators/vice/distinfo
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.34 2010/06/05 12:29:53 wiz Exp $
+$NetBSD: distinfo,v 1.35 2010/07/24 09:44:57 wiz Exp $
-SHA1 (vice-1.22.tar.gz) = 55e0047824f64173539e03ddd2d5ab51cd581fbb
-RMD160 (vice-1.22.tar.gz) = ca93fc424e617e38f27e288ebcdfbab2aa3659db
-Size (vice-1.22.tar.gz) = 6088483 bytes
-SHA1 (patch-aa) = 16bc2420025494bee1eb6ed64c7b746f001406f7
-SHA1 (patch-ab) = 5c480e693b3ba16d36d740d1ba56c85553d2665b
-SHA1 (patch-af) = c3300ce505dfd4c92c01503ab7dbfb84f9283cd8
+SHA1 (vice-2.2.tar.gz) = 88ec1f4fefc708957b242805a28ca9b26a3e2738
+RMD160 (vice-2.2.tar.gz) = d3fb33deb776ffcae297df413849437fb4e49840
+Size (vice-2.2.tar.gz) = 9597027 bytes
+SHA1 (vice_2_2_netbsd.patch) = fd6ca57372efde9d467da221f4b5b8454b8062fc
+RMD160 (vice_2_2_netbsd.patch) = 26cd48aa79eae7976f41f4dacf972d81c5da788e
+Size (vice_2_2_netbsd.patch) = 4437 bytes
+SHA1 (patch-aa) = 08ac51c0674fde12ff0032a69f7c301464c1b408
+SHA1 (patch-ab) = 982424905a9fb8eb011d19b3ec649b5d7a01ca83
+SHA1 (patch-ad) = 0ace2e00ed2f66c8669ec745b62118570187735a
diff --git a/emulators/vice/options.mk b/emulators/vice/options.mk
index 9fec5a606f8..a9eb3acf4dc 100644
--- a/emulators/vice/options.mk
+++ b/emulators/vice/options.mk
@@ -1,9 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2007/05/29 08:41:29 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2010/07/24 09:44:57 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vice
-# ffmpeg support for vice-1.21 needs at least ffmpeg-0.5.1
-#PKG_SUPPORTED_OPTIONS= esound ffmpeg lame gnome
-PKG_SUPPORTED_OPTIONS= esound lame gnome
+PKG_SUPPORTED_OPTIONS= esound ffmpeg lame gnome
.include "../../mk/bsd.options.mk"
@@ -15,6 +13,7 @@ CONFIGURE_ARGS+= --without-esd
.if !empty(PKG_OPTIONS:Mffmpeg)
CONFIGURE_ARGS+= --enable-ffmpeg
+USE_TOOLS+= pkg-config
.include "../../multimedia/ffmpeg/buildlink3.mk"
. if !empty(PKG_OPTIONS:Mlame)
. include "../../audio/lame/buildlink3.mk"
diff --git a/emulators/vice/patches/patch-aa b/emulators/vice/patches/patch-aa
index 53a55148cbc..3989328ca3c 100644
--- a/emulators/vice/patches/patch-aa
+++ b/emulators/vice/patches/patch-aa
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.9 2008/06/20 01:10:02 joerg Exp $
+$NetBSD: patch-aa,v 1.10 2010/07/24 09:44:57 wiz Exp $
+
+Better destdir support.
--- po/Makefile.in.in.orig 2008-06-18 16:02:50.000000000 +0000
+++ po/Makefile.in.in
diff --git a/emulators/vice/patches/patch-ab b/emulators/vice/patches/patch-ab
index d9b7b0c6581..169f3b53c0a 100644
--- a/emulators/vice/patches/patch-ab
+++ b/emulators/vice/patches/patch-ab
@@ -1,46 +1,157 @@
-$NetBSD: patch-ab,v 1.9 2009/07/12 22:10:59 hasso Exp $
+$NetBSD: patch-ab,v 1.10 2010/07/24 09:44:57 wiz Exp $
---- configure.orig 2009-07-12 21:48:36 +0300
-+++ configure 2009-07-12 21:49:57 +0300
-@@ -27831,7 +27831,7 @@ _ACEOF
+1. dynamic lib support does not depend on the existence of libdl
+2. fix test(1) == (only supported by bash)
+3. fix png detection, was looking for symbol that is a #define
+ in png>=1.4
+
+--- configure.orig 2009-12-14 19:40:01.000000000 +0000
++++ configure
+@@ -12642,6 +12642,7 @@ fi
+ echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+ if test $ac_cv_lib_dl_dlopen = yes; then
+ DYNLIB_LIBS="-ldl";
++fi
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_DYNLIB_SUPPORT
+@@ -12649,7 +12650,6 @@ _ACEOF
+
+ dynlib_support=yes
+
+-fi
+ fi
+ elif test x"$is_win32" = "xyes" ; then
+@@ -19019,7 +19019,7 @@ fi
+ done
- case "$host_os" in
-- netbsd*)
-+ *)
- VICEDIR="$PREFIX/share/vice";
+- if test x"$with_pulse" == "xyes"; then
++ if test x"$with_pulse" = "xyes"; then
-@@ -27844,32 +27844,6 @@ else
+ for ac_header in pulse/simple.h
+ do
+@@ -26103,10 +26103,10 @@ fi
+
+
+ if test x"$ac_cv_header_png_h" = "xyes" ; then
+- unset ac_cv_lib_png_png_check_sig
+- { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
+-echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
++ unset ac_cv_lib_png_png_sig_cmp
++ { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
++echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
++if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+@@ -26124,11 +26124,11 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char png_check_sig ();
++char png_sig_cmp ();
+ int
+ main ()
+ {
+-return png_check_sig ();
++return png_sig_cmp ();
+ ;
+ return 0;
+ }
+@@ -26151,21 +26151,21 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+- ac_cv_lib_png_png_check_sig=yes
++ ac_cv_lib_png_png_sig_cmp=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+- ac_cv_lib_png_png_check_sig=no
++ ac_cv_lib_png_png_sig_cmp=no
fi
- ;;
-- freebsd*)
-- VICEDIR="$PREFIX/lib/vice";
--
--
--if true; then
-- ALTERNATE_DOCDIR_TRUE=
-- ALTERNATE_DOCDIR_FALSE='#'
--else
-- ALTERNATE_DOCDIR_TRUE='#'
-- ALTERNATE_DOCDIR_FALSE=
--fi
--
-- ;;
-- *)
-- VICEDIR="$PREFIX/lib/vice";
--
--
--if false; then
-- ALTERNATE_DOCDIR_TRUE=
-- ALTERNATE_DOCDIR_FALSE='#'
--else
-- ALTERNATE_DOCDIR_TRUE='#'
-- ALTERNATE_DOCDIR_FALSE=
--fi
--
-- ;;
- esac
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
+-echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
+-if test $ac_cv_lib_png_png_check_sig = yes; then
++{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
++echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
++if test $ac_cv_lib_png_png_sig_cmp = yes; then
+ GFXOUTPUT_LIBS="-lpng $GFXOUTPUT_LIBS";
+ GFXOUTPUT_DRIVERS="$GFXOUTPUT_DRIVERS pngdrv.o";
+
+@@ -26175,11 +26175,11 @@ _ACEOF
+
+ fi
+
+- if test "$ac_cv_lib_png_png_check_sig" = "no"; then
+- unset ac_cv_lib_png_png_check_sig
+- { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
+-echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
++ if test "$ac_cv_lib_png_png_sig_cmp" = "no"; then
++ unset ac_cv_lib_png_png_sig_cmp
++ { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
++echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
++if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+@@ -26197,11 +26197,11 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char png_check_sig ();
++char png_sig_cmp ();
+ int
+ main ()
+ {
+-return png_check_sig ();
++return png_sig_cmp ();
+ ;
+ return 0;
+ }
+@@ -26224,21 +26224,21 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+- ac_cv_lib_png_png_check_sig=yes
++ ac_cv_lib_png_png_sig_cmp=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+- ac_cv_lib_png_png_check_sig=no
++ ac_cv_lib_png_png_sig_cmp=no
+ fi
+
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
+-echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
+-if test $ac_cv_lib_png_png_check_sig = yes; then
++{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
++echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
++if test $ac_cv_lib_png_png_sig_cmp = yes; then
+ GFXOUTPUT_LIBS="-lpng -lz $GFXOUTPUT_LIBS";
+ GFXOUTPUT_DRIVERS="$GFXOUTPUT_DRIVERS pngdrv.o";
+
+@@ -26250,7 +26250,7 @@ fi
+ fi
+ fi
+- if test x"$ac_cv_lib_png_png_check_sig" != "xyes"; then
++ if test x"$ac_cv_lib_png_png_sig_cmp" != "xyes"; then
+ if test x"$with_zlib" != "xno" ; then
+ cat >>confdefs.h <<\_ACEOF
diff --git a/emulators/vice/patches/patch-ad b/emulators/vice/patches/patch-ad
new file mode 100644
index 00000000000..f62412b6b11
--- /dev/null
+++ b/emulators/vice/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.14 2010/07/24 09:44:57 wiz Exp $
+
+Fix build with current X headers.
+
+--- src/arch/unix/x11/xaw/x11video.c.orig 2009-10-21 16:46:45.000000000 +0000
++++ src/arch/unix/x11/xaw/x11video.c
+@@ -59,6 +59,8 @@
+ #include <X11/Xutil.h>
+ #include <X11/Intrinsic.h>
+ #include <X11/cursorfont.h>
++#include <X11/Xmd.h>
++#include <X11/extensions/shmproto.h>
+
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/emulators/vice/patches/patch-af b/emulators/vice/patches/patch-af
deleted file mode 100644
index ff90a1562b3..00000000000
--- a/emulators/vice/patches/patch-af
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-af,v 1.7 2010/06/05 12:29:53 wiz Exp $
-
---- src/arch/unix/x11/video.c.orig 2007-08-04 13:24:43.000000000 +0000
-+++ src/arch/unix/x11/video.c
-@@ -56,6 +56,9 @@
- #include <X11/Xutil.h>
- #include <X11/Intrinsic.h>
- #include <X11/cursorfont.h>
-+#include <X11/extensions/Xxf86dga.h>
-+#include <X11/Xmd.h>
-+#include <X11/extensions/shmproto.h>
-
- #include <stdio.h>
- #include <stdlib.h>
-@@ -221,11 +224,7 @@ int video_init_cmdline_options(void)
-
- /* ------------------------------------------------------------------------- */
-
--#if !defined(__NETBSD__)
- static GC _video_gc;
--#else
--GC _video_gc;
--#endif
- static void (*_refresh_func)();
-
- /* This is set to 1 if the Shared Memory Extensions can actually be used. */