guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: carla: Partially fix start-up.


From: guix-commits
Subject: branch master updated: gnu: carla: Partially fix start-up.
Date: Fri, 06 Mar 2020 09:12:54 -0500

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5424e68  gnu: carla: Partially fix start-up.
5424e68 is described below

commit 5424e680b829c72ed7531333a532643e6f62ceb3
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Fri Mar 6 15:01:08 2020 +0100

    gnu: carla: Partially fix start-up.
    
    This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39942> but
    carla still fails to start.
    
    Reported by Nathan Dehnel <address@hidden>.
    
    * gnu/packages/audio.scm (carla)[arguments]: Add ‘make-carla-executable’ 
phase.
---
 gnu/packages/audio.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 2406aa1..d0810bd 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3930,11 +3930,17 @@ as is the case with audio plugins.")
        (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases
+         (delete 'configure)            ; no configure script
          (add-before 'build 'set-CC-variable-and-show-features
            (lambda _
              (setenv "CC" "gcc")
              (invoke "make" "features")))
-         (delete 'configure))))
+         (add-after 'install 'make-carla-executable
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (chmod (string-append out "/share/carla/carla") #o555)
+               #t)))
+         )))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("ffmpeg" ,ffmpeg)



reply via email to

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