From patchwork Fri Aug 16 10:43:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apoorv X-Patchwork-Id: 30113 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 EBC5427BBEA; Fri, 16 Aug 2024 11:44:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DC9C827BBE2 for ; Fri, 16 Aug 2024 11:44:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seuRW-0007US-Ua; Fri, 16 Aug 2024 06:44:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seuRV-0007U4-Hy for guix-patches@gnu.org; Fri, 16 Aug 2024 06:44:25 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1seuRV-00079E-8S for guix-patches@gnu.org; Fri, 16 Aug 2024 06:44:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=hC/40mYlW9auedqCDrQfT0z9iYIcdq0CcDr59N0oGbk=; b=WbSQ45JfCCyeWb+aGMM5nBxj7Yf2c6oniOpjYoFe6R+aUkTScsJEL7H1SIXMGuUL2NRCqxJThI5VH03df1feabhO8Wxlrly0Es2zkyVwqk5T+rDy5sPoxvVI/h/Qcxu07ghYufYwTlJGj4c6Y8QD2MrAw692RzTPs+P4iywlDsxGPho6Q5xVQptUWIUzE54SCo1oMwl5cdzCPu33hQJ72mqVktsxt7ZNHHEv6Ob2guNjEuLWCGTHhsrdUWnPOtGGp+XIe0/rbSNNV4rxumAfST0qzWrN3X2UZe1ksCn+eY4CIPeZnRNfTbYlD8PRZkSoUlAqQn9ue6cpv6d6sGIyqA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1seuS6-0007Ak-Jh for guix-patches@gnu.org; Fri, 16 Aug 2024 06:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72666] [PATCH] Add firefly-synth package Resent-From: Apoorv Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Aug 2024 10:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72666 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72666@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.172380504527486 (code B ref -1); Fri, 16 Aug 2024 10:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2024 10:44:05 +0000 Received: from localhost ([127.0.0.1]:51749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seuRB-00079E-7L for submit@debbugs.gnu.org; Fri, 16 Aug 2024 06:44:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:58092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seuR8-00078N-Ed for submit@debbugs.gnu.org; Fri, 16 Aug 2024 06:44:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seuQV-0004m9-8D for guix-patches@gnu.org; Fri, 16 Aug 2024 06:43:24 -0400 Received: from w1.tutanota.de ([81.3.6.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seuQT-00074Z-B2 for guix-patches@gnu.org; Fri, 16 Aug 2024 06:43:23 -0400 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id 85CC5FBFCCB for ; Fri, 16 Aug 2024 10:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1723804999; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=hC/40mYlW9auedqCDrQfT0z9iYIcdq0CcDr59N0oGbk=; b=RQmfbTHv+h8w+iEJdQwukLVHmOhwIgpZyHOpbTyrEIRHbAs2QiMgXLFStI8Sj25s uH9eONa4I0atWZVN4ux8CTkdg+v7Tb5390JhoGp79sQuz6UYEG49RzfV8CSjKm8b6tI 9Xe8pFsGJzl3xWpek4vvV9dHYB6s7lPQGjdWKR+L7WtqMRep8gZL62Bx2+IJjTIajyW RrsQdMyCgfwsjgVmQasxSKO/4Pdph7xkDDY+I4VvMJ9XZKMhkzxr7ZJKLAioCnBxbVz Pm4Jv+SteE7aC0dZ95iYhV5ZvPbx0b7JXeRRLPSGQCs84W8wrmmexfMc1Nt+NPpD2aX sXZ1ZgOhQw== Date: Fri, 16 Aug 2024 12:43:19 +0200 (CEST) Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=81.3.6.162; envelope-from=apoorvs@tuta.io; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Apoorv X-ACL-Warn: , Apoorv via Guix-patches X-Patchwork-Original-From: Apoorv via Guix-patches via From: Apoorv Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This is a patch to add a new package, `firefly-synth` to `gnu/packages/music.scm`. From 5d08a4fee0ac8906780c43f340d01e9d0b82c03b Mon Sep 17 00:00:00 2001 From: apoorv569 Date: Fri, 16 Aug 2024 15:37:25 +0530 Subject: [PATCH 13/13] Add firefly-synth package --- gnu/packages/music.scm | 70 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 5b89419b07..6a28d73429 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -8577,6 +8577,76 @@ (define-public bitrot-plugins "Audio effect plugins (LV2, VST2, LADSPA) for glitch effects") (license license:asl2.0)))) +(define-public firefly-synth + (let ((commit "b4ba5a90461d698000df73ebff736570667e42ac") + (revision "1")) + (package + (name "firefly-synth") + (version (git-version "1.8.5" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sjoerdvankreel/firefly-synth") + (recursive? #t) + (commit commit))) + (sha256 + (base32 "1j6cap45608jdybgj3zsqlfbzmqpqxl29jk7ikk3x7d29jaxw84r")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ;; No test target + #:build-type "Release" + #:phases + #~(modify-phases + %standard-phases + (add-after 'install 'plugin-base-ref-gen + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (with-directory-excursion + "../source/dist/Release/linux" + (system* + "./plugin_base.ref_gen" + "firefly_synth_1.vst3/Contents/x86_64-linux/firefly_synth_1.so" + "../../../param_reference.html"))))) + (add-after 'plugin-base-ref-gen 'copy-plugin-artefacts + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (src (assoc-ref inputs "source")) + (clap (string-append out "/lib/clap")) + (vst3 (string-append out "/lib/vst3"))) + ;; Make clap and vst3 directories + (mkdir-p clap) + (mkdir-p vst3) + (with-directory-excursion + "../source/dist/Release/linux" + ;; Install clap. + (copy-recursively + "firefly_synth_1.clap" + (string-append clap "/firefly_synth_1.clap")) + (copy-recursively + "firefly_synth_fx_1.clap" + (string-append clap "/firefly_synth_fx_1.clap")) + ;; Install vst3. + (copy-recursively + "firefly_synth_1.vst3" + (string-append vst3 "/firefly_synth_1.vst3")) + (copy-recursively + "firefly_synth_fx_1.vst3" + (string-append vst3 "/firefly_synth_fx_1.vst3"))))))))) + (inputs (list libxrandr + libxinerama + libxcursor + freetype + mesa + alsa-lib)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/sjoerdvankreel/firefly-synth") + (synopsis "Semi-modular synthesizer and FX plugin, VST3 and CLAP") + (description "A semi-modular software synthesizer and fx plugin") + (license license:gpl3)))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.45.2