From patchwork Sat Feb 18 00:51:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 47088 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 834E7169D6; Sat, 18 Feb 2023 00:53:15 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 1B04C16586 for ; Sat, 18 Feb 2023 00:53:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTBTR-0001kC-RX; Fri, 17 Feb 2023 19:53:09 -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 1pTBTL-0001ja-Pi for guix-patches@gnu.org; Fri, 17 Feb 2023 19:53:05 -0500 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 1pTBTK-0006W6-9r for guix-patches@gnu.org; Fri, 17 Feb 2023 19:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTBTK-0008IQ-6w for guix-patches@gnu.org; Fri, 17 Feb 2023 19:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61590] [PATCH 3/3] services: ladspa: Export accessors. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Feb 2023 00:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61590 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61590@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 61590-submit@debbugs.gnu.org id=B61590.167668152331819 (code B ref 61590); Sat, 18 Feb 2023 00:53:02 +0000 Received: (at 61590) by debbugs.gnu.org; 18 Feb 2023 00:52:03 +0000 Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTBSN-0008Gz-5M for submit@debbugs.gnu.org; Fri, 17 Feb 2023 19:52:03 -0500 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]:51608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTBSI-0008GE-5K for 61590@debbugs.gnu.org; Fri, 17 Feb 2023 19:51:58 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id 8331120D8E for <61590@debbugs.gnu.org>; Sat, 18 Feb 2023 01:51:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3EAE180079; Sat, 18 Feb 2023 01:51:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id apq4z6F9S_eI; Sat, 18 Feb 2023 01:51:57 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id D880980097; Sat, 18 Feb 2023 01:51:56 +0100 (CET) From: Bruno Victal Date: Sat, 18 Feb 2023 00:51:33 +0000 Message-Id: X-Mailer: git-send-email 2.39.1 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: , 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/service/sound.scm: Export ladspa-configuration? and ladspa-configuration-plugins. ()[plugins]: Rename accessor to ladspa-configuration-plugins. (ladspa-environment): Adjust to use renamed plugin accessor. --- gnu/services/sound.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index c3f64171dc..8ca7acd737 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -54,6 +54,8 @@ (define-module (gnu services sound) pulseaudio-service-type ladspa-configuration + ladspa-configuration? + ladspa-configuration-plugins ladspa-service-type)) ;;; Commentary: @@ -241,7 +243,7 @@ (define pulseaudio-service-type (define-record-type* ladspa-configuration make-ladspa-configuration ladspa-configuration? - (plugins ladspa-plugins (default '()))) + (plugins ladspa-configuration-plugins (default '()))) (define (ladspa-environment config) ;; Define this variable in the global environment such that @@ -249,7 +251,7 @@ (define (ladspa-environment config) `(("LADSPA_PATH" . (string-join ',(map (lambda (package) (file-append package "/lib/ladspa")) - (ladspa-plugins config)) + (ladspa-configuration-plugins config)) ":")))) (define ladspa-service-type