Hello community, here is the log from the commit of package libao for openSUSE:Factory checked in at Sat Feb 12 11:50:25 CET 2011. -------- --- libao/libao.changes 2010-12-15 13:12:35.000000000 +0100 +++ /mounts/work_src_done/STABLE/libao/libao.changes 2011-02-11 19:39:31.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 11 18:34:49 UTC 2011 - remur@gmx.net + +- Add ao-pulse-fixes.patch to fix https://trac.xiph.org/ticket/1689 + libao not working correctly with pulse audio + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- ao-pulse-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ _service:set_version:libao.spec ++++++ --- /var/tmp/diff_new_pack.dnSzRv/_old 2011-02-12 11:50:16.000000000 +0100 +++ /var/tmp/diff_new_pack.dnSzRv/_new 2011-02-12 11:50:16.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package libao (Version 1.0.0) +# spec file for package libao # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: libao Version: 1.0.0 -Release: 3 +Release: 4 License: GPLv2+ %define my_provides /tmp/my-provides Summary: A Cross-Platform Audio Output Library @@ -35,6 +35,8 @@ Patch1: lib64.dif # PATCH-FIX-UPSTREAM libao-missing_headers.diff https://trac.xiph.org/ticket/1760 reddwarf@opensuse.org -- Missing #include for isspace(). Since it returns an int it shouldn't cause any real problem. Patch2: libao-missing_headers.diff +# PATCH-FIX-UPSTREAM https://trac.xiph.org/ticket/1689 libao not working correctly with pulse audio +Patch3: ao-pulse-fixes.patch BuildRequires: arts-devel BuildRequires: libesd-devel BuildRequires: libpulse-devel @@ -46,6 +48,7 @@ %package -n libao%{_SO_nr} + Summary: A Cross-Platform Audio Output Library Group: System/Libraries Requires: libao-plugins%{PLUGIN_VERSION} @@ -56,6 +59,7 @@ %package plugins%{PLUGIN_VERSION} + Summary: Main output plugins for libao Group: System/Libraries Provides: libao-pulse = 0.9.3 @@ -77,6 +81,7 @@ %package plugin%{PLUGIN_VERSION}-arts + Summary: ARts output plugin for libao Group: System/Libraries Supplements: packageand(arts:libao%{_SO_nr}) @@ -86,6 +91,7 @@ %package plugin%{PLUGIN_VERSION}-esd + Summary: ESD output plugin for libao Group: System/Libraries Supplements: packageand(esound-daemon:libao%{_SO_nr}) @@ -97,6 +103,7 @@ %setup -q %patch %patch2 +%patch3 if [ "%{_lib}" == "lib64" ]; then %patch1 fi ++++++ libao.spec ++++++ --- /var/tmp/diff_new_pack.dnSzRv/_old 2011-02-12 11:50:16.000000000 +0100 +++ /var/tmp/diff_new_pack.dnSzRv/_new 2011-02-12 11:50:16.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package libao (Version to_be_filled_by_service) +# spec file for package libao # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: libao Version: to_be_filled_by_service -Release: 3 +Release: 4 License: GPLv2+ %define my_provides /tmp/my-provides Summary: A Cross-Platform Audio Output Library @@ -35,6 +35,8 @@ Patch1: lib64.dif # PATCH-FIX-UPSTREAM libao-missing_headers.diff https://trac.xiph.org/ticket/1760 reddwarf@opensuse.org -- Missing #include for isspace(). Since it returns an int it shouldn't cause any real problem. Patch2: libao-missing_headers.diff +# PATCH-FIX-UPSTREAM https://trac.xiph.org/ticket/1689 libao not working correctly with pulse audio +Patch3: ao-pulse-fixes.patch BuildRequires: arts-devel BuildRequires: libesd-devel BuildRequires: libpulse-devel @@ -46,6 +48,7 @@ %package -n libao%{_SO_nr} + Summary: A Cross-Platform Audio Output Library Group: System/Libraries Requires: libao-plugins%{PLUGIN_VERSION} @@ -56,6 +59,7 @@ %package plugins%{PLUGIN_VERSION} + Summary: Main output plugins for libao Group: System/Libraries Provides: libao-pulse = 0.9.3 @@ -77,6 +81,7 @@ %package plugin%{PLUGIN_VERSION}-arts + Summary: ARts output plugin for libao Group: System/Libraries Supplements: packageand(arts:libao%{_SO_nr}) @@ -86,6 +91,7 @@ %package plugin%{PLUGIN_VERSION}-esd + Summary: ESD output plugin for libao Group: System/Libraries Supplements: packageand(esound-daemon:libao%{_SO_nr}) @@ -97,6 +103,7 @@ %setup -q %patch %patch2 +%patch3 if [ "%{_lib}" == "lib64" ]; then %patch1 fi ++++++ ao-pulse-fixes.patch ++++++ Index: src/plugins/pulse/ao_pulse.c =================================================================== --- src/plugins/pulse/ao_pulse.c (revision 17144) +++ src/plugins/pulse/ao_pulse.c (working copy) @@ -227,7 +227,7 @@ } - if (!(internal->simple = pa_simple_new(internal->server, fn ? t : "libao", PA_STREAM_PLAYBACK, internal->sink, fn ? t2 : "libao playback stream", &ss, &map, NULL, NULL))) + if (!(internal->simple = pa_simple_new(internal->server, fn ? t : "libao", PA_STREAM_PLAYBACK, internal->sink, fn ? t2 : "libao playback stream", &ss, device->input_map ? &map : NULL, NULL, NULL))) return 0; device->driver_byte_format = AO_FMT_NATIVE; @@ -247,9 +247,11 @@ assert(device && device->internal); ao_pulse_internal *internal = (ao_pulse_internal *) device->internal; - pa_simple_drain(internal->simple, NULL); - pa_simple_free(internal->simple); - internal->simple = NULL; + if (internal->simple) { + pa_simple_drain(internal->simple, NULL); + pa_simple_free(internal->simple); + internal->simple = NULL; + } return 1; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org