Hello community, here is the log from the commit of package libflashsupport checked in at Tue Oct 28 18:03:46 CET 2008. -------- --- GNOME/libflashsupport/libflashsupport.changes 2008-10-24 22:49:49.000000000 +0200 +++ /mounts/work_src_done/STABLE/libflashsupport/libflashsupport.changes 2008-10-28 00:40:06.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Oct 28 00:47:07 CEST 2008 - rodrigo@novell.com + +- Add libflashsupport-detect-pulseaudio.patch to do a better + detection (via pactl) of PulseAudio setup (bnc#437125) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libflashsupport-detect-pulseaudio.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libflashsupport.spec ++++++ --- /var/tmp/diff_new_pack.d23666/_old 2008-10-28 18:03:10.000000000 +0100 +++ /var/tmp/diff_new_pack.d23666/_new 2008-10-28 18:03:10.000000000 +0100 @@ -21,12 +21,16 @@ Name: libflashsupport Summary: Additional support for Flash-based applications Version: 1.2 -Release: 2 +Release: 3 License: BSD 3-Clause Group: System/Sound Daemons Source0: %{name}-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE libflashsupport-1.2-Makefile.diff Patch0: %{name}-%{version}-Makefile.diff +# PATCH-FIX-OPENSUSE libflashsupport-1.2-readme.diff Patch1: %{name}-%{version}-readme.diff +# PATCH-FIX-UPSTREAM libflashsupport-detect-pulseaudio.patch -- add better detection for PulseAudio +Patch2: libflashsupport-detect-pulseaudio.patch Url: http://pulseaudio.org BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: esound-devel libpulse-devel libtool openssl-devel @@ -52,6 +56,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 %build make %{?jobs:-j%jobs} @@ -71,6 +76,9 @@ %{_libdir}/libflashsupport.so %changelog +* Tue Oct 28 2008 rodrigo@novell.com +- Add libflashsupport-detect-pulseaudio.patch to do a better + detection (via pactl) of PulseAudio setup (bnc#437125) * Sat Oct 25 2008 ro@suse.de - add baselibs.conf for clean fixing of (bnc#438831) * Wed Oct 01 2008 dominique-opensuse@leuenberger.net ++++++ libflashsupport-detect-pulseaudio.patch ++++++ Index: flashsupport.c =================================================================== --- flashsupport.c.orig +++ flashsupport.c @@ -325,9 +325,6 @@ void FPX_SoundOutput_Detect() void *handle; char *error; #endif -#if defined(PULSEAUDIO) - char tmpstr[1024]=""; -#endif if((tmpenv=getenv("FLASH_AUDIODEBUG"))!=NULL) { audiodebug=1; } @@ -343,18 +340,8 @@ void FPX_SoundOutput_Detect() #if defined(PULSEAUDIO) //Check if PULSE AUDIO is running - if((tmpenv=getenv("USER"))!=NULL) { - strcpy(tmpstr,"/tmp/pulse-"); - strcat(tmpstr,tmpenv); - if(!stat(tmpstr,&buf)) { - if(audiodebug) fprintf( stderr, "PulseAudio socket found\n"); - audiodrivers = audiodrivers | AUDIO_PULSE; - } - } - //Check if PULSE AUDIO is running system-wide - strcpy(tmpstr,"/var/lib/run/pulse/native"); - if(!stat(tmpstr,&buf)) { - if(audiodebug) fprintf( stderr, "PulseAudio system-wide found\n"); + if(system("pactl stat") == 0) { + if(audiodebug) fprintf( stderr, "PulseAudio server found\n"); audiodrivers = audiodrivers | AUDIO_PULSE; } //Pulse over network ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de