Package Details: dosbox-x 2024.03.01-1

Git Clone URL: https://aur.archlinux.org/dosbox-x.git (read-only, click to copy)
Package Base: dosbox-x
Description: x86 emulator with builtin DOS, with patches with more features
Upstream URL: http://dosbox-x.com
Keywords: emulation
Licenses: GPL
Conflicts: dosbox-x-git
Submitter: mike.cuche
Maintainer: mike.cuche
Last Packager: mike.cuche
Votes: 23
Popularity: 2.28
First Submitted: 2019-04-11 18:41 (UTC)
Last Updated: 2024-03-02 08:05 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

kq6up commented on 2023-04-12 18:35 (UTC)

New problem after upgrade:

-> Extracting dosbox-x-v2023.03.31.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Starting build()... Generating build information using aclocal, autoheader, automake and autoconf This may take a while ... ./autogen.sh: line 20: aclocal: command not found autogen.sh failed to complete: verify that GNU Autotools is installed on the system and try again ==> ERROR: A failure occurred in build(). Aborting...

I have: pacman -Q autoconf autoconf 2.71-4

FredBezies commented on 2023-04-01 09:05 (UTC)

You do not need to use ffmpeg 4 hack as Dosbox-X can be built against ffmpeg 5 since 2022.12.26 version.

Jookia commented on 2022-09-12 07:59 (UTC)

Just a heads up: Next release won't require any ffmpeg hacks. I also fixed the fluidsynth bug so that should work now.

Firobe commented on 2022-03-10 22:58 (UTC) (edited on 2022-03-10 23:03 (UTC) by Firobe)

On my system the fluidsynth support is disabled during configuration because for some reason AC_LIB_CHECK(fluidsynth, ...) passes -lSDL to gcc without the required -lm and -lGL (I cannot understand why, for now).

I managed to build with fluidsynth support by adding the following modification to configure.ac:

sed -i 's|$LIBS $SDL_LIBS|$LIBS $SDL_LIBS -lm -lGL|' configure.ac

This problem is mentioned here upstream: https://github.com/joncampbell123/dosbox-x/issues/1552

vladimir1922 commented on 2022-03-09 08:21 (UTC)

Fixed! Thanks for the work, this was a tough one :D

BujuArena commented on 2022-03-07 18:14 (UTC)

I can confirm that the build issue was resolved with a clean rebuild. I didn't try a rebuild with previous build files, so I can't say whether that would have worked. Thank you for the patch and the update to this package.

mike.cuche commented on 2022-03-07 17:21 (UTC)

@patlefort THANK YOU, I updated the PKGBUILD, I hope the patch fixes that compilation issues for a long while :D

vlas commented on 2022-03-07 17:14 (UTC) (edited on 2022-03-07 17:20 (UTC) by vlas)

Also can't build. https://termbin.com/vtot https://termbin.com/7y7x

patlefort commented on 2022-03-07 14:45 (UTC)

The problem is discussed here: https://github.com/joncampbell123/dosbox-x/issues/3283

It can be fixed with the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index 59d795b..97668d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,7 @@ sha256sums=('026f3986aae61d5f5cc7a95c7ad8ee9646f3249b282c8136a00b239bf6fed711')
 build() {
   cd $srcdir/dosbox-x-dosbox-x-v${pkgver}
   sed -i -e 's/-j3/-j$(nproc)/g' build
+  sed -i 's|"$LIBS -lavcodec -lavformat -lavutil -lswscale "`pkg-config libavcodec --libs`|`pkg-config libavcodec libavformat libavutil libswscale libswresample --libs`"$LIBS"|' configure.ac
  PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig" ./build
 }

BujuArena commented on 2022-03-05 05:37 (UTC)

I have the exact same terminal output as in chris_l's pastebin link, with the issues seemingly starting with these lines:

g++  -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=gnu++14  -O2 -msse  -Wall   -Wextra   -Wunused   -pedantic   -Wlogical-op   -Wsign-promo   -Wconversion-null   -Wno-deprecated-declarations   -Wno-implicit-fallthrough   -Wno-strict-aliasing   -Wno-missing-field-initializers   -Wno-format-zero-length   -Wno-address-of-packed-member   -Wno-int-to-void-pointer-cast  -I/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23 -I/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/include -I/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/include/SDL -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L   -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/lib -o dosbox-x dosbox.o  debug/libdebug.a dos/libdos.a shell/libshell.a builtin/libbuiltin.a ints/libints.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 misc/libmisc.a output/liboutput.a hardware/mame/libmame.a libs/zmbv/libzmbv.a libs/decoders/internal/libopusint.a aviwriter/libaviwriter.a  libs/xBRZ/libxbrz.a libs/mt32/libmt32.a libs/fluidsynth/libfluidsynth.a -lasound -lm -ldl -lpthread -L/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdl/linux-host/lib -Wl,-rpath,/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdl/linux-host/lib -lSDL -L/usr/lib64 -R/usr/lib64 -lX11 -lXext -lts -lpthread -ltinfo -lfreetype  -lSDL_net -lz -lpng -lz -lpcap -lslirp -lglib-2.0  -lX11 -lXrandr -lxkbfile -lavcodec -lavformat -lavutil -lswscale -L/usr/lib/ffmpeg4.4 -lavcodec  -lGL
/usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_flush_video() [clone .part.0]':
hardware.cpp:(.text+0x18a): undefined reference to `avcodec_encode_video2'