From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8MA+C5rH+WEeUgAAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 00:51:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ODZ6CJrH+WHJcwEA9RJhRA (envelope-from ) for ; Wed, 02 Feb 2022 00:51:54 +0100 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 DB3E2129A2 for ; Wed, 2 Feb 2022 00:51:53 +0100 (CET) Received: from localhost ([::1]:50870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF2wC-0003Uu-Ow for larch@yhetil.org; Tue, 01 Feb 2022 18:51:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEz6K-0001Qf-5V for guix-patches@gnu.org; Tue, 01 Feb 2022 14:46:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEz6I-0004fA-7b for guix-patches@gnu.org; Tue, 01 Feb 2022 14:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEz6H-0000vl-NX for guix-patches@gnu.org; Tue, 01 Feb 2022 14:46:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53676] [PATCH 3/5] gnu: pulseaudio: Graft to adjust configuration. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 19:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer , 53676@debbugs.gnu.org Received: via spool by 53676-submit@debbugs.gnu.org id=B53676.16437447573567 (code B ref 53676); Tue, 01 Feb 2022 19:46:01 +0000 Received: (at 53676) by debbugs.gnu.org; 1 Feb 2022 19:45:57 +0000 Received: from localhost ([127.0.0.1]:44191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEz6C-0000vT-P3 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:45:56 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:33370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEz6B-0000vG-8u for 53676@debbugs.gnu.org; Tue, 01 Feb 2022 14:45:55 -0500 Received: by mail-ej1-f68.google.com with SMTP id jx6so57929650ejb.0 for <53676@debbugs.gnu.org>; Tue, 01 Feb 2022 11:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=kOVcByVhZOgWYS8yI0iESsjC3kFSnpFL25ZtZKbcatA=; b=Q89Onh1lGKL36IHDEASxMMei4u6GtXqCJf8DSx6u8N+bd9EALMRViTsAl3WMgf9E8R rjtAnoiupq9GFiJR9GDvYopbQPOIsGy2lAbDF+GeO0s0VFy4uDzaBJXh6ZuC6tPmxNws tk87GzslxUXBvhzkI678M9CEnBSiSlO9JLRb0Ba5RGNVJ3qBriLfxGER0hRPGYCJ81qi BYwDDfRVieILuXcTOJNKuJ/RuDpOwQgXYetMDrGnpHjkvXuoJNIE0rYTz1bbJNmRuV8O GsomXzae2RkS2jEKDJAJ84aBdLiSm5H48qQlkepp6DlYBl0n4R+4ArAVp8I4mCd1KyRK 17KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=kOVcByVhZOgWYS8yI0iESsjC3kFSnpFL25ZtZKbcatA=; b=D3YK/GGiNLsuHm+4ABLQnPYW5sKKME3cKVlIXvVhLiursimusKp7Oo2LtHmOHsw/6B mlkH0iYmUObhsDj7VFM9I4Kz4cxt8FkiPqHFGKzsqxYq5N5ppVWjHW1PFDYXpraMQyWC T37Y3SpFE1ZRiaLLHgOP/7/arJVcuFQ8UMJKTl9b91avlmI46Vm4qbUzAJ1j3ZjcK0D9 QjmEosolzC+W+cnynj0O/v3b6WCub4Ni9HoYDMGn/WnaR/dqksRW97w4YvG1zeqCQRgm uvlxqTYLEwac2/oOUDwV0D3IWPusTFsjpkb+NIlUEH855CrG4QE1010pexHx+b7+sC35 Tz+g== X-Gm-Message-State: AOAM531NKcPYOEasle2YwO9aqKkSeG/CyCiUbpTJ0MRVwjTfn5yDaznP v3GYNTB5lTWTdghyvNxerrO4RgosXw0= X-Google-Smtp-Source: ABdhPJzRvFkU954PAXQ6mhNa5/6IUsqYuyNAb09XtUUib/QmY7YQdJ3iqq4i4Lkk0nKORH7FtTvpaA== X-Received: by 2002:a17:906:478b:: with SMTP id cw11mr22830852ejc.35.1643744749529; Tue, 01 Feb 2022 11:45:49 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id z6sm15153016ejd.35.2022.02.01.11.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 11:45:49 -0800 (PST) Message-ID: <693cc82d449395853247c7fbf1b44d0a3c979c87.camel@gmail.com> From: Liliana Marie Prikler Date: Tue, 01 Feb 2022 20:45:48 +0100 In-Reply-To: <20220201041933.16603-3-maxim.cournoyer@gmail.com> References: <20220201041933.16603-1-maxim.cournoyer@gmail.com> <20220201041933.16603-3-maxim.cournoyer@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643759513; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=kOVcByVhZOgWYS8yI0iESsjC3kFSnpFL25ZtZKbcatA=; b=dB+RqbuevvV6E10qJLb5dGieqoo9whINMS0URzFnRgforfwYXQa50oawWjKj0yCOTc8zsJ 71QmR5NURoQGHO1j2DoPCypbe8w/N+T1ytqkkLqNfFJfvQV16HYOCzS9aDVAKzcsDIi2xN NPYqZAIv6Pct+8JXmLNChVSVFg8785pkGRsz6rnmjC0B3KCymv28h/bgYwH5MiWHTW8PLg hsvGx0YIPqIX6J0Reds+b0mOic6RLxjSWE2xxai8E8kpppp1vArZ+feyamKBW3COoFN1uu pP/y7pU1L7UVR+mzj5F9runSiP9I2KIVw2JbWPTmHGtCYP6Bp+jPS4Ampn12Yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643759513; a=rsa-sha256; cv=none; b=M4zprWLSM9eJM+uNey7PHdZJi8ZuliLlVjCvavtw13RRf4rA0L5tXXs4MHZX+OSQ5Jeeo6 qtLcktbU5ntSalECQy2MbeZbzNm87A72oF0d5iUGsAoEEwvNZlCP0YzoAT9Jefsqbtg28h fuTGoDQsMMjtJRiryO19hjnNpsnPz6zJ8jg5LvvcJRVjLEiSug+0EjpBC/EY4jctV8eNyR QafCJhq7DTQ2pwTql2wBtrUZVvVH50OP3MzaSGGNiEfL7Qm8LvEQS7eWW3S9vV7rdR54VP 001bi0ZuFh9kIGWeVIwS3VVZIojEU98teyKCvnbEhY5HIrlRa/SC3blZrPiSVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Q89Onh1l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Q89Onh1l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: DB3E2129A2 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: ENRbaQ85e5ga Am Montag, dem 31.01.2022 um 23:19 -0500 schrieb Maxim Cournoyer: > * gnu/packages/pulseaudio.scm (pulseaudio/fixed): New variable. > (pulseaudio)[replacement]: Graft package with it. > --- >  gnu/packages/pulseaudio.scm | 18 ++++++++++++++++++ >  1 file changed, 18 insertions(+) > > diff --git a/gnu/packages/pulseaudio.scm > b/gnu/packages/pulseaudio.scm > index fe028b5202..f529717ee1 100644 > --- a/gnu/packages/pulseaudio.scm > +++ b/gnu/packages/pulseaudio.scm > @@ -178,6 +178,7 @@ (define-public libsamplerate >  (define-public pulseaudio >    (package >      (name "pulseaudio") > +    (replacement pulseaudio/fixed) >      (version "15.0") >      (source (origin >               (method url-fetch) > @@ -269,6 +270,23 @@ (define-public pulseaudio >      ;; 'LICENSE' for details. >      (license l:gpl2+))) >   > +(define pulseaudio/fixed > +  (package > +    (inherit pulseaudio) > +    (arguments > +     (substitute-keyword-arguments (package-arguments pulseaudio) > +       ((#:phases phases) > +        `(modify-phases ,phases > +           (add-after 'unpack 'customize-default-script > +             (lambda _ > +               (call-with-port > +                (open-file "src/daemon/default.pa.in" "a") > +                (lambda (port) > +                  (format port "~%\ > +### Include extra script files configured via the pulseaudio- > service-type. > +.nofail > +.include /etc/pulse/default.pa.d~%"))))))))))) > + Note that there should be a .fail afterwards.   As Leo pointed out, we shouldn't do too many "feature grafts", so instead it might be worth moving this part to pulseaudio-service-type in some way, no?