emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58681: closed ([PATCH] gnu: Add synthpod)


From: GNU bug Tracking System
Subject: bug#58681: closed ([PATCH] gnu: Add synthpod)
Date: Tue, 24 Jan 2023 23:27:02 +0000

Your message dated Wed, 25 Jan 2023 00:24:12 +0100
with message-id <87r0vjcy60.fsf@elephly.net>
and subject line Re: [PATCH v2] gnu: Add synthpod.
has caused the debbugs.gnu.org bug report #58681,
regarding [PATCH] gnu: Add synthpod
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
58681: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58681
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add synthpod Date: Fri, 21 Oct 2022 11:19:24 +0000
* gnu/packages/music.scm (synthpod): New variable.
---
 gnu/packages/music.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6b37c79..6ff2c99 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -173,6 +173,7 @@
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages stb)
   #:use-module (gnu packages tcl)
+  #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tex)
   #:use-module (gnu packages time)
@@ -3456,6 +3457,50 @@ analogue-like user interface.")
 socket or command line.")
       (license license:gpl3+))))

+(define-public synthpod
+  (package
+    (name "synthpod")
+    (version "0.1.6505")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://git.open-music-kontrollers.ch/lv2/synthpod";)
+                     ;; Version is not tagged but mentioned in VERSION file.
+                     (commit "8273142cd702583cb3662fbe0e2fd5d4075ee703")))
+              (sha256
+                (base32
+                 "120qsd090pwkc21g9a5mm0pjb0rqn1iy4rs5lx3fs0qf3wa7k6ri"))))
+    (build-system meson-build-system)
+    ;; Fontconfig error: No writable cache directories
+    (arguments (list #:tests? #f))
+    (inputs (list alsa-lib
+                  cairo
+                  eudev
+                  freetype
+                  fontconfig
+                  glew
+                  glu
+                  jack-1
+                  libevdev
+                  libinput
+                  libvterm
+                  lilv
+                  lv2
+                  pixman
+                  sratom
+                  xcb-util
+                  xcb-util-wm
+                  xcb-util-xrm
+                  zita-alsa-pcmi))
+    (native-inputs (list ;lv2lint     ; needed for tests
+                         pkg-config))
+    (home-page "https://open-music-kontrollers.ch/lv2/synthpod/";)
+    (synopsis "Nonlinear LV2 plugin container")
+    (description
+     "Synthpod is an LV2 host.  It can be run as a standalone app and be used
+as a tool for live performances or general audio and event filtering.")
+    (license (list license:artistic2.0 license:gpl3+))))
+
 (define-public curseradio
   (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
         (revision "1"))
--
libgit2 1.4.3




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH v2] gnu: Add synthpod. Date: Wed, 25 Jan 2023 00:24:12 +0100 User-agent: mu4e 1.8.13; emacs 28.2
Sughosha <Sughosha@proton.me> writes:

> Thanks for reviewing the patch and improving it.
>
>> We should probably also wrap the scripts to set PATH to where “grep”,
> “coreutils”, “sed”, and “gawk” are found, but I wasn’t able to add (gnu
> packages gawk) to the imports of (gnu packages music).
>
> This is not the only package requiring such basic programs like "sed",
> "grep" etc but not wrapped or listed in inputs. The other such package that
> I am aware of is ardour, which also requires these programs. I tried
> running ardour in a guix shell with --emulate-fhs, then found that ardour
> could not start because these programs were not found in the PATH. So I am
> not sure if it is required to add these programs to inputs or to wrap them.

To me this means that we should also fix ardour, not that we should
ignore the problem in other packages :)

>> Unfortunately, the program crashes because it can’t find the LV2 files
> for Synthpod itself:
>
> I fixed it partially. The binaries are confusing. `synthpod_ui` seems like
> not to be run manually. The way that I found to run the ui is
> `synthpod_alsa -g` or `synthpod_jack -g`.
>
> Strangely, with the attatched new v3 patch, the program starts only if
> installed to guix profile (or maybe something else like guix home, not
> tested). Just by building, the program searches for "manifest.ttl" file
> in the current working directory and fails to start.

That’s odd, but perhaps it’s the default of an LV2 library that synthpod
uses.

The patch looks good enough to me, so I applied it.  Feel free to
revisit it at a later point to address the remaining minor issues.

Thank you!

-- 
Ricardo


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]