summaryrefslogtreecommitdiff
path: root/pulseaudio
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2023-01-06 14:52:13 +0000
committerTim Biermann <tbier@posteo.de>2023-01-06 15:33:53 +0000
commit4d08950678936af75ef66ef30a57aa4240ee9fc4 (patch)
tree815c3732a5d05cb93f9d0bffbb46991b2260eb0d /pulseaudio
parent847ba80a868bf719a2d2d1dd0199f661f801e15b (diff)
downloadopt-4d08950678936af75ef66ef30a57aa4240ee9fc4.tar.gz
opt-4d08950678936af75ef66ef30a57aa4240ee9fc4.tar.xz
pulseaudio: don't create a pulse system user by default, run a user session instead. included in README.md
Diffstat (limited to 'pulseaudio')
-rw-r--r--pulseaudio/.signature4
-rw-r--r--pulseaudio/Pkgfile2
-rw-r--r--pulseaudio/README8
-rw-r--r--pulseaudio/README.md34
-rwxr-xr-xpulseaudio/pre-install11
5 files changed, 37 insertions, 22 deletions
diff --git a/pulseaudio/.signature b/pulseaudio/.signature
index 4731f81d2..26e5447d6 100644
--- a/pulseaudio/.signature
+++ b/pulseaudio/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/SU0erLc/HobUm4Tvd0xZVc19+pL1GYPixjnwr5iVa24CvQtw0H0Pp7r64HTbdxW0wqAONLl49siQ/j8S5lpeAQ=
-SHA256 (Pkgfile) = 22389c588098157496aaeb10fa45c28faa8d9e24b5ee48f39e129ae0009da9f6
+RWSE3ohX2g5d/Uupn3lYYS8vGkl890Y3Y/m/bcUDMb7jv/XmYAEAJjfh6UVb/V9P8zBjk+DMh/afxHvcZRfZBRz2pK4H8lOuxwE=
+SHA256 (Pkgfile) = 56368f29ef3824cc56af2bc8cd4a4284c3a7bf5816bc9515ecd7586dfc04642e
SHA256 (.footprint) = 62d22fb11c92bc8eedb38679d49bfc77f115894b42ce0866a1a384799ac3a565
SHA256 (pulseaudio-16.1.tar.xz) = 8eef32ce91d47979f95fd9a935e738cd7eb7463430dabc72863251751e504ae4
diff --git a/pulseaudio/Pkgfile b/pulseaudio/Pkgfile
index 3111303a8..e29d81d00 100644
--- a/pulseaudio/Pkgfile
+++ b/pulseaudio/Pkgfile
@@ -1,7 +1,7 @@
# Description: PulseAudio is a cross-platform, networked sound server
# URL: https://www.freedesktop.org/wiki/Software/PulseAudio/
# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: dbus glib intltool libsndfile meson ninja orc speexdsp
+# Depends on: dbus glib intltool libsndfile orc speexdsp
# Optional: avahi bluez fftw gst-plugins-base sbc xorg-libice xorg-libsm xorg-libxtst
name=pulseaudio
diff --git a/pulseaudio/README b/pulseaudio/README
deleted file mode 100644
index 799a5f2d9..000000000
--- a/pulseaudio/README
+++ /dev/null
@@ -1,8 +0,0 @@
-If you are not running a fully fledged DE you might have trouble
-with pulseaudio shutting down after being idle for a while. You can
-work around this by starting pulseaudio like this:
-
-~/.xinitrc
-#!/bin/bash
-pulseaudio --start --exit-idle-time=-1 --log-target=syslog &
-exec /usr/bin/myawesomewm
diff --git a/pulseaudio/README.md b/pulseaudio/README.md
new file mode 100644
index 000000000..878cf5f5f
--- /dev/null
+++ b/pulseaudio/README.md
@@ -0,0 +1,34 @@
+pulseaudio
+==========
+
+## server shutting down when used with a WM
+
+If you are not running a fully fledged DE you might have trouble
+with pulseaudio shutting down after being idle for a while. You can
+work around this by starting pulseaudio like this:
+
+~/.xinitrc
+#!/bin/bash
+pulseaudio --start --exit-idle-time=-1 --log-target=syslog &
+exec /usr/bin/myawesomewm
+
+## system mode
+
+See [What is wrong with system mode? – PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/)
+for more information.
+
+This was previously a pre-install script:
+
+```sh
+#!/bin/sh
+
+# check for pulseaudio group or add one
+getent group pulse || /usr/sbin/groupadd pulse
+getent group pulse-access || /usr/sbin/groupadd pulse-access
+
+# check for pulseaudio user or add one
+getent passwd pulse || /usr/sbin/useradd -g pulse -d /var/lib/pulse -s /bin/false -c "Pulseaudio User" pulse
+
+# lock the account
+/usr/bin/passwd -l pulse
+```
diff --git a/pulseaudio/pre-install b/pulseaudio/pre-install
deleted file mode 100755
index cd610f73c..000000000
--- a/pulseaudio/pre-install
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# check for pulseaudio group or add one
-getent group pulse || /usr/sbin/groupadd pulse
-getent group pulse-access || /usr/sbin/groupadd pulse-access
-
-# check for pulseaudio user or add one
-getent passwd pulse || /usr/sbin/useradd -g pulse -d /var/run/pulse -s /bin/false -c "Pulseaudio User" pulse
-
-# lock the account
-/usr/bin/passwd -l pulse

Generated by cgit