Package Details: dosbox-x-sdl2 2024.12.04-1

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: 9
Popularity: 0.082614
First Submitted: 2018-10-30 17:02 (UTC)
Last Updated: 2024-12-05 07:04 (UTC)

Pinned Comments

Latest Comments

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

strajder commented on 2022-02-18 08:21 (UTC)

I managed to build it. For the reference, currently it is needed to edit PKGBUILD so the configure command reads:

./configure --enable-core-inline --enable-debug --disable-avcodec --prefix=/usr --enable-sdl2

(changed --enable-avcodec into --disable-avcodec).

FredBezies commented on 2022-02-18 07:53 (UTC) (edited on 2022-02-18 07:54 (UTC) by FredBezies)

@straderj:

1) Archlinux cannot be held responsible for package naming in Artix. How logical it is to name the ffmpeg4.4 version "ffmpeg-compat-58"?

2) I disabled ffmpeg support until ffmpeg 5.x is supported. I reported a bug here: https://github.com/joncampbell123/dosbox-x/issues/3283

3) You can build this package WITHOUT ffmpeg. I did not try on Artix (I do not have a virtual machine of it), but as ffmpeg support is disabled, it will surely work.

Hope this small answer will clear things.

Artix developers made a wrong decision about naming the ffmpeg 4.4 legacy version. Archlinux and AUR cannot be held responsible here.

strajder commented on 2022-02-18 07:18 (UTC)

Hello again. extra/ffmpeg is now version 2:5.0-4 in Arch, dosbox-x still fails to compile, and Artix developers cannot be blamed anymore. Can now something be done about the inability to actually compile and use this package?

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