Enable audio socket so a2dp works in PulseAudio again (#874015)
This commit is contained in:
parent
e92de5aa1e
commit
5faa799588
15
bluez-4.101-allow-a2dp-with-pulseaudio.patch
Normal file
15
bluez-4.101-allow-a2dp-with-pulseaudio.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/audio/audio.conf b/audio/audio.conf
|
||||||
|
index fd6092a..9a80e63 100644
|
||||||
|
--- a/audio/audio.conf
|
||||||
|
+++ b/audio/audio.conf
|
||||||
|
@@ -4,6 +4,10 @@
|
||||||
|
# particular interface
|
||||||
|
[General]
|
||||||
|
|
||||||
|
+# Allow PulseAudio to connect by default
|
||||||
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=874015#c0
|
||||||
|
+Enable=Socket
|
||||||
|
+
|
||||||
|
# Switch to master role for incoming connections (defaults to true)
|
||||||
|
#Master=true
|
||||||
|
|
@ -14,6 +14,8 @@ Source6: pand.conf
|
|||||||
Source7: rfcomm.init
|
Source7: rfcomm.init
|
||||||
Source8: bluez-uinput.modules
|
Source8: bluez-uinput.modules
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=874015#c0
|
||||||
|
Patch0: bluez-4.101-allow-a2dp-with-pulseaudio.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=498756
|
# https://bugzilla.redhat.com/show_bug.cgi?id=498756
|
||||||
Patch4: bluez-socket-mobile-cf-connection-kit.patch
|
Patch4: bluez-socket-mobile-cf-connection-kit.patch
|
||||||
# http://thread.gmane.org/gmane.linux.bluez.kernel/2396
|
# http://thread.gmane.org/gmane.linux.bluez.kernel/2396
|
||||||
@ -145,6 +147,7 @@ and mouse.
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%patch4 -p1 -b .socket-mobile
|
%patch4 -p1 -b .socket-mobile
|
||||||
%patch5 -p1 -b .cable-pairing
|
%patch5 -p1 -b .cable-pairing
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
@ -190,6 +193,8 @@ install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth
|
|||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/bluetooth/
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/bluetooth/
|
||||||
|
|
||||||
|
install -D -p -m0644 audio/audio.conf ${RPM_BUILD_ROOT}/etc/bluetooth/
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -257,6 +262,7 @@ fi
|
|||||||
%exclude %{_mandir}/man8/hid2hci.8*
|
%exclude %{_mandir}/man8/hid2hci.8*
|
||||||
%dir %{_sysconfdir}/bluetooth/
|
%dir %{_sysconfdir}/bluetooth/
|
||||||
%config(noreplace) %{_sysconfdir}/bluetooth/main.conf
|
%config(noreplace) %{_sysconfdir}/bluetooth/main.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/bluetooth/audio.conf
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/modules/bluez-uinput.modules
|
%config(noreplace) %{_sysconfdir}/sysconfig/modules/bluez-uinput.modules
|
||||||
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
|
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
|
||||||
%{_libdir}/bluetooth/
|
%{_libdir}/bluetooth/
|
||||||
@ -317,6 +323,7 @@ fi
|
|||||||
* Wed Nov 21 2012 Bastien Nocera <bnocera@redhat.com> 4.101-4
|
* Wed Nov 21 2012 Bastien Nocera <bnocera@redhat.com> 4.101-4
|
||||||
- Clean up requires and build requires
|
- Clean up requires and build requires
|
||||||
- Use CUPS macro (#772236)
|
- Use CUPS macro (#772236)
|
||||||
|
- Enable audio socket so a2dp works in PulseAudio again (#874015)
|
||||||
|
|
||||||
* Wed Aug 15 2012 Bastien Nocera <bnocera@redhat.com> 4.101-3
|
* Wed Aug 15 2012 Bastien Nocera <bnocera@redhat.com> 4.101-3
|
||||||
- Enable pairing Wiimote support (#847481)
|
- Enable pairing Wiimote support (#847481)
|
||||||
|
Loading…
Reference in New Issue
Block a user