unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74724] [PATCH 0/2] gnu: stargate: Fix inputs and paths.
@ 2024-12-07 12:06 Sughosha via Guix-patches via
  2024-12-07 12:21 ` [bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi Sughosha via Guix-patches via
  2024-12-07 12:21 ` [bug#74724] [PATCH 2/2] gnu: stargate: Add python-distro to inputs Sughosha via Guix-patches via
  0 siblings, 2 replies; 3+ messages in thread
From: Sughosha via Guix-patches via @ 2024-12-07 12:06 UTC (permalink / raw)
  To: 74724; +Cc: Sughosha

Sughosha (2):
  gnu: stargate: Fix finding portmidi.
  gnu: stargate: Add python-distro to inputs.

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


base-commit: 369d2698b0bfc3726f8e6d232d43d0dda832225f
-- 
2.46.0





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

* [bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi.
  2024-12-07 12:06 [bug#74724] [PATCH 0/2] gnu: stargate: Fix inputs and paths Sughosha via Guix-patches via
@ 2024-12-07 12:21 ` Sughosha via Guix-patches via
  2024-12-07 12:21 ` [bug#74724] [PATCH 2/2] gnu: stargate: Add python-distro to inputs Sughosha via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: Sughosha via Guix-patches via @ 2024-12-07 12:21 UTC (permalink / raw)
  To: 74724; +Cc: Sughosha

* gnu/packages/music.scm (stargate)[inputs]: Replace portmidi with
portmidi-2.
[arguments]<#:phases>: Replace patch-portaudio-path with
patch-portaudio-and-portmidi-paths.

Change-Id: Icd5dbe154d2f8cdb9a18006b03ce74ea73d328d4
---
 gnu/packages/music.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index cd9cdbdacd..c7f5063107 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5282,13 +5282,16 @@ (define-public stargate
                    (string-append "CXX=" #$(cxx-for-target)))
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'patch-portaudio-path
+               (add-after 'unpack 'patch-portaudio-and-portmidi-paths
                  (lambda* (#:key inputs #:allow-other-keys)
                    (substitute* "src/sgui/widgets/hardware_dialog.py"
                      (("\\\"libportaudio")
                       (string-append "\"" (assoc-ref inputs "portaudio")
-                                     "/lib/libportaudio")))))
-               (add-after 'patch-portaudio-path 'change-directory
+                                     "/lib/libportaudio"))
+                     (("'libportmidi")
+                      (string-append "'" (assoc-ref inputs "portmidi")
+                                     "/lib/libportmidi")))))
+               (add-after 'patch-portaudio-and-portmidi-paths 'change-directory
                  (lambda _
                    (chdir "src")))
                (delete 'configure) ;no configure script
@@ -5335,7 +5338,7 @@ (define-public stargate
            jq
            libsndfile
            portaudio
-           portmidi
+           portmidi-2
            python
            python-jinja2
            python-mido
-- 
2.46.0





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

* [bug#74724] [PATCH 2/2] gnu: stargate: Add python-distro to inputs.
  2024-12-07 12:06 [bug#74724] [PATCH 0/2] gnu: stargate: Fix inputs and paths Sughosha via Guix-patches via
  2024-12-07 12:21 ` [bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi Sughosha via Guix-patches via
@ 2024-12-07 12:21 ` Sughosha via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: Sughosha via Guix-patches via @ 2024-12-07 12:21 UTC (permalink / raw)
  To: 74724; +Cc: Sughosha

* gnu/packages/music.scm (stargate)[inputs]: Add python-distro.

Change-Id: I5558767835fd9a5d9fbe0742f9c6c22b033941f0
---
 gnu/packages/music.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c7f5063107..47e057a6d3 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5340,6 +5340,7 @@ (define-public stargate
            portaudio
            portmidi-2
            python
+           python-distro
            python-jinja2
            python-mido
            python-mutagen
-- 
2.46.0





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

end of thread, other threads:[~2024-12-07 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-07 12:06 [bug#74724] [PATCH 0/2] gnu: stargate: Fix inputs and paths Sughosha via Guix-patches via
2024-12-07 12:21 ` [bug#74724] [PATCH 1/2] gnu: stargate: Fix finding portmidi Sughosha via Guix-patches via
2024-12-07 12:21 ` [bug#74724] [PATCH 2/2] gnu: stargate: Add python-distro to inputs Sughosha via Guix-patches via

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).