unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65656] [PATCH] gnu: dosbox-staging: Update to 0.80.1.
@ 2023-08-31 11:42 iyzsong--- via Guix-patches via
  2023-09-06  3:36 ` bug#65656: " Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-08-31 11:42 UTC (permalink / raw)
  To: 65656; +Cc: 宋文武

From: 宋文武 <iyzsong@member.fsf.org>

* gnu/packages/emulators.scm (dosbox-staging): Update to 0.80.1.
[inputs]: Add libslirp an sdl2-image.  Don't use sdl-union.
[arguments]: Adjust configure-flags and 'fix-includes' phase.
---
 gnu/packages/emulators.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 67950c1603..1d50c9ef01 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -60,6 +60,7 @@ (define-module (gnu packages emulators)
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages containers)
   #:use-module (gnu packages cross-base)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages digest)
@@ -400,7 +401,7 @@ (define-public dosbox-staging
   ;; This is not a patch staging area for DOSBox, but an unaffiliated fork.
   (package
     (name "dosbox-staging")
-    (version "0.79.1")
+    (version "0.80.1")
     (source
      (origin
        (method git-fetch)
@@ -409,16 +410,14 @@ (define-public dosbox-staging
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0wdnkz3djjc514hn945fr9g9mnpnvk16fan84ny9g5wxak6dvsqp"))))
+        (base32 "1iqqrw95lpgjbmi777jdl5z1nizxgfy8xwpmy1fasjlb2yh2kp93"))))
     (build-system meson-build-system)
     (arguments
      (list #:configure-flags
            #~(list
               ;; These both try to git clone subprojects.
               "-Dunit_tests=disabled"   ; gtest
-              "-Duse_mt32emu=false"
-              ;; Not packaged.
-              "-Duse_slirp=false")
+              "-Duse_mt32emu=false")
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'fix-includes
@@ -426,7 +425,7 @@ (define-public dosbox-staging
                    ;; This unnecessary file has an encoding error.
                    (delete-file "./src/libs/sdlcd/macosx/SDLOSXCAGuard.h")
                    (substitute* (find-files "." "\\.(cpp|h)")
-                     (("^(#include <)(SDL[_.])" _ include file)
+                     (("^(#[[:space:]]*include <)(SDL[_.])" _ include file)
                       (string-append include "SDL2/" file))))))))
     (native-inputs
      (list pkg-config))
@@ -435,9 +434,12 @@ (define-public dosbox-staging
            fluidsynth
            iir
            libpng
+           libslirp
            mesa
            opusfile
-           (sdl-union (list sdl2 sdl2-net))
+           sdl2
+           sdl2-image
+           sdl2-net
            speexdsp
            zlib))
     (home-page "https://dosbox-staging.github.io")

base-commit: 299d0463d54c97b237deb2fe9e464108544344c0
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65656: [PATCH] gnu: dosbox-staging: Update to 0.80.1.
  2023-08-31 11:42 [bug#65656] [PATCH] gnu: dosbox-staging: Update to 0.80.1 iyzsong--- via Guix-patches via
@ 2023-09-06  3:36 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-09-06  3:36 UTC (permalink / raw)
  To: iyzsong; +Cc: 宋文武, 65656-done

> From: 宋文武 <iyzsong@member.fsf.org>
>
> * gnu/packages/emulators.scm (dosbox-staging): Update to 0.80.1.
> [inputs]: Add libslirp an sdl2-image.  Don't use sdl-union.
> [arguments]: Adjust configure-flags and 'fix-includes' phase.

Installed!

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-06  3:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-31 11:42 [bug#65656] [PATCH] gnu: dosbox-staging: Update to 0.80.1 iyzsong--- via Guix-patches via
2023-09-06  3:36 ` bug#65656: " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).