Accepting request 108664 from multimedia:libs

- add pulseaudio-remove_broken_assert.patch to remove a broken assert that
  makes pulseaudio crash when playing audio from Firefox when having to
  resample, especially in combination with the jack sink
- add libcap-devel build dependency for capabilities support
- add fftw3-devel build dependency for builtin equalizer support
- add orc build dependency for better performance

OBS-URL: https://build.opensuse.org/request/show/108664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pulseaudio?expand=0&rev=86
This commit is contained in:
Stephan Kulow 2012-03-12 07:54:05 +00:00 committed by Git OBS Bridge
commit 4b660ba1af
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- src/pulsecore/resampler.c.orig 2012-02-17 21:34:37.154883446 +0100
+++ src/pulsecore/resampler.c 2012-02-17 21:34:51.272882943 +0100
@@ -1227,7 +1227,6 @@
data.end_of_input = 0;
pa_assert_se(src_process(r->src.state, &data) == 0);
- pa_assert((unsigned) data.input_frames_used == in_n_frames);
pa_memblock_release(input->memblock);
pa_memblock_release(output->memblock);

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Feb 17 20:57:09 UTC 2012 - pascal.bleser@opensuse.org
- add pulseaudio-remove_broken_assert.patch to remove a broken assert that
makes pulseaudio crash when playing audio from Firefox when having to
resample, especially in combination with the jack sink
- add libcap-devel build dependency for capabilities support
- add fftw3-devel build dependency for builtin equalizer support
- add orc build dependency for better performance
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 12 20:30:01 UTC 2012 - reddwarf@opensuse.org Thu Jan 12 20:30:01 UTC 2012 - reddwarf@opensuse.org

View File

@ -33,6 +33,8 @@ Source99: baselibs.conf
Patch0: disabled-start.diff Patch0: disabled-start.diff
Patch1: suppress-socket-error-msg.diff Patch1: suppress-socket-error-msg.diff
Patch2: pulseaudio-wrong-memset.patch Patch2: pulseaudio-wrong-memset.patch
# PATCH-FIX-UPSTREAM pulseaudio-remove_broken_assert.patch fdo#47156 pascal.bleser@opensuse.org -- Fix crash
Patch3: pulseaudio-remove_broken_assert.patch
BuildRequires: alsa-devel BuildRequires: alsa-devel
BuildRequires: bluez-devel BuildRequires: bluez-devel
BuildRequires: doxygen BuildRequires: doxygen
@ -54,6 +56,9 @@ BuildRequires: tcpd-devel
BuildRequires: translation-update-upstream BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-devel
BuildRequires: libcap-devel
BuildRequires: fftw3-devel
BuildRequires: orc
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 # Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(gconf-2.0)
@ -253,6 +258,7 @@ translation-update-upstream
%patch0 %patch0
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3
%build %build
autoreconf autoreconf
@ -266,7 +272,7 @@ export SUSE_ASNEEDED=0
--with-system-group=pulse \ --with-system-group=pulse \
--with-access-group=pulse-access \ --with-access-group=pulse-access \
--disable-hal --disable-hal
make %{?_smp_mflags} make %{?_smp_mflags} V=1
make doxygen make doxygen
%install %install
@ -320,6 +326,7 @@ setup-pulseaudio --auto > /dev/null
%doc README LICENSE GPL LGPL %doc README LICENSE GPL LGPL
%{_bindir}/pulseaudio %{_bindir}/pulseaudio
%{_bindir}/setup-pulseaudio %{_bindir}/setup-pulseaudio
%{_bindir}/qpaeq
%dir %{_datadir}/pulseaudio %dir %{_datadir}/pulseaudio
%{_datadir}/pulseaudio/alsa-mixer %{_datadir}/pulseaudio/alsa-mixer
%{_localstatedir}/adm/fillup-templates/sysconfig.sound-pulseaudio %{_localstatedir}/adm/fillup-templates/sysconfig.sound-pulseaudio
@ -360,6 +367,7 @@ setup-pulseaudio --auto > /dev/null
%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so %{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so %{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so %{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-equalizer-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-filter-apply.so %{_libdir}/pulse-%{drvver}/modules/module-filter-apply.so
%{_libdir}/pulse-%{drvver}/modules/module-filter-heuristics.so %{_libdir}/pulse-%{drvver}/modules/module-filter-heuristics.so
%{_libdir}/pulse-%{drvver}/modules/module-hal-detect.so %{_libdir}/pulse-%{drvver}/modules/module-hal-detect.so