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.080962
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 »

patlefort commented on 2024-03-13 16:28 (UTC) (edited on 2024-03-13 16:29 (UTC) by patlefort)

Patch to fix some problems:

diff --git a/PKGBUILD b/PKGBUILD
index ef79944..3dcab50 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,15 +23,12 @@ build() {
   # Working around bug 4436: https://github.com/joncampbell123/dosbox-x/issues/4436
   # We need to deactivate -Werror=format-security

-  export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-        -Wp,-D_FORTIFY_SOURCE=2 -Wformat \
-        -fstack-clash-protection -fcf-protection"
-  export CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
+  export CFLAGS="${CFLAGS/-Werror=format-security/}"
+  export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
   export LDFLAGS="${LDFLAGS//,--as-needed}"

-  chmod +x configure
   ./configure --enable-core-inline --enable-debug --enable-avcodec --prefix=/usr --enable-sdl2
-  make -j$(nproc)
+  make

 }
  • Remove -Werror=format-security from flags rather than overriding all the flags.
  • Remove unnecessary chmod.
  • Remove -j$(nproc), that flag belong to MAKEFLAGS variable in user's makepkg.conf.

jichu4n commented on 2023-03-17 16:26 (UTC)

Amazing, thank you @FredBezies!!

FredBezies commented on 2023-03-16 18:18 (UTC)

@jichu4n: --enable-debug is now activated.

jichu4n commented on 2023-03-16 17:57 (UTC)

Would it be possible to enable the built-in debugger functionality?

Currently, the PKGBUILD includes --disable-debug which disables the built-in debugger: https://github.com/joncampbell123/dosbox-x/blob/master/README.debugger . This functionality is useful for using DOSBox-X to e.g. debug assembly code. Would you be open to switching this to --enable-debug?

(FWIW, the dosbox-x-sdl2-git package's PKGBUILD does have --enable-debug.)

FredBezies commented on 2022-11-04 17:39 (UTC) (edited on 2022-11-04 18:01 (UTC) by FredBezies)

@abuseware: once again 0.84.3 IS not released. It is tagged as a pre-release.

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

There is NO need to flag this package out of date because LAST released version is 0.84.2, back in august 1st, 2022.

So please, stop flagging it out of date. It is NOT. A new version will be released soon, let's hope.

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.