Package Details: dosbox-x-git 16643.bdb285d31-1

Git Clone URL: https://aur.archlinux.org/dosbox-x-git.git (read-only, click to copy)
Package Base: dosbox-x-git
Description: x86 emulator with builtin DOS, with patches with more features
Upstream URL: http://dosbox.sourceforge.net
Licenses: GPL
Submitter: heavysink
Maintainer: heavysink (lilac)
Last Packager: lilac
Votes: 7
Popularity: 0.003382
First Submitted: 2015-10-19 03:47 (UTC)
Last Updated: 2022-04-30 05:35 (UTC)

Latest Comments

FredBezies commented on 2022-02-01 09:27 (UTC)

Cleaned up PKGBUILD using namcap:

# Mantainer: Franco Tortoriello

pkgname=dosbox-x-git
pkgver=16288.e346966ff
pkgrel=1
pkgdesc="x86 emulator with builtin DOS, with patches with more features"
arch=(i686 x86_64)
url="http://dosbox.sourceforge.net"
license=(GPL)
depends=(libxkbfile libxrandr ffmpeg libslirp tslib)
makedepends=(git glu libpcap )
optdepends=('openglide-git: Third-party 3dfx Glide API support'
 'libpcap: Allows DosBox-X to connect to a network and to the internet'
 'libslirp: Allows DosBox-X to connect to the internet rootless solution')
optdepends=()
install='dosbox-x.install'
source=(dosbox-x::git://github.com/joncampbell123/dosbox-x.git)

pkgver() {
  cd "$SRCDEST/dosbox-x"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd "$srcdir/dosbox-x"
  sed -i -e 's/-j3/-j$(nproc)/g' build
  ./build
}

package() {
  cd "$srcdir/dosbox-x"
  make DESTDIR="$pkgdir" install
}

md5sums=('SKIP')

dpirate commented on 2021-02-19 13:17 (UTC)

dosbox-x now provides it's own icon and desktop file distinct from dosbox now. Which means two sets are being included in the package which causes confusion notably with plank. The package provided one should be removed.

FredBezies commented on 2020-12-23 09:09 (UTC)

You'll need to add physfs as a depend. There is a "mount archive as a drive" option now.

See these commits:

https://github.com/joncampbell123/dosbox-x/commit/844711de2a93481650eb8536c4eaf0c4392497ba

and

https://github.com/joncampbell123/dosbox-x/commit/886862b0d04e56c6eff644533304af502dc3adaf

FredBezies commented on 2020-10-21 09:45 (UTC)

There is no desktop icon in dosbox-x until you modify in dosbox-x.desktop this way:

Icon=dosbox

by

Icon=dosbox-x.png

Marina89 commented on 2020-09-14 14:10 (UTC)

Your subject may be a source of insight for me, thank you. https://free-fonts.io

Marina89 commented on 2020-09-14 14:10 (UTC)

Your subject may be a source of insight for me, thank you. https://free-fonts.io

es20490446e commented on 2019-04-10 10:44 (UTC) (edited on 2019-04-12 02:00 (UTC) by es20490446e)

The shortcut should have:

Exec=dosbox %f

MimeType=application/x-ms-dos-executable

Replies to http://tinyurl.com/contact-alberto

ax34 commented on 2019-03-18 21:50 (UTC)

Isn't upstream URL https://github.com/joncampbell123/dosbox-x instead of http://dosbox.sourceforge.net/ ?

ax34 commented on 2018-12-02 23:35 (UTC)

@heavysink, but it's "-git" package so such bump is needed only when ABI breaks.

heavysink commented on 2018-12-02 21:25 (UTC)

@ax34,

The bump is done by lilac bot which automatically update the PKGBUILD from upstream git.

ax34 commented on 2018-11-27 12:56 (UTC)

Why do you bump pkgbuild so often?

parkerlreed commented on 2018-10-22 18:01 (UTC)

The sed for AV_CODEC_FLAG2_FAST is no longer needed. Upstream has the correct AV_CODEC_FLAG2_FAST

parkerlreed commented on 2018-08-15 23:34 (UTC)

This is probably the most minor nitpick but: the main splash text says F11 is the host key but that's only on Windows. It's hardcoded so it seems this can't be changed on the fly. Adding this to the PKGBUILD works for me

sed 's/Host key is F11/Host key is F12/g' -i src/shell/shell.cpp

eigengrau commented on 2018-05-21 13:51 (UTC) (edited on 2018-05-21 13:55 (UTC) by eigengrau)

This currently throws a bunch of undeclared identifier errors, probably arising from:

sdlmain.cpp:110:4: error: #error This code must be compiled using the SDL 1.x library provided in this source repository
#  error This code must be compiled using the SDL 1.x library provided in this source repository

I also notice that g++ is invoked with -I/usr/include/SDL during the build.

We then error out on:

sdlmain.cpp: In function ‘Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)’:
sdlmain.cpp:1938:82: error: ‘SDL_HAX_NOREFRESH’ was not declared in this scope.

The …HAX… might refer to (not sure though) something from the internal SDL1 fork and undefined in the system-wide SDL headers.

Elzair commented on 2018-02-28 23:04 (UTC) (edited on 2018-02-28 23:06 (UTC) by Elzair)

Currently I am getting a build (linker?) error.

