all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62918] [PATCH] gnu: schismtracker: Update to 20221201.
@ 2023-04-18  1:39 Antero Mejr via Guix-patches via
  2023-04-25  9:28 ` bug#62918: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Antero Mejr via Guix-patches via @ 2023-04-18  1:39 UTC (permalink / raw)
  To: 62918

* gnu/packages/music.scm (schismtracker): Update to 20221201.
[source]: Convert snippet to gexp.
[arguments]: Convert to gexp, add configure flags for FLAC and Wayland
support.
[inputs]: Remove libx11, libxext, and sdl; add flac and sdl2.
---
Tested working in XWayland and pure Wayland on a AMD64 pulseaudio system.

 gnu/packages/music.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0a66ece40a..3c0ebcfd82 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4127,7 +4127,7 @@ (define-public milkytracker
 (define-public schismtracker
   (package
     (name "schismtracker")
-    (version "20190805")
+    (version "20221201")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4136,26 +4136,27 @@ (define-public schismtracker
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
+                "11yy5zrdfvnwzwdwmc3s3lx1ymwiyp1si5mmv4h9qxipd9j96ijp"))
               (modules '((guix build utils)))
               (snippet
                ;; Remove use of __DATE__ and __TIME__ for reproducibility.
-               `(begin
-                  (substitute* "schism/version.c"
-                    (("Schism Tracker built %s %s.*$")
-                     (string-append "Schism Tracker version " ,version "\") ;")))
-              #t))))
+               #~(substitute* "schism/version.c"
+                   (("Schism Tracker built %s %s.*$")
+                    (string-append
+                     "Schism Tracker version " #$version "\") ;"))))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'link-libm
-           (lambda _ (setenv "LIBS" "-lm") #t)))))
+     (list #:configure-flags #~(list "--with-flac=yes" "--with-x11=no")
+           #:phases #~(modify-phases %standard-phases
+                        (add-before 'configure 'link-libm
+                          (lambda _
+                            (setenv "LIBS" "-lm"))))))
     (native-inputs
      (list autoconf automake python))
     (inputs
      (list alsa-lib ; for asound dependency
-           libx11 libxext sdl))
+           flac
+           sdl2))
     (home-page "https://schismtracker.org")
     (synopsis "Oldschool sample-based music composition tool")
     (description
-- 
2.39.2





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

* bug#62918: [PATCH] gnu: schismtracker: Update to 20221201.
  2023-04-18  1:39 [bug#62918] [PATCH] gnu: schismtracker: Update to 20221201 Antero Mejr via Guix-patches via
@ 2023-04-25  9:28 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2023-04-25  9:28 UTC (permalink / raw)
  To: Antero Mejr; +Cc: 62918-done, guix-patches

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]


Antero Mejr via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/music.scm (schismtracker): Update to 20221201.
> [source]: Convert snippet to gexp.
> [arguments]: Convert to gexp, add configure flags for FLAC and Wayland
> support.
> [inputs]: Remove libx11, libxext, and sdl; add flac and sdl2.
> ---
> Tested working in XWayland and pure Wayland on a AMD64 pulseaudio system.
>
>  gnu/packages/music.scm | 25 +++++++++++++------------
>  1 file changed, 13 insertions(+), 12 deletions(-)

Sounds good to me, I've pushed this to master as
8a5b6d53829fb94018c4aba15fc5571a3231c9a4.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2023-04-25  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18  1:39 [bug#62918] [PATCH] gnu: schismtracker: Update to 20221201 Antero Mejr via Guix-patches via
2023-04-25  9:28 ` bug#62918: " Christopher Baines

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.