Hello community, here is the log from the commit of package pulseaudio for openSUSE:Factory checked in at 2013-10-20 10:53:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pulseaudio (Old) and /work/SRC/openSUSE:Factory/.pulseaudio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pulseaudio" Changes: -------- --- /work/SRC/openSUSE:Factory/pulseaudio/pulseaudio.changes 2013-10-11 09:02:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pulseaudio.new/pulseaudio.changes 2013-10-20 10:53:35.000000000 +0200 @@ -1,0 +2,9 @@ +Fri Oct 18 17:49:24 UTC 2013 - [email protected] + +- Update to git master (PA 5.0) (4.0-270-g9490a): + + alsa: fix crash when loading bare alsa sink (bnc#846532). + + sndfile-util: fir format for 24bit depth wav files. + + bluetooth: track discovery modules by index. + + build system fixes. + +------------------------------------------------------------------- Old: ---- pulseaudio-4.0-265-g35fe.tar.xz New: ---- pulseaudio-4.0-270-g9490a.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pulseaudio.spec ++++++ --- /var/tmp/diff_new_pack.gko66m/_old 2013-10-20 10:53:36.000000000 +0200 +++ /var/tmp/diff_new_pack.gko66m/_new 2013-10-20 10:53:36.000000000 +0200 @@ -17,9 +17,9 @@ Name: pulseaudio -Version: 4.0.git.265.g35fe +Version: 4.0.git.270.g9490a Release: 0 -%define _version 4.0-265-g35fe +%define _version 4.0-270-g9490a %define drvver 4.0 %define soname 0 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d ++++++ pulseaudio-4.0-265-g35fe.tar.xz -> pulseaudio-4.0-270-g9490a.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/.tarball-version new/pulseaudio-4.0-270-g9490a/.tarball-version --- old/pulseaudio-4.0-265-g35fe/.tarball-version 2013-10-06 01:18:18.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/.tarball-version 2013-10-18 19:48:16.000000000 +0200 @@ -1 +1 @@ -4.0-265-g35fe +4.0-270-g9490a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/.version new/pulseaudio-4.0-270-g9490a/.version --- old/pulseaudio-4.0-265-g35fe/.version 2013-10-06 01:18:18.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/.version 2013-10-18 19:48:16.000000000 +0200 @@ -1 +1 @@ -4.0-265-g35fe +4.0-270-g9490a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/configure new/pulseaudio-4.0-270-g9490a/configure --- old/pulseaudio-4.0-265-g35fe/configure 2013-10-06 01:17:57.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/configure 2013-10-18 19:47:50.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pulseaudio 4.0-265-g35fe. +# Generated by GNU Autoconf 2.69 for pulseaudio 4.0-270-g9490a. # # Report bugs to <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='pulseaudio' PACKAGE_TARNAME='pulseaudio' -PACKAGE_VERSION='4.0-265-g35fe' -PACKAGE_STRING='pulseaudio 4.0-265-g35fe' +PACKAGE_VERSION='4.0-270-g9490a' +PACKAGE_STRING='pulseaudio 4.0-270-g9490a' PACKAGE_BUGREPORT='pulseaudio-discuss (at) lists (dot) freedesktop (dot) org' PACKAGE_URL='http://pulseaudio.org/' @@ -1695,7 +1695,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pulseaudio 4.0-265-g35fe to adapt to many kinds of systems. +\`configure' configures pulseaudio 4.0-270-g9490a to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1765,7 +1765,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pulseaudio 4.0-265-g35fe:";; + short | recursive ) echo "Configuration of pulseaudio 4.0-270-g9490a:";; esac cat <<\_ACEOF @@ -2029,7 +2029,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pulseaudio configure 4.0-265-g35fe +pulseaudio configure 4.0-270-g9490a generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2619,7 +2619,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pulseaudio $as_me 4.0-265-g35fe, which was +It was created by pulseaudio $as_me 4.0-270-g9490a, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3571,7 +3571,7 @@ # Define the identity of the package. PACKAGE='pulseaudio' - VERSION='4.0-265-g35fe' + VERSION='4.0-270-g9490a' cat >>confdefs.h <<_ACEOF @@ -9003,7 +9003,7 @@ #### Compiler flags #### -for flag in -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option; do +for flag in -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option; do as_CACHEVAR=`$as_echo "ax_cv_check_cflags_-pedantic -Werror_$flag" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 $as_echo_n "checking whether C compiler accepts $flag... " >&6; } @@ -9090,6 +9090,35 @@ ;; esac +# Only set _FORTIFY_SOURCE when optimizations are enabled. If optimizations +# are disabled, _FORTIFY_SOURCE doesn't do anything, and causes tons of +# warnings during compiling on some distributions (at least Fedora). +case " $CFLAGS " in #( + *" -O0 "*) : + ;; #( + *) : + +if ${CPPFLAGS+:} false; then : + if $as_echo " $CPPFLAGS " | $GREP " "-D_FORTIFY_SOURCE=2" " 2>&1 >/dev/null; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS already contains \"-D_FORTIFY_SOURCE=2\""; } >&5 + (: CPPFLAGS already contains "-D_FORTIFY_SOURCE=2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: : CPPFLAGS=\"\$CPPFLAGS \"-D_FORTIFY_SOURCE=2\"\""; } >&5 + (: CPPFLAGS="$CPPFLAGS "-D_FORTIFY_SOURCE=2"") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + as_fn_append CPPFLAGS " "-D_FORTIFY_SOURCE=2"" +fi +else + CPPFLAGS="-D_FORTIFY_SOURCE=2" +fi + ;; +esac + #### Linker flags #### @@ -28221,7 +28250,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pulseaudio $as_me 4.0-265-g35fe, which was +This file was extended by pulseaudio $as_me 4.0-270-g9490a, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -28288,7 +28317,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pulseaudio config.status 4.0-265-g35fe +pulseaudio config.status 4.0-270-g9490a configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -30712,6 +30741,7 @@ System Config Path: ${PA_SYSTEM_CONFIG_PATH} Compiler: ${CC} CFLAGS: ${CFLAGS} + CPPFLAGS: ${CPPFLAGS} LIBS: ${LIBS} Enable X11: ${ENABLE_X11} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/configure.ac new/pulseaudio-4.0-270-g9490a/configure.ac --- old/pulseaudio-4.0-265-g35fe/configure.ac 2013-10-06 01:17:39.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/configure.ac 2013-10-18 19:47:36.000000000 +0200 @@ -165,12 +165,17 @@ #### Compiler flags #### AX_APPEND_COMPILE_FLAGS( - [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option], + [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option], [], [-pedantic -Werror]) # Only enable fastpath asserts when doing a debug build, e.g. from bootstrap.sh. AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [AX_APPEND_FLAG(["-DFASTPATH"], [CPPFLAGS])]) +# Only set _FORTIFY_SOURCE when optimizations are enabled. If optimizations +# are disabled, _FORTIFY_SOURCE doesn't do anything, and causes tons of +# warnings during compiling on some distributions (at least Fedora). +AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [AX_APPEND_FLAG(["-D_FORTIFY_SOURCE=2"], [CPPFLAGS])]) + #### Linker flags #### @@ -1433,6 +1438,7 @@ System Config Path: ${PA_SYSTEM_CONFIG_PATH} Compiler: ${CC} CFLAGS: ${CFLAGS} + CPPFLAGS: ${CPPFLAGS} LIBS: ${LIBS} Enable X11: ${ENABLE_X11} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-sink.c new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-sink.c --- old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-sink.c 2013-09-25 19:44:15.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-sink.c 2013-10-18 19:47:36.000000000 +0200 @@ -2032,14 +2032,16 @@ map = m->core->default_channel_map; /* Pick sample spec overrides from the mapping, if any */ - if (mapping->sample_spec.format != PA_SAMPLE_INVALID) - ss.format = mapping->sample_spec.format; - if (mapping->sample_spec.rate != 0) - ss.rate = mapping->sample_spec.rate; - if (mapping->sample_spec.channels != 0) { - ss.channels = mapping->sample_spec.channels; - if (pa_channel_map_valid(&mapping->channel_map)) - pa_assert(pa_channel_map_compatible(&mapping->channel_map, &ss)); + if (mapping) { + if (mapping->sample_spec.format != PA_SAMPLE_INVALID) + ss.format = mapping->sample_spec.format; + if (mapping->sample_spec.rate != 0) + ss.rate = mapping->sample_spec.rate; + if (mapping->sample_spec.channels != 0) { + ss.channels = mapping->sample_spec.channels; + if (pa_channel_map_valid(&mapping->channel_map)) + pa_assert(pa_channel_map_compatible(&mapping->channel_map, &ss)); + } } /* Override with modargs if provided */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-source.c new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-source.c --- old/pulseaudio-4.0-265-g35fe/src/modules/alsa/alsa-source.c 2013-09-25 19:44:15.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/src/modules/alsa/alsa-source.c 2013-10-18 19:47:36.000000000 +0200 @@ -1742,14 +1742,16 @@ map = m->core->default_channel_map; /* Pick sample spec overrides from the mapping, if any */ - if (mapping->sample_spec.format != PA_SAMPLE_INVALID) - ss.format = mapping->sample_spec.format; - if (mapping->sample_spec.rate != 0) - ss.rate = mapping->sample_spec.rate; - if (mapping->sample_spec.channels != 0) { - ss.channels = mapping->sample_spec.channels; - if (pa_channel_map_valid(&mapping->channel_map)) - pa_assert(pa_channel_map_compatible(&mapping->channel_map, &ss)); + if (mapping) { + if (mapping->sample_spec.format != PA_SAMPLE_INVALID) + ss.format = mapping->sample_spec.format; + if (mapping->sample_spec.rate != 0) + ss.rate = mapping->sample_spec.rate; + if (mapping->sample_spec.channels != 0) { + ss.channels = mapping->sample_spec.channels; + if (pa_channel_map_valid(&mapping->channel_map)) + pa_assert(pa_channel_map_compatible(&mapping->channel_map, &ss)); + } } /* Override with modargs if provided */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/src/modules/bluetooth/module-bluetooth-discover.c new/pulseaudio-4.0-270-g9490a/src/modules/bluetooth/module-bluetooth-discover.c --- old/pulseaudio-4.0-265-g35fe/src/modules/bluetooth/module-bluetooth-discover.c 2013-10-06 01:17:39.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/src/modules/bluetooth/module-bluetooth-discover.c 2013-10-18 19:47:36.000000000 +0200 @@ -35,24 +35,33 @@ PA_MODULE_LOAD_ONCE(true); struct userdata { - pa_module *bluez5_module; - pa_module *bluez4_module; + uint32_t bluez5_module_idx; + uint32_t bluez4_module_idx; }; int pa__init(pa_module* m) { struct userdata *u; + pa_module *mm; pa_assert(m); m->userdata = u = pa_xnew0(struct userdata, 1); + u->bluez5_module_idx = PA_INVALID_INDEX; + u->bluez4_module_idx = PA_INVALID_INDEX; - if (pa_module_exists("module-bluez5-discover")) - u->bluez5_module = pa_module_load(m->core, "module-bluez5-discover", NULL); + if (pa_module_exists("module-bluez5-discover")) { + mm = pa_module_load(m->core, "module-bluez5-discover", NULL); + if (mm) + u->bluez5_module_idx = mm->index; + } - if (pa_module_exists("module-bluez4-discover")) - u->bluez4_module = pa_module_load(m->core, "module-bluez4-discover", NULL); + if (pa_module_exists("module-bluez4-discover")) { + mm = pa_module_load(m->core, "module-bluez4-discover", NULL); + if (mm) + u->bluez4_module_idx = mm->index; + } - if (!u->bluez5_module && !u->bluez4_module) { + if (u->bluez5_module_idx == PA_INVALID_INDEX && u->bluez4_module_idx == PA_INVALID_INDEX) { pa_xfree(u); return -1; } @@ -68,11 +77,11 @@ if (!(u = m->userdata)) return; - if (u->bluez5_module) - pa_module_unload(m->core, u->bluez5_module, true); + if (u->bluez5_module_idx != PA_INVALID_INDEX) + pa_module_unload_by_index(m->core, u->bluez5_module_idx, true); - if (u->bluez4_module) - pa_module_unload(m->core, u->bluez4_module, true); + if (u->bluez4_module_idx != PA_INVALID_INDEX) + pa_module_unload_by_index(m->core, u->bluez4_module_idx, true); pa_xfree(u); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseaudio-4.0-265-g35fe/src/pulsecore/sndfile-util.c new/pulseaudio-4.0-270-g9490a/src/pulsecore/sndfile-util.c --- old/pulseaudio-4.0-265-g35fe/src/pulsecore/sndfile-util.c 2013-09-25 19:44:15.000000000 +0200 +++ new/pulseaudio-4.0-270-g9490a/src/pulsecore/sndfile-util.c 2013-10-18 19:47:36.000000000 +0200 @@ -384,6 +384,7 @@ case PA_SAMPLE_ULAW: case PA_SAMPLE_ALAW: + case PA_SAMPLE_S24NE: return NULL; default: @@ -407,6 +408,7 @@ case PA_SAMPLE_ULAW: case PA_SAMPLE_ALAW: + case PA_SAMPLE_S24NE: return NULL; default: -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
