Up to [cvs.NetBSD.org] / pkgsrc / emulators / dgen
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
revbump packages due to devel/libslang2 removal
dgen: Disable old arm assembly to avoid issues with instruction compat
dgen: Disable broken i386 asm
*: Mark packages that were originally identified as requiring C++03 due to failing to build with a C++14 default compiler with FORCE_CXX_STD instead of USE_LANGUAGES.
dgen: Avoid building cyclone, since it seems to fail on armv7. nasm is a TOOL_DEPENDS. Bump PKGREVISION
emulators/dgen: remove unknown configure option
*: Convert broken sourceforge HOMEPAGEs back to http
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
dgen-sdl: Update to 1.33 v1.33 <- v1.32 * Joystick hat is now handled correctly. * Added bindings to switch between previous/next save slots. * Fixed joystick calibration issues. * Fixed ROM corruption when using Musashi. ROM was not actually read-only. * Fixed support for overlapping save RAM and ROM areas. * When only Musashi is compiled-in, ROM is not byteswapped anymore to improve performance. * Disabled automatic ROM checksum fix as it prevents a few ROMs from working correctly. Can still be done manually. * Debugger: fixed Musashi disassembler to avoid truncating values read from memory. * Debugger: removed dependency on Musashi. Debugger support can now be enabled without it, but it won't be able to disassemble M68K code when doing so. * Debugger: M68K debugging is now supported by all M68K cores (Musashi, StarScream and Cyclone). * Debugger: fixed Z80 endianness issue when displaying registers. * Improved Z80 BUSREQ/RESET IO read emulation to fix a few games that rely on prefetched PC data when reading these addresses. * Implemented word (16 bit) memory callbacks for CZ80 to improve performance. * Debugger: integrated dZ80, a Z80 disassembler. * Fixed interrupt mode 0 in CZ80, fixes sound issues in a few games. * Debugger: added full Z80 debugging support. It is supported by all Z80 cores (MZ80, CZ80 and DrZ80). * Fixed CPU dump/restore routines which caused games to crash when switching between CPU emulators. * Fixed DrZ80 documentation about its Z80 state structure. Modified DGen accordingly to solve dump/restore issues. * Replaced bool_opengl_aspect with bool_aspect, which also forces scaling by the same amount in both directions. * Merged scaling and pre/postscale filters APIs. Crap TV filters and scalers (scale2x, hqx) now use a similar API. Makes things a lot simpler. * Added "stretch" filter to replace the basic scaler. As its name suggests, this filter can stretch the picture to fit the window size and is as fast as its predecessor. Useful when OpenGL cannot be used. * Since filters can be stacked, added two combinations: scale2x + stretch and hqx + stretch. Obviously slower than scale2x or hqx alone, but allows picture to fit the entire window while looking nicer than simply stretching it. * Refactored screen initialization, window size is now completely free and never modified by DGen/SDL (except during init). * Disabled save/restore when no ROM is loaded. * Added config_save and config_load commands. * Calibration screen is not a CTV filter anymore and is always available. * Added preliminary support for Sega Pico. * Added VGM dumping functionality (vgmdump command). * Fixed DAC data type for Cyclone (distorted sound due to improper type conversion). * Improved DAC rendering for much better sound quality (try Tiido's Tempo Theme ROM). The default sound rate is now 44100Hz instead of 22050Hz. * Added missing YM2612 and DAC information to save states. * Fixed pbm2df issues on Windows by open files in text mode. * Fixed bind_* commands to run only once. * Added support for key/joystick button combinations bindings. In short, pressing several buttons simultaneously to execute a command (such as quitting DGen/SDL) is now supported. See documentation. * Merged stopped and main events loops to remove some redundancy. * Added standard bindings for Pico pen. * Added mouse input support. Mouse buttons and axes can be bound like any other controller (also added mou_* variables similar to joy_* and key_*). * Fixed sound (re)initialization which sometimes caused sound to stop after loading a ROM. * Added various workarounds for fbcon (Linux's framebuffer). A common issue is screen blinking due to double buffering, now disabled by default. Inability to run as a normal user due to missing mouse input and hanging during SDL_SetVideoMode() are also worked around. * Usual bunch of miscellaneous bugfixes and improvements (libarchive API update, many compilation warnings and other issues introduced by recent changes).
Mark packages that require C++03 (or the GNU variants) if they fail with C++14 default language.
Remove sed wrapper substitutions. The original options are no longer and cwrappers doesn't support sed matches.
Recursive revbump following MesaLib update, categories a through f.
Pullup ticket #4663 - requested by joerg emulators/dgen - ARM build fix Revisions pulled up: - emulators/dgen/Makefile 1.24 --- Module Name: pkgsrc Committed By: joerg Date: Tue Apr 14 14:22:01 UTC 2015 Modified Files: pkgsrc/emulators/dgen: Makefile Log Message: Set correct PLIST variable for ARM.
Set correct PLIST variable for ARM.
For ARM, an additional binary is produced, so adjust the PLIST. Fix mismatches between prototypes and implementations. Use unified ARM syntax.
MACHINE_ARCH needs bsd.prefs.mk.
Update to 1.32. Changes: * Imported hqx filters. * Added debugger support. * Rendered screen is now scaled by a factor of 2 by default. * Fixed joystick issues. bool_joystick is also enabled by default. * DGen is now fully controllable from a joystick/joypad. * Imported Cyclone 68000 0.099, a M68K core written in pure ARM assembly. * Imported DrZ80, a Z80 core also written in pure ARM assembly. * Cyclone 68000 and DrZ80 are now the default CPU emulators on ARM. * Lots of bugfixes.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update to 1.28, provided by Opolo Remo <gatta1@dcemail.com>. v1.28 <- v1.27 * ROM loader can now use libarchive when available for decompression. This replaces the previous system()-based implementation. * "tobin" has been renamed "dgen_tobin" and no longer has dependencies on SDL and other unnecessary libraries. * CZ80: fixed emulation bug ("weird sound") introduced just before the 1.27 release. * Improved CZ80/MZ80 switching. * Improved save file handling. Z80 context and other important things are now stored. The format is mostly compatible with Gens v5 and save states can be exchanged between both emulators. Old save files are still supported. * YM2612: upgraded from version 0.35f to 1.4b, as found in Final Burn Alpha. Sound quality has improved as a result. * Improved sound buffer management again, a single buffer is now used with both channels instead of two separate buffers. * Removed 8-bit sound output format since it was useless and annoying to support with the new buffer. * Removed superfluous window resizing messages. * Game Genie codes can now be entered while in stopped mode to avoid crashes when more than one is needed at once. Also, DGen now supports RAM patching. * Corrected clock frequencies for YM2612 and SN76496, sound is pitched a bit higher than before. * Added region selection command-line option. This option reuses "-R" (realtime priority). In case this option isn't given, the default region used by DGen is now the first found in the ROM header. This option has no effect on PAL (50Hz) mode which needs to be enabled separately. * OpenGL: a single OpenGL texture (and subtexture) is now used instead of two smaller ones, thus removing some of the complexity. * Usual batch of miscellaneous bugfixes. v1.27 <- v1.26 * Documentation clean-up, sample.dgenrc update. * Compilation fixes for MZ80. * When both Musashi and StarScream are available, default to Musashi since it provides better emulation. * Imported CZ80 0.91. This Z80 emulator is pure C and works better than the C version of MZ80. This means that on non-x86/32 bit hardware, games that previously didn't have sound now work properly (Sonic 2 for instance). Thanks to DGen PSP which implemented CZ80 first. * Modified CZ80 to work properly on big-endian machines. * When both CZ80 and MZ80 are available, CZ80 is now the default. * DGen can now be compiled without any external modules. MZ80, CZ80, Musashi and StarScream can all be disabled. * There's now a toggle key (F10 by default) to switch between MZ80, CZ80 or neither. * The Musashi/StarScream toggle key can now disable them both. * New rc variables for selecting default emulators. * FPS are now calculated every second for a more accurate message at exit. * Implemented bool_show_carthead. * Game Genie codes can now be entered interactively by pressing F9. They can also be disabled by re-entering them. * Various other fixes. v1.26 <- v1.25 * Upgraded Musashi from 2.0 to 3.3.1. This version solves various emulation problems. * Reworked autoconf and automake scripts to improve readability and portability. * Added support for MinGW. DGen can now run in Windows. * Fixed messy border again, this time for all video color depths. * OpenGL: added bool_opengl_aspect to keep the original aspect ratio during resizing. This option is enabled by default. * Added support for 24 bpp (3 Bpp) mode. * Made Crap TV filters available for all architectures, color depths and OpenGL. * OpenGL: fixed GL_LINEAR support so it can be used again instead of GL_NEAREST, one can switch between them with bool_opengl_linear (enabled by default). * Refactored the main loop and SDL code for a smooth frame rate with an improved sound synchronization. * Made a wrapper to open and create files relative to user's home directory in a system-independant manner. * Fixed Z80 speed in NTSC mode, sound effects were abnormally high pitched. * Improved FPS counter. * Removed SIGALRM for improved portability. * OpenGL: now enabled by default when available. * MZ80: fixed segfault on reset. * OpenGL: use 16 bpp mode internally instead of 32, allow textures to be 16 (default) or 32 bit with bool_opengl_32bit. * OpenGL: added bool_opengl_swap to byte-swap colors when the host computer endianness is not the same as the ouptut (possible with X11 sessions). * Screenshots are now generated from the internal video buffer as TARGA files so they are available in all modes (OpenGL or not) and depths (except 8 bpp, as usual). Their output directory is ~/.dgen/screenshots. * OpenGL: the message bar now spans both textures. * Improved stopped mode to be less easily unstopped and to avoid dropping frames. Also, it now accepts resizes and refreshes. * Added the -H option to tweak emulation speed. Can be used to run 50Hz games at 60Hz. v1.25 <- v1.24 * Added 64 bits targets support, DGen can now run on those. * Minor fix for joystick/joypad when sizeof(int) != sizeof(long). * Fixed messy border issue (garbage on the right of the screen). * OpenGL: worked around the vertical dark line between textures. * OpenGL: the visible area now takes the entire window (except for the status line). No more borders. * OpenGL: the window can now be resized/rescaled at runtime. * Fixed bug in which SDL-specific fields in dgenrc were not taken into account when no command-line option was given. * Replaced dgenrc parser with a better one. It breaks compatibility a little with the previous version because special characters now need to be escaped or put between quotation marks. * Improved configure and Makefiles for proper SDL/OpenGL detection, better dependencies in parallel builds, NASM's presence on x86 targets which shouldn't be mandatory and various other things. * Fixed many crashes. * Removed many compilation warnings. v1.24 <- v1.23 * Fixed compilation on GCC 4.
Transfer ownership to pkgsrc-users. pancake's address is not valid any more and he has agreed in private mail to drop maintainership.
Add DESTDIR support.
Make this build with gcc4.
Bump PKGREVISION and BUILDLINK_ABI_DEPENDS (where applicable) for SDL shlib changes.
Uses C++.
Fixed pkglint warnings.
Recursive revision bump / recommended bump for gettext ABI change.
Convert aalib to options framework, adding an 'x11' option, and remove aalib-x11 and aview-x11. SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED) for affected packages. Addresses PR 32046 by Leonard Schmidt.
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
PKGREVISION bump for glut dependency removal (SDL/buildlink3.mk).
Only transform -maling-* if !empty(CC_VERSION:Mgcc-3*).
Shut up the warnings when building.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Convert to buildlink3.
replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
Initial import of dgen 1.2.3. Package provided by pancake <pancake@phreaker.net> via pkgsrc-wip. This is DGen/SDL, a semi-fantastic emulator for Unix-esque operating systems supported by the Simple DirectMedia Layer (SDL) library. It produces a virtual environment in which Sega Genesis (MegaDrive outside the US) games may run with fairly accurate audio and video.
Initial revision