From patchwork Sun Oct 16 19:23:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 43449 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 72D9427BBE9; Sun, 16 Oct 2022 20:25:15 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 1540927BBEA for ; Sun, 16 Oct 2022 20:25:14 +0100 (BST) Received: from localhost ([::1]:54668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok9G5-00019e-8F for patchwork@mira.cbaines.net; Sun, 16 Oct 2022 15:25:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok9Fu-00019L-S7 for guix-patches@gnu.org; Sun, 16 Oct 2022 15:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok9Fu-0001hd-Ju for guix-patches@gnu.org; Sun, 16 Oct 2022 15:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok9Fu-0003mX-EW for guix-patches@gnu.org; Sun, 16 Oct 2022 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58572] gnu: Add bespokesynth Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Oct 2022 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58572@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.166594826414484 (code B ref -1); Sun, 16 Oct 2022 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2022 19:24:24 +0000 Received: from localhost ([127.0.0.1]:46286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok9FH-0003lX-Ew for submit@debbugs.gnu.org; Sun, 16 Oct 2022 15:24:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:34364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok9FE-0003lP-Vp for submit@debbugs.gnu.org; Sun, 16 Oct 2022 15:24:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok9F9-00017F-Db for guix-patches@gnu.org; Sun, 16 Oct 2022 15:24:18 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:27343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok9F2-0001ZQ-FM for guix-patches@gnu.org; Sun, 16 Oct 2022 15:24:14 -0400 Date: Sun, 16 Oct 2022 19:23:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1665948242; x=1666207442; bh=8e2+w4o88+/bCX+q8Dwf3BG7tp7C0X79lEOKswkkBxw=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=Hu+Khnk8oyCBv2VKgNvJEjEVE9cINxwNah5vulpn+RLgERVCyaIpTjo7RSbmBaRXf 4asdSnzE53m2gTKqh9w3jGJR0jD8hnsxvSCvY5bkhZoU7NAN60rfiade2ncKXpq5yI 31C6ret02QNNpIAC950YDH4aI//QeK9gRCpx12I3FQ/F55QyM3b+8Alx1FSFtT7G2H 6Nfsvl/75SrOmXLuYN1z8QZgoN++KYTcq8/rcDKJWj9Shiiz6VJIt8gV8fV7PmPOlS 64q7ikfqVOh0mLuzHiUMYbulB6eZgWiqRDJAcK6UD4g5kGu1zXwe4XTy7OXjnkCjyZ povl0ajOT68sQ== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.130; envelope-from=Sughosha@proton.me; helo=mail-40130.protonmail.ch 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha X-getmail-retrieved-from-mailbox: Patches Empty Message From a37d658780866fb72148dac40ac7b7ad6a6ec034 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Sun, 16 Oct 2022 16:04:58 +0200 Subject: [PATCH 4/4] gnu: Add bespokesynth * gnu/packages/music.scm (bespokesynth): New variable. (mts-esp): New variable. --- gnu/packages/music.scm | 89 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 96892bb746..53a76cde64 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1974,6 +1974,96 @@ (define-public readerwriterqueue producing).") (license license:bsd-2))) +(define mts-esp + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ODDSound/MTS-ESP") + (commit "3eb56f2452244b343ce738efd067d1082b67f9b4"))) + (sha256 + (base32 + "0qbyspn545cn7jp2j01vxv191nibdsiq12x2xdwlcz3npsflrpxh")))) + +(define-public bespokesynth + ;; Commit based on the current version of installed JUCE + (let ((commit "616ad67c9c7b693aeb4a5cb19d8811baff99854c") + (revision "162")) + (package + (name "bespokesynth") + (version (git-version "1.1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BespokeSynth/BespokeSynth") + (commit commit))) + (file-name (git-file-name name version)) + (patches (search-patches + "bespokesynth-1.1.0-devendor_ableton_link.patch")) + (sha256 + (base32 + "1h8cbgsls1qxk3c7wkd8grrvs7bnj6ijhrixxrfnv23198l9gd5q")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no test suite + #:configure-flags #~(list "-DBESPOKE_SYSTEM_ABLETONLINK=ON" + "-DBESPOKE_SYSTEM_JSONCPP=ON" + "-DBESPOKE_SYSTEM_JUCE=ON" + "-DBESPOKE_SYSTEM_PYBIND11=ON" + "-DBESPOKE_SYSTEM_TUNING_LIBRARY=ON") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'use-installed-modules + (lambda _ + (let ((mts "libs/oddsound-mts/MTS-ESP")) + (rmdir mts) + (symlink #$mts-esp mts) + (substitute* "libs/CMakeLists.txt" + (("add_subdirectory\\(readerwriterqueue EXCLUDE_FROM_ALL\\)") + "#")) + (substitute* "Source/CMakeLists.txt" + (("readerwriterqueue") + "#")) + (substitute* "Source/NoteOutputQueue.h" + (("readerwriterqueue\\.h") + "readerwriterqueue/readerwriterqueue.h")))))))) + (native-inputs (list ableton-link + pkg-config + juce + libxrandr + pybind11 + readerwriterqueue + tuning-library + xcb-util + xcb-util-keysyms + xkbutils)) + (inputs (list alsa-lib + curl + gtk+ + freetype + hicolor-icon-theme + jack-1 + jsoncpp + libusb + libxcb + libxcursor + libxinerama + libxkbfile + mesa + python + webkitgtk-with-libsoup2 + xcb-util-cursor)) + (home-page "http://bespokesynth.com") + (synopsis "Modular digital audio workstation") + (description + "Beaspokesynth is a modular synth. +The features include: +@itemize +@item Live-patchable environment +@item VST hosting +@item Python livecoding +@item MIDI controller mapping +@end itemize") + (license license:gpl3+)))) + (define-public bsequencer (package (name "bsequencer") -- 2.38.0