rpms/SDL_mixer/F-8 SDL_pulseaudio_hack.csh, NONE, 1.1 SDL_pulseaudio_hack.sh, NONE, 1.1 SDL_mixer.spec, 1.19, 1.20

Warren Togami (wtogami) fedora-extras-commits at redhat.com
Wed Oct 31 00:57:40 UTC 2007


Author: wtogami

Update of /cvs/pkgs/rpms/SDL_mixer/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9797

Modified Files:
	SDL_mixer.spec 
Added Files:
	SDL_pulseaudio_hack.csh SDL_pulseaudio_hack.sh 
Log Message:
SDL_AUDIODRIVER=esd temporary hack until SDL supports pulseaudio directly
avoids applications from locking up



--- NEW FILE SDL_pulseaudio_hack.csh ---
# Temporary hack until SDL directly supports pulseaudio
setenv SDL_AUDIODRIVER esd


--- NEW FILE SDL_pulseaudio_hack.sh ---
# Temporary hack until SDL directly supports pulseaudio
export SDL_AUDIODRIVER=esd


Index: SDL_mixer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/SDL_mixer/F-8/SDL_mixer.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- SDL_mixer.spec	15 Oct 2007 23:23:42 -0000	1.19
+++ SDL_mixer.spec	31 Oct 2007 00:57:07 -0000	1.20
@@ -1,12 +1,16 @@
 Name:		SDL_mixer
 Version:	1.2.8
-Release: 	3%{?dist}
+Release: 	4%{?dist}
 Summary:	Simple DirectMedia Layer - Sample Mixer Library
 
 Group:		System Environment/Libraries
 License:	LGPLv2
 URL:		http://www.libsdl.org/projects/SDL_mixer/
 Source0:	http://www.libsdl.org/projects/%{name}/release/%{name}-%{version}.tar.gz
+# Temporary hack so SDL apps don't lock up by default
+# This will be removed when SDL supports pulseaudio directly
+Source1:	SDL_pulseaudio_hack.csh
+Source2:	SDL_pulseaudio_hack.sh
 Patch3:		%{name}-1.2.7-fix-path-timidity.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -50,6 +54,11 @@
 
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
+# Temporary SDL pulseuadio hack
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+install -m 644 %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+install -m 644 %SOURCE2 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,6 +76,8 @@
 %{_bindir}/playmus
 %{_bindir}/playwave
 %{_libdir}/lib*.so.*
+# Temporary SDL pulseaudio hack
+%{_sysconfdir}/profile.d/*
 
 
 %files devel
@@ -76,6 +87,10 @@
 
 
 %changelog
+* Tue Oct 30 2007 Warren Togami <wtogami at redhat.com> - 1.2.8-4
+- SDL_AUDIODRIVER=esd temporary hack until SDL supports pulseaudio directly
+  avoids applications from locking up
+
 * Mon Oct 15 2007 Brian Pepple <bpepple at fedoraproject.org> - 1.2.8-3
 - Change requires to timidity++-patches. (#331431)
 




More information about the fedora-extras-commits mailing list