summaryrefslogtreecommitdiffstats
path: root/pulseaudio/NuTyX_config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pulseaudio/NuTyX_config.patch')
-rw-r--r--pulseaudio/NuTyX_config.patch94
1 files changed, 0 insertions, 94 deletions
diff --git a/pulseaudio/NuTyX_config.patch b/pulseaudio/NuTyX_config.patch
deleted file mode 100644
index 585b0e6..0000000
--- a/pulseaudio/NuTyX_config.patch
+++ /dev/null
@@ -1,94 +0,0 @@
---- a/src/daemon/esdcompat.in
-+++ b/src/daemon/esdcompat.in
-@@ -24,7 +24,19 @@ fail() {
- exit 1
- }
-
--ARGS=" --log-target=syslog"
-+# Modifications de NuTyX
-+CONFIG=/etc/sysconfig/sound
-+
-+PULSE_ARGS=" --log-target=syslog"
-+[ -r "$CONFIG" ] && . $CONFIG
-+
-+if [ "$ENABLE_PULSEAUDIO" != "yes" ]; then
-+ echo "PulseAudio étant désactivé dans la configuration, il ne sera pas lancé." >&2
-+ exit
-+fi
-+
-+ARGS=" $PULSE_ARGS"
-+# Fin des modifications
-
- while [ "$#" -gt "0" ]; do
-
-@@ -74,10 +86,10 @@ EOF
- shift
- ARGS="$ARGS '-Lmodule-esound-compat-spawnfd fd=$1'"
- ;;
--
-- -unix|-b|-public|-terminate|-nobeeps|-trust|-tcp|-promiscuous)
-+
-+ -unix|-b|-public|-terminate|-nobeeps|-trust|-tcp|-promiscuous)
- # Ignore these commands
-- ;;
-+ ;;
-
- -d|-r|-as|-port|-bind)
- # Ignore these commands and their arguments
---- a/src/daemon/start-pulseaudio-x11.in
-+++ b/src/daemon/start-pulseaudio-x11.in
-@@ -19,7 +19,19 @@
-
- set -e
-
--@PA_BINARY@ --start "$@"
-+# Modifications NuTyX
-+CONFIG=/etc/sysconfig/sound
-+
-+PULSE_ARGS=" --log-target=syslog"
-+[ -r "$CONFIG" ] && . $CONFIG
-+
-+if [ "$ENABLE_PULSEAUDIO" != "yes" ]; then
-+ echo "PulseAudio étant désactivé dans la configuration, il ne sera pas lancé." >&2
-+else
-+
-+@PA_BINARY@ --start ${PULSE_ARGS} "$@"
-+
-+# Fin des modifications
-
- if [ x"$DISPLAY" != x ] ; then
-
-@@ -30,3 +42,5 @@ if [ x"$DISPLAY" != x ] ; then
- @PACTL_BINARY@ load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
- fi
- fi
-+
-+fi
---- a/src/daemon/start-pulseaudio-kde.in
-+++ b/src/daemon/start-pulseaudio-kde.in
-@@ -21,10 +21,24 @@ set -e
-
- [ -z "$PULSE_SERVER" ]
-
--@PA_BINARY@ --start "$@"
-+# Modifications NuTyX
-+CONFIG=/etc/sysconfig/sound
-+
-+PULSE_ARGS=" --log-target=syslog"
-+[ -r "$CONFIG" ] && . $CONFIG
-+
-+if [ "$ENABLE_PULSEAUDIO" != "yes" ]; then
-+ echo "PulseAudio étant désactivé dans la configuration, il ne sera pas lancé." >&2
-+else
-+
-+@PA_BINARY@ --start ${PULSE_ARGS} "$@"
-+
-+# Fin des modifications
-
- if [ x"$DISPLAY" != x ] ; then
-
- @PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
-
- fi
-+
-+fi