RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/pulseaudio#e01e1253ef4501b1cce27dd9f885d518e54dec71
This commit is contained in:
Troy Dawson 2020-10-14 16:36:56 -07:00
parent cf7238be69
commit d9ca3cdca1
6 changed files with 1222 additions and 0 deletions

12
.gitignore vendored
View File

@ -0,0 +1,12 @@
/.*.log
/*.src.rpm
/pulseaudio-*.tar.xz
/pulseaudio-*.tar.xz.md5
/pulseaudio-*.tar.xz.sha1
/pulseaudio-12.2.tar.xz.sha256
/pulseaudio-12.99.1.tar.xz.sha256
/pulseaudio-12.99.2.tar.xz.sha256
/pulseaudio-12.99.3.tar.xz.sha256
/pulseaudio-13.0.tar.xz.sha256
/pulseaudio-13.99.1.tar.xz.sha256
/pulseaudio-13.99.2.tar.xz.sha256

10
default.pa-for-gdm Normal file
View File

@ -0,0 +1,10 @@
load-module module-device-restore
load-module module-card-restore
load-module module-udev-detect
load-module module-native-protocol-unix
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-position-event-sounds

View File

@ -0,0 +1,24 @@
diff -up pulseaudio-11.1/src/pulse/client-conf.c.autospawn pulseaudio-11.1/src/pulse/client-conf.c
--- pulseaudio-11.1/src/pulse/client-conf.c.autospawn 2018-03-01 15:52:25.304612437 -0600
+++ pulseaudio-11.1/src/pulse/client-conf.c 2018-03-01 15:56:17.643552698 -0600
@@ -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 -up pulseaudio-11.1/src/pulse/client.conf.in.autospawn pulseaudio-11.1/src/pulse/client.conf.in
--- pulseaudio-11.1/src/pulse/client.conf.in.autospawn 2016-08-23 07:50:10.000000000 -0500
+++ pulseaudio-11.1/src/pulse/client.conf.in 2018-03-01 15:56:01.201344622 -0600
@@ -22,7 +22,7 @@
; default-server =
; default-dbus-server =
-; autospawn = yes
+; autospawn = no
; daemon-binary = @PA_BINARY@
; extra-arguments = --log-target=syslog

View File

@ -0,0 +1,14 @@
diff --git a/src/daemon/start-pulseaudio-x11.in b/src/daemon/start-pulseaudio-x11.in
index 0e84315c3..6533e125b 100755
--- a/src/daemon/start-pulseaudio-x11.in
+++ b/src/daemon/start-pulseaudio-x11.in
@@ -17,6 +17,9 @@
set -e
+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+
if [ x"$DISPLAY" != x ] ; then
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY xauthority=$XAUTHORITY" > /dev/null

1160
pulseaudio.spec Normal file

File diff suppressed because it is too large Load Diff

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (pulseaudio-13.99.2.tar.xz) = 6a54ded2be3ab49ff11c6280532b98f20b5e6018275f42cfac74b1e25cee8159694886719eb17b878acb4de13b03dcfc2801a0f2c65f66e0ac48857d83161d06
SHA512 (pulseaudio-13.99.2.tar.xz.sha256) = b8b4e9790305f7e4cfd4b0a4294044e6437b1522c28f05de69efe90c9465b15879d73177434e15da9458e91b968d80674fbd271d6380a49fd60d615963f70398