From patchwork Sat Nov 30 23:53:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 34332 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 ABD6E27BBEA; Sat, 30 Nov 2024 23:55:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 8B3A227BBE2 for ; Sat, 30 Nov 2024 23:55:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHXIm-0005OH-JQ; Sat, 30 Nov 2024 18:55:04 -0500 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 1tHXIk-0005Lx-Fg for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:02 -0500 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 1tHXIk-0002YJ-2z for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=0Na+IzVg8Hknrczl7V70Ox03Mh9MC4MzrOYZO5U39xU=; b=scthWqO/s0UBE5CkGYOfjQORzjxsf+D6BjgFiZWr80P+QHhn16fguJ/8GrcnalRo3vaZWUnYbcbYMF/HgPCQ2hNQURPkCjPq3B0vyj0vOmnpiCUs8b3rNOwbxYJYuFioCOB1XOsoKFjNvYm4OsfbzAbVCX0ubko7latDzIJ8KLPE56TKfG/tipdZN1mKh8ZWksSBYFg2gd36HZq+qjPqOF12jVeoWeyUIf3YH/ScaVQ/qf+chYDjUWlYcAtjJaAzMLw2OjFYtQaNVjZjVvb3hn7wrz2tb2oHXX3B1t6bDVLvZwD2+esT87SAGFqfPbqgVhkFZXSsj1YIknDtHBPSdQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHXIj-0001CL-Qd; Sat, 30 Nov 2024 18:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH v5 1/3] gnu: Add fluidplug-lv2. References: <52cde204-a305-9783-a60d-17ee34a7d9ee@autistici.org> In-Reply-To: <52cde204-a305-9783-a60d-17ee34a7d9ee@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: goodoldpaul@autistici.org, guix-patches@gnu.org Resent-Date: Sat, 30 Nov 2024 23:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 69593@debbugs.gnu.org Cc: Giacomo Leidi , Giacomo Leidi X-Debbugs-Original-Xcc: Giacomo Leidi Received: via spool by 69593-submit@debbugs.gnu.org id=B69593.17330108464476 (code B ref 69593); Sat, 30 Nov 2024 23:55:01 +0000 Received: (at 69593) by debbugs.gnu.org; 30 Nov 2024 23:54:06 +0000 Received: from localhost ([127.0.0.1]:49548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXHo-0001A2-La for submit@debbugs.gnu.org; Sat, 30 Nov 2024 18:54:05 -0500 Received: from confino.investici.org ([93.190.126.19]:33773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXHl-00019Q-AM for 69593@debbugs.gnu.org; Sat, 30 Nov 2024 18:54:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1733010840; bh=0Na+IzVg8Hknrczl7V70Ox03Mh9MC4MzrOYZO5U39xU=; h=From:To:Cc:Subject:Date:From; b=uteY5sHwcS6z7npRUrt1hZzSWV4OuVxQzZBy3Gfcjv9uGXQM49y9nO9x9lf+bGt82 PCCN/1RAON3zjEHRfAVqwBv0HABouZSMwHg3UnzffdUwLqwG0b9ft6m8Mettquog8F e1tTQd/HjN5y3ZQ07JUWoTc3aMIAowafpEPrkdhM= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Y16MX61J2z11SB; Sat, 30 Nov 2024 23:54:00 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Y16MX4xJXz11S4; Sat, 30 Nov 2024 23:54:00 +0000 (UTC) Date: Sun, 1 Dec 2024 00:53:51 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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 * gnu/packages/fluidplug.scm: New file; * gnu/local.mk: Add it. Change-Id: Iec61d692010f9d7635de2cf27c32e1356225ca09 --- gnu/local.mk | 1 + gnu/packages/fluidplug.scm | 330 +++++++++++++++++++++++++++++++++++++ 2 files changed, 331 insertions(+) create mode 100644 gnu/packages/fluidplug.scm base-commit: 10e99250f49d40563619c849b0d4ada31f985991 diff --git a/gnu/local.mk b/gnu/local.mk index c89fd88282..eb13eee9ff 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -289,6 +289,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/flashing-tools.scm \ %D%/packages/flex.scm \ %D%/packages/fltk.scm \ + %D%/packages/fluidplug.scm \ %D%/packages/fonts.scm \ %D%/packages/fontutils.scm \ %D%/packages/fpga.scm \ diff --git a/gnu/packages/fluidplug.scm b/gnu/packages/fluidplug.scm new file mode 100644 index 0000000000..969e99e776 --- /dev/null +++ b/gnu/packages/fluidplug.scm @@ -0,0 +1,330 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Giacomo Leidi +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages fluidplug) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (guix packages) + #:use-module (guix records) + #:use-module (guix utils) + #:use-module (gnu packages audio) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages pkg-config) + #:use-module (srfi srfi-1) + #:export (fluidplug-plugin + fluidplug-plugin? + fluidplug-plugin-name + fluidplug-plugin-path + fluidplug-plugin-hash + fluidplug-plugin-license + + fluidplug-lv2)) + +(define-record-type* + fluidplug-plugin make-fluidplug-plugin + fluidplug-plugin? + (name fluidplug-plugin-name) ;string + (hash fluidplug-plugin-hash) ;string + (path fluidplug-plugin-path) ;string + (license fluidplug-plugin-license ;license + (default license:cc-by-sa4.0))) + +(define (fluidplug-plugin->package-name record) + (string-append "fluidplug-" + (string-downcase + (string-replace-substring + (fluidplug-plugin-name record) "_" "-")) + "-lv2")) + +(define (fluidplug-plugin->origin record) + (origin + (method url-fetch) + (uri + (string-append "https://download.linuxaudio.org/" + "musical-instrument-libraries/sf2/" + (fluidplug-plugin-path record))) + (sha256 + (base32 (fluidplug-plugin-hash record))))) + +(define (fluidplug-plugin->local-path record) + (string-append "./" (fluidplug-plugin-name record) ".lv2/" + (basename (fluidplug-plugin-path record)))) + +(define airfont320 + (fluidplug-plugin + (name "AirFont320") + (path "airfont_a340u.tar.7z") + (hash "1x4xzm4khq823i4p18ydbkjza2nv3hzwyxp7vf3gzqs374jdcqbw") + (license license:gpl2))) + +(define avl-drumkits-perc + (fluidplug-plugin + (name "AVL_Drumkits_Perc") + (path "AVL-Drumkits-1.1-SF2-splitted/AVL_Drumkits_Perc_1.1.tar.7z") + (hash "0l1zvzw9dg922wf9llcl9zlw5ybjmayg7yqacp253xcr2jz1hn7m") + (license license:cc-by-sa3.0))) + +(define black-pearl-4a + (fluidplug-plugin + (name "Black_Pearl_4A") + (path "AVL-Drumkits-1.1-SF2-splitted/Black_Pearl_4A-1.1.tar.7z") + (hash "0flzlg5m2r3df8dchydzg3xllcv7ignr7hx6qxzy51s6gzrlbzli") + (license license:cc-by-sa3.0))) + +(define black-pearl-4b + (fluidplug-plugin + (name "Black_Pearl_4B") + (path "AVL-Drumkits-1.1-SF2-splitted/Black_Pearl_4B-1.1.tar.7z") + (hash "1z5q8z4k81xnbcv0gpc2xgrzqm9fg4n2yly1kaw82q7sm29vi0z9") + (license license:cc-by-sa3.0))) + +(define black-pearl-5 + (fluidplug-plugin + (name "Black_Pearl_5") + (path "AVL-Drumkits-1.1-SF2-splitted/Black_Pearl_5-1.1.tar.7z") + (hash "0mg41wc912sfj2mydn86ychwk21l3ngbn7k3qsm6jgf1ipmsip9y") + (license license:cc-by-sa3.0))) + +(define red-zeppelin-4 + (fluidplug-plugin + (name "Red_Zeppelin_4") + (path "AVL-Drumkits-1.1-SF2-splitted/Red_Zeppelin_4-1.1.tar.7z") + (hash "0pcswg4hlyn8j6nghbwvxa71ibp6r0wxcbxjzxs4iim43vpxc659") + (license license:cc-by-sa3.0))) + +(define red-zeppelin-5 + (fluidplug-plugin + (name "Red_Zeppelin_5") + (path "AVL-Drumkits-1.1-SF2-splitted/Red_Zeppelin_5-1.1.tar.7z") + (hash "18hhmi1d1i7gr2rp4wn28pnfwl825rmhmjnvxvvcwdmis6nad4gm") + (license license:cc-by-sa3.0))) + +(define fluidgm + (fluidplug-plugin + (name "FluidGM") + (path "fluidr3.tar.7z") + (hash "00ka1b2pxn0g2g0hm7kdg5w785pfx8f9585238d183wjdkc3a8m6") + (license license:expat))) + +(define fluidbass + (fluidplug-plugin + (name "FluidBass") + (path "fluidr3-splitted/fluidr3gm_bass.sf2.tar.7z") + (hash "1zhixrxkwvmn6xkpy9f8zkrwxmaqwdcx0jz7zg8lc2amqkx9wqan"))) + +(define fluidbrass + (fluidplug-plugin + (name "FluidBrass") + (path "fluidr3-splitted/fluidr3gm_brass.sf2.tar.7z") + (hash "027l3q4q9011xzbzsrsp5nj3h05w9dj7d8b943xzck7q4sp9alkp"))) + +(define fluidchromperc + (fluidplug-plugin + (name "FluidChromPerc") + (path "fluidr3-splitted/fluidr3gm_chromaticpercussion.sf2.tar.7z") + (hash "1233fh36wlifrawh57v8vycxc0g4pbvy3qr9f596g9n7mm4h51f7"))) + +(define fluiddrums + (fluidplug-plugin + (name "FluidDrums") + (path "fluidr3-splitted/fluidr3gm_drums.sf2.tar.7z") + (hash "01pv3aj52pz8xy29acprwkb69jxhrn64kx7w29ch5bl091lccqgr"))) + +(define fluidensemble + (fluidplug-plugin + (name "FluidEnsemble") + (path "fluidr3-splitted/fluidr3gm_ensemble.sf2.tar.7z") + (hash "0rswcgzapcjmwddh2hgicym27hqz3p43r2s8j7hy1s40hzk3nbax"))) + +(define fluidethnic + (fluidplug-plugin + (name "FluidEthnic") + (path "fluidr3-splitted/fluidr3gm_ethnic.sf2.tar.7z") + (hash "0z1z37wn6lw1n919bkpfirachg5wwddi7f0g4l9vimazv34ds1b1"))) + +(define fluidguitars + (fluidplug-plugin + (name "FluidGuitars") + (path "fluidr3-splitted/fluidr3gm_guitar.sf2.tar.7z") + (hash "1d5jxx4sgbyh9sqmfksggcsri9hal7mw83a6h1vqb9xf59gnmx1i"))) + +(define fluidorgans + (fluidplug-plugin + (name "FluidOrgans") + (path "fluidr3-splitted/fluidr3gm_organ.sf2.tar.7z") + (hash "12zlq28cmr2hsgn1319hidzcm8yifx6vsqsqk544z3qkhc8cg4fr"))) + +(define fluidpercussion + (fluidplug-plugin + (name "FluidPercussion") + (path "fluidr3-splitted/fluidr3gm_percussive.sf2.tar.7z") + (hash "1gql0g1zk09n6r90mav47khdc406jhmg5iql6i2zjmg9l7yg65n3"))) + +(define fluidpianos + (fluidplug-plugin + (name "FluidPianos") + (path "fluidr3-splitted/fluidr3gm_piano.sf2.tar.7z") + (hash "06a817xvx7qj8plr1vhpanbdr97cbmzky0pp6xhff916s5k0jg2r"))) + +(define fluidpipes + (fluidplug-plugin + (name "FluidPipes") + (path "fluidr3-splitted/fluidr3gm_pipe.sf2.tar.7z") + (hash "09wzvsabcif27687g71g4m75zz08zpwpm2dzwh8a7xsfi5qdynf2"))) + +(define fluidreeds + (fluidplug-plugin + (name "FluidReeds") + (path "fluidr3-splitted/fluidr3gm_reed.sf2.tar.7z") + (hash "1yb0whi67wz7ag6hcfdns69m1ic3fq6firvbb893ilnx8h17yjak"))) + +(define fluidsoundfx + (fluidplug-plugin + (name "FluidSoundFX") + (path "fluidr3-splitted/fluidr3gm_soundeffects.sf2.tar.7z") + (hash "0sg8gca9735gy0pna63vgsfnabk54dl30n1lnhcf976n7y0npzfx"))) + +(define fluidstrings + (fluidplug-plugin + (name "FluidStrings") + (path "fluidr3-splitted/fluidr3gm_strings.sf2.tar.7z") + (hash "1nnxr62i3p3hhdpwlly62c4cvf7f3dzq818fmlnlxp25215h17bs"))) + +(define fluidsynthfx + (fluidplug-plugin + (name "FluidSynthFX") + (path "fluidr3-splitted/fluidr3gm_syntheffects.sf2.tar.7z") + (hash "0rlq58v9m6wjk45kxmza54y8fkj1b8y1zg00r80nwyqz6rylgjh4"))) + +(define fluidsynthleads + (fluidplug-plugin + (name "FluidSynthLeads") + (path "fluidr3-splitted/fluidr3gm_synthlead.sf2.tar.7z") + (hash "0axi5dyqf8zh1gn82qq0jpzr0cgbsjn4xm0yrlqld4k6h9ggj475"))) + +(define fluidsynthpads + (fluidplug-plugin + (name "FluidSynthPads") + (path "fluidr3-splitted/fluidr3gm_synthpad.sf2.tar.7z") + (hash "1q4pd6ymb08yc6rz68wlidjp5kp7pygc2aw45djw9wr8id6pnadi"))) + +(define fluidplug-plugins + (list airfont320 + avl-drumkits-perc + black-pearl-4a + black-pearl-4b + black-pearl-5 + red-zeppelin-4 + red-zeppelin-5 + fluidgm + fluidbass + fluidbrass + fluidchromperc + fluiddrums + fluidensemble + fluidethnic + fluidguitars + fluidorgans + fluidpercussion + fluidpianos + fluidpipes + fluidreeds + fluidsoundfx + fluidstrings + fluidsynthfx + fluidsynthleads + fluidsynthpads)) + +(define fluidplug-lv2 + (let ((version "0.0.5") + (revision "0") + (commit "38d7d0d5259c89199be3cf56768edf0d41bfd881")) + (package + (name "fluidplug-lv2") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/falkTX/FluidPlug") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0k4wjcvpgf4nk4d5b40x5zckfgp22b4i3npcahqbr16hh21cjfjj")) + (modules '((guix build utils))) + (snippet '(begin + ;; SoundFonts can't be downloaded at build time + ;; in Guix, so it is disabled. + (substitute* "Makefile" + (("wget") "# wget")) + #t)))) + (build-system gnu-build-system) + (arguments + (list + ;; There are no tests. + #:tests? #f + #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "DESTDIR=" #$output) + "PREFIX=") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-makefile + (lambda _ + ;; The CCFLAG variable is set to contain some x86_64 + ;; optimizations by default, so we override the flag + ;; such that x86_64 flags are only added when the build + ;; target is an x86_64 system. + (let ((system #$(or (%current-target-system) + (%current-system)))) + (unless (string-prefix? "x86_64" system) + (substitute* "Makefile.mk" + (("-msse -msse2 -mfpmath=sse") "")))))) + (add-after 'patch-makefile 'unpack-plugin + (lambda _ + (use-modules (srfi srfi-1)) + (for-each + (lambda (p) + (define source (first p)) + (define target (second p)) + (symlink source target)) + '(#$@(map + (lambda (p) + (list (fluidplug-plugin->origin p) + (fluidplug-plugin->local-path p))) + fluidplug-plugins))))) + (delete 'configure)))) + (native-inputs + (list gnu-make p7zip pkg-config)) + (inputs (list fluidsynth lv2)) + (native-search-paths + (list (search-path-specification + (variable "LV2_PATH") + (files '("lib/lv2"))))) + (synopsis + "SoundFonts as LV2 plugins via FluidSynth") + (description + "@code{FluidPlug} provides SoundFonts as LV2 plugins via FluidSynth.") + (home-page "https://github.com/falkTX/FluidPlug") + (license + (delete-duplicates + (map fluidplug-plugin-license fluidplug-plugins)))))) From patchwork Sat Nov 30 23:53:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 34333 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 942C527BBEA; Sat, 30 Nov 2024 23:55:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 EC48627BBE2 for ; Sat, 30 Nov 2024 23:55:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHXIm-0005Os-SI; Sat, 30 Nov 2024 18:55:07 -0500 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 1tHXIk-0005M7-SO for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:02 -0500 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 1tHXIk-0002YO-Id for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=MKawwYmaMoerY9wLwcem2gx08CvTpxfGGIGDTeldWgM=; b=ZW+8mYAGjJAVc8kqNqlP+tQdfWOYrGWsIyXMX0gG4goHRZwoeqbnQuGlQgFdmXIo2v7/LRRny5ARQtxSRdDTnMedjrgRH4KliHSCSxSIeiK2W4EHQJy3vdDlvUHukVqj2YOiaKtpkYo4nbq9fzvWiJ3VVradMnNgWlWIo58NnaGiN6H+VheHy6nDR6CbmI/rJHtP2nPaTQIGQbJXcqGEVQMslAFPVzdVodOb9oDHB1Baow2b6FUIItMu2vEuv53D+zsG/NKuFXOxRD3dtw8Jqwqa42RBFh8fYFF3EC4/3aD7OwEDPaIZOHT6mo4OicjViKlvi6JbljKTrqeLRRDBVQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHXIk-0001CT-Cu; Sat, 30 Nov 2024 18:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH v5 2/3] gnu: Add fluidplug plugins. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: goodoldpaul@autistici.org, guix-patches@gnu.org Resent-Date: Sat, 30 Nov 2024 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 69593@debbugs.gnu.org Cc: Giacomo Leidi , Giacomo Leidi X-Debbugs-Original-Xcc: Giacomo Leidi Received: via spool by 69593-submit@debbugs.gnu.org id=B69593.17330108464483 (code B ref 69593); Sat, 30 Nov 2024 23:55:02 +0000 Received: (at 69593) by debbugs.gnu.org; 30 Nov 2024 23:54:06 +0000 Received: from localhost ([127.0.0.1]:49550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXHp-0001A9-UD for submit@debbugs.gnu.org; Sat, 30 Nov 2024 18:54:06 -0500 Received: from confino.investici.org ([93.190.126.19]:42643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXHl-00019S-OP for 69593@debbugs.gnu.org; Sat, 30 Nov 2024 18:54:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1733010841; bh=MKawwYmaMoerY9wLwcem2gx08CvTpxfGGIGDTeldWgM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k6H39+M32QAUyMrnbXGb81NaWCzTAtaiyDN0wasLUTdf8L1JvtF+GoXPhnHJh2rbN GMbu4GxEmresttvsqLcf8RRorgV5gAL0pDoYN6pNETguDNJ8ci5LwSYcJyS0dLCbPC dgsWRgFWAYsqfim6gmtcoOBtiLnnPVQE1Lh+UpbI= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Y16MY1Q1Zz11SK; Sat, 30 Nov 2024 23:54:01 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Y16MY0PZdz11S4; Sat, 30 Nov 2024 23:54:01 +0000 (UTC) Date: Sun, 1 Dec 2024 00:53:52 +0100 Message-ID: <2da9c72b8a23f4b8f270c2c4799ddef25174cf80.1733010833.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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 * gnu/packages/fluidplug.scm (fluidplug-plugin->package): New procedure; (fluidplug-airfont320-lv2, fluidplug-avl-drumkits-perc-lv2, fluidplug-black-pearl-4a-lv2, fluidplug-black-pearl-4b-lv2, fluidplug-black-pearl-5-lv2, fluidplug-red-zeppelin-4-lv2, fluidplug-red-zeppelin-5-lv2, fluidplug-fluidgm-lv2, fluidplug-fluidbass-lv2, fluidplug-fluidbrass-lv2, fluidplug-fluidchromperc-lv2, fluidplug-fluiddrums-lv2, fluidplug-fluidensemble-lv2, fluidplug-fluidethnic-lv2, fluidplug-fluidguitars-lv2, fluidplug-fluidorgans-lv2, fluidplug-fluidpercussion-lv2, fluidplug-fluidpianos-lv2, fluidplug-fluidpipes-lv2, fluidplug-fluidreeds-lv2, fluidplug-fluidsoundfx-lv2, fluidplug-fluidstrings-lv2, fluidplug-fluidsynthfx-lv2, fluidplug-fluidsynthleads-lv2, fluidplug-fluidsynthpads-lv2): New variables. Change-Id: I3692e2ed462bf71abe56d07712b8846a4228ad90 --- gnu/packages/fluidplug.scm | 156 ++++++++++++++++++++++++++++++++++++- 1 file changed, 155 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fluidplug.scm b/gnu/packages/fluidplug.scm index 969e99e776..358562a812 100644 --- a/gnu/packages/fluidplug.scm +++ b/gnu/packages/fluidplug.scm @@ -38,7 +38,34 @@ (define-module (gnu packages fluidplug) fluidplug-plugin-hash fluidplug-plugin-license - fluidplug-lv2)) + fluidplug-lv2 + + fluidplug-plugin->package + fluidplug-airfont320-lv2 + fluidplug-avl-drumkits-perc-lv2 + fluidplug-black-pearl-4a-lv2 + fluidplug-black-pearl-4b-lv2 + fluidplug-black-pearl-5-lv2 + fluidplug-red-zeppelin-4-lv2 + fluidplug-red-zeppelin-5-lv2 + fluidplug-fluidgm-lv2 + fluidplug-fluidbass-lv2 + fluidplug-fluidbrass-lv2 + fluidplug-fluidchromperc-lv2 + fluidplug-fluiddrums-lv2 + fluidplug-fluidensemble-lv2 + fluidplug-fluidethnic-lv2 + fluidplug-fluidguitars-lv2 + fluidplug-fluidorgans-lv2 + fluidplug-fluidpercussion-lv2 + fluidplug-fluidpianos-lv2 + fluidplug-fluidpipes-lv2 + fluidplug-fluidreeds-lv2 + fluidplug-fluidsoundfx-lv2 + fluidplug-fluidstrings-lv2 + fluidplug-fluidsynthfx-lv2 + fluidplug-fluidsynthleads-lv2 + fluidplug-fluidsynthpads-lv2)) (define-record-type* fluidplug-plugin make-fluidplug-plugin @@ -328,3 +355,130 @@ (define fluidplug-lv2 (license (delete-duplicates (map fluidplug-plugin-license fluidplug-plugins)))))) + +(define (fluidplug-plugin->package record) + (package + (inherit fluidplug-lv2) + (name (fluidplug-plugin->package-name record)) + (arguments + (substitute-keyword-arguments (package-arguments fluidplug-lv2) + ((#:make-flags make-flags) + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "DESTDIR=" #$output) + "PREFIX=")) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'unpack-plugin + (lambda _ + (symlink #$(fluidplug-plugin->origin record) + #$(fluidplug-plugin->local-path record)))) + (replace 'build + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke `("make" ,@make-flags + #$(fluidplug-plugin-name record))))) + (replace 'install + (lambda _ + (let* ((plugin-directory + (string-append #$(fluidplug-plugin-name record) + ".lv2")) + (lib (string-append #$output "/lib/lv2")) + (share/doc (string-append #$output "/share/doc")) + (plugin-lib (string-append lib "/" plugin-directory))) + + ;; Install plugin + (for-each + (lambda (f) + (install-file f plugin-lib)) + (find-files plugin-directory + "^.*\\.(sf2|so|ttl)$")) + + ;; Install license + (for-each + (lambda (f) + (install-file f share/doc)) + (find-files plugin-directory "(README|License\\.pdf)")) + + ;; Install UI + (copy-recursively (string-append plugin-directory "/modgui") + (string-append plugin-lib "/modgui"))))))))) + (description + (string-append (package-description fluidplug-lv2) " + +This package provides the @code{" (fluidplug-plugin-name record) +"} LV2 plugin.")) + (license (fluidplug-plugin-license record)))) + +(define fluidplug-airfont320-lv2 + (fluidplug-plugin->package airfont320)) + +(define fluidplug-avl-drumkits-perc-lv2 + (fluidplug-plugin->package avl-drumkits-perc)) + +(define fluidplug-black-pearl-4a-lv2 + (fluidplug-plugin->package black-pearl-4a)) + +(define fluidplug-black-pearl-4b-lv2 + (fluidplug-plugin->package black-pearl-4b)) + +(define fluidplug-black-pearl-5-lv2 + (fluidplug-plugin->package black-pearl-5)) + +(define fluidplug-red-zeppelin-4-lv2 + (fluidplug-plugin->package red-zeppelin-4)) + +(define fluidplug-red-zeppelin-5-lv2 + (fluidplug-plugin->package red-zeppelin-5)) + +(define fluidplug-fluidgm-lv2 + (fluidplug-plugin->package fluidgm)) + +(define fluidplug-fluidbass-lv2 + (fluidplug-plugin->package fluidbass)) + +(define fluidplug-fluidbrass-lv2 + (fluidplug-plugin->package fluidbrass)) + +(define fluidplug-fluidchromperc-lv2 + (fluidplug-plugin->package fluidchromperc)) + +(define fluidplug-fluiddrums-lv2 + (fluidplug-plugin->package fluiddrums)) + +(define fluidplug-fluidensemble-lv2 + (fluidplug-plugin->package fluidensemble)) + +(define fluidplug-fluidethnic-lv2 + (fluidplug-plugin->package fluidethnic)) + +(define fluidplug-fluidguitars-lv2 + (fluidplug-plugin->package fluidguitars)) + +(define fluidplug-fluidorgans-lv2 + (fluidplug-plugin->package fluidorgans)) + +(define fluidplug-fluidpercussion-lv2 + (fluidplug-plugin->package fluidpercussion)) + +(define fluidplug-fluidpianos-lv2 + (fluidplug-plugin->package fluidpianos)) + +(define fluidplug-fluidpipes-lv2 + (fluidplug-plugin->package fluidpipes)) + +(define fluidplug-fluidreeds-lv2 + (fluidplug-plugin->package fluidreeds)) + +(define fluidplug-fluidsoundfx-lv2 + (fluidplug-plugin->package fluidsoundfx)) + +(define fluidplug-fluidstrings-lv2 + (fluidplug-plugin->package fluidstrings)) + +(define fluidplug-fluidsynthfx-lv2 + (fluidplug-plugin->package fluidsynthfx)) + +(define fluidplug-fluidsynthleads-lv2 + (fluidplug-plugin->package fluidsynthleads)) + +(define fluidplug-fluidsynthpads-lv2 + (fluidplug-plugin->package fluidsynthpads)) From patchwork Sat Nov 30 23:53:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 34334 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 8CDD627BBEA; Sat, 30 Nov 2024 23:55:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 549BF27BBE2 for ; Sat, 30 Nov 2024 23:55:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHXIm-0005Op-RZ; Sat, 30 Nov 2024 18:55:04 -0500 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 1tHXIl-0005Mq-DK for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:03 -0500 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 1tHXIl-0002co-4h for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=wscMSUDI23umHofXtf1J0xyi5yX7Pbaq2ptwRv8+Gfc=; b=oFHQFiZqDdbvmEO3qQMWEfSEmPCzWhMnRYiCoPyC/m0kHDmBX5EZC5PheJetsInO4mdJICT27t4AfyiVbayQn98LRy9/InM3CZrGeu/47RcTxukhoFYTWDHMYKdCLoA06BKB3HbN+A4BdQIOlziDsP3/xhg+wCDLkA/aLU0WP3jQikY602JadZ8MemiwPcxH/nRzrjshSrL1RvW5nDajNWVKM8FC9ewvecBlqzIov5n/Y33WUJrdnIQkVtaLPWMztBwNh/EQc9yEkH7XpOeW//UA3PtDI52rmf2qLKUJqx0Nl7uKlKUyqCcBQBEKJA4L8CAfiNA+zSfR9507IA7V6Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHXIk-0001Cf-Ul for guix-patches@gnu.org; Sat, 30 Nov 2024 18:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69593] [PATCH v5 3/3] teams: Add FluidPlug team. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Nov 2024 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 69593@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 69593-submit@debbugs.gnu.org id=B69593.17330108554515 (code B ref 69593); Sat, 30 Nov 2024 23:55:02 +0000 Received: (at 69593) by debbugs.gnu.org; 30 Nov 2024 23:54:15 +0000 Received: from localhost ([127.0.0.1]:49553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXHy-0001Al-Kf for submit@debbugs.gnu.org; Sat, 30 Nov 2024 18:54:14 -0500 Received: from confino.investici.org ([93.190.126.19]:30823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHXHt-0001AT-AQ for 69593@debbugs.gnu.org; Sat, 30 Nov 2024 18:54:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1733010841; bh=wscMSUDI23umHofXtf1J0xyi5yX7Pbaq2ptwRv8+Gfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JbeNEa8lky20tQwrYrUpTedMLF9qIk1JywghAfJDjn31vFYXjbaPnPm+rE/oGLcUi PlBRg/X64mJTy/l/T6mlj+AX6FqyPIdLHL4CmfS1LSlLB8bGFc3YipeD75Pp+gArDc QJtuBcv+Jm30xPz87CUbGd9Duovq5QZWeROSNmZk= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Y16MY3wD8z11SM; Sat, 30 Nov 2024 23:54:01 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Y16MY2v2bz11S4; Sat, 30 Nov 2024 23:54:01 +0000 (UTC) Date: Sun, 1 Dec 2024 00:53:53 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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 * etc/teams.scm (fluidplug): New team; add Giacomo to it. Change-Id: I8c530f1a3c985521e4bc436b62120888143c1ab0 --- etc/teams.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etc/teams.scm b/etc/teams.scm index 4f86dfb954..33f4ba9cba 100755 --- a/etc/teams.scm +++ b/etc/teams.scm @@ -610,6 +610,12 @@ (define-team zig "guix/build/zig-build-system.scm" "guix/build-system/zig.scm"))) +(define-team fluidplug + (team 'fluidplug + #:name "FluidPlug" + #:description "FluidPlug LV2 plugins" + #:scope (list "gnu/packages/fluidplug.scm"))) + (define-member (person "Eric Bavier" "bavier@posteo.net") @@ -780,6 +786,10 @@ (define-member (person "André Batista" "nandre@riseup.net") mozilla) +(define-member (person "Giacomo Leidi" + "goodoldpaul@autistici.org") + fluidplug) + (define (find-team name) (or (hash-ref %teams (string->symbol name))