Accepting request 329148 from home:altesholz:branches:multimedia:apps

Enabling the equalizer failed due to some wrong quotes in patch 0008-fix-locale-issues.patch:

$ pulseaudio-equalizer-gtk
Getting settings...
ls: cannot access /home/holz/.config/pulse/presets/*.preset: No such file or directory
Applying settings...
Disabling persistence...
Current operation: saving configuration (disable-config)
-------------------------------------
Equalizer setting saved (disable-config).
-------------------------------------
Enabling...
PulseAudio Equalizer/LADSPA Processor 2.7 (05/02/2010)
-------------------------------------
Current operation: disabling equalizer
-------------------------------------
Unloading & reloading stream-restore module...
Unloading module-ladspa-sink...
Moving active PulseAudio clients to ALSA sink (alsa_output.pci-0000_0a_04.0.analog-stereo)...
/usr/bin/pulseaudio-equalizer: line 356: module-stream-restore: No such file or directory
iconv: error while closing output file: Broken pipe
/usr/bin/pulseaudio-equalizer: line 376: s/: No such file or directory
/usr/bin/pulseaudio-equalizer: line 399: s/: No such file or directory
-------------------------------------
Equalizer status: [disabled]
Equalizer configuration status: [disabled]
-------------------------------------

OBS-URL: https://build.opensuse.org/request/show/329148
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/pulseaudio-equalizer?expand=0&rev=8
This commit is contained in:
Alexei Sorokin 2015-09-04 16:04:59 +00:00 committed by Git OBS Bridge
parent 11e5d63806
commit 099557a361
2 changed files with 7 additions and 2 deletions

View File

@ -51,7 +51,7 @@ diff -aur a/usr/bin/pulseaudio-equalizer b/usr/bin/pulseaudio-equalizer
# Move active client sinks to ALSA sink # Move active client sinks to ALSA sink
echo "Moving active PulseAudio clients to ALSA sink ($PA_MASTER_SINK)..." echo "Moving active PulseAudio clients to ALSA sink ($PA_MASTER_SINK)..."
- echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | grep 'index: ' | sed 's/ index: /move-sink-input /g' | sed "s/$/ $PA_MASTER_SINK/g")" - echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | grep 'index: ' | sed 's/ index: /move-sink-input /g' | sed "s/$/ $PA_MASTER_SINK/g")"
+ echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | iconv -c -t ascii | sed -e '/index: /!d;s/ index: /move-sink-input /g;s/$/ $PA_MASTER_SINK/g")" + echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | iconv -c -t ascii | sed -e '/index: /!d;s/ index: /move-sink-input /g;s/$/ $PA_MASTER_SINK/g')"
# Transfer current mute/sink volume to ALSA sink # Transfer current mute/sink volume to ALSA sink
echo "Transferring current mute ($PA_CURRENT_MUTE) & volume ($PA_CURRENT_VOLUME%) to ALSA sink ($PA_MASTER_SINK)..." echo "Transferring current mute ($PA_CURRENT_MUTE) & volume ($PA_CURRENT_VOLUME%) to ALSA sink ($PA_MASTER_SINK)..."
@ -69,7 +69,7 @@ diff -aur a/usr/bin/pulseaudio-equalizer b/usr/bin/pulseaudio-equalizer
# Move currently active client sinks to LADSPA sink # Move currently active client sinks to LADSPA sink
echo "Moving active PulseAudio clients to LADSPA sink ($PA_LADSPA_SINK)..." echo "Moving active PulseAudio clients to LADSPA sink ($PA_LADSPA_SINK)..."
- echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | grep 'index: ' | sed 's/ index: /move-sink-input /g' | sed "s/$/ $PA_LADSPA_SINK/g")" - echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | grep 'index: ' | sed 's/ index: /move-sink-input /g' | sed "s/$/ $PA_LADSPA_SINK/g")"
+ echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | iconv -c -t ascii | sed -e '/index: /!d;s/ index: /move-sink-input /g' | sed "s/$/ $PA_LADSPA_SINK/g')" + echo >>/tmp/eqcommands.sh "$(pacmd "list-sink-inputs" | iconv -c -t ascii | sed -e '/index: /!d;s/ index: /move-sink-input /g' | sed 's/$/ $PA_LADSPA_SINK/g')"
# Execute all queued commands (for potential speed benefit)... # Execute all queued commands (for potential speed benefit)...
pacmd </tmp/eqcommands.sh >/dev/null pacmd </tmp/eqcommands.sh >/dev/null

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 4 14:47:08 UTC 2015 - altesholz@gmail.com
- Some quotes in patch 0008-fix-locale-issues.patch were wrong: ' instead of " and the other way around.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 29 21:12:32 UTC 2015 - sor.alexei@meowr.ru Wed Apr 29 21:12:32 UTC 2015 - sor.alexei@meowr.ru