mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
a1ab0f4b02
a/btrfs-progs-6.12-x86_64-1.txz: Upgraded. a/pkgtools-15.1-noarch-19.txz: Rebuilt. make-kernel-backup: report the creation of symlinks. Thanks to Mechanikx. ap/mariadb-11.4.4-x86_64-5.txz: Rebuilt. Since /etc/default/mariadb skips SSL (--skip-ssl) by default, the client side needs to do this by default also. So we've added /etc/my.cnf.d/skip-ssl.cnf to configure this, and have added comments in both files about what to change in order to enable SSL for both the client and server. Thanks to TJ09. l/alsa-lib-1.2.13-x86_64-2.txz: Rebuilt. [PATCH] UCM2: Intel: sof-hda-dsp: Fix handling of empty sys_vendor. Thanks to fulalas. l/mozjs128-128.5.1esr-x86_64-1.txz: Upgraded. l/pulseaudio-17.0-x86_64-5.txz: Rebuilt. In the X11/Wayland startup files, test the configuration better to make sure that we actually wanted autospawn before assuming we should start pulseaudio manually because autospawn wasn't working. Thanks to crtlaltca for the bug report. xap/mozilla-firefox-128.5.1esr-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/firefox/128.5.1/releasenotes/
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
--- ./src/daemon/start-pulseaudio-x11.in.orig 2024-01-12 11:22:09.000000000 -0600
|
|
+++ ./src/daemon/start-pulseaudio-x11.in 2024-11-30 13:40:45.840919583 -0600
|
|
@@ -36,6 +36,27 @@
|
|
esac
|
|
fi
|
|
|
|
+# Test autospawn, if requested.
|
|
+# If /etc/xdg/autostart/pulseaudio.desktop is disabled, don't bother.
|
|
+if ! grep -q "^Hidden=true$" /etc/xdg/autostart/pulseaudio.desktop ; then
|
|
+ # Are we root?
|
|
+ if [ "$UID" = "0" ]; then
|
|
+ # First, let's test if we even want autospawn:
|
|
+ if grep -q "^allow-autospawn-for-root = yes$" /etc/pulse/client.conf 2> /dev/null ; then
|
|
+ # We do want autospawn, so let's test if it works, and start pulseaudio
|
|
+ # manually if it does not:
|
|
+ @PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
|
|
+ fi
|
|
+ else # we are not root
|
|
+ # First, let's test if we even want autospawn:
|
|
+ if grep -q "^autospawn = yes$" /etc/pulse/client.conf 2> /dev/null ; then
|
|
+ # We do want autospawn, so let's test if it works, and start pulseaudio
|
|
+ # manually if it does not:
|
|
+ @PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
|
|
+ fi
|
|
+ fi
|
|
+fi
|
|
+
|
|
if [ x"$DISPLAY" != x ] ; then
|
|
|
|
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY xauthority=$XAUTHORITY" > /dev/null
|