rpms/pulseaudio/devel 0001-load-bt-discover-module-only-when-installed.patch, NONE, 1.1 pulseaudio.spec, 1.77, 1.78

Lennart Poettering lennart at fedoraproject.org
Wed Apr 1 15:04:09 UTC 2009


Author: lennart

Update of /cvs/pkgs/rpms/pulseaudio/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22347

Modified Files:
	pulseaudio.spec 
Added Files:
	0001-load-bt-discover-module-only-when-installed.patch 
Log Message:
Only load bt modules when installed

0001-load-bt-discover-module-only-when-installed.patch:

--- NEW FILE 0001-load-bt-discover-module-only-when-installed.patch ---
>From dcb24f5068f54f0fd3c30b691b8e3735973d008b Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart at poettering.net>
Date: Wed, 1 Apr 2009 16:15:27 +0200
Subject: [PATCH] load bt discover module only when installed

---
 src/daemon/default.pa.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in
index 57ccd9f..fa0683e 100755
--- a/src/daemon/default.pa.in
+++ b/src/daemon/default.pa.in
@@ -58,9 +58,9 @@ load-module module-detect
 .endif
 
 ### Automatically load driver modules for Bluetooth hardware
-#.ifexists module-bluetooth-discover at PA_SOEXT@
+.ifexists module-bluetooth-discover at PA_SOEXT@
 load-module module-bluetooth-discover
-#.endif
+.endif
 
 ### Load several protocols
 .ifexists module-esound-protocol-unix at PA_SOEXT@
-- 
1.6.2



Index: pulseaudio.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pulseaudio/devel/pulseaudio.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- pulseaudio.spec	1 Apr 2009 01:25:55 -0000	1.77
+++ pulseaudio.spec	1 Apr 2009 15:03:38 -0000	1.78
@@ -3,7 +3,7 @@
 Name:		pulseaudio
 Summary: 	Improved Linux sound server
 Version:	0.9.15
-Release:	7.test7%{?dist}
+Release:	8.test7%{?dist}
 License:	GPLv2+
 Group:		System Environment/Daemons
 Source0:	http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-%{version}-test7.tar.gz
@@ -49,6 +49,7 @@
 Obsoletes:	pulseaudio-core-libs
 Provides:	pulseaudio-core-libs
 Requires:	udev-extras
+Patch0:		0001-load-bt-discover-module-only-when-installed.patch
 
 %description
 PulseAudio is a sound server for Linux and other Unix like operating 
@@ -186,6 +187,7 @@
 
 %prep
 %setup -q -T -b0 -n pulseaudio-0.9.15-test7
+%patch0 -p1 -b .load-bt-discover-module-only-when-installed
 
 %build
 CFLAGS="-ggdb" %configure --disable-static --disable-rpath --with-system-user=pulse --with-system-group=pulse --with-realtime-group=pulse-rt --with-access-group=pulse-access
@@ -406,6 +408,9 @@
 %{_mandir}/man1/pax11publish.1.gz
 
 %changelog
+* Wed Apr 1 2009 Lennart Poettering <lpoetter at redhat.com> 0.9.15-8.test7
+- Only load bt modules when installed
+
 * Wed Apr 1 2009 Lennart Poettering <lpoetter at redhat.com> 0.9.15-7.test7
 - New test release
 




More information about the fedora-extras-commits mailing list