From patchwork Sat Sep 19 20:51:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 24230 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E25CC27BBE8; Sat, 19 Sep 2020 21:52:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7DAD727BBE7 for ; Sat, 19 Sep 2020 21:52:12 +0100 (BST) Received: from localhost ([::1]:33712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJjq7-0007PI-GG for patchwork@mira.cbaines.net; Sat, 19 Sep 2020 16:52:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJjpy-0007P4-Kl for guix-patches@gnu.org; Sat, 19 Sep 2020 16:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJjpy-0007FU-BH for guix-patches@gnu.org; Sat, 19 Sep 2020 16:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJjpy-0002d9-AF for guix-patches@gnu.org; Sat, 19 Sep 2020 16:52:02 -0400 Subject: bug#43317: [PATCH] gnu: Add surge-synth. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 19 Sep 2020 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43317 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alexandros Theodotou Cc: 43317-done@debbugs.gnu.org Mail-Followup-To: 43317@debbugs.gnu.org, ludo@gnu.org, alex@zrythm.org Received: via spool by 43317-done@debbugs.gnu.org id=D43317.160054871610094 (code D ref 43317); Sat, 19 Sep 2020 20:52:02 +0000 Received: (at 43317-done) by debbugs.gnu.org; 19 Sep 2020 20:51:56 +0000 Received: from localhost ([127.0.0.1]:48228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJjpr-0002ck-KA for submit@debbugs.gnu.org; Sat, 19 Sep 2020 16:51:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJjpp-0002cW-13 for 43317-done@debbugs.gnu.org; Sat, 19 Sep 2020 16:51:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52172) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJjpi-0007Ef-0g; Sat, 19 Sep 2020 16:51:46 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49364 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJjpg-00072J-0j; Sat, 19 Sep 2020 16:51:45 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: Date: Sat, 19 Sep 2020 22:51:42 +0200 In-Reply-To: (Alexandros Theodotou's message of "Thu, 10 Sep 2020 20:08:56 +0100") Message-ID: <877dsppk0x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Alex, Alexandros Theodotou skribis: > From 613f46926fdf0453ec5ad5f5883130ed86bf6d9c Mon Sep 17 00:00:00 2001 > From: Alexandros Theodotou > Date: Thu, 10 Sep 2020 20:07:32 +0100 > Subject: [PATCH] gnu: Add surge-synth. > > * gnu/packages/music.scm (surge-synth): New variable. Applied with the changes below: added missing import, removed unneeded ‘begin’, followed ‘guix lint’ suggestion for the description. Thanks, Ludo’. diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 305a0023b7..899cc6a0e0 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -147,6 +147,7 @@ #:use-module (gnu packages vim) ;for 'xxd' #:use-module (gnu packages web) #:use-module (gnu packages wxwidgets) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages xiph) @@ -799,16 +800,16 @@ audio and video).") (modify-phases %standard-phases (add-after 'unpack 'replace-python (lambda* (#:key inputs outputs #:allow-other-keys) - (begin - (substitute* "CMakeLists.txt" - ((" python ") (string-append " " (assoc-ref inputs "python") "/bin/python3 "))) - #t))) - (add-after 'unpack 'fix-data-path + (substitute* "CMakeLists.txt" + ((" python ") + (string-append " " (assoc-ref inputs "python") + "/bin/python3 "))) + #t)) + (add-after 'unpack 'fix-data-directory-name (lambda* (#:key inputs outputs #:allow-other-keys) - (begin - (substitute* "src/common/SurgeStorage.cpp" - (("/usr") (assoc-ref outputs "out"))) - #t))) + (substitute* "src/common/SurgeStorage.cpp" + (("/usr") (assoc-ref outputs "out"))) + #t)) (replace 'install ; no install target (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((src (assoc-ref inputs "source")) @@ -842,8 +843,8 @@ audio and video).") (synopsis "Synthesizer plugin") (description "Surge is a subtractive hybrid digital synthesizer. Each patch contains -two 'scenes' which are separate instances of the entire synthesis engine -(except effects) that can be used for layering or split patches.") +two @dfn{scenes} which are separate instances of the entire synthesis +engine (except effects) that can be used for layering or split patches.") (license license:gpl3+))) (define-public klick