Package Details: dosbox-x-sdl2 2024.03.01-5

Git Clone URL: https://aur.archlinux.org/dosbox-x-sdl2.git (read-only, click to copy)
Package Base: dosbox-x-sdl2
Description: x86 emulator with builtin DOS, with patches and more features
Upstream URL: http://dosbox-x.com
Keywords: dos dosbox emulation emulator sdl2
Licenses: GPL
Conflicts: dosbox-x, dosbox-x-git, dosbox-x-sdl2-git
Submitter: 32th
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 7
Popularity: 0.31
First Submitted: 2018-10-30 17:02 (UTC)
Last Updated: 2024-05-19 16:37 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3

strajder commented on 2022-02-01 19:13 (UTC)

I will just IgnorePkg = dosbox-x-sdl2 for now, but ffmpeg 5.0 is going to exit staging at some point. Until then I guess.

FredBezies commented on 2022-02-01 18:28 (UTC)

@strjader: Archlinux is still using ffmpeg 4.4.1, 5.0 is in staging. There is nothing I can do here. Just talk about this issue to Artix developers who choose to use ffmpeg 5.0 too soon.

strajder commented on 2022-02-01 17:37 (UTC)

Currently this package fails to build in Artix Linux with ffmpeg 2:5.0-3. I'm getting errors similar to this:

hardware.cpp: In function 'void ffmpeg_audio_frame_send()':
hardware.cpp:158:21: error: 'avcodec_encode_audio2' was not declared in this scope; did you mean 'avcodec_encode_subtitle'?
  158 |                 if (avcodec_encode_audio2(ffmpeg_aud_ctx,&pkt,ffmpeg_aud_frame,&gotit) == 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~
      |                     avcodec_encode_subtitle

and so on.

Searching the web leads to the following similar issue with Kodi, where it was suggested to "avoid ffmpeg master for now". Is that applicable here too? There was recently a major ffmpeg upgrade, so I assume dosbox-x needs to be adjusted.

dleslie commented on 2020-09-01 15:42 (UTC)

This package appears to build without error on aarch64, and runs without noteworthy issues, as well.

Please add aarch64 to the supported platforms.

spider-mario commented on 2020-07-06 15:25 (UTC)

The problem seems to occur if the build scripts detect a system-wide sdl_net, because then they try to build against it instead of the in-tree copy. (https://github.com/joncampbell123/dosbox-x/issues/873#issuecomment-465454660)

If I temporary remove sdl_net before building, it seems to work.

Thanks for the lead.

32th commented on 2020-07-05 20:40 (UTC)

Oh someone took over with maintaining this package. Thanks

FredBezies commented on 2020-07-05 15:36 (UTC)

@spider-mario: built it successfully in a clean chroot. Just try this and report.

https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

spider-mario commented on 2020-07-04 14:23 (UTC) (edited on 2020-07-04 14:24 (UTC) by spider-mario)

The package fails to build for me:

g++  -march=x86-64 -mtune=generic -pipe -fno-plt -std=gnu++11  -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/tmp/makepkg/dosbox-x-sdl2/src/dosbox-x-dosbox-x-v0.83.3/vs2015/sdlnet/linux-host/include -I/tmp/makepkg/dosbox-x-sdl2/src/dosbox-x-dosbox-x-v0.83.3/vs2015/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/tmp/makepkg/dosbox-x-sdl2/src/dosbox-x-dosbox-x-v0.83.3/vs2015/sdlnet/linux-host/lib -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 output/liboutput.a hardware/mame/libmame.a libs/zmbv/libzmbv.a aviwriter/libaviwriter.a  xBRZ/libxbrz.a mt32/libmt32.a -lasound -lm -ldl -lpthread -L/usr/lib -pthread -lSDL2 -ltinfo -lfreetype  -lSDL_net -lz -lpng -lz -lpcap -lX11 -lXrandr -lxkbfile -lfluidsynth -lGL
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPClientSocket::TCPClientSocket(int)':
misc_util.cpp:(.text+0x172): undefined reference to `SDLNet_GetError'
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPClientSocket::TCPClientSocket(_TCPsocket*)':
misc_util.cpp:(.text+0x25a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPClientSocket::TCPClientSocket(char const*, unsigned short)':
misc_util.cpp:(.text+0x37a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: hardware/serialport/libserial.a(misc_util.o): in function `TCPServerSocket::TCPServerSocket(unsigned short)':
misc_util.cpp:(.text+0x77a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: gui/libgui.a(midi.o): in function `MidiHandler_timidity::PlaySysex(unsigned char*, unsigned long)':
midi.cpp:(.text+0xa0a): undefined reference to `SDLNet_GetError'
/usr/bin/ld: gui/libgui.a(midi.o):midi.cpp:(.text+0xbc2): more undefined references to `SDLNet_GetError' follow

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

The shortcut should have:

Exec=dosbox %f

MimeType=application/x-ms-dos-executable

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