GNU bug report logs - #72673
[PATCH] Add home-pipewire-profile-service to home-pipewire-service-type

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Apoorv <apoorvs@HIDDEN>; Keywords: patch; dated Fri, 16 Aug 2024 17:16:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Aug 2024 17:15:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 16 13:15:19 2024
Received: from localhost ([127.0.0.1]:52768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sf0Xm-0001Oj-Ob
	for submit <at> debbugs.gnu.org; Fri, 16 Aug 2024 13:15:19 -0400
Received: from lists.gnu.org ([209.51.188.17]:56254)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <apoorvs@HIDDEN>) id 1sf0Xl-0001Ob-4D
 for submit <at> debbugs.gnu.org; Fri, 16 Aug 2024 13:15:17 -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 <apoorvs@HIDDEN>) id 1sf0X3-0005AQ-J7
 for guix-patches@HIDDEN; Fri, 16 Aug 2024 13:14:36 -0400
Received: from w1.tutanota.de ([81.3.6.162])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <apoorvs@HIDDEN>) id 1sf0X1-00081k-8E
 for guix-patches@HIDDEN; Fri, 16 Aug 2024 13:14:33 -0400
Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10])
 by w1.tutanota.de (Postfix) with ESMTP id E8A19FBFCD7
 for <guix-patches@HIDDEN>; Fri, 16 Aug 2024 17:14:28 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1723828468; 
 s=s1; d=tuta.io;
 h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender;
 bh=35mstLZBlMAhO4Cx7l/KnDe0hgS3P0r3x7DE8+pRwjc=;
 b=KQkwHUdepCRnDEJXiLfC/vZeNeXvNI+9zMu4IZnt2gdXn4SSW+Gqz2ozMCk0w5OJ
 hRGRK0FiwU3UT+YbMYWrVlZzfprCck3UySPgE6lE/lMVdZk1XbOvlT7DnoyKGbnaP1E
 EHPybP1ENXXfNxWdWKI9aPlm0T7EflQ0uNOxUV/xRZbXYfCLaFRZxTgHS6akuIGVDN2
 jxWlRyzGKIe3sH2UV0UHe7+PDjmDAnfHL9CQ3DdvNH63QJksR0dLddR4glm5u0WHoRp
 Y74Mt6rWMi+QehE3Ao1qdxq2lmrgueF+AozLKsHX2MCBErVdcN9P27E4C+Dr9EcaA8F
 RoU0WpA6TQ==
Date: Fri, 16 Aug 2024 19:14:28 +0200 (CEST)
From: Apoorv <apoorvs@HIDDEN>
To: Guix Patches <guix-patches@HIDDEN>
Message-ID: <O4RAjXI--3-9@HIDDEN>
Subject: [PATCH] Add home-pipewire-profile-service to
 home-pipewire-service-type
MIME-Version: 1.0
Content-Type: multipart/mixed; 
 boundary="----=_Part_109255_1490869062.1723828468965"
Received-SPF: pass client-ip=81.3.6.162; envelope-from=apoorvs@HIDDEN;
 helo=w1.tutanota.de
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
 RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

------=_Part_109255_1490869062.1723828468965
Content-Type: multipart/alternative; 
	boundary="----=_Part_109256_159632406.1723828468965"

------=_Part_109256_159632406.1723828468965
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

`home-pipewire-service-type` should provide the `pw-` and `wpctl` commands, so I modified the `home-pipewire-service-type` to add the `home-profile-service-type` extension for that.

I have to manually install both packages (pipewire and wireplumber) to get those commands, when this service-type could be doing all that for us.

-- 
 Sent with Tuta; enjoy secure & ad-free emails: 
 https://tuta.com

------=_Part_109256_159632406.1723828468965
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div dir="auto">`home-pipewire-service-type` should provide the `pw-` and `wpctl` commands, so I modified the `home-pipewire-service-type` to add the `home-profile-service-type` extension for that.<br><br>I have to manually install both packages (pipewire and wireplumber) to get those commands, when this service-type could be doing all that for us.<br></div><div dir="auto"><br></div><div dir="auto">-- <br></div><div dir="auto"> Sent with Tuta; enjoy secure &amp; ad-free emails: <br></div><div dir="auto"> https://tuta.com<br></div>  </body>
</html>

------=_Part_109256_159632406.1723828468965--

------=_Part_109255_1490869062.1723828468965
Content-Type: text/x-patch; charset=us-ascii; 
	name=0014-Add-home-pipewire-profile-service-to-home-pipewire-s.patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; 
	filename=0014-Add-home-pipewire-profile-service-to-home-pipewire-s.patch

From 6f71b946875479a071baa8e20bc8f05e72610122 Mon Sep 17 00:00:00 2001
From: apoorv569 <apoorvs569@HIDDEN>
Date: Fri, 16 Aug 2024 22:40:22 +0530
Subject: [PATCH 14/14] Add home-pipewire-profile-service to
 home-pipewire-service-type

---
 gnu/home/services/sound.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/home/services/sound.scm b/gnu/home/services/sound.scm
index 313a57305b..8afdd84740 100644
--- a/gnu/home/services/sound.scm
+++ b/gnu/home/services/sound.scm
@@ -51,6 +51,11 @@ (define-configuration/no-serialization home-pipewire-configuration
    "When true, enable PipeWire's PulseAudio emulation support, allowing
 PulseAudio clients to use PipeWire transparently."))
 
+(define (home-pipewire-profile-service config)
+  (list
+   (home-pipewire-configuration-pipewire config)
+   (home-pipewire-configuration-wireplumber config)))
+
 (define (home-pipewire-shepherd-service config)
   (shepherd-service
    (documentation "PipeWire media processing.")
@@ -121,6 +126,8 @@ (define home-pipewire-service-type
    (extensions
     (list (service-extension home-shepherd-service-type
                              home-pipewire-shepherd-services)
+          (service-extension home-profile-service-type
+                             home-pipewire-profile-service)
           (service-extension home-xdg-configuration-files-service-type
                              home-pipewire-xdg-configuration)))
    (description
-- 
2.45.2


------=_Part_109255_1490869062.1723828468965--




Acknowledgement sent to Apoorv <apoorvs@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#72673; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.