So far the command name has been figured out by looking one or two
items back in the $words array, but I needed a way to figure out the
command given an arbitrary number of parameters. I was implementing
a command for removing devices from the device-manager database, and
the command would take a l
Variables are global by default, and we certainly don't want
_pactl_commands to be a global variable.
---
shell-completion/zsh/_pulseaudio | 2 ++
1 file changed, 2 insertions(+)
diff --git a/shell-completion/zsh/_pulseaudio b/shell-completion/zsh/_pulseaudio
index 1c786dc..5f66ed9 100644
--- a/s
Hi,
So while at linux plumbers attending the systemd hackfest, I thought a good
use of the hacking time I had available would be to allow PulseAudio to be
activated via systemd's socket activation system.
The changes needed are actually quite minimal, and by doing this we can
disable quite a lot
In newer versions of systemd some libraries were combined for the sake of
general simplicity.
This change checks against the newer name first and avoids separate pkgconfig
checks if it's found. We probably want to keep support for the older library
names for some time. systemd does allow for the s
This method is prefered over pulseaudio's built in systems so we should
try our best to ensure that it cannot be spawned outside of the mechanisms
desired.
We also disable the manual override of enabling the socket and force it to
be enabled at install time.
---
configure.ac
---
configure.ac | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 46ad3d7..1a13f82 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1563,9 +1563,10 @@ echo "
headset backend: ${BLUETOOTH_HEADSET_BACKEND}
Enable ude
This --start is patched out in several downstreams to allow users to easily
disable PA by simply disabling autospawn.
If autospawn is enabled, then the first pactl command will start it and if not
it will fail and the script will exit.
When switching to systemd socket activation, we very much do
This adds support to module-native-protocol-unix to take over already
listening sockets passed in via socket activation (e.g. from systemd)
Most of the code is isolated to socket-server but some cleanup code also
had to be tweaked to ensure we do not overzealously close open fds.
---
configure.ac
When systemd is built without compatibility libs, we only need to do one
pkgconfig check (libsystemd) rather than for libsystemd-login and
libsystemd-journal separately.
This change should allow building with both older and newer versions of
systemd.
---
configure.ac| 27 +
---
man/pulse-daemon.conf.5.xml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in
index 8bd076d..754312e 100644
--- a/man/pulse-daemon.conf.5.xml.in
+++ b/man/pulse-daemon.conf.5.xml.in
@@ -124,7 +124,7 @@ USA.
Colin Guthrie wrote on 18/10/14 20:43:
> In newer versions of systemd some libraries were combined for the sake of
> general simplicity.
>
> This change checks against the newer name first and avoids separate pkgconfig
> checks if it's found. We probably want to keep support for the older library
Colin Guthrie [2014-10-18 20:43:24 +0200]:
> diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in
> index 8bd076d..754312e 100644
> --- a/man/pulse-daemon.conf.5.xml.in
> +++ b/man/pulse-daemon.conf.5.xml.in
> @@ -124,7 +124,7 @@ USA.
>
>
>use-pid-file= Crea
12 matches
Mail list logo