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 qGksMPngF2IsLgEAgWs5BA (envelope-from ) for ; Thu, 24 Feb 2022 20:48:09 +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 CA6eLfngF2LyPQAA9RJhRA (envelope-from ) for ; Thu, 24 Feb 2022 20:48:09 +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 5BB2631740 for ; Thu, 24 Feb 2022 20:48:09 +0100 (CET) Received: from localhost ([::1]:42320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNK5w-0005Xl-9L for larch@yhetil.org; Thu, 24 Feb 2022 14:48:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNK5q-0005VW-Cj for guix-patches@gnu.org; Thu, 24 Feb 2022 14:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNK5q-0006PC-1i for guix-patches@gnu.org; Thu, 24 Feb 2022 14:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nNK5p-0001l5-Pm for guix-patches@gnu.org; Thu, 24 Feb 2022 14:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53676] [PATCH v2 2/4] gnu: pulseaudio: Graft to adjust configuration. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Feb 2022 19:48: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.16457320556646 (code B ref 53676); Thu, 24 Feb 2022 19:48:01 +0000 Received: (at 53676) by debbugs.gnu.org; 24 Feb 2022 19:47:35 +0000 Received: from localhost ([127.0.0.1]:50471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNK5O-0001j4-IH for submit@debbugs.gnu.org; Thu, 24 Feb 2022 14:47:35 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:37688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNK5M-0001i7-2Q for 53676@debbugs.gnu.org; Thu, 24 Feb 2022 14:47:33 -0500 Received: by mail-ej1-f68.google.com with SMTP id bg10so6578183ejb.4 for <53676@debbugs.gnu.org>; Thu, 24 Feb 2022 11:47:31 -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=7hLOAQ8C7vQxAKhyrcdvkpvyT+oNYprFilUcoxmJpiM=; b=M5InkhowjD8VrYU0Rm1FS/mHPD1avaDFSNJ4YW97V/r8mwSTxJWYGVbaw7TPa7duvu TdkxbpYfjqWG55q7fk0LLpyOLZXVDLEmCunoM779Uvdm9ekafLa7wGu8YhqTRJHHhjYO Fl0A2+D77dyMKtchqr+/Y8cI3FGh3LHiobfDynvmn1QWp9CY4Y74AyuOpnlRtdSNgqmL KyXySoA0nVpUW0XTCHuJOkdAP2yvvszecJhS6puSG5nbQGU8qlGXx5S/ZFCx536SqDd4 292ObpMj0o5DtjlRXkO87gFtAc1VkSKcngmMYtSdydU2yikzCi5Fd17PIoWzH6VYhL1+ 5zIQ== 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=7hLOAQ8C7vQxAKhyrcdvkpvyT+oNYprFilUcoxmJpiM=; b=p9VpFzakrb0hTPNJbBSzR5xA4UeOsaxy8XVUZOrngf9G0DRp4P5D4v5xlrHWFZw6qB 66yTYdAgE1C7Jz3fSvU6HnnHLuD/GjMvsT0DCayOpkG1aFn+uEFwB7BWc76IgCL/UAcq C13/35b0wIvtSBPXQC6j67QdP3PaJKc4d0pob0hgKKUC8pvdUv4JDQhU0s/WH0LDkTWE JdOw3BLAnJxxcO7Wy77kQlSJyo5hPJ1U9yElHmu/VJx7VBNyStpfn7Z8QlWZle7BGjDY lIAcXvuoHK4abpF9/5VE5F2KIPsmdduuTTIuM/0D20o3HnPEuMy59qaXiSOe6sevFz4C HQSA== X-Gm-Message-State: AOAM531MV5XMyNfO+u6JSsPEgyUNFWmaesB8P4P3JSPC8lP+fFLf/Jli v99P63r0G+IEfGmTrhm+WTw= X-Google-Smtp-Source: ABdhPJzo1ubYh9Qe9nmEDvSA+tgojUJkXc09lamG6U4/QpfftkVcKaVt57M8/9qvy7e2gJY8BD+Maw== X-Received: by 2002:a17:907:6006:b0:6ce:46f:fe4b with SMTP id fs6-20020a170907600600b006ce046ffe4bmr3397610ejc.7.1645732046113; Thu, 24 Feb 2022 11:47:26 -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 w12-20020a17090649cc00b006d0bee77b9asm108916ejv.72.2022.02.24.11.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 11:47:25 -0800 (PST) Message-ID: <387664c06141015c8fbf8db79a29e7ab09367dc2.camel@gmail.com> From: Liliana Marie Prikler Date: Thu, 24 Feb 2022 20:47:24 +0100 In-Reply-To: <20220224163828.11330-2-maxim.cournoyer@gmail.com> References: <20220224163828.11330-1-maxim.cournoyer@gmail.com> <20220224163828.11330-2-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=1645732089; 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=7hLOAQ8C7vQxAKhyrcdvkpvyT+oNYprFilUcoxmJpiM=; b=W70kTy0tlh27JC99IMR4sI9CnDmugl4/92NaKFY2JGVVanIiTSXCKEf0OGVqWs/5R5CK7g KijAIGwo83yaEWr3jhG/TEG3difsSCzwRUGJO4dIZX72pSeLr9BcxLRTuAURHCeqCI+p9F BaEWzPhXCSUT0g8QyzAizSKequQfs27PLOqv/9aMnFeIiOEfHfP+Hlep4fRLvkCO0U1zZb cdhDbR/GIh7NTuRUC4OeIkFugX/BwRmKylz6R4zEKc2Dq+qTSmHKtwTMewUP7XVWlKkO3N gk9+Dr2u6VQlrmBamlFJM0KAeFmmhOgzvMUz9LYk4WOzRTDsTMJg4zedt87rsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645732089; a=rsa-sha256; cv=none; b=P1wkE4yCS1wXliUiWYWgSstkrgHZmKe5dpAcJWz2P8i/ibv7aVmDO/cXXIJ2UVqmCStuS2 L9+wkvxvzUPnCZLULb9k1uk094pg7rxVUMvwvslljR1hKodI7wyYSp544LmikMlMgcVCR2 VRj9xbl9lAiC99CYRe3JI1SigSRGb71/1T6lST2/cp6scOZI4DbNI0GGbzLbhJrr2aZsSY CtGL9IleJ4QDwd/f9RWurcv7qBjjKg99WM2DZxLJPck2zAgaFHtVAJ9pGCuB9QUTt1ma+L BvjGwskxnc2wpamPhVWb4Wt1nTh6JNHvnHeFWggEnfviwz+L4BGZlJcr/fQ/Yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M5Inkhow; 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: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M5Inkhow; 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: 5BB2631740 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: mxTxJXqVfl+z Am Donnerstag, dem 24.02.2022 um 11:38 -0500 schrieb Maxim Cournoyer: > * gnu/packages/pulseaudio.scm (pulseaudio/fixed): New variable. > (pulseaudio)[replacement]: Graft package with it. > --- >  gnu/packages/pulseaudio.scm | 17 +++++++++++++++++ >  1 file changed, 17 insertions(+) > > diff --git a/gnu/packages/pulseaudio.scm > b/gnu/packages/pulseaudio.scm > index fe028b5202..c1b3d33d4a 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,22 @@ (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 _ > +               (substitute* "src/daemon/default.pa.in" > +                 (("^\\.include.*default.pa.d.*" anchor) > +                  (string-append > +                   ;; Honor PulseAudio script extensions found under > +                   ;; /etc/pulse/default.pa.d. > +                   anchor ".include > /etc/pulse/default.pa.d\n"))))))))))) > + I still think it'd be wiser to do this inside the code that generates the configuration when we do fill /etc/pulse/default.pa.d given that there's stuff to source. At the very least, we'd avoid a graft for the moment, but we'd also avoid some "lol, just source anything" scenarios. Cheers