From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uKOHCMo9i2TnewEASxT56A (envelope-from ) for ; Thu, 15 Jun 2023 18:35:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WEGaCMo9i2T/LwAA9RJhRA (envelope-from ) for ; Thu, 15 Jun 2023 18:35:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC84DF99F for ; Thu, 15 Jun 2023 18:35:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9pw9-0004Kq-Bl; Thu, 15 Jun 2023 12:35:05 -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 1q9pw6-0004E6-TW for guix-patches@gnu.org; Thu, 15 Jun 2023 12:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9pw6-0007Bs-Hq for guix-patches@gnu.org; Thu, 15 Jun 2023 12:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9pw6-0001PS-Bq for guix-patches@gnu.org; Thu, 15 Jun 2023 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56140] [Patch v2 2/2]: gnu: Add distrho-ports. References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Jun 2023 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56140 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56140@debbugs.gnu.org Cc: "rekado@elephly.net" , "alice.brenon@ens-lyon.fr" Received: via spool by 56140-submit@debbugs.gnu.org id=B56140.16868468585362 (code B ref 56140); Thu, 15 Jun 2023 16:35:02 +0000 Received: (at 56140) by debbugs.gnu.org; 15 Jun 2023 16:34:18 +0000 Received: from localhost ([127.0.0.1]:47685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9pvO-0001OQ-2u for submit@debbugs.gnu.org; Thu, 15 Jun 2023 12:34:18 -0400 Received: from mail-4324.protonmail.ch ([185.70.43.24]:40453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9pvL-0001OD-Vg for 56140@debbugs.gnu.org; Thu, 15 Jun 2023 12:34:16 -0400 Date: Thu, 15 Jun 2023 16:34:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1686846850; x=1687106050; bh=jftWvTmFz5Gxu5vHYXr7otmCDEDXDhR80GyqMAV/VEI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=P1U3b+ruJDX2c0YHGL70zTkIpmQYIzLlM5aYT0QQv0EroiPe5TMqBsf+Ec9uk50DY bbnRkalhkvdGy5UN4oqiezdBGB4UC+EzYCvSs5Lo91+I5AzYg5ninJAKE1rQAnotgy bJBgByHgfc8zVDK3BLsHMp0MtPTFyJGcfRfEpYQDalU9m/+evqi/SP93Pg0K6yxkpn ShOATqEVnQbk/6xpIWePI/K3dlSb2yaFqRYJ3dYJrdwXwfRxRpjffnDSkYsyD0qX2n MpsQgxVF+SSX/7cWY095yC1UKtGLjX7cx78+Km9W78dhlNkEYQ/L6v10UhWBdNo6qe ayNWcm4+DP0fA== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686846922; a=rsa-sha256; cv=none; b=Lf9Am9HFYb/O+nIaW2ddJVmAduD1nFx4ZEg/UEMy34t4d/Jr318pYKqh/8wAZKd49TipM5 WHIQfYsjLpc2Qk0zACbBceN+ldWJ7Hkku66fWPk3SAFaitiz4FhtYAZuQ6Uywrjp+WfhUJ cx3xvvLsaLTr4P6azkt0Z6xMa0TLbNcC1bAxVDuIUkYGPCFaGv9VM+RFLmN2WBCZnxXXkM tRQiLwkVDQbS1ZJ6SCUiBVFc8fZcJho29jTbdWtnXy59SPyUeOi/xeo6hShqEoin/odUgz KNMCF8rAZzN9IDLsOVrjcY9EkbiAYdsmgAEXzup3WouIXmWQyhSi/V9AXdWGOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=P1U3b+ru; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686846922; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jftWvTmFz5Gxu5vHYXr7otmCDEDXDhR80GyqMAV/VEI=; b=sMrtahs1EQa/DZMAo1tRGSS6NoMueBBp73Re+iMvuEtFTvifKDwLAutGb89lIKJMbNg4kl 7ed0PNSJA0SgZwahP4Tj9UWYRTfnOQCr3X9C00TQWR9QfbJEfgKKNpfmfgIuWUHLR1XPcA qXM4XqbRVD/0ZS1eifx5SOg3h/FV0SR/Ls+PNaqeaT4RgRRLot5Vpzcu6d7uZz90LKa8/+ /KzOSUH0lyVY6JBnH4w8AKSWK3gtnsdG0fBElx9fiK1vYTu/jBUxD4gi6iIAdcPalKea0H cohyQMfgEdpexuMR4GY+CRt12vtNnri8Z40SoErSmHVqlFzPQSw7xfK3oTD+9A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=P1U3b+ru; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.53 X-Spam-Score: -2.53 X-Migadu-Queue-Id: DC84DF99F X-TUID: bSoqFJu86w2D * gnu/packages/music.scm (distrho-ports): New variable. --- gnu/packages/music.scm | 135 +++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 2e7edda..fbd1e76 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -6344,6 +6344,141 @@ (define-public mamba ones.") (license license:bsd-0))) =20 +(define-public distrho-ports + (let ((commit "f2dbaded0a05732e3499fa374a586e5b32370da5") + (revision "0")) + (package + (name "distrho-ports") + (version (git-version "0.2021-03-15" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DISTRHO/DISTRHO-Ports") + ;; This commit corresponds to tag 2021-03-15 + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rrnqwask2qg05ynisk6bpj118cl7c3w53rqrfg5x3sx847rjjgc")) + (snippet + '(with-directory-excursion "ports-juce6" + ;; Delete third party libraries. + (for-each delete-file-recursively + (list "swankyamp/thirdparty" + "vitalium/third_party")) + ;; Exclude them from building. + (substitute* + (list "swankyamp/meson.build" + "vitalium/meson.build") + (("'third") "#'third")) + ;; Use system provided "nlohmann/json.hpp". + (with-directory-excursion "vitalium/source" + (substitute* + (list "common/line_generator.h" + "common/load_save.h" + "common/tuning.h" + "common/wavetable/wavetable_component.h" + "common/wavetable/wavetable_creator.h" + "common/wavetable/wavetable_keyframe.h" + "interface/editor_sections/save_section.h" + "interface/look_and_feel/skin.h" + "synthesis/producers/sample_source.h") + (("json/json\\.h") "nlohmann/json.hpp"))))))) + (build-system meson-build-system) + (arguments + (list #:tests? #f ;no test target + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (with-directory-excursion "libs" + (for-each + (lambda (dir) + (substitute* + (string-append dir "/source/modules/juce_graph= ics" + "/native/juce_linux_Fonts.cpp") + (("/usr/share/fonts") + (search-input-directory inputs "/etc/fonts")= ))) + (list "juce5" "juce6" "juce7")))))))) + (native-inputs + (list cmake-minimal + concurrentqueue + nlohmann-json + optional-lite + pkg-config)) + (inputs + (list alsa-lib + fontconfig + freetype + fftwf + libx11 + libxcursor + libxext + libxrender + mesa)) + (home-page "https://github.com/DISTRHO/DISTRHO-Ports") + (synopsis "Audio plugins and LV2 ports") + (description + "This package contains LV2 ports of the following plugins: +@itemize +@item The Function, +@item The Pilgrim, +@item CHOW, +@item Dexed, +@item dRowAudio plugins (Distortion, Distortion Shaper, Flanger, Reverb, + Tremolo), +@item DrumSynth, +@item EasySSP, +@item EQinox, +@item HiReSam, +@item JuceOPL, +@item KlangFalter, +@item LUFS Meter, +@item Luftikus, +@item Obxd, +@item PitchedDelay, +@item ReFine, +@item StereoSourceSeperation, +@item Swanky Amp, +@item TAL plugins (Dub-3, Filter, Filter-2, Noize Mak3r, Reverb, Reverb-II= , + Reverb-III, Vocoder-II), +@item Temper, +@item Vex, +@item Vitalium, and +@item Wolpertinger. +@end itemize +") + ;; Licenses for lv2-ttl-generator, The Function, The Pilgrim, + ;; juce-demo-host and juce-demo-plugin are not declared. + (license + (list license:asl2.0 ;for msfa + license:bsd-2 ;for mingw-std-threads and dsp-utility + ;; There is no mention of licenses for dRowAudio plugins, + ;; Luftikus, PitchedDelay and ReFine in this repository, but= the + ;; upstream repositories released them under MIT: + ;; https://github.com/drowaudio/drowaudio; + ;; https://github.com/lkjbdsp/lkjb-plugins. + license:expat ;for FFTConvolver + (license:fsf-free ;for Temper + "file:///ports-juce5/temper/source/TemperDsp.hpp") + license:gpl2 ;for juce-plugin, LUFS Meter and Obxd + ;; There is no mention of license for Wolpertinger, but the + ;; upstream released it under GPLv2+: + ;; https://github.com/jkroll20/wolpertinger. + license:gpl2+ ;for HiReSam, TAL plugins and Vex + ;; There is no mention of license for EasySSP in this reposi= tory, + ;; but the upstream repository released it under GPLv3: + ;; https://github.com/automatl/audio-dsp-multi-visualize. + license:gpl3 ;for JUCE and CHOW + license:gpl3+ ;for Dexed, Swanky Amp, Vitalium and KlangFalt= er + license:lgpl2.0+ ;for DrumSynth, EQinox + license:lgpl3+ + license:lgpl2.1+ ;for juce-opl + (license:non-copyleft ;kiss_fft + (string-append "file:///ports-juce5/stereosourceseparation= " + "/source/kiss_fft/kiss_fft.c")) + license:wtfpl2))))) ;for FFTReal + (define-public dpf-plugins (package (name "dpf-plugins") -- libgit2 1.5.1