Subject: bug#39039: closed (Re: [bug#39039] [PATCH 2/2] gnu: Add zrythm.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 27 Jan 2020 22:20:02 +0000

Your bug report

#39039: [PATCH 2/2] gnu: Add zrythm.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39039: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39039
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#39039] [PATCH 2/2] gnu: Add zrythm.
From: Ludovic Courtès <[email-masked]>
To: Alexandros Theodotou <[email-masked]>
Cc: [email-masked]
Date: Mon, 27 Jan 2020 23:19:22 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Alexandros Theodotou <[email-masked]> skribis:

> From 008f999d55f995b41de02bdd02de9fb4042653b3 Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <[email-masked]>
> Date: Wed, 8 Jan 2020 14:31:05 +0000
> Subject: [PATCH 2/2] gnu: Add zrythm.
>
> * gnu/packages/music.scm (zrythm): New variable.

I’ve applied the patch.

However, note that zrythm doesn’t keep any run-time reference to
‘xdg-utils’:

  guix gc --references \
  /gnu/store/6ahg92sk3akaspbvcd8vawkndjq97rf3-zrythm-0.7.345 |grep xdg-
  # nothing

That means that, at run time, it won’t find ‘xdg-open’ unless the user
explicitly adds it to their profile.  Could you take a look?

Furthermore, I get the usual:

--8<---------------cut here---------------start------------->8---
$ /gnu/store/6ahg92sk3akaspbvcd8vawkndjq97rf3-zrythm-0.7.345/bin/zrythm
[…]
(zrythm:31567): GLib-GIO-ERROR **: 23:13:27.284: Settings schema 'org.zrythm.Zrythm.preferences' is not installed

(zrythm:31567): GLib-GIO-ERROR **: 23:13:27.284: Settings schema 'org.zrythm.Zrythm' is not installed
Spurumo-/romppunkto-komando
--8<---------------cut here---------------end--------------->8---

… hence the attached patch, which I applied.

Thanks!

Ludo’.

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 55c66a8081..e378e9880b 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5152,9 +5152,9 @@ and as an LV2 plugin.")
           (base32
             "1csiwq38a1ckx23lairfpl7qjkz71wsa7a9vsxl3k58f9ybibiil"))))
    (build-system meson-build-system)
-   (outputs '("out"))
    (arguments
-    `(#:configure-flags
+    `(#:glib-or-gtk? #t
+      #:configure-flags
       `("-Denable_tests=true" "-Dmanpage=true"
         "-Dinstall_dseg_font=false" "-Denable_ffmpeg=true")))
    (inputs

Subject: [PATCH 2/2] gnu: Add zrythm.
From: Alexandros Theodotou <[email-masked]>
To: Guix patches <[email-masked]>
Date: Wed, 08 Jan 2020 14:36:43 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Attaching the patch for Zrythm.

Thanks,
Alex
From 008f999d55f995b41de02bdd02de9fb4042653b3 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Wed, 8 Jan 2020 14:31:05 +0000
Subject: [PATCH 2/2] gnu: Add zrythm.

* gnu/packages/music.scm (zrythm): New variable.
---
 gnu/packages/music.scm | 49 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 48 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e607306282..a1f297832f 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -24,7 +24,7 @@
 ;;; Copyright © 2019 Jakob L. Kreuze <[email-masked]>
 ;;; Copyright © 2019 raingloom <[email-masked]>
 ;;; Copyright © 2019 David Wilson <[email-masked]>
-;;; Copyright © 2019 Alexandros Theodotou <[email-masked]>
+;;; Copyright © 2019, 2020 Alexandros Theodotou <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5113,3 +5113,50 @@ MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
     (description "Helm is a cross-platform polyphonic synthesizer available standalone
 and as an LV2 plugin.")
     (license license:gpl3+)))
+
+(define-public zrythm
+  (package
+    (name "zrythm")
+    (version "0.7.345")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://www.zrythm.org/releases/zrythm-"
+                            version ".tar.xz"))
+        (sha256
+          (base32
+            "1csiwq38a1ckx23lairfpl7qjkz71wsa7a9vsxl3k58f9ybibiil"))))
+   (build-system meson-build-system)
+   (outputs '("out"))
+   (arguments
+    `(#:configure-flags
+      `("-Denable_tests=true" "-Dmanpage=true"
+        "-Dinstall_dseg_font=false" "-Denable_ffmpeg=true")))
+   (inputs
+    `(("alsa-lib" ,alsa-lib)
+      ("jack" ,jack-1)
+      ("font-dseg", font-dseg)
+      ("ffmpeg", ffmpeg)
+      ("fftw", fftw)
+      ("fftwf", fftwf)
+      ("gettext", gettext-minimal)
+      ("glibc", glibc)
+      ("gtk+", gtk+)
+      ("libsamplerate" ,libsamplerate)
+      ("libsndfile" ,libsndfile)
+      ("libyaml" ,libyaml)
+      ("lilv", lilv)
+      ("xdg-utils", xdg-utils)
+      ("rubberband", rubberband)))
+   (native-inputs
+     `(("pkg-config", pkg-config)
+       ("help2man", help2man)
+       ("libaudec" ,libaudec)
+       ("lv2", lv2)
+       ("glib" ,glib "bin"))) ;for 'glib-compile-resources'
+   (synopsis "Digital audio workstation focusing on usability")
+   (description "Zrythm is a digital audio workstation designed to be
+featureful and easy to use.  It offers unlimited automation options, LV2
+plugin support, JACK support and chord assistance.")
+   (home-page "https://www.zrythm.org")
+   (license license:agpl3+)))
-- 
2.24.1