GNU bug report logs - #38141
[PATCH] gnu: Add carla.

Previous Next

Package: guix-patches;

Reported by: Alexandros Theodotou <alex <at> zrythm.org>

Date: Sat, 9 Nov 2019 00:00:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38141 in the body.
You can then email your comments to 38141 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38141; Package guix-patches. (Sat, 09 Nov 2019 00:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandros Theodotou <alex <at> zrythm.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 09 Nov 2019 00:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandros Theodotou <alex <at> zrythm.org>
To: Guix patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add carla.
Date: Sat, 09 Nov 2019 00:59:46 +0100
From 77de9785c18683c68dc22f640afb614ef4e88a6c Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex <at> zrythm.org>
Date: Fri, 8 Nov 2019 23:56:58 +0000
Subject: [PATCH] gnu: Add carla.

* gnu/packages/audio.scm (carla): New variable.
---
 gnu/packages/audio.scm | 57 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 28dbf06f3b..20c093e610 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2019 Rutger Helling <rhelling <at> mykolab.com>
 ;;; Copyright © 2019 Arun Isaac <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex <at> zrythm.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3773,3 +3774,59 @@ other Gnaural instances, allowing synchronous 
sessions between many users.")
 a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the 
audio
 stream to one or more IceCast and/or ShoutCast servers.")
     (license license:gpl3+)))
