Accepting request 177334 from home:oholecek:branches:multimedia:libs
update to PA 4.0 - some patches obsoleted - build requirements updated according to PA release notes - tested on Tumbleweed and 12.3 since RC1 OBS-URL: https://build.opensuse.org/request/show/177334 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=118
This commit is contained in:
parent
b987899bc0
commit
7e3951fe03
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c90bfda29605942d08e3e218ef10e3c660506a06651a616bfbb6a6df8392836d
|
|
||||||
size 1367468
|
|
3
pulseaudio-4.0.tar.xz
Normal file
3
pulseaudio-4.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:35ceb36bb1822fe54f0b5e4863b4f486769fdfb8ff2111f01fd8778928f9cdae
|
||||||
|
size 1392072
|
@ -1,37 +0,0 @@
|
|||||||
From a703451811f31abe6302f39675c1e1fdfc1925d6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: David Henningsson <david.henningsson@canonical.com>
|
|
||||||
Date: Wed, 19 Dec 2012 10:24:33 +0000
|
|
||||||
Subject: alsa-mixer: Fix the analog-output-speaker-always path
|
|
||||||
|
|
||||||
A left over "required-any" made this path useless for most people.
|
|
||||||
While we're at it, also add "Front Headphone" like for the normal
|
|
||||||
speaker path.
|
|
||||||
|
|
||||||
Tested-by: Colin Guthrie <gmane@colin.guthr.ie>
|
|
||||||
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
||||||
---
|
|
||||||
diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
|
|
||||||
index 3ebdc4a..8a2b3df 100644
|
|
||||||
--- a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
|
|
||||||
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
|
|
||||||
@@ -30,6 +30,10 @@ device.icon_name = audio-speakers
|
|
||||||
state.plugged = no
|
|
||||||
state.unplugged = unknown
|
|
||||||
|
|
||||||
+[Jack Front Headphone]
|
|
||||||
+state.plugged = no
|
|
||||||
+state.unplugged = unknown
|
|
||||||
+
|
|
||||||
[Element Hardware Master]
|
|
||||||
switch = mute
|
|
||||||
volume = merge
|
|
||||||
@@ -132,7 +136,6 @@ switch = mute
|
|
||||||
volume = merge
|
|
||||||
override-map.1 = lfe
|
|
||||||
override-map.2 = lfe,lfe
|
|
||||||
-required-any = any
|
|
||||||
|
|
||||||
[Element CLFE]
|
|
||||||
switch = mute
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2-2-gbebe
|
|
@ -1,22 +1,11 @@
|
|||||||
--- src/modules/rtp/rtp.c.orig 2012-05-20 09:23:37.081609264 +0200
|
|
||||||
+++ src/modules/rtp/rtp.c 2012-05-20 09:24:08.991608129 +0200
|
|
||||||
@@ -286,7 +286,7 @@
|
|
||||||
|
|
||||||
if (!found_tstamp) {
|
|
||||||
pa_log_warn("Couldn't find SCM_TIMESTAMP data in auxiliary recvmsg() data!");
|
|
||||||
- memset(tstamp, 0, sizeof(tstamp));
|
|
||||||
+ memset(tstamp, 0, sizeof(struct timeval));
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
--- src/modules/echo-cancel/adrian-aec.c.orig 2012-05-20 09:24:20.836607707 +0200
|
--- src/modules/echo-cancel/adrian-aec.c.orig 2012-05-20 09:24:20.836607707 +0200
|
||||||
+++ src/modules/echo-cancel/adrian-aec.c 2012-05-20 09:26:07.641603903 +0200
|
+++ src/modules/echo-cancel/adrian-aec.c 2012-05-20 09:26:07.641603903 +0200
|
||||||
@@ -163,7 +163,7 @@
|
@@ -167,7 +167,7 @@
|
||||||
} else if (1 == a->hangover) {
|
} else if (1 == a->hangover) {
|
||||||
--(a->hangover);
|
--(a->hangover);
|
||||||
// My Leaky NLMS is to erase vector w when hangover expires
|
// My Leaky NLMS is to erase vector w when hangover expires
|
||||||
- memset(a->w, 0, sizeof(a->w));
|
- memset(a->w_arr, 0, sizeof(a->w_arr));
|
||||||
+ memset(a->w, 0, sizeof(REAL));
|
+ memset(a->w_arr, 0, sizeof(REAL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 3 20:55:20 UTC 2013 - oholecek@suse.com
|
||||||
|
|
||||||
|
- update to pulseaudio 4.0
|
||||||
|
* Better handling of low latency requests
|
||||||
|
* Optimisations while mixing (generic, ARM NEON)
|
||||||
|
* Default resampler is now speex-float-1 (lower CPU usage)
|
||||||
|
* Major Bluetooth refactoring for better reliability and easier
|
||||||
|
maintenance
|
||||||
|
* Fixes for graceful hand-off to/from JACK
|
||||||
|
* New module to apply ducking based on stream roles
|
||||||
|
* Echo canceller infrastructure fixes
|
||||||
|
* Bash and zsh completion for command line tools
|
||||||
|
* Solaris and OS X fixes
|
||||||
|
* Lots of other enhancements, bug fixes, and documenation and i18n
|
||||||
|
updates-
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 25 14:52:14 UTC 2013 - dmueller@suse.com
|
Thu Apr 25 14:52:14 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: pulseaudio
|
Name: pulseaudio
|
||||||
Version: 3.0
|
Version: 4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
%define drvver 3.0
|
%define drvver 4.0
|
||||||
%define soname 0
|
%define soname 0
|
||||||
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
||||||
Summary: A Networked Sound Server
|
Summary: A Networked Sound Server
|
||||||
@ -34,44 +34,43 @@ 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
|
||||||
Patch3: pulseaudio-alsa-speaker-zero-vol-fix.patch
|
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel >= 1.0.24
|
||||||
BuildRequires: bluez-devel
|
BuildRequires: bluez-devel >= 4.99
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gdbm-devel
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: jack-devel
|
BuildRequires: jack-devel
|
||||||
|
BuildRequires: libatomic_ops-devel >= 1.2
|
||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libsamplerate-devel
|
BuildRequires: libsamplerate-devel
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel >= 1.0.18
|
||||||
#our libtdb-devel does not have a .pc file
|
#our libtdb-devel does not have a .pc file
|
||||||
BuildRequires: fftw3-devel
|
BuildRequires: fftw3-devel >= 3.0
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libtdb-devel
|
BuildRequires: libtdb-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libudev-devel >= 143
|
BuildRequires: libudev-devel >= 143
|
||||||
BuildRequires: libwebrtc_audio_processing-devel
|
BuildRequires: libwebrtc_audio_processing-devel
|
||||||
BuildRequires: lirc-devel
|
BuildRequires: lirc-devel
|
||||||
BuildRequires: orc
|
BuildRequires: orc >= 0.4.9
|
||||||
BuildRequires: speex-devel
|
BuildRequires: speex-devel
|
||||||
BuildRequires: systemd-devel
|
|
||||||
BuildRequires: tcpd-devel
|
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
|
||||||
# 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(dbus-1) >= 1.4.12
|
||||||
BuildRequires: pkgconfig(gconf-2.0)
|
BuildRequires: pkgconfig(gconf-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(json) >= 0.9
|
BuildRequires: pkgconfig(json) >= 0.9
|
||||||
BuildRequires: pkgconfig(sbc)
|
BuildRequires: pkgconfig(sbc) >= 1.0
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
PreReq: pwdutils
|
PreReq: pwdutils
|
||||||
Requires: rtkit
|
Requires: rtkit
|
||||||
@ -265,7 +264,6 @@ translation-update-upstream
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -279,7 +277,6 @@ autoreconf -fiv
|
|||||||
--with-system-user=pulse \
|
--with-system-user=pulse \
|
||||||
--with-system-group=pulse \
|
--with-system-group=pulse \
|
||||||
--with-access-group=pulse-access \
|
--with-access-group=pulse-access \
|
||||||
--disable-hal \
|
|
||||||
--disable-hal-compat \
|
--disable-hal-compat \
|
||||||
--with-udev-rules-dir=%{_udevrulesdir}
|
--with-udev-rules-dir=%{_udevrulesdir}
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
@ -315,10 +312,10 @@ ln -s esdcompat %{buildroot}%{_bindir}/esd
|
|||||||
%{?buildroot:%__rm -rf '%{buildroot}'}
|
%{?buildroot:%__rm -rf '%{buildroot}'}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
groupadd -r pulse &>/dev/null || :
|
getent group pulse >/dev/null || groupadd -r pulse
|
||||||
useradd -r -c 'PulseAudio daemon' \
|
getent passwd pulse >/dev/null || useradd -r -g pulse -d /var/lib/pulseaudio -s /sbin/nologin -c "PulseAudio daemon" pulse
|
||||||
-s /sbin/nologin -d /var/lib/pulseaudio -g pulse -G audio pulse &>/dev/null || :
|
getent group pulse-access >/dev/null || groupadd -r pulse-access
|
||||||
groupadd -r pulse-access &>/dev/null || :
|
exit 0
|
||||||
|
|
||||||
%post -n libpulse%{soname} -p /sbin/ldconfig
|
%post -n libpulse%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -426,6 +423,8 @@ setup-pulseaudio --auto > /dev/null
|
|||||||
%{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so
|
%{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so
|
||||||
%{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so
|
%{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so
|
||||||
%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so
|
%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so
|
||||||
|
%{_libdir}/pulse-%{drvver}/modules/module-remap-source.so
|
||||||
|
%{_libdir}/pulse-%{drvver}/modules/module-role-ducking.so
|
||||||
%{_udevrulesdir}/90-pulseaudio.rules
|
%{_udevrulesdir}/90-pulseaudio.rules
|
||||||
%doc %{_mandir}/man1/pulseaudio.1*
|
%doc %{_mandir}/man1/pulseaudio.1*
|
||||||
%doc %{_mandir}/man5/default.pa.5*
|
%doc %{_mandir}/man5/default.pa.5*
|
||||||
@ -437,6 +436,7 @@ setup-pulseaudio --auto > /dev/null
|
|||||||
%config(noreplace) %{_sysconfdir}/pulse/default.pa
|
%config(noreplace) %{_sysconfdir}/pulse/default.pa
|
||||||
%config(noreplace) %{_sysconfdir}/pulse/system.pa
|
%config(noreplace) %{_sysconfdir}/pulse/system.pa
|
||||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/bash_completion.d/pulseaudio-bash-completion.sh
|
||||||
# created by setup-pulseaudio script
|
# created by setup-pulseaudio script
|
||||||
%ghost %{_sysconfdir}/profile.d/pulseaudio.sh
|
%ghost %{_sysconfdir}/profile.d/pulseaudio.sh
|
||||||
%ghost %{_sysconfdir}/profile.d/pulseaudio.csh
|
%ghost %{_sysconfdir}/profile.d/pulseaudio.csh
|
||||||
|
Loading…
Reference in New Issue
Block a user