From unknown Tue Jun 17 20:15:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39065 <39065@debbugs.gnu.org> To: bug#39065 <39065@debbugs.gnu.org> Subject: Status: [PATCH 4/6] services: Split ladspa-service-type from pulseaudio-service-type. Reply-To: bug#39065 <39065@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:15:21 +0000 retitle 39065 [PATCH 4/6] services: Split ladspa-service-type from pulseaud= io-service-type. reassign 39065 guix-patches submitter 39065 Leo Prikler severity 39065 normal tag 39065 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:46 2020 Received: (at submit) by debbugs.gnu.org; 10 Jan 2020 01:49:46 +0000 Received: from localhost ([127.0.0.1]:53391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQo-0003iN-Cw for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:36896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQd-0003hI-Tw for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36893) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipjQc-0006NB-Ea for guix-patches@gnu.org; Thu, 09 Jan 2020 20:49:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipjQb-0007rY-1Y for guix-patches@gnu.org; Thu, 09 Jan 2020 20:49:34 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:3689) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipjQa-0007lk-MK for guix-patches@gnu.org; Thu, 09 Jan 2020 20:49:32 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5WY2krNz1LgFk; Fri, 10 Jan 2020 02:49:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5WY2krNz1LgFk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620969; bh=BnEThEQMcSDQ0f63IG1lTCBZiczaMuJVwVXoj28Sdw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZIa/6afxIQvmlXwfL3HkWw6CGsJjV7niIR19NitXXxPSWMtBI1xZmijfMFEzwA3qj N+0+PRb0UO9MnBfGzok5O3VICxi2MwlA8ynnO7yupQPFauMb/f/DnLZz8qUWffkH0p ifS0sCGRyW+yNDeGOT14minrobRwfBiSYpicd/4U= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 4/6] services: Split ladspa-service-type from pulseaudio-service-type. Date: Fri, 10 Jan 2020 02:48:22 +0100 Message-Id: <20200110014823.10595-4-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 129.27.2.202 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/services/sound.scm (ladspa-configuration): New record. (ladspa-environment): New procedure. (ladspa-service-type): New service type. (pulseaudio-environment): Remove LADSPA_PATH. * doc/guix.texi: Adjust documentation. --- doc/guix.texi | 20 +++++++++++--------- gnu/services/sound.scm | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 60491af4d4..431895aa7d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15951,19 +15951,21 @@ pcm.!default @{ See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details. =20 -@deffn {Scheme Variable} pulseaudio-service-type -This is the type for the @uref{http://www.pulseaudio.org/, PulseAudio -sound server}, which sets the @var{LADSPA_PATH} environment variable to -allow PulseAudio load modules from @code{swh-plugins} package. +@deffn {Scheme Variable} ladspa-service-type +This service sets the @var{LADSPA_PATH} variable, so that programs, whic= h +respect it, e.g. PulseAudio, can load LADSPA plugins. =20 -See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the -details. - -The following example will setup the service: +The following example will setup the service to enable modules from the +@code{swh-plugins} package: =20 @lisp -(service pulseaudio-service-type) +(service ladspa-service-type + (ladspa-configuration (plugins (list swh-plugins)))) @end lisp + +See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the +details. + @end deffn =20 @node Database Services diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index 5d72b3ada2..64b45f585f 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -35,7 +35,10 @@ alsa-service-type =20 pulseaudio-configuration - pulseaudio-service-type)) + pulseaudio-service-type + + ladspa-configuration + ladspa-service-type)) =20 ;;; Commentary: ;;; @@ -162,4 +165,32 @@ ctl.!default { (default-value (pulseaudio-configuration)) (description "Configure PulseAudio sound support."))) =20 +=0C +;;; +;;; LADSPA +;;; + +(define-record-type* + ladspa-configuration make-ladspa-configuration + ladspa-configuration? + (plugins ladspa-plugins (default '()))) + +(define (ladspa-environment config) + ;; Define this variable in the global environment such that + ;; pulseaudio swh-plugins (and similar LADSPA plugins) work. + `(("LADSPA_PATH" . + (string-join + ',(map (lambda (package) (file-append package "/lib/ladspa")) + (ladspa-plugins config)) + ":")))) + +(define ladspa-service-type + (service-type + (name 'ladspa) + (extensions + (list (service-extension session-environment-service-type + ladspa-environment))) + (default-value (ladspa-configuration)) + (description "Configure LADSPA plugins."))) + ;;; sound.scm ends here --=20 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 11:54:55 2020 Received: (at control) by debbugs.gnu.org; 11 Jan 2020 16:54:55 +0000 Received: from localhost ([127.0.0.1]:56524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK2J-0002JR-6A for submit@debbugs.gnu.org; Sat, 11 Jan 2020 11:54:55 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK2I-0002JD-KW for control@debbugs.gnu.org; Sat, 11 Jan 2020 11:54:54 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E10C921B2F for ; Sat, 11 Jan 2020 11:54:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 11:54:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=bjJkn4CA38Sr57sdJ6kw/P5N/WyKHvaNzlI35UGrSH4=; b=bje0MXIE 4Xb+6a7xWH3whCM4Cp5UmyG+3a+bYZdicovi6iCz7Ss51mi6J4rITvGt2sbgMPUF gxWEFIYDsDWn2DShqPdD5tXjMikhj5p6qrvvN9/LKE3n9/xq4r2cN/f99eSVc+SL rxNC/LRfPNFamKGJRSKMsvjG/tR+5OOmOJ9JLKfNthE0wqE96Is1mVEXw+rDHAIl cJY4r3zo7L7Pv6Fgmvmvs7Sd2e+nH3jmVG+pOs14MHT/SOJ9VPZXnxsdSsio1OSP cUpKkOiAbUmkLP3rPZt1qDnoz8HVt/iI52eIt1mTqAlavEBLkxQ4zYx/kdJN3I1f ybhSZmrpZzw/SQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=bjJkn4CA38Sr57sdJ6kw/P5N/WyKH vaNzlI35UGrSH4=; b=P76XbLRwmvQicqiwz8vjZ/2oQQKi6PVMA19v7Sm0oPPqV a3gRnXsY3n4T5O+HeKZgCBx6nH35Tgo0EwjaRFZ/Lc4AmSf2siAFHzPBlYfYFL5Z CMFXVCyJwVcxuVhOoVnilS+vMuLbt101fgHrYOPNfXvoCwXFbQ8KK/7OTXEAvc4I yjBpD4lzf+Vu8ViXQ0KksRVcp9ryAl0ueX38SQu9vP/fvQsJa1laQQ+XkKr0lkfc N0sGH8YR0PHUVIvvUAxdpr3n0OlWnlG3TbBtzCVZyVn5k6zw3f7m7teBhlArH4tf X6GRTdNSVF9vvRfm4AcgkaU1gUt6ibJg/zixLabmQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpeforghrihhushcuuegr khhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepkeegrdehvd drvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghs thhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 3717A8005A for ; Sat, 11 Jan 2020 11:54:47 -0500 (EST) From: Marius Bakke To: control@debbugs.gnu.org Subject: Date: Sat, 11 Jan 2020 17:54:45 +0100 Message-ID: <87v9piyluy.fsf@devup.no> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 39053 39052 39054 39055 39062 39061 39063 39065 39064 thanks Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: fastmail.com] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mbakke[at]fastmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.25 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) merge 39053 39052 39054 39055 39062 39061 39063 39065 39064 thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 12:00:43 2020 Received: (at 39065) by debbugs.gnu.org; 11 Jan 2020 17:00:44 +0000 Received: from localhost ([127.0.0.1]:56553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK7v-00033J-Cz for submit@debbugs.gnu.org; Sat, 11 Jan 2020 12:00:43 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK7t-0002xH-G7; Sat, 11 Jan 2020 12:00:41 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4ACB521EBC; Sat, 11 Jan 2020 12:00:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 12:00:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=1CAoowc+1N0YkAlBWCrO9fizDl FN1q31dxNdvAPglow=; b=PHbyXawmOppiCssJQDRLmEyL+Y/qbMU3zY68kgxGuI Prww4LfnaFmazNftKp2ooWcvC3vEWlahNEhVjkYS788GgdmYI9+Pf56XGhfDqPOy lb04YRPTyjJ/Z7f8BMgctYNXY68S5U8zhZVfw8TumFbmfqyPKhAJYe6DqMwb/WvY 4mm+5cwHSQJ0e7W6qRQvH53S8AmAjGDcKspZnAmgYZ9lHYDyK6NH8EwWwkTjPh/0 ire3/Pml+YAWapY2bVGOg4Tvk673aJFZ+auxoeCI/mzV43ow7xb9G2hDpvDYEsCL zOFYZ68xUev4dOFg0D0WpYTyXin0mSvRSQ0fGUsSq3jA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1CAoow c+1N0YkAlBWCrO9fizDlFN1q31dxNdvAPglow=; b=cdW39o8TCAABSw2npH0Fso krGSGUUiz/2Sv94EquIHAt37KeW3vccPWHhzbHK1hZmMglNZI4Oja0m7PK1JORE6 UjvKJW6ZhRLcsvug/8BkB5TFFTuepkNhPO7PU/tPkITWwWL6QwQoOdUIXmNOKkvP nTkt6S5aUyEmjzkBjLNlLNp3CtKJQnPLPlptOijidr36X1X0waqyd9qkIBJcJtjL 3uoDtwvaNQaS/1P/Fj6SYmX6ou3Omm1ouC0USU/bgk1Z2jRPr+moFAf4uLLx0OGu mt5TS1E9gufDgRvY+rW4BOzzp5L3/n34rSP+rmiGS/Runt/AZ7UWpX3OviQL6/rQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedv X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id A1A6430607B0; Sat, 11 Jan 2020 12:00:35 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39065@debbugs.gnu.org Subject: Re: [bug#39065] [PATCH 4/6] services: Split ladspa-service-type from pulseaudio-service-type. In-Reply-To: <20200110014823.10595-4-leo.prikler@student.tugraz.at> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-4-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 18:00:34 +0100 Message-ID: <87o8vayll9.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39065 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > * gnu/services/sound.scm (ladspa-configuration): New record. > (ladspa-environment): New procedure. > (ladspa-service-type): New service type. > (pulseaudio-environment): Remove LADSPA_PATH. > * doc/guix.texi: Adjust documentation. This forgot to actually remove LADSPA_PATH from PULSEAUDIO-ENVIRONMENT; fixed! The previous pulseaudio-service-type is so recent that I don't think a deprecation notice is necessary. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4Z/zIACgkQoqBt8qM6 VPorxwf/fzQVqYCtE2l+9oO1DJ8ojWz2pjs2Tgh93UGTSkEZs6RA+g37PwYIBdr5 aYn/RXEWRSurDRGVMxyyY3aMftdiEfDt7LTzML24PLBjPhpKwXPpASDCMfWFz4s0 S2nHHm9I1j7D2IwBgyl5q1F87dFP1sRFP2vhuGxBKTVFcYgrAaZL8+bPshMvcAX1 fY4vmjrEfsHNpwclxioZA/9/aN1q3OWk/HPb3qdyLlV5NZ8c8nshkUwsCvTwJ5l/ EUhwi012iAA/O9QiwCkfonQ1f86TEVWtvBKE+EPytCFS/7iKAFbcNXfoiLRvOOAN HM47ptVk8g7kXsCCA7uqBik27YLDAw== =r1jm -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 20:15:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Feb 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator