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 +CGfBYpsjGQGIAEASxT56A (envelope-from ) for ; Fri, 16 Jun 2023 16:07:06 +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 0ICzBYpsjGQvJAEA9RJhRA (envelope-from ) for ; Fri, 16 Jun 2023 16:07:06 +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 A01133F7C for ; Fri, 16 Jun 2023 16:07:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAA6R-0002kW-Pt; Fri, 16 Jun 2023 10:07: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 1qAA6Q-0002kL-UN for guix-patches@gnu.org; Fri, 16 Jun 2023 10:07: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 1qAA6Q-0006bz-LN for guix-patches@gnu.org; Fri, 16 Jun 2023 10:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAA6Q-00022n-GH for guix-patches@gnu.org; Fri, 16 Jun 2023 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56140] [PATCH v3 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: Fri, 16 Jun 2023 14:07: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: "rekado@elephly.net" Cc: 56140@debbugs.gnu.org Received: via spool by 56140-submit@debbugs.gnu.org id=B56140.16869244157836 (code B ref 56140); Fri, 16 Jun 2023 14:07:02 +0000 Received: (at 56140) by debbugs.gnu.org; 16 Jun 2023 14:06:55 +0000 Received: from localhost ([127.0.0.1]:50098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAA6I-00022J-E3 for submit@debbugs.gnu.org; Fri, 16 Jun 2023 10:06:54 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:24579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAA6G-00021x-6W for 56140@debbugs.gnu.org; Fri, 16 Jun 2023 10:06:52 -0400 Date: Fri, 16 Jun 2023 14:06:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1686924405; x=1687183605; bh=As6rf9paeovZPBBNZRdvKk0ZIDg9AKl1JLAjMA4+CTw=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=dUhSSYBNwopwdne5qK2DERtIPBECCFTh55P3bt6IIsUND0oTqdEOmjaDcXDrX3P40 8bhpS3nI10FlYwfP/q65qhO+JCmILIT7OJ8CIntfGb92uf0peB8Iou6MxDomn83gxL DfspF2fRq1yw01T4ML5lnESNnia7+2gm2zCDrBPj60H46lEGIjRkHZII2V5Bl25EKa 1KF7j/Wub+i0bqXHbIy7SogHvUMZpyNHnXG1t7qI7vL4XYI8X05T8lmkI7q7AZT9Ct UQxHfy6rhxpnTE7pRFHQeCS/sb+et2u/rKk/Ol6yx3ATSuo73SNVCsnhvq9sjNE55W snAPz0g2eT7sg== 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=1686924425; a=rsa-sha256; cv=none; b=nII5nOoEk+OHCRC/NUn6F9n2KdZL9/rz1DuzLx4OkOoSumBedj/quWK6gYimCnch4LpfzP 4hdS9jGt/VPekHc5JBzy3/sLHrLDVAnRL4CemoLjfdkfHULUZMjQsCBOUraYCrJjMECwwz 32geiAvmKJ/XYkdeu4EXW8jjjRxOeXB12W+l8ikx/ELZwwchLskyUZAutIXmh5La9YuBlJ 31dbpGvFlJ+PufH85Sr+FZiXuAAp6UscZS1U4EnspwJrPHwAiySpm8N9JyU4wGBD2JZ9h0 MOaLM9qRcQ0wcmQuOvx39S80cZtx+pFPlqUVbdOs4sWqhEbYi1cPBNwV7+xRBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=dUhSSYBN; 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=1686924425; 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=As6rf9paeovZPBBNZRdvKk0ZIDg9AKl1JLAjMA4+CTw=; b=uLIdRMpDxfpgQuzyHAbOt9yiiyGy1azuKDnkqdWIeI3o+Lzu9CsyryrTeK9dFb9/7lTRfd EZnFFVbdC70D7bOkq/Lt4qD3LcVnJ8JtlpcMDe6T8o1Y6fNBJ5FrVuJCsfngqfcP/4fwWw nWUn7ALctlzCWRwP/Mr4D37V9SclM8byDLKe/LdV4Ty/67oeDzqOu7tP1IrPyEygecW+aZ iYtX3w926MU25/rkDQRnQfpwHh7ZehyMogKJEKu3OzFlJYYTAq7gO+c4UoqkDuMYZMAVA4 1BB40+Rl48fHZ66eDm5Gz6XGK16Te0TEXqWquQmz7VKqctRau7qW0fNjjV5GIg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=dUhSSYBN; 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: -3.63 X-Spam-Score: -3.63 X-Migadu-Queue-Id: A01133F7C X-TUID: nKZZa1LEO1xg * gnu/packages/music.scm (distrho-ports): New variable. --- gnu/packages/music.scm | 154 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 2e7eddafb0..89b46bd627 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -6344,6 +6344,160 @@ (define-public mamba ones.") (license license:bsd-0))) =20 +(define-public distrho-ports + ;; From 2021-03-15 to this commit various important changes are made + ;; including improved directory structure and updated JUCE versions. + (let ((commit "f2dbaded0a05732e3499fa374a586e5b32370da5") + (revision "0")) + (package + (name "distrho-ports") + (version (git-version "2021-03-15" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DISTRHO/DISTRHO-Ports") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rrnqwask2qg05ynisk6bpj118cl7c3w53rqrfg5x3sx847rjjgc")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete third party libraries, libraries without lic= enses + ;; and unneeded libraries. + (for-each delete-file-recursively + (list "ports-juce5/arctican-function" ;no license + "ports-juce5/arctican-pilgrim" ;no license + "ports-juce5/drowaudio-tremolo" ;no license + "ports-juce5/juce-demo-host" ;not used + "ports-juce5/juce-demo-plugin" ;not used + "ports-juce5/temper/source/faust" ;bundled + "ports-juce6/chow" ;not used + "ports-juce6/swankyamp/thirdparty" ;bundled + "ports-juce6/vitalium/third_party")) ;bundled + ;; Exclude them from building. + (substitute* (find-files "." "meson.build$") + (("'arctican") "#'arctican") + (("'drowaudio-tremolo") "#'drowaudio-tremolo") + (("'third") "#'third")) + ;; Use system provided "nlohmann/json.hpp". + (with-directory-excursion "ports-juce6/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-juce-fonts + (lambda* (#:key inputs #:allow-other-keys) + (for-each + (lambda (file) + (substitute* file + (("/usr/share/fonts") + (search-input-directory inputs "/etc/fonts")))= ) + (find-files "libs" "juce_linux_Fonts.cpp$"))))))) + (native-inputs + (list cmake-minimal + concurrentqueue + faust + 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 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") + (license + (list license:asl2.0 ;used by Dexed + ;; mingw-std-threads and EasySSP (for dsp-utility) use FreeB= SD. + license:bsd-2 + ;; Licenses for dRowAudio is not found in this repository, b= ut + ;; the upstream project is licensed under MIT: + ;; https://github.com/drowaudio/drowaudio. + ;; Luftikus, PitchedDelay and ReFine are ported from lkjb pl= ugins + ;; which is licensed under MIT: + ;; https://github.com/lkjbdsp/lkjb-plugins. + license:expat + (license:fsf-free ;used by Temper + "file:///ports-juce5/temper/source/TemperDsp.hpp") + ;; juce-plugin, LUFS Meter, Obxd and TAL plugins use GPLv2. + license:gpl2 + ;; License for Wolpertinger is not found in this repository,= but + ;; the upstream project is licensed under GPLv2+: + ;; https://github.com/jkroll20/wolpertinger. + ;; dRowAudio plugins, juced, HiReSam and Vex use this licens= e. + ;; Packages using files from JUCETICE project use this licen= se. + license:gpl2+ + ;; License for EasySSP is not found in this repository, but = the + ;; upstream project is licensed under GPLv3: + ;; https://github.com/automatl/audio-dsp-multi-visualize. + license:gpl3 ;used by JUCE + ;; Dexed, Swanky Amp, Vitalium and KlangFalter use GPLv3+. + license:gpl3+ + ;; License for lv2-ttl-generator is not found in this reposi= tory, + ;; but is a part of DPF-Plugins and is licensed under ISC: + ;; https://github.com/DISTRHO/DPF. + ;; JUCE uses this license for juce_audio_basics, + ;; juce_audio_devices, juce_blocks_basics, juce_core and + ;; juce_events. + license:isc + license:lgpl2.0+ ;used by DrumSynth and EQinox + license:lgpl2.1+ ;used by SoundTouch and juce-opl + ;; StereoSourceSeperation uses a non-copyleft license. + (license:non-copyleft + (string-append "file:///ports-juce5/stereosourceseparation= " + "/source/kiss_fft/kiss_fft.c")) + ;; dRowAudio uses a non-copyleft license for curl. + (license:non-copyleft + (string-append "file:///libs/drowaudio/source/dRowAudio" + "/network/curl/include/curl/curl.h")) + license:wtfpl2))))) ;used by dRowAudio for FFTReal + (define-public dpf-plugins (package (name "dpf-plugins") --=20 2.40.1