Subject: CVS commit: pkgsrc/emulators/xmame
To: None <pkgsrc-changes@NetBSD.org>
From: Krister Walfridsson <kristerw@netbsd.org>
List: pkgsrc-changes
Date: 11/06/2004 21:41:52
Module Name:	pkgsrc
Committed By:	kristerw
Date:		Sat Nov  6 21:41:52 UTC 2004

Modified Files:
	pkgsrc/emulators/xmame: Makefile PLIST distinfo
	pkgsrc/emulators/xmame/patches: patch-aa patch-ae

Log Message:
Update xmame to 0.87.

Changes since 0.86:
- Everything from MAME 0.87 (http://x.mame.net/changes-mame.html) and
  MESS 0.87 (http://x.mame.net/changes-mess.html).
- Reworked the video mode functions (Hans de Goede):
  * Unified and moved the aspect ratio calculations from xgl, fx, and
    x11_window to mode.c since all display targets that support
    arbitrary scaling through hardware make use of this.
  * Modified the code to use the aspect ratio supplied by the game
    driver instead of doing all kinds of magic.  This corrects, for
    example, the aspect ratio of 1942.
  * Added a new option, "-perfectaspect (-pa)", which automatically
    sets yarbsize to honor the aspect ratio provided by the game
    driver.  This is disabled by default because it can cause scaling
    artifacts.
  * When video modes are matched, the aspect ratio is now taken into
    account.
  - Made changes to the X11 targets (Hans de Goede):
    * Restored widthscale == 2 yuy2 code for perfect yuy2 blitting.
    * Fixed a bug introduced by the aspect ratio patches which caused the
      Xv fallback code to not detect an error case and crash later on
      instead of falling back to MITSHM.
    * The Xv window is now resized with the correct aspect ratio after a
      user resize; this prevents black borders from appearing.
    * Renamed "-perfect-yv12" to "-perfect-yuv".
    * Enabled perfect blitting by default for yuy2, since it fixes the
      ugly color bleeding in, for example, pacman.
    * Fixed colors being way off in Xv for 15bpp direct games, e.g.,
      vector games with artwork disabled.
    * Current mouse values are now initialized in xinput_open, which
      should fix the problem of the visor going to the lower right corner
      in starwars when the video mode is switched from windowed X11 to
      DGA fullscreen while the mouse is grabbed.
    * Fixed the display of a 32bpp source on a 24bpp packed pixel window.
    * Fixed a bug in the DGA2 target which caused it to throw an XError
      when it failed to find a suitable mode, causing xmame to abort.
    * XInput now maps controls to mice 2 - 5 and leaves mouse 1 free for
      the default mouse.  (Hans de Goede)
    * Fixed a bug which caused the window to disappear with Xv windowed
      mode under KDE.
    - Added a missing "Rapid Fire" string to the configuration menu.  This
      fixes problems with the configuration of player controls.  (Sylvain
      Trosset)
    - Cleaned up the sound code (Hans de Goede):
      * Cleaned up the ALSA driver.
      * The ALSA driver now reports the actual sample rate to the caller
        rather than the requested one.
      * Removed the "-alsa-pcm" command line option; the ALSA driver now
        supports "-auviodevice (-ad)".  (Hans de Goede)
      * Removed "-fakesound (-fsnd)".  Now sound is always faked since
        certain games won't run without it.
      * Changed the default sample rate to 44100, moving us into the
        Third Millennium.
      * Removed the "-[no]sound" option; if you really want to disable
        sound, specify a bogus device with "-audiodevice".
      - Removed the "-[no]mouse" option.  (Hans de Goede)
      - Split aspect and mode settings so that all targets can use the
        aspect settings.  (Hans de Goede)
      - Fixed the mapping of analog sticks' min..max ranges to the core's
        range.  This fixes games that use analog controls, such as Out Run,
        as well as the jittery movement of the mouse cursor in games such as
        Missile Command.
      - Audio should work much better on Mac OS X.  (anonymous)
      - The MMX assembly language version of the 6-tap filter now works for
        16 and 32bpp source and destination bitmaps; previously, only the
        32bpp screen depth was accelerated.  (Richard Goedeken)
      - Corrected some of the out-of-date information in the documentation.
        Fixes Bugzilla bug 604.
      - Light guns should work again. Also added support for the triggers on
        an ACT LABS USB PC Monitor model that didn't work previously.

In addition, make the package install xml2info using a patch from
Miguel Mendez in PR pkg/27101.


To generate a diff of this commit:
cvs rdiff -r1.119 -r1.120 pkgsrc/emulators/xmame/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/emulators/xmame/PLIST
cvs rdiff -r1.56 -r1.57 pkgsrc/emulators/xmame/distinfo
cvs rdiff -r1.34 -r1.35 pkgsrc/emulators/xmame/patches/patch-aa
cvs rdiff -r1.20 -r1.21 pkgsrc/emulators/xmame/patches/patch-ae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.