Package Details: dosbox-staging-git 0.82.0.alpha.1847.gfb0804c9f-1

Git Clone URL: https://aur.archlinux.org/dosbox-staging-git.git (read-only, click to copy)
Package Base: dosbox-staging-git
Description: A modernized DOSBox project using current development practices and tools, fixing issues, adding features that better support today's systems
Upstream URL: https://github.com/dosbox-staging/dosbox-staging
Keywords: dos emulator games gaming
Licenses: GPL2
Conflicts: dosbox, dosbox-staging
Provides: dosbox, dosbox-staging
Submitter: sharkwouter
Maintainer: magamo
Last Packager: magamo
Votes: 5
Popularity: 0.009886
First Submitted: 2020-03-16 21:32 (UTC)
Last Updated: 2025-06-09 23:16 (UTC)

Required by (58)

Sources (1)

Latest Comments

1 2 3 Next › Last »

es20490446e commented on 2025-06-02 14:42 (UTC)

license=("GPL-2.0-or-later")

es20490446e commented on 2025-06-02 14:39 (UTC) (edited on 2025-06-02 14:41 (UTC) by es20490446e)

Wrong:

sed -i "s|%GITHUB_REPO%|dreamer/dosbox-staging|" docs/README.template

Right:

sed -i "s|%GITHUB_REPO%|${_pkgname}/${_pkgname}|" docs/README.template

Wrong:

install -Dm 644 "${srcdir}/${_pkgname}/README" "${pkgdir}/usr/share/doc/${_pkgname}/manual.txt"

Right:

install -Dm 644 "${srcdir}/${_pkgname}/README.md" "${pkgdir}/usr/share/doc/${_pkgname}/manual.txt"

es20490446e commented on 2025-06-02 14:12 (UTC) (edited on 2025-06-02 14:13 (UTC) by es20490446e)

"depends" must have "dosbox-staging":

provides=("dosbox" "dosbox-staging")
conflicts=("${provides[@]}")

<deleted-account> commented on 2024-02-15 03:12 (UTC)

Meson installs subprojects files by default, this will conflict with system libpng files. Just add --skip-subprojects libpng to meson install to prevent this behaviour.

diff --git a/PKGBUILD b/PKGBUILD
index 15abb87..6da9385 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,7 +26,7 @@ build() {
 package() {
   cd "$srcdir/${pkgname}-${pkgver}"

-  meson install -C build --destdir "$pkgdir"
+  meson install -C build --destdir "$pkgdir" --skip-subprojects libpng

   install -Dm 644 "docs/README.video" "$pkgdir/usr/share/doc/${pkgname}/video.txt"
   install -Dm 644 "README" "$pkgdir/usr/share/doc/${pkgname}/manual.txt"

magamo commented on 2023-12-22 10:10 (UTC)

I cannot reproduce or confirm this. Please try removing your old package, and your aur helper cache and rebuild. If that does not work, we can investigate further.

ArshiaAghaei commented on 2023-12-22 07:07 (UTC) (edited on 2023-12-22 07:12 (UTC) by ArshiaAghaei)

It fails to install for the 0.81-aplha:

Packages (1) dosbox-staging-git-0.81.0.alpha.2255.gc5ec61778-1

Total Installed Size:  9.75 MiB
Net Upgrade Size:      1.13 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
error: failed to commit transaction (conflicting files)
dosbox-staging-git: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) dosbox-staging-git-0.81.0.alpha.2255.gc5ec61778-1

Total Installed Size:  9.75 MiB
Net Upgrade Size:      1.13 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
error: failed to commit transaction (conflicting files)
dosbox-staging-git: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) dosbox-staging-git-0.81.0.alpha.2255.gc5ec61778-1

Total Installed Size:  9.75 MiB
Net Upgrade Size:      1.13 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
error: failed to commit transaction (conflicting files)
dosbox-staging-git: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.
error: packages failed to build: gzdoom-git-4.12pre+10+g48ba63c-1  zsh-autocomplete-git-r129.93d93c6-1

Full log: https://paste.ofcode.org/e755YLcvHdN2qgccD7jsUE

electronic_punk commented on 2022-11-15 10:25 (UTC)

Another dosbox-staging issue:


[266/266] Linking target dosbox
FAILED: dosbox 
c++  -o dosbox dosbox.p/meson-generated_.._version.cpp.o dosbox.p/src_main.cpp.o dosbox.p/src_dosbox.cpp.o dosbox.p/src_libs_ghc_fs_std_impl.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group src/misc/libmisc.a src/libs/loguru/libloguru.a src/libs/whereami/libwhereami.a src/cpu/libcpu.a src/dos/libdos.a src/libs/decoders/libdecoders.a src/fpu/libfpu.a src/gui/libgui.a src/libs/ppscale/libppscale.a src/hardware/libhardware.a src/libs/nuked/libnuked.a src/libs/residfp/libresidfp.a src/libs/YM7128B_emu/libym7128bemu.a src/libs/zmbv/libzmbv.a src/ints/libints.a src/midi/libmidi.a src/shell/libshell.a src/libs/sdlcd/libsdlcd.a src/libs/tal-chorus/libtalchorus.a src/libs/manymouse/libmanymouse.a -lstdc++fs /usr/lib/libSDL2.so /usr/lib/libSDL2_image.so -pthread /usr/lib/libiir.so /usr/lib/libslirp.so /usr/lib/libglib-2.0.so -lstdc++fs -ldl /usr/lib/libopusfile.so /usr/lib/libGL.so /usr/lib/libpng16.so /usr/lib/libSDL2_net.so /usr/lib/libspeexdsp.so /usr/lib/libz.so /usr/lib/libfluidsynth.so /usr/lib/libmt32emu.so /usr/lib/libasound.so -Wl,--end-group
/usr/bin/ld: warning: libhwy.so.1, needed by /usr/lib/libjxl.so.0.7, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::AllocateAlignedBytes(unsigned long, void* (*)(void*, unsigned long), void*)@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::FreeAlignedBytes(void const*, void (*)(void*, void*), void*)@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::SupportedTargets()@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::GetChosenTarget()@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::AlignedDeleter::DeleteAlignedArray(void*, void (*)(void*, void*), void*, void (*)(void*, unsigned long))@HWY_0'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.`

magamo commented on 2022-10-02 11:59 (UTC)

Hi everyone! I've cut down on the dependencies listed in the PKGBUILD. So long as fluidsynth, libslirp or munt is no longer installed on the system, dosbox-staging will build the dependency and statically link it internally.

If you install the new version of the package, and later remove the old dependencies, you will need to rebuild this package or you will get library not found errors.

magamo commented on 2022-09-19 12:44 (UTC)

I actually had already done that and removed it from makedepends. Enjoy!