Package Details: dosbox-staging 1:0.82.1-1

Git Clone URL: https://aur.archlinux.org/dosbox-staging.git (read-only, click to copy)
Package Base: dosbox-staging
Description: DOS/x86 emulator focusing on ease of use. Based on DOSBox
Upstream URL: https://github.com/dosbox-staging/dosbox-staging
Keywords: dos emulator games gaming
Licenses: GPL-2.0-or-later
Conflicts: dosbox
Provides: dosbox
Submitter: sharkwouter
Maintainer: silverhikari
Last Packager: silverhikari
Votes: 52
Popularity: 0.192647
First Submitted: 2020-03-14 13:37 (UTC)
Last Updated: 2025-04-09 04:33 (UTC)

Required by (60)

Sources (1)

Latest Comments

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

rvalles commented on 2024-02-15 06:07 (UTC) (edited on 2024-02-15 06:08 (UTC) by rvalles)

Annoyingly, build hates -Os now.

meson.build:155:8: ERROR: Problem encountered: 

 Overriding CXXFLAGS with the size-optimization flag, "-Os", when
 performing a release build with GCC produces a binary that hangs.
 Use the "minsize" buildtype instead.

Doesn't even mention which version of gcc, or which target. And fails the build. Sigh.

kIERO commented on 2024-02-14 23:05 (UTC)

"zlib-ng" has to be added to depends. Archlinux: confirming it builds.

jakedane commented on 2024-02-14 21:34 (UTC)

@harmathy thanks, zlib-ng added to makedepends solves my issue.

harmathy commented on 2024-02-14 20:18 (UTC)

@FredBezies zlib-ng has to be added to depends, not makedepends. Otherwise:

dosbox: error while loading shared libraries: libz-ng.so.2: cannot open shared object file: No such file or directory

@jakedane building with zlib-ng also fixes the issue with libpng.

jakedane commented on 2024-02-14 19:42 (UTC)

1:0.81.0-1 builds successfully but it can't be installed:

error: failed to commit transaction (conflicting files)
dosbox-staging: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.

I tried recompiling with libpng:default_library=shared added to meson setup but that doesn't make a difference. Any clue how I can make it use the system libpng and not build its own?

FredBezies commented on 2024-02-14 15:13 (UTC)

Please add zlib-ng to makedepends.

prettyvanilla commented on 2023-02-04 00:03 (UTC)

@silverhikari Please readd speexdsp, libslirp, fluidsynth and munt as direct dependencies. Dependencies that are available in the repos (or have a well maintained package in the AUR) should generally be used instead of having the build system download its own version.

Currently this further causes the problem that when built in a clean environment like for the package in the chaotic-aur repo the speexdsp subproject adds its include and pkgconfig files to the built package, causing file conflicts on installation when speexdsp is already installed.

silverhikari commented on 2022-10-03 13:19 (UTC)

@lithium_sulfate this problem is caused by speexdsp being pulled in by meson wrap and being static built for dosbox-staging. to fix this without doing changes to the pkgbuild you need to uninstall dosbox-staging and make a clean build of the pkg. you do not need to worry about static libraries as these are only used when the dependency is not install at time of build, so if you have the dynamic library of a package then it will detect that and not pull-in the upstream version to static build.

lithium_sulfate commented on 2022-10-03 08:29 (UTC)

Thank you for maintaining this package. Your most recent update to the PKGBUILD appears to have broken compilation for me because the package still appears to require speexdsp, which got removed from depends. Re-adding speexdsp to depends fixes the build.