Description of problem:
The SDL RPM installs scripts into /etc/profile.d to set the audiodriver to esd
if pulseaudio is installed, because it currently does not support pulseaudio
There is a bug in both CSH and Bash scripts, however -- if on a multilib system,
both 32- and 64-bit versions of the ALSA pulseaudio driver are installed, the
Boolean expression does not evaluate properly. On TCSH it fails silently; on
Bash it reports:
bash: [: /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so: binary operator expected
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On an x86_64 system, install alsa-plugins-pulseaudio.i386
2. Start a new Bash / TCSH shell
3. printenv | grep SDL
With Bash, error result above. printenv reports nothing
No error; printenv reports SDL_AUDIODRIVER=esd
Created attachment 291509 [details]
Changes to pulseaudio hack scripts
With this patch, the scripts test for /usr/lib/... and /usr/lib64/...
separately and || the result, so that they work when both drivers are installed
on a multilib system.
*** Bug 428983 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 426579 ***
SDL-1.2.13-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.