From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gBTbMC21+GGj2AAAgWs5BA (envelope-from ) for ; Tue, 01 Feb 2022 05:21:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sIOJKS21+GG0iAAAG6o9tA (envelope-from ) for ; Tue, 01 Feb 2022 05:21:01 +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 534D739D15 for ; Tue, 1 Feb 2022 05:21:01 +0100 (CET) Received: from localhost ([::1]:36916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEkf6-0003pM-J5 for larch@yhetil.org; Mon, 31 Jan 2022 23:21:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEkeC-0003Uj-03 for guix-patches@gnu.org; Mon, 31 Jan 2022 23:20:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEkeB-0006EB-NK for guix-patches@gnu.org; Mon, 31 Jan 2022 23:20:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEkeB-0003Qg-Ib for guix-patches@gnu.org; Mon, 31 Jan 2022 23:20:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53676] [PATCH 3/5] gnu: pulseaudio: Graft to adjust configuration. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 04:20:03 +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: 53676@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 53676-submit@debbugs.gnu.org id=B53676.164368920213172 (code B ref 53676); Tue, 01 Feb 2022 04:20:03 +0000 Received: (at 53676) by debbugs.gnu.org; 1 Feb 2022 04:20:02 +0000 Received: from localhost ([127.0.0.1]:41441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEke9-0003QN-MF for submit@debbugs.gnu.org; Mon, 31 Jan 2022 23:20:02 -0500 Received: from mail-qk1-f180.google.com ([209.85.222.180]:36809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEke8-0003Pp-EQ for 53676@debbugs.gnu.org; Mon, 31 Jan 2022 23:20:00 -0500 Received: by mail-qk1-f180.google.com with SMTP id g145so14090652qke.3 for <53676@debbugs.gnu.org>; Mon, 31 Jan 2022 20:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wdgF4obgpFzijrLVT0OHwpFKxQR0gx93KMQ7tbVNPw8=; b=VmO7ln14zn9pRJyIGptCy/dndLNxSYs/yLMLZcSqAT6U7yEa56TXRPmaInZOR8bHBy InCm+IiqZwb017j04KaRwx+aWVZC5SrnKPxpwXe3vA/CQCMi8DsyNC7qbWjdg88KB/Zh aSXYv9Ywg3AUlEcLX+KAyqP6VZ4ZYXEgL82LP7WtSejfiMNxZSVffRKE7o8NUD0bWJl7 90lWHbrp9YlrwTNtYL+7tHv/Puf+LiMxuvMQRFTYpFLe7SlLpIEyKiHC8L4b/FOGoX8l n5Od4vgDzwnBJWMdX8d4jpj+vipGwvpYoKDJ8t0EXdON8jeAZth6mBKsYh2B9+sTvBQO 5/5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wdgF4obgpFzijrLVT0OHwpFKxQR0gx93KMQ7tbVNPw8=; b=2o31P82maNUaQMW7dMxQZorCX32O3IuCMiiFxjTM0Kph4NQtRX07GeXTAxU2Mwo5Sv orxC+rqszHX40oq0yt9co/y76vvxPy6Zr6DQAzfcpn3NZPIgTX0GazAXav3LdH6WMpoa qOM8DOOAQLNfi7bc9OJKa/V/NOSJLnezdHfq5BSrNvLe+JVoX9/q5rmwX5B1d6CdG3Eq AOwb+Rp7b5T69Q7QB06KEot2VRuDtrej4GK+lXtBVfdvx0Nw57x9Ly6utlJcvjToo4x8 qYJcA9jzRXcwCxVlqn1dPNXtG24Rls2mzAyfZ5RXcKLIJZx8R7L/sBmPUniI8+4p0MIq LTlw== X-Gm-Message-State: AOAM530/yyU0F83qCbdprm8gi3u4JjBzjxh1U1EmMfUecx5FVZ6Jh+Ax 8HyCE/e/RaSc7Woy5/s0r75Nk7jJXyM= X-Google-Smtp-Source: ABdhPJywjPjx+pzBD2URYlavD+ZMWhRMhuiJN3FYMPP58QUOPNuyF7FkEDVNHF5EBF6iVuVXU4VnpQ== X-Received: by 2002:a37:6791:: with SMTP id b139mr15244894qkc.765.1643689194839; Mon, 31 Jan 2022 20:19:54 -0800 (PST) Received: from localhost.localdomain (dsl-10-141-111.b2b2c.ca. [72.10.141.111]) by smtp.gmail.com with ESMTPSA id a8sm9192439qti.71.2022.01.31.20.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 20:19:54 -0800 (PST) From: Maxim Cournoyer Date: Mon, 31 Jan 2022 23:19:31 -0500 Message-Id: <20220201041933.16603-3-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220201041933.16603-1-maxim.cournoyer@gmail.com> References: <20220201041933.16603-1-maxim.cournoyer@gmail.com> 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=1643689261; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=wdgF4obgpFzijrLVT0OHwpFKxQR0gx93KMQ7tbVNPw8=; b=S5/o8dPy3DvOMq7zbO8j1fjAD79PYBjOHXUmdjUo1q6bVDdZPyzAoAcFAvFxRVJ5VkO05I oIxLzTGTdQO88pVkgQwLxazYeHrkv8nLJeEfLAoqrfJ6VVC1US2Nh1C2asGBMbU0pLlxz2 XOwDN2gwbRLAkXgovdjs2bWDBQFSx5766Ib6oOeMWeDZEqUYHxhYBOhZGo8tyBFZHbMiZA +sXKZAUxRsOTU3KMUX3lAJ2lDjEj8oHnYCjca5TjDFpxo5VUqROYbKK+yQBuHYuZINJLlV GYteu5lsoZ+YK8ysS8VTozzc/xEWG5rkJS457SIkflbkuLpKom6xm9lCveOdHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643689261; a=rsa-sha256; cv=none; b=gLjdTa68m+SdRprZstj41p6d31ACTzEhfC2bDRdijkQS3oz5zksy2Dp5gojLH0C6omASQs /hgZbyGQm5p0vbHPxUa1EY07vOCBcLcau8eva4hbAQzbkaVr+7V+vmsTww/tSsbrqm0Wqc OWn1fdOSY69EHhcXF7wX7FbkkQjus2IBBqQX6DN/fq+lbZD+hweX1x/KyzOnb39QiqzxpM 0kDTjSS17ENPm8LWQ83MAwAJXkvklBdFwIPcIzaGyqAFXYetsmnF5gIaU9WLroY5OjyHlT QA0AKcS4fVQF8RxXoc/UQ6YGfgi261f+EMa+0ddEaM8rxj6VuiKe9f8rtihEfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VmO7ln14; 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: -1.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VmO7ln14; 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: 534D739D15 X-Spam-Score: -1.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: Avhq1K7h0a8V * 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~%"))))))))))) + (define-public pavucontrol (package (name "pavucontrol") -- 2.34.0