Subject: bug#39038: 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 1/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 1/2] gnu: Add zrythm.
From: Alexandros Theodotou <[email-masked]>
To: Guix patches <[email-masked]>
Date: Wed, 08 Jan 2020 14:34:32 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

This first patch is a small library statically linked into Zrythm. The
next patch is Zrythm itself.

Thanks,
Alex
From 601bfb7e9c9efb13d8218fc35f09da70649e8513 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Wed, 8 Jan 2020 14:26:45 +0000
Subject: [PATCH 1/2] gnu: Add libaudec.

* gnu/packages/audio.scm (libaudec): New variable.
---
 gnu/packages/audio.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index cf06732e18..e62b63f0e3 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2019 Rutger Helling <[email-masked]>
 ;;; Copyright © 2019 Arun Isaac <[email-masked]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email-masked]>
-;;; Copyright © 2019 Alexandros Theodotou <[email-masked]>
+;;; Copyright © 2019, 2020 Alexandros Theodotou <[email-masked]>
 ;;; Copyright © 2019 Christopher Lemmer Webber <[email-masked]>
 ;;; Copyright © 2019 Jan Wielkiewicz <[email-masked]>
 ;;; Copyright © 2019 Hartmt Goebel <[email-masked]>
@@ -54,6 +54,7 @@
   #:use-module (guix build-system waf)
   #:use-module (guix build-system trivial)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (gnu packages)
@@ -4026,3 +4027,34 @@ in the package.")
     ;; (see the file 'COPYING.LGPL'). This allows writing ECI applications
     ;; that are not licensed under GPL.
     (license (list license:gpl2 license:lgpl2.1))))
+
+(define-public libaudec
+  (package
+    (name "libaudec")
+    (version "0.2")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://git.zrythm.org/git/libaudec")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "0lfydvs92b0hr72z71ci3yi356rjzi162pgms8dphgg18bz8dazv"))))
+   (build-system meson-build-system)
+   (arguments
+    `(#:configure-flags `("-Denable_tests=true -Denable_ffmpeg=true")))
+   (inputs
+    `(("libsamplerate" ,libsamplerate)
+      ("libsndfile" ,libsndfile)
+      ("ffmpeg" ,ffmpeg)))
+   (native-inputs
+     `(("pkg-config", pkg-config)))
+   (synopsis "Library for reading and resampling audio files")
+   (description "libaudec is a wrapper library over
+ffmpeg, sndfile and libsamplerate for reading and
+resampling audio files, based on Robin Gareus' `audio_decoder`
+code.")
+   (home-page "https://git.zrythm.org/cgit/libaudec")
+   (license license:agpl3+)))
--
2.24.1