Package Details: dosbox-x-sdl2 2024.03.01-4

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.41
First Submitted: 2018-10-30 17:02 (UTC)
Last Updated: 2024-04-27 11:04 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Abuseware commented on 2022-11-04 17:12 (UTC)

https://github.com/joncampbell123/dosbox-x/releases/tag/dosbox-x-v0.84.3

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

Just a heads up: Next release won't require any ffmpeg hacks

FredBezies commented on 2022-02-18 08:25 (UTC) (edited on 2022-02-18 08:26 (UTC) by FredBezies)

@strajder: I had both dosbox-x-sd2 and dosbox-x-sdl2-git to maintain and modify. Now, ffmpeg is really disabled.

See this commit in dosbox-x-sdl2-git: https://aur.archlinux.org/cgit/aur.git/commit/?h=dosbox-x-sdl2-git&id=e32aa0bb6507c6f06a015a91db871156296207f1

But it won't change a thing: legacy ffmpeg package name is weird on Artix.

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.