+
+(define-public carla
+  (package
+    (name "carla")
+    (version "2.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://github.com/falkTX/Carla/archive/v"
+               version ".tar.gz"))
+        (file-name (string-append name "-v" version ".tar.gz"))
+        (sha256
+          (base32
+            "0hbcxwi6ln9vrv61vv11f7dn0z8q3wimjqvzh2z9mklcgx0xij6h"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f  ; no "check" target
+       #:make-flags
+       (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'set-CC-variable-and-show-features
+           (lambda _
+             (setenv "CC" "gcc")
+             (invoke "make" "features")))
+         (delete 'configure))))
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("ffmpeg" ,ffmpeg)
+       ("fluidsynth" ,fluidsynth)
+       ("file" ,file)
+       ("liblo" ,liblo)
+       ("libsndfile" ,libsndfile)
+       ("gtk+" ,gtk+)
+       ("python-pyliblo" ,python-pyliblo)
+       ("python-pyqt" ,python-pyqt)
+       ("python-rdflib" ,python-rdflib)
+       ;; python-pyqt shows the following error without python-wrapper:
+       ;; Error while finding module specification for 
'PyQt5.uic.pyuic'
+       ;; (ModuleNotFoundError: No module named 'PyQt5')
+       ("python-wrapper" ,python-wrapper)
+       ("libx11" ,libx11)
+       ("qtbase" ,qtbase)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://kxstudio.linuxaudio.org/Applications:Carla")
+    (synopsis "Audio plugin host")
+    (description " Carla is a fully-featured modular audio plugin host, 
with
+support for many audio drivers and plugin formats. It has features like
+transport control, automation of parameters via MIDI CC and remote 
control
+over OSC. Carla currently supports LADSPA (including LRDF), DSSI, LV2, 
VST2,
+and VST3 plugin formats, plus SF2 and SFZ file support. It uses JACK as 
the
+default and preferred audio driver but also supports native drivers 
like ALSA.")
+    (license license:gpl2+)))
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38141; Package guix-patches. (Mon, 11 Nov 2019 05:07:01 GMT) Full text and rfc822 format available.

Message #8 received at 38141 <at> debbugs.gnu.org (full text, mbox):

From: Alexandros Theodotou <alex <at> zrythm.org>
To: 38141 <at> debbugs.gnu.org
Subject: Re: [bug#38141] [PATCH] gnu: Add carla.
Date: Mon, 11 Nov 2019 05:05:59 +0000
[Message part 1 (text/plain, inline)]
Updated patch. Note that I can't get it to build the same derivation
twice:
```
output ‘/gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-2.0.0’ of
‘/gnu/store/nlyk7zhcnq0fl57z95qyf78gf4qsbl2r-carla-2.0.0.drv’ differs
from ‘/gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-2.0.0-check’
from previous round
```
[0001-gnu-Add-carla.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38141; Package guix-patches. (Fri, 15 Nov 2019 18:31:01 GMT) Full text and rfc822 format available.

Message #11 received at 38141 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Alexandros Theodotou <alex <at> zrythm.org>, 38141 <at> debbugs.gnu.org
Subject: Re: [bug#38141] [PATCH] gnu: Add carla.
Date: Fri, 15 Nov 2019 19:30:10 +0100
[Message part 1 (text/plain, inline)]
Alexandros Theodotou <alex <at> zrythm.org> writes:

> Updated patch. Note that I can't get it to build the same derivation
> twice:
> ```
> output ‘/gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-2.0.0’ of
> ‘/gnu/store/nlyk7zhcnq0fl57z95qyf78gf4qsbl2r-carla-2.0.0.drv’ differs
> from ‘/gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-2.0.0-check’
> from previous round
> ```

Can you build with '--keep-failed', and then run:

  diffoscope /gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-2.0.0{,-check}

and send the output?

The updated patch LGTM, but does not apply any more.  Can you rebase it
on top of current 'master'?

TIA!
Marius
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38141; Package guix-patches. (Sat, 16 Nov 2019 21:53:01 GMT) Full text and rfc822 format available.

Message #14 received at 38141 <at> debbugs.gnu.org (full text, mbox):

From: Alexandros Theodotou <alex <at> zrythm.org>
To: Marius Bakke <mbakke <at> fastmail.com>, 38141 <at> debbugs.gnu.org
Subject: Re: [bug#38141] [PATCH] gnu: Add carla.
Date: Sat, 16 Nov 2019 21:35:46 +0000
[Message part 1 (text/plain, inline)]
Hi Marius,

> Can you build with '--keep-failed', and then run:
> 
>   diffoscope /gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-
> 2.0.0{,-check}
> 
> and send the output?
> 
> The updated patch LGTM, but does not apply any more.  Can you rebase
> it
> on top of current 'master'?

Attaching the diffoscope output and updated patch. The output from
diffoscope was 8.5MB so I compressed it. Note that the hash has
changed.
[0001-gnu-Add-carla.patch (text/x-patch, attachment)]
[diffoscope-output.tar.gz (application/x-compressed-tar, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 19 Nov 2019 23:18:03 GMT) Full text and rfc822 format available.

Notification sent to Alexandros Theodotou <alex <at> zrythm.org>:
bug acknowledged by developer. (Tue, 19 Nov 2019 23:18:03 GMT) Full text and rfc822 format available.

Message #19 received at 38141-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Alexandros Theodotou <alex <at> zrythm.org>, 38141-done <at> debbugs.gnu.org
Subject: Re: [bug#38141] [PATCH] gnu: Add carla.
Date: Wed, 20 Nov 2019 00:17:37 +0100
[Message part 1 (text/plain, inline)]
Alexandros Theodotou <alex <at> zrythm.org> writes:

> Hi Marius,
>
>> Can you build with '--keep-failed', and then run:
>> 
>>   diffoscope /gnu/store/k22jfy6asbwsxbmmajgghcnnrz6dgaqi-carla-
>> 2.0.0{,-check}
>> 
>> and send the output?
>> 
>> The updated patch LGTM, but does not apply any more.  Can you rebase
>> it
>> on top of current 'master'?
>
> Attaching the diffoscope output and updated patch. The output from
> diffoscope was 8.5MB so I compressed it. Note that the hash has
> changed.

Thanks.  So it looks like resources_rc.py is not reproducible.  It is
not really possible to tell why from the diffoscope output though.

It is generated by PyQt, so I opened a separate bug report about it:

https://bugs.gnu.org/38283

[...]

> From 879230335a8ef5b40d09f493f380ab310c6976b3 Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex <at> zrythm.org>
> Date: Fri, 8 Nov 2019 23:56:58 +0000
> Subject: [PATCH] gnu: Add carla.
>
> * gnu/packages/audio.scm (carla): New variable.

Applied (with indentation change), thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.