/usr/bin/g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=gnu++11 -mmmx -msse -msse2 -Wno-strict-aliasing -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o dosbox-x dosbox.o debug/libdebug.a dos/libdos.a shell/libshell.a builtin/libbuiltin.a ints/libints.a misc/libmisc.a hardware/serialport/libserial.a hardware/parport/libparallel.a libs/porttalk/libporttalk.a gui/libgui.a libs/gui_tk/libgui_tk.a hardware/libhardware.a cpu/libcpu.a hardware/reSID/libresid.a fpu/libfpu.a gui/libgui.a aviwriter/libaviwriter.a mt32/libmt32.a -lasound -lm -ldl -lpthread -L/usr/lib -lSDL -lpthread -ltinfo -lSDL_net -lpng -lz -lpcap -lX11 -lfluidsynth -lGL gui/libgui.a(midi.o): In function 'MidiHandler_synth::PlaySysex(unsigned char, unsigned long)': midi.cpp: (.text._ZN17MidiHandler_synth9PlaySysexEPhm[_ZN17MidiHandler_synth9PlaySysexEPhm]+0x24): undefined reference to 'fluid_midi_parser_parse' gui/libgui.a(midi.o): In function 'MidiHandler_synth::PlayMsg(unsigned char)': midi.cpp:(.text._ZN17MidiHandler_synth7PlayMsgEPh[_ZN17MidiHandler_synth7PlayMsgEPh]+0x44): undefined reference to 'fluid_midi_parser_parse' gui/libgui.a(midi.o): In function 'MidiHandler_synth::Open(char const*)': midi.cpp:(.text._ZN17MidiHandler_synth4OpenEPKc[_ZN17MidiHandler_synth4OpenEPKc]+0x85): undefined reference to 'fluid_log_config' midi.cpp:(.text._ZN17MidiHandler_synth4OpenEPKc[_ZN17MidiHandler_synth4OpenEPKc]+0x1a3): undefined reference to 'new_fluid_midi_parser' collect2: error: ld returned 1 exit status

Vaporeon commented on 2017-12-31 08:11 (UTC)

Can you build with sdl2 since it's supported now?

heavysink commented on 2017-08-27 21:32 (UTC)

@timeofonic Now you can download the package in archlinuxcn repository. See the unofficial repository section in archwiki for details.

timofonic commented on 2017-08-27 20:34 (UTC)

@heavysink Thanks a lot! Really, I was afraid the package wasn't going to be updated. Thanks!

heavysink commented on 2017-08-18 01:29 (UTC)

@timofonic Updated.

timofonic commented on 2017-07-20 16:23 (UTC)

In file included from fpu.cpp:47:0: fpu_instructions.h: In function ‘void FPU_FCOM(Bitu, Bitu)’: fpu_instructions.h:326:19: error: expected unqualified-id before ‘(’ token # define isinf(x) (std::isinf(x)) ^ fpu_instructions.h:458:12: note: in expansion of macro ‘isinf’ if (std::isinf(fpu.regs[st].d) && std::isinf(fpu.regs[other].d)) { ^~~~~ fpu_instructions.h:326:19: error: expected unqualified-id before ‘(’ token # define isinf(x) (std::isinf(x)) ^ fpu_instructions.h:458:42: note: in expansion of macro ‘isinf’ if (std::isinf(fpu.regs[st].d) && std::isinf(fpu.regs[other].d)) { ^~~~~ make[3]: *** [Makefile:344: fpu.o] Error 1 make[3]: Leaving directory '/home/timofonic/.cache/pacaur/dosbox-x-git/src/dosbox/src/fpu' make[2]: *** [Makefile:439: all-recursive] Error 1 make[2]: Leaving directory '/home/timofonic/.cache/pacaur/dosbox-x-git/src/dosbox/src' make[1]: *** [Makefile:376: all-recursive] Error 1 make[1]: Leaving directory '/home/timofonic/.cache/pacaur/dosbox-x-git/src/dosbox' make: *** [Makefile:317: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build dosbox-x-git package(s)

aaronp commented on 2016-09-05 07:54 (UTC)

The default executable name is dosbox-x now. You should be able to change the sysconfdir and the desktop file and allow dosbox-x to be parallel installable with vanilla dosbox.

TruckerZer0 commented on 2016-06-02 09:00 (UTC)

Thank you very much!

heavysink commented on 2016-04-23 02:20 (UTC)

Hi @TruckerZer0 @aaronp The patch has applied and the problem seems to be solved so far.

TruckerZer0 commented on 2016-03-25 00:39 (UTC)

Thank you!

aaronp commented on 2016-03-20 23:41 (UTC)

https://github.com/joncampbell123/dosbox-x/issues/184

TruckerZer0 commented on 2016-03-11 07:09 (UTC)

It gives me this error: In file included from fpu.cpp:45:0: fpu_instructions.h: In function ‘void FPU_FCOM(Bitu, Bitu)’: fpu_instructions.h:394:27: error: ‘isinf’ was not declared in this scope if (isinf(fpu.regs[st].d) && isinf(fpu.regs[other].d)) { ^ fpu_instructions.h:394:27: note: suggested alternative: In file included from fpu_instructions.h:283:0, from fpu.cpp:45: /usr/include/c++/5.3.0/cmath:621:5: note: ‘std::isinf’ isinf(_Tp __x) ^ Makefile:345: set di istruzioni per l'obiettivo "fpu.o" non riuscito make[3]: *** [fpu.o] Errore 1

chrisq commented on 2015-12-03 13:29 (UTC)

Joystick support seems broken for me. It is not detected, but other dosbox binaries detects as normal. Do you know if it a problem upstream or this build?

spider-mario commented on 2015-10-29 13:05 (UTC)

Shouldn’t `makedepends` contain git rather than subversion?

heavysink commented on 2015-10-29 01:57 (UTC)

@Cork Updated.

Cork commented on 2015-10-24 22:28 (UTC)

The package munt-git doesn't exist anymore, should prob just use munt instead.