pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/dosbox-x dosbox-x: Update to 0.83.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16be8b0deca0
branches:  trunk
changeset: 424035:16be8b0deca0
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Mar 04 10:58:56 2020 +0000

description:
dosbox-x: Update to 0.83.0

0.83.0
  - Added mt32.romdir dosbox.conf configuration option
    for users who store the MT32 ROMs elsewhere other
    than the current working directory.
  - Configuration GUI settings menu is now vertically
    divided to ensure that it fits on the screen even
    if the window is at minimum size.
  - PC-98 GDC status fixed to follow the explicit
    definition of one bit as hblank and the other
    as vsync instead of carrying over VGA port 3DAh
    style logic of hblank/vblank vs vsync. This
    fixes the BPS logo scanline effects in PC-98
    game 'frontier-universe-bps-neo-kobe-pc98-ia'
  - Added dosbox.conf option to select between two
    known behaviors in PC-98 mode regarding the PC
    speaker and the PIT timer. The default behavior
    follows the newer hardware, the alternate setting
    is for older games written against the PC-9801
    behavior.
  - Added dosbox.conf option nocachedir which, when
    set, instructs MOUNT to automatically act as if
    -nocachedir were given.
  - Linux/X11 SDL1 builds fixed not to issue resize
    commands to the window to avoid fighting the
    window manager. This prevents "spastic resizing"
    under Gnome 3 in Centos 8.
  - Source tree now includes build script for Linux
    users who prefer Clang/LLVM over GCC.

diffstat:

 emulators/dosbox-x/Makefile                         |  18 ++++++++++++------
 emulators/dosbox-x/distinfo                         |  11 +++++------
 emulators/dosbox-x/patches/patch-include_dos__inc.h |  17 -----------------
 3 files changed, 17 insertions(+), 29 deletions(-)

diffs (92 lines):

diff -r 4356485f0593 -r 16be8b0deca0 emulators/dosbox-x/Makefile
--- a/emulators/dosbox-x/Makefile       Wed Mar 04 10:56:35 2020 +0000
+++ b/emulators/dosbox-x/Makefile       Wed Mar 04 10:58:56 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/02/05 13:57:40 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/03/04 10:58:56 nia Exp $
 
-DISTNAME=      dosbox-x-0.82.26
+DISTNAME=      dosbox-x-0.83.0
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=joncampbell123/}
 GITHUB_TAG=    dosbox-x-v${PKGVERSION_NOREV}
@@ -12,7 +12,7 @@
 
 WRKSRC=                ${WRKDIR}/dosbox-x-${GITHUB_TAG}
 GNU_CONFIGURE= yes
-USE_TOOLS+=    autoconf automake pkg-config
+USE_TOOLS+=    autoconf autoreconf automake pkg-config
 USE_LANGUAGES= c gnu++11
 
 # C++11
@@ -20,14 +20,20 @@
 
 LIBS.NetBSD+=  -lcompat
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+CPPFLAGS+=     -Dfopen64=fopen
+CPPFLAGS+=     -Dftello64=ftello
+CPPFLAGS+=     -Dfseeko64=fseeko
+.endif
+
 CONFIGURE_ARGS+=       --disable-alsatest
 CONFIGURE_ARGS+=       --disable-sdl2test
 CONFIGURE_ARGS+=       --disable-sdltest
 CONFIGURE_ARGS+=       --disable-sdl
 CONFIGURE_ARGS+=       --enable-sdl2
 
-.include "../../mk/bsd.prefs.mk"
-
 .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
 CONFIGURE_ARGS+=       --disable-dynrec
 CONFIGURE_ARGS+=       --disable-fpu-x86
@@ -50,7 +56,7 @@
 CHECK_PORTABILITY_SKIP+=       vs2015/sdl2/build-scripts/iosbuild.sh
 
 pre-configure:
-       cd ${WRKSRC} && ${SH} autogen.sh
+       cd ${WRKSRC} && autoreconf -fi
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/src/dosbox.png \
diff -r 4356485f0593 -r 16be8b0deca0 emulators/dosbox-x/distinfo
--- a/emulators/dosbox-x/distinfo       Wed Mar 04 10:56:35 2020 +0000
+++ b/emulators/dosbox-x/distinfo       Wed Mar 04 10:58:56 2020 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.6 2020/02/05 13:57:40 nia Exp $
+$NetBSD: distinfo,v 1.7 2020/03/04 10:58:56 nia Exp $
 
-SHA1 (dosbox-x-0.82.26.tar.gz) = 831813f86e73599e8d49df0dd742bcb9bbaa7a5a
-RMD160 (dosbox-x-0.82.26.tar.gz) = e19fea27b36406486e09ff65c8464d169f843bd8
-SHA512 (dosbox-x-0.82.26.tar.gz) = ee4fb2c7a163bd905ae66770718360554682ab4081a0099d590bedd174ded1ffc3a59fcc5c1e03dc67be4f9efae6c96e2f384e4dabbaf59641be8c43e688d825
-Size (dosbox-x-0.82.26.tar.gz) = 35807557 bytes
+SHA1 (dosbox-x-0.83.0.tar.gz) = 8ed89cf05fe10dda7b575f6501df877bf9fd9455
+RMD160 (dosbox-x-0.83.0.tar.gz) = dc1ef637dd138f09d580ccdbc5fa0fef84d561aa
+SHA512 (dosbox-x-0.83.0.tar.gz) = 300e6d12c8c143acb66510204d535d1f4a11ab23a56cdebfeda2e0930a2775d3255ffb2a7ea65f839c0d9c2309137b0bdffef67fdadc28481080de066f52c940
+Size (dosbox-x-0.83.0.tar.gz) = 35815954 bytes
 SHA1 (patch-configure.ac) = 12028b528aa1f4b4d13a25c144954d9f69755e6b
 SHA1 (patch-include_byteorder.h) = 86eccfbc2318ddc8d71a6de8723947a48d98a126
-SHA1 (patch-include_dos__inc.h) = 26ba2b11dcfa923085f3745b0f8aca542f5dc692
diff -r 4356485f0593 -r 16be8b0deca0 emulators/dosbox-x/patches/patch-include_dos__inc.h
--- a/emulators/dosbox-x/patches/patch-include_dos__inc.h       Wed Mar 04 10:56:35 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-include_dos__inc.h,v 1.1 2019/09/22 09:54:14 nia Exp $
-
-Use ftello and fseeko on NetBSD.
-
---- include/dos_inc.h.orig     2019-04-06 04:12:19.000000000 +0000
-+++ include/dos_inc.h
-@@ -290,6 +290,10 @@ static INLINE Bit16u DOS_PackDate(Bit16u
-  #define fopen64 fopen
-  #define ftello64 ftello
-  #define fseeko64 fseeko
-+#elif defined (__NetBSD__)
-+ #define fopen64 fopen
-+ #define ftello64 ftello
-+ #define fseeko64 fseeko
- #elif defined (_MSC_VER)
-  #define fopen64 fopen
-  #if (_MSC_VER >= 1400)



Home | Main Index | Thread Index | Old Index