Control: tags -1 + patch

Hi,

I verified this is still present with the current PulseAudio 17.0 Debian
packaging.

Debian’s existing disable-autospawn.patch changes the libpulse client
default from autospawn=true to autospawn=false, but the commented
client.conf template still shows ; autospawn = yes as the default.

Attached is an updated version of the existing quilt patch that also
changes the template to ; autospawn = no and records this bug in the patch
metadata.

I tested the new hunk against the PulseAudio v17.0 client.conf.in template;
it applies cleanly. The existing client-conf.c hunk is unchanged.

Feedback welcome. I’m also interested in continuing to help with PulseAudio
packaging and maintenance.

Thanks,
Thomas Stephens
From: Felipe Sateler <[email protected]>
Date: Fri, 26 Feb 2021 19:29:30 -0300
Subject: Disable autospawn by default

Also reflect Debian's disabled autospawn default in the commented client
configuration template.

Bug-Debian: https://bugs.debian.org/1017800
---
 src/pulse/client-conf.c | 2 +-
 src/pulse/client.conf.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c
index 1daaf91..bf88723 100644
--- a/src/pulse/client-conf.c
+++ b/src/pulse/client-conf.c
@@ -63,7 +63,7 @@ static const pa_client_conf default_conf = {
     .cookie_from_x11_valid = false,
     .cookie_file_from_application = NULL,
     .cookie_file_from_client_conf = NULL,
-    .autospawn = true,
+    .autospawn = false,
     .disable_shm = false,
     .disable_memfd = false,
     .shm_size = 0,
diff --git a/src/pulse/client.conf.in b/src/pulse/client.conf.in
--- a/src/pulse/client.conf.in
+++ b/src/pulse/client.conf.in
@@ -22,7 +22,7 @@
 ; default-server =
 ; default-dbus-server =
 
-; autospawn = yes
+; autospawn = no
 ; daemon-binary = @PA_BINARY@
 ; extra-arguments = --log-target=syslog
 

Reply via email to