From unknown Tue Jun 17 03:39:10 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#39062 <39062@debbugs.gnu.org> To: bug#39062 <39062@debbugs.gnu.org> Subject: Status: [PATCH 1/6] services: Add pulseaudio-configuration. Reply-To: bug#39062 <39062@debbugs.gnu.org> Date: Tue, 17 Jun 2025 10:39:10 +0000 retitle 39062 [PATCH 1/6] services: Add pulseaudio-configuration. reassign 39062 guix-patches submitter 39062 Leo Prikler severity 39062 normal tag 39062 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:34 2020 Received: (at submit) by debbugs.gnu.org; 10 Jan 2020 01:49:34 +0000 Received: from localhost ([127.0.0.1]:53374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQc-0003go-7n for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:44297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQZ-0003g2-4T for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36559) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipjQX-0006Mx-SX for guix-patches@gnu.org; Thu, 09 Jan 2020 20:49:30 -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 1ipjQW-0007T9-Bm for guix-patches@gnu.org; Thu, 09 Jan 2020 20:49:29 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:31226) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipjQV-0007Be-JU for guix-patches@gnu.org; Thu, 09 Jan 2020 20:49:28 -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 47v5WQ26Jbz1DWqb; Fri, 10 Jan 2020 02:49:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5WQ26Jbz1DWqb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620962; bh=/DtmfvupVTx3tDbTlfHDWJYEDPMn8ICkPGzhxR0s97A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ks/6FB0ERD5KioK8iOtTrT52bfhmalD6ddJcVgUhAueaW2JmHOJaaiRQQF1LZFBu7 hu+qvb5mx1BQq5YEJgzn5ytr2wJkzKwBmfSs8Mpq3eArquZ62FRuLm1bSaIenrIX3D fSTXLOtMkmHMmu69ENMqCl9qyIiVvErN3qtuRI/U= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 1/6] services: Add pulseaudio-configuration. Date: Fri, 10 Jan 2020 02:48:19 +0100 Message-Id: <20200110014823.10595-1-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 (): New record. (pulseaudio-etc): New procedure. (pulseaudio-service-type): Update accordingly. --- gnu/services/sound.scm | 43 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index aaca733729..307e62fd1b 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -34,6 +34,7 @@ #:export (alsa-configuration alsa-service-type =20 + pulseaudio-configuration pulseaudio-service-type)) =20 ;;; Commentary: @@ -106,19 +107,57 @@ ctl.!default { ;;; PulseAudio ;;; =20 +(define-record-type* + pulseaudio-configuration make-pulseaudio-configuration + pulseaudio-configuration? + (client-conf pulseaudio-client-conf + (default '())) + (daemon-conf pulseaudio-daemon-conf + (default '())) + (script-file pulseaudio-script-file + (default (file-append pulseaudio "/etc/pulse/default.pa")= )) + (system-script-file pulseaudio-system-script-file + (default + (file-append pulseaudio "/etc/pulse/system.pa"))= )) + (define (pulseaudio-environment config) ;; Define this variable in the global environment such that ;; pulseaudio swh-plugins works. `(("LADSPA_PATH" . ,(file-append swh-plugins "/lib/ladspa")))) =20 +(define (pulseaudio-conf-entry arg) + (match arg + ((key . value) + (format #f "~a =3D ~s~%" key value)) + ((? string? _) + (string-append arg "\n")))) + +(define pulseaudio-etc + (match-lambda + (($ client-conf daemon-conf + default-script-file system-script-fil= e) + `(("pulse" + ,(file-union + "pulse" + `(("client.conf" + ,(apply mixed-text-file "client.conf" + (map pulseaudio-conf-entry client-conf))) + ("daemon.conf" + ,(apply mixed-text-file "daemon.conf" + "default-script-file =3D " default-script-file "\n" + (map pulseaudio-conf-entry daemon-conf))) + ("default.pa" ,default-script-file) + ("system.pa" ,system-script-file)))))))) + (define pulseaudio-service-type (service-type (name 'pulseaudio) (extensions (list (service-extension session-environment-service-type - pulseaudio-environment))) - (default-value #f) + pulseaudio-environment) + (service-extension etc-service-type pulseaudio-etc))) + (default-value (pulseaudio-configuration)) (description "Configure PulseAudio sound support."))) =20 ;;; 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 unknown Tue Jun 17 03:39:10 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