pkgsrc-WIP-changes archive

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

dosbox-x: update to dosbox-x-0.82.10



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Mon Nov 5 23:09:44 2018 +0200
Changeset:	372e68c10c7d1090cdee7fd777e1f19b177fa4e2

Modified Files:
	dosbox-x/Makefile
	dosbox-x/distinfo
	dosbox-x/patches/patch-configure.ac

Log Message:
dosbox-x: update to dosbox-x-0.82.10

Changelog:

0.82.10
  - PC-98 INT 1Bh floppy emulation now fakes success for
    calls to format track.
  - Initial keyboard pause fixed
  - PC-98 INT 1Bh floppy disk BIOS call now resets timer
    interval per call. This fixes Ys II after disk swap.
  - BIOS fixed to put normal "unhandled INT call" handler
    for INT 0-7 even in PC-98 mode to avoid confusion
    between game crashes and unknown INT calls.
  - VFD image support fixed to properly handle disk images
    where a sector is marked with fill byte 0xFF and the
    data field is 0xFFFFFFFF, which means the sector contents
    are all 0xFF.
  - DOSBox-X now supports T98 NFD disk images (R0).
  - BIOS data area now properly reports a high-resolution
    CRT display.
  - INT DCh AH=1 CL=10h added, which is apparently a print
    string function.
  - BIOS data area now reports 188+ user-definable CG slots,
    which makes GAJET happy.
  - FDI image support fixed to read the header instead of
    treating it as a plain disk image with 4096 of junk.
  - PC-98 character generator is now accessible through both
    I/O ports A1h-A9h and through memory-mapped I/O range
    A4000-A401F. This fixes missing text in Eve Burst Error.
  - Gravis Ultrasound emulation will no longer log GUS reset
    writes in cases where the same value is being written
    repeatedly, to reduce log clutter. Some demoscene
    productions have music routines that trigger GUS reset
    repeatedly without changing the register.
  - Added "gus master volume" setting to deal with games or
    demoscene productions where the music is too loud and clipping.
  - Added "Pause with interrupts". When enabled, the CPU is directed
    into a CALLBACK_Idle() loop to halt the game's main
    logic while allowing interrupts to run. This is useful
    for recording the game or demo's music because most DOS
    games/demos run the music and sound effects from interrupt
    handlers instead of the main loop.
  - Audio/video capture fixed to render audio even if muted,
    instead of rendering garbage to the capture file when
    audio is muted.
  - Experimental Emscripten + Node target (not reliable yet).
  - Added option to control how unhandled IRQs are dealt with.
    One option, mask_isr, is derived from em-dosbox.
  - Code added to read the screen dimensions in Linux/X11,
    either through XRandR or through the base X11 API.
  - Code added to read and store the dimensions, size, and
    DPI (Dots per Inch) of the screen.
  - Fixed bug that enabled IBM style APM BIOS in PC-98 mode.
  - For PC-98 mode, PIC emulation by default (but controllable
    through dosbox.conf) now initializes the PIC at startup to
    return the ISR (interrupt in-service) register instead of
    the IRR (interrupt request) register. This fixes FM
    music problems with Blackbird by Vivian caused by a
    programming mistake in the FM interrupt handler.
  - PIC emulation now accepts a dosbox.conf option not to mark
    the cascade interrupt as in service, for troublesome games.
  - VESA BIOS emulation now supports a packed 16-color (4bpp)
    mode as seen on a Toshiba Libretto (Chips & Tech) system.
    The packed format is different than the normal planar 16-color
    SVGA modes seen on most systems.
  - INT 33h no longer reports relative mouse motion unless the
    user captures the cursor.
  - Fixed EGA 16-color display modes (M_EGA) to honor CGA and
    Hercules compatible mapping modes (bits 0 and 1 of the
    CRTC mode control) and limit memory display to 8KB or 16KB
    accordingly. This fixes the mode select screen in the game
    "Prehistorik 2".
  - Removed Sound Blaster goldplay mode + sample accurate mode
    warning, goldplay mode no longer has issues with sample
    accurate mode.
  - Mixer "sample accurate" mode fixed to work again.
  - Windows SDL1 builds fixed to work around Windows SDK-level API
    limitation that normally prevents Win32 applications from
    fully receiving WM_KEYDOWN events for the left/right shift
    keys independently. Left and right shift keys are now fully
    usable on Windows builds (i.e. for use with pinball games).
  - INSTALL.MD guide and test files (Aybe)
  - CONFIG -get now populates %CONFIG% environment variable with
    configuration setting (follow DOSBox SVN behavior)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=372e68c10c7d1090cdee7fd777e1f19b177fa4e2

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

diffstat:
 dosbox-x/Makefile                   |  6 ++---
 dosbox-x/distinfo                   | 10 ++++-----
 dosbox-x/patches/patch-configure.ac | 44 ++++++++++++++++++++++++++++++-------
 3 files changed, 44 insertions(+), 16 deletions(-)

diffs:
diff --git a/dosbox-x/Makefile b/dosbox-x/Makefile
index 5af75b2b81..1f2b0e30b7 100644
--- a/dosbox-x/Makefile
+++ b/dosbox-x/Makefile
@@ -1,18 +1,18 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	dosbox-x
-PKGNAME=	dosbox-x-0.82.9
+PKGNAME=	dosbox-x-0.82.10
 DISTNAME=	${GITHUB_TAG}
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=joncampbell123/}
-GITHUB_TAG=	dosbox-x-windows-v0.82.9
+GITHUB_TAG=	v0.82.10
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://dosbox-x.com/
 COMMENT=	DOSBox with accurate emulation and wide testing
 LICENSE=	gnu-gpl-v2
 
-WRKSRC=			${WRKDIR}/dosbox-x-${GITHUB_TAG}
+WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
 GNU_CONFIGURE=		yes
 # dosbox-x uses a modified SDL1 or system SDL2
 CONFIGURE_ARGS+=	--enable-sdl2
diff --git a/dosbox-x/distinfo b/dosbox-x/distinfo
index fdf9ef0c8b..a40634758c 100644
--- a/dosbox-x/distinfo
+++ b/dosbox-x/distinfo
@@ -1,9 +1,9 @@
 $NetBSD$
 
-SHA1 (dosbox-x-windows-v0.82.9.tar.gz) = b0ffb2a531b34f3dfd787c3112a3b9f0d28fb298
-RMD160 (dosbox-x-windows-v0.82.9.tar.gz) = 6fa340bf853575b33761faf850b8bf4908ccd595
-SHA512 (dosbox-x-windows-v0.82.9.tar.gz) = 0dc93adac37bd8bf404c6826ae54c1aefd5c50b2c26b54f9862c8c086fec0181c2b38056e81273070af8e98eab49569f2ca51888a48a6299a25942955da07975
-Size (dosbox-x-windows-v0.82.9.tar.gz) = 28495934 bytes
-SHA1 (patch-configure.ac) = 5c800c35b56e33255559162f0548101dc2da55c5
+SHA1 (v0.82.10.tar.gz) = fcbea99eb42a3319f8fdd7b1e75efc4f1e78ca13
+RMD160 (v0.82.10.tar.gz) = 1a1e4b15faa33edaa19418ef1ae1bc0ed6d1b125
+SHA512 (v0.82.10.tar.gz) = 79b9b66e283ba37802ef2967e8cc1438a96af49620c7c61c88acd3e5391ee1f2bec3061bbd6b5773b2522a63f8e62d16e535b914f437305bc48ca839b1f4c66e
+Size (v0.82.10.tar.gz) = 34889916 bytes
+SHA1 (patch-configure.ac) = 2b6b1f1f7876cc5408b7b422ac137fb37ed008a8
 SHA1 (patch-include_byteorder.h) = 54268aef66ed25f8209876a28fb980358b787664
 SHA1 (patch-include_dos__inc.h) = a2b8589b7dcb4430267af7948b0d31d3c4aca2c9
