rpms/bluez-utils/devel bluez-utils-3.16-autocrap.patch, NONE, 1.1 bluez-utils.spec, 1.70, 1.71

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Wed Aug 29 10:07:43 UTC 2007


Author: dwmw2

Update of /cvs/extras/rpms/bluez-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv471

Modified Files:
	bluez-utils.spec 
Added Files:
	bluez-utils-3.16-autocrap.patch 
Log Message:
attempt to fix plugin builds

bluez-utils-3.16-autocrap.patch:

--- NEW FILE bluez-utils-3.16-autocrap.patch ---
commit 5787ae97fc1cc8c283d3874a6e323880a29f8131
Author: Marcel Holtmann <marcel at holtmann.org>
Date:   Wed Aug 29 09:21:34 2007 +0000

    Only export the needed symbols for the plugins

diff --git a/audio/Makefile.am b/audio/Makefile.am
index b5e3c46..a670fce 100644
--- a/audio/Makefile.am
+++ b/audio/Makefile.am
@@ -24,12 +24,12 @@ alsadir = $(libdir)/alsa-lib
 alsa_LTLIBRARIES = libasound_module_pcm_bluetooth.la libasound_module_ctl_bluetooth.la
 
 libasound_module_pcm_bluetooth_la_SOURCES = pcm_bluetooth.c ipc.h
-libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
+libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*snd_pcm_.*
 libasound_module_pcm_bluetooth_la_LIBADD = @SBC_LIBS@ @ALSA_LIBS@
 libasound_module_pcm_bluetooth_la_CFLAGS = @ALSA_CFLAGS@ @SBC_CFLAGS@
 
 libasound_module_ctl_bluetooth_la_SOURCES = ctl_bluetooth.c ipc.h
-libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
+libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*snd_ctl_.*
 libasound_module_ctl_bluetooth_la_LIBADD = @ALSA_LIBS@
 libasound_module_ctl_bluetooth_la_CFLAGS = @ALSA_CFLAGS@
 endif
@@ -44,7 +44,7 @@ libgstbluetooth_la_SOURCES = gstbluetooth.c ipc.h \
 				gstsbcdec.h gstsbcdec.c \
 				gstsbcparse.h gstsbcparse.c \
 				gsta2dpsink.h gsta2dpsink.c
-libgstbluetooth_la_LDFLAGS = -module -avoid-version -export-dynamic
+libgstbluetooth_la_LDFLAGS = -module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*
 libgstbluetooth_la_LIBADD = @SBC_LIBS@ @GSTREAMER_LIBS@ -lgstaudio-0.10
 libgstbluetooth_la_CFLAGS = @GSTREAMER_CFLAGS@ @SBC_CFLAGS@
 endif


Index: bluez-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/bluez-utils/devel/bluez-utils.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- bluez-utils.spec	29 Aug 2007 07:58:16 -0000	1.70
+++ bluez-utils.spec	29 Aug 2007 10:07:10 -0000	1.71
@@ -1,7 +1,7 @@
 Summary: Bluetooth utilities 
 Name: bluez-utils
 Version: 3.16
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 Source: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
@@ -12,11 +12,12 @@
 Source7: dund.conf
 Source9: bluetooth.conf
 Patch0: bluez-utils-2.3-conf.patch
+Patch1: bluez-utils-3.16-autocrap.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://www.bluez.org/
 BuildRequires: bluez-libs-devel >= %{version}
-BuildRequires: flex
+BuildRequires: flex autoconf
 BuildRequires: dbus-devel >= 0.90
 BuildRequires: libusb-devel, glib2-devel, alsa-lib-devel
 BuildRequires: gstreamer-plugins-base-devel, hal-devel
@@ -72,8 +73,9 @@
 
 %setup -q
 %patch0 -p1
-
+%patch1 -p1
 %build
+autoreconf
 %configure --with-bluez-libs=%{_libdir} --enable-pie --enable-debug \
 	   --enable-all --disable-bcm203x --enable-alsa --enable-bccmd \
 	   --enable-avctrl --enable-glib --enable-input --enable-echo \
@@ -153,6 +155,9 @@
 %{_libdir}/alsa-lib/*.so
 
 %changelog
+* Wed Aug 29 2007 David Woodhouse <dwmw2 at infradead.org> 3.16-3
+- Fix library build breakage
+
 * Wed Aug 29 2007 David Woodhouse <dwmw2 at infradead.org> 3.16-2
 - Fix BuildRequires
 




More information about the fedora-extras-commits mailing list