From 527dfafcac46d7e8240590ca060e6b3be4aea334 Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Sun, 5 Aug 2018 12:18:58 +0800 Subject: [PATCH] libpulseaudio: ditch downstream defaults in daemon.conf To start pulseaudio manually as a daemon, you just need "-D", but if you set daemonize=yes in daemon.conf, when you want start it undaemonized, you will need "--daemonize=no". We don't really need to set enable-shm to no explicitly. Setting exit-idle-time to -1 may not be as preferred as when it was when autospawn did not work. There's no point setting log-target to stderr. auto works fine (or perhaps even better) for us. --- packages/libpulseaudio/daemon.conf.in.patch | 34 --------------------- 1 file changed, 34 deletions(-) delete mode 100644 packages/libpulseaudio/daemon.conf.in.patch diff --git a/packages/libpulseaudio/daemon.conf.in.patch b/packages/libpulseaudio/daemon.conf.in.patch deleted file mode 100644 index 1bf689d54..000000000 --- a/packages/libpulseaudio/daemon.conf.in.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- ../cache/pulseaudio-11.1/src/daemon/daemon.conf.in 2017-09-05 09:33:12.000000000 +0000 -+++ ./src/daemon/daemon.conf.in 2018-01-17 02:04:13.056075165 +0000 -@@ -19,6 +19,7 @@ - changequote(`[', `]')dnl Set up m4 quoting - - ; daemonize = no -+daemonize = yes - ; fail = yes - ; allow-module-loading = yes - ; allow-exit = yes -@@ -28,6 +29,7 @@ - ; local-server-type = user - ])dnl - ; enable-shm = yes -+enable-shm = no - ; enable-memfd = yes - ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB - ; lock-memory = no -@@ -41,13 +43,14 @@ - - ; exit-idle-time = 20 - ; scache-idle-time = 20 -- -+exit-idle-time = -1 - ; dl-search-path = (depends on architecture) - - ; load-default-script-file = yes - ; default-script-file = @PA_DEFAULT_CONFIG_DIR@/default.pa - - ; log-target = auto -+log-target = stderr - ; log-level = notice - ; log-meta = no - ; log-time = no