From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gNSwHbC/fWVLaAEAkFu2QA (envelope-from ) for ; Sat, 16 Dec 2023 16:18:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id lu8LFrC/fWVc1QAAe85BDQ (envelope-from ) for ; Sat, 16 Dec 2023 16:18:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=FCfpQOOR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702739888; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xHUDTlW8+csyWtcyZrS+NZLNW5DVZGiPyDMZECdxkqc=; b=q9OpQdoyTm2IHzm8tXb1OL/1umY+Q0iHtVp8IB6d9pG8T5PBOPcUfojVNjT7fqKKXw1tRM Bqf6poBXZ2aYr4piS2EdJXheNrVAJLZehpmM6SxHsZZH8+VdOyXFzSxLMeWqykmDnHf0K1 bMqdGVmvAQagodUMOMPPiGN/CVP99gKUFIiEbsop91aj3nUORU0idiDGQIsuISncIn1Uj0 qQgMXfYYfaL/OJIJmULDYewe0iJlHjYpAgYgsl+ASJwF1DbzNkSozbV/oyi1N3fXe9/E1n J7pamlQg2zfXi2CRdGKZ2xn53TJ4iSi3OM9FnKnFhQlYnKeewRD2wVM5BDj9XQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702739888; a=rsa-sha256; cv=none; b=ZKGJv/2zxQ2rErsHT1S2QiJ8Xh8d93+Ew6+LCqNL+gJ5z12u9mz8EHTzB4u/opDgsX9orl 2xmDKWNIk3RAj5UUqGjWrVGUMoryOLTVWVhK0NWqokN5nCy/fKhkDAbSTZF/wRZaUOOIZN K5o2/kfi89w5CnMGt57XnD0vHfa/VQvPUkqxEe1XG3RmvkpbYjH2wXixFNf6dOrdVQZ8WF WPDVslAiBwSzRbNmj0zDypr3iKr2P4R+KhPg52JkpqzT9Kr0nr/C44ivdd2LSZbiLcarFH h6z2IZQeLo/z/zJkiB5uK/Y0iwJnyWD606wySahaA4/mU55s2BgltnlGBjqllw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=FCfpQOOR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C55C556DD7 for ; Sat, 16 Dec 2023 16:18:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEWQW-00029z-DR; Sat, 16 Dec 2023 10:18: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 1rEWQU-00029q-Iv for guix-patches@gnu.org; Sat, 16 Dec 2023 10:18: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 1rEWQU-0006Aj-B0 for guix-patches@gnu.org; Sat, 16 Dec 2023 10:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEWQU-0003eP-SN for guix-patches@gnu.org; Sat, 16 Dec 2023 10:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#63863] [PATCH v5 1/1] gnu: home: Add support for home-pipewire-service References: <13252a733171e18f4d39d0185ddf3e8e3c06bc15.1685747062.git.bjc@spork.org> In-Reply-To: <13252a733171e18f4d39d0185ddf3e8e3c06bc15.1685747062.git.bjc@spork.org> Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Dec 2023 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63863 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 63863@debbugs.gnu.org Received: via spool by 63863-submit@debbugs.gnu.org id=B63863.170273985613986 (code B ref 63863); Sat, 16 Dec 2023 15:18:02 +0000 Received: (at 63863) by debbugs.gnu.org; 16 Dec 2023 15:17:36 +0000 Received: from localhost ([127.0.0.1]:55739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEWQ4-0003dW-6p for submit@debbugs.gnu.org; Sat, 16 Dec 2023 10:17:36 -0500 Received: from coleridge.kublai.com ([2001:470:30:84:e276:63ff:fe62:3637]:60298 helo=mail.spork.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEWQ0-0003dN-Ue for 63863@debbugs.gnu.org; Sat, 16 Dec 2023 10:17:34 -0500 Received: from smtpclient.apple (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id ADDA5196; Sat, 16 Dec 2023 10:17:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1702739851; bh=PpiH5BvG+aWvhQL5InbmYkqWCr+CDGHJDxjh1T0O+wc=; h=From:Subject:Date:Cc:To; b=FCfpQOORlakiNxFaRQ0h8Z20oTw5Q0IDcAKR9lcG/PtI3HJStHc2KJQHxsAEt+JvN 2lgv3UVTJUEg0MLNv+HixzFmvJMcXtT+dBVpwADakG8XLMpCRZfIL4tcATrSLWeI9r EUZg0E/yNr86G3wpB6YlNu1h3hBPj6a3d0fNhXmk= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Message-Id: <9E63989C-2927-45B5-B1BF-5C5E8FF1D5C1@spork.org> Date: Sat, 16 Dec 2023 10:17:21 -0500 X-Mailer: iPhone Mail (21B101) 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: Brian Cully X-ACL-Warn: , Brian Cully via Guix-patches From: Brian Cully via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.66 X-Spam-Score: -6.66 X-Migadu-Queue-Id: C55C556DD7 X-Migadu-Scanner: mx11.migadu.com X-TUID: hp4PteMGXcSL =EF=BB=BF Hilton Chain writes: > I'd prefer the following: >=20 > (define (home-pipewire-asoundrc config) > (match-record config > (pipewire) > (mixed-text-file > "asoundrc" > "<" pipewire "/share/alsa/alsa.conf.d/50-pipewire.conf>\n" > "<" pipewire "/share/alsa/alsa.conf.d/99-pipewire-default.conf>\n" > "pcm_type.pipewire {\n" > " lib \"" pipewire "/lib/alsa-lib/libasound_module_pcm_pipewire.so\"\= n" > "}\n" > "ctl_type.pipewire {\n" > " lib \"" pipewire "/lib/alsa-lib/libasound_module_ctl_pipewire.so\"\= n" > "}\n"))) >=20 >=20 > or: >=20 > (define (home-pipewire-asoundrc config) > (match-record config > (pipewire) > (mixed-text-file > "asoundrc" > #~(begin > (use-modules (ice-9 format)) > (format #f "~ > <~a/share/alsa/alsa.conf.d/50-pipewire.conf> > <~@*~a/share/alsa/alsa.conf.d/99-pipewire-default.conf> > pcm_type.pipewire { > lib \"~@*~a/lib/alsa-lib/libasound_module_pcm_pipewire.so\" > } > ctl_type.pipewire { > lib \"~@*~a/lib/alsa-lib/libasound_module_ctl_pipewire.so\" > }~%" #$pipewire))))) I prefer the former to the latter; I often find =E2=80=98format=E2=80=99 str= ings to be pretty confusing, and the documentation doesn't tend to help much= . I know I'm not alone in this, and since this is fairly simple, I'll use th= e straight concatenation, which has the additional benefit of preserving ind= entation. > One thing to note: the wireplumber package is built with elogind integrati= on, so > it fails to start when elogind is not present: >=20 > [wireplumber] failed to start systemd logind monitor: -2 (No such file or d= irectory) >=20 > I think we can add a wireplumber variant built with "-Delogind=3Ddisabled"= and > maybe mention it in the documentation. Sounds reasonable. I don't know how long wireplumber has been able to be bui= lt without systemd stuff, just that I tried running it with seatd/greetd and= it failed. Have you got it working without elogind? I'm not sure when I'll be able to have a look at it, so I'd rather the curre= nt patch go in, and we can add elogind-less variants afterwards. -- -bjc