diff --git a/dosbox-x/patches/patch-configure.ac b/dosbox-x/patches/patch-configure.ac
index 2c61ad2cf6..106e6ce96b 100644
--- a/dosbox-x/patches/patch-configure.ac
+++ b/dosbox-x/patches/patch-configure.ac
@@ -2,9 +2,26 @@ $NetBSD$
 
 Fix == test in configure script.
 
---- configure.ac.orig	2018-07-01 16:48:05.000000000 +0000
+--- configure.ac.orig	2018-11-04 05:04:23.000000000 +0000
 +++ configure.ac
-@@ -159,14 +159,14 @@ AC_ARG_ENABLE(hx-dos,AC_HELP_STRING([--e
+@@ -168,7 +168,7 @@ CFLAGS=["`echo $CFLAGS' ' | sed -e 's/-O
+ CXXFLAGS=["`echo $CXXFLAGS' ' | sed -e 's/-O[^ ]* //g'`"]
+ 
+ if test x$enable_optimize != xno; then
+-    if test x$enable_emscripten == xyes; then
++    if test x$enable_emscripten = xyes; then
+ 	    CFLAGS="$CFLAGS -Os"
+ 	    CXXFLAGS="$CXXFLAGS -Os"
+     else
+@@ -177,21 +177,21 @@ if test x$enable_optimize != xno; then
+     fi
+ fi
+ 
+-if test x$enable_emscripten == xyes; then
++if test x$enable_emscripten = xyes; then
+ 	AC_DEFINE(C_EMSCRIPTEN,1,[Targeting Emscripten])
+ fi
+ 
  dnl Some stuff for the icon.
  case "$host" in
      *-*-cygwin* | *-*-mingw32*)
@@ -21,25 +38,36 @@ Fix == test in configure script.
      CXXFLAGS="$CXXFLAGS -DFORCE_SDLDRAW"
      AC_DEFINE(C_FORCE_MENU_SDLDRAW,1,[Force SDL drawn menus])
  fi
-@@ -359,7 +359,7 @@ case "$host" in
+@@ -287,7 +287,7 @@ case "$host" in
         ;;
  esac
  
+-if test x$enable_emscripten == xyes; then
++if test x$enable_emscripten = xyes; then
+     CXXFLAGS="$CXXFLAGS"
+ else
+     dnl Some default CPU flags
+@@ -390,8 +390,8 @@ case "$host" in
+ esac
+ fi
+ 
 -AM_CONDITIONAL(MACOSX, test x"$macosx" == x"1")
+-AM_CONDITIONAL(EMSCRIPTEN, test x"$enable_emscripten" == x"yes")
 +AM_CONDITIONAL(MACOSX, test x"$macosx" = x"1")
++AM_CONDITIONAL(EMSCRIPTEN, test x"$enable_emscripten" = x"yes")
  
  dnl The target cpu checks for dynamic cores
  AH_TEMPLATE(C_TARGETCPU,[The type of cpu this target has])
-@@ -497,7 +497,7 @@ fi
+@@ -531,7 +531,7 @@ fi
  dnl FEATURE: xBRZ
  AH_TEMPLATE(C_XBRZ,[Define to 1 to enable XBRZ scaler])
  AC_ARG_ENABLE(xbrz,AC_HELP_STRING([--enable-xbrz],[compile with xBRZ scaler (default yes)]),enable_xbrz=$enableval,enable_xbrz=yes)
 -AM_CONDITIONAL(C_XBRZ, test "x$enable_xbrz" == "xyes")
 +AM_CONDITIONAL(C_XBRZ, test "x$enable_xbrz" = "xyes")
- if test x$enable_xbrz = xyes; then
- AC_DEFINE(C_XBRZ,1)
- fi
-@@ -542,7 +542,7 @@ else
+ if test x$enable_emscripten != xyes; then
+   if test x$enable_xbrz = xyes; then
+     AC_DEFINE(C_XBRZ,1)
+@@ -578,7 +578,7 @@ else
    enable_mt32=no
    AC_MSG_RESULT(no)
  fi 


Home | Main Index | Thread Index | Old Index