[bluez/f17] Update to 4.99
Bastien Nocera
hadess at fedoraproject.org
Wed Mar 7 10:11:17 UTC 2012
commit 4cbefb9f85ee70e73a0151df68e346b03f98d1d0
Author: Bastien Nocera <hadess at hadess.net>
Date: Tue Mar 6 19:36:36 2012 +0100
Update to 4.99
0001-Add-sixaxis-cable-pairing-plugin.patch | 36 ++++++------
bluez.spec | 10 ++--
cplusplus_void_cast.patch | 82 ---------------------------
sources | 2 +-
4 files changed, 24 insertions(+), 106 deletions(-)
---
diff --git a/0001-Add-sixaxis-cable-pairing-plugin.patch b/0001-Add-sixaxis-cable-pairing-plugin.patch
index c4ad775..498d23f 100644
--- a/0001-Add-sixaxis-cable-pairing-plugin.patch
+++ b/0001-Add-sixaxis-cable-pairing-plugin.patch
@@ -1,4 +1,4 @@
-From 3e999539978919395af19ac1b554ca997ab1b3d1 Mon Sep 17 00:00:00 2001
+From 2977a39aad96cb3f2be90c6291169a25c9965fc9 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Fri, 30 Dec 2011 12:34:29 +0100
Subject: [PATCH] Add sixaxis cable-pairing plugin
@@ -19,7 +19,7 @@ address, and added to the database of the current default adapter.
create mode 100644 plugins/cable.c
diff --git a/Makefile.am b/Makefile.am
-index 102ee62..63d7198 100644
+index cafb4cc..4ccf4f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -244,6 +244,11 @@ builtin_sources += thermometer/main.c \
@@ -43,7 +43,7 @@ index 102ee62..63d7198 100644
src_bluetoothd_LDFLAGS = -Wl,--export-dynamic \
-Wl,--version-script=$(srcdir)/src/bluetooth.ver
-@@ -432,7 +437,7 @@ EXTRA_DIST += doc/manager-api.txt \
+@@ -447,7 +452,7 @@ EXTRA_DIST += doc/manager-api.txt \
AM_YFLAGS = -d
@@ -53,10 +53,10 @@ index 102ee62..63d7198 100644
INCLUDES = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \
-I$(srcdir)/audio -I$(srcdir)/sbc -I$(srcdir)/gdbus \
diff --git a/acinclude.m4 b/acinclude.m4
-index 57fc5e0..90582ba 100644
+index b0f790c..20a930c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
-@@ -149,6 +149,12 @@ AC_DEFUN([AC_PATH_UDEV], [
+@@ -152,6 +152,12 @@ AC_DEFUN([AC_PATH_UDEV], [
AC_SUBST(UDEV_LIBS)
])
@@ -69,7 +69,7 @@ index 57fc5e0..90582ba 100644
AC_DEFUN([AC_PATH_SNDFILE], [
PKG_CHECK_MODULES(SNDFILE, sndfile, sndfile_found=yes, sndfile_found=no)
AC_SUBST(SNDFILE_CFLAGS)
-@@ -186,6 +192,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
+@@ -189,6 +195,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
sndfile_enable=${sndfile_found}
hal_enable=no
usb_enable=${usb_found}
@@ -77,7 +77,7 @@ index 57fc5e0..90582ba 100644
alsa_enable=${alsa_found}
gstreamer_enable=${gstreamer_found}
audio_enable=yes
-@@ -296,6 +303,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
+@@ -298,6 +305,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
usb_enable=${enableval}
])
@@ -85,10 +85,10 @@ index 57fc5e0..90582ba 100644
+ cable_enable=${enableval}
+ ])
+
- AC_ARG_ENABLE(tracer, AC_HELP_STRING([--enable-tracer], [install Tracing daemon]), [
- tracer_enable=${enableval}
+ AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools], [install Bluetooth utilities]), [
+ tools_enable=${enableval}
])
-@@ -395,6 +406,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
+@@ -393,6 +404,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AC_DEFINE(HAVE_LIBUSB, 1, [Define to 1 if you have USB library.])
fi
@@ -99,14 +99,14 @@ index 57fc5e0..90582ba 100644
AM_CONDITIONAL(SNDFILE, test "${sndfile_enable}" = "yes" && test "${sndfile_found}" = "yes")
AM_CONDITIONAL(USB, test "${usb_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(SBC, test "${alsa_enable}" = "yes" || test "${gstreamer_enable}" = "yes" ||
-@@ -432,4 +447,5 @@ AC_DEFUN([AC_ARG_BLUEZ], [
+@@ -429,4 +444,5 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(DBUSOOBPLUGIN, test "${dbusoob_enable}" = "yes")
AM_CONDITIONAL(WIIMOTEPLUGIN, test "${wiimote_enable}" = "yes")
AM_CONDITIONAL(THERMOMETERPLUGIN, test "${thermometer_enable}" = "yes")
+ AM_CONDITIONAL(CABLE, test "${cable_enable}" = "yes" && test "${cable_found}" = "yes")
])
diff --git a/configure.ac b/configure.ac
-index 5b81f28..0e0dd9d 100644
+index cd0f1cf..c61f230 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,7 @@ AC_PATH_GSTREAMER
@@ -119,7 +119,7 @@ index 5b81f28..0e0dd9d 100644
AC_PATH_CHECK
diff --git a/plugins/cable.c b/plugins/cable.c
new file mode 100644
-index 0000000..e8cff76
+index 0000000..b974b4c
--- /dev/null
+++ b/plugins/cable.c
@@ -0,0 +1,382 @@
@@ -506,10 +506,10 @@ index 0000000..e8cff76
+BLUETOOTH_PLUGIN_DEFINE(cable, VERSION,
+ BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, cable_init, cable_exit)
diff --git a/src/adapter.c b/src/adapter.c
-index 7e4bbb6..012f632 100644
+index acb845e..478a8fb 100644
--- a/src/adapter.c
+++ b/src/adapter.c
-@@ -1014,6 +1014,25 @@ static struct btd_device *adapter_create_device(DBusConnection *conn,
+@@ -952,6 +952,25 @@ static struct btd_device *adapter_create_device(DBusConnection *conn,
return device;
}
@@ -536,10 +536,10 @@ index 7e4bbb6..012f632 100644
struct btd_device *device,
gboolean remove_storage)
diff --git a/src/adapter.h b/src/adapter.h
-index fb1dcdf..4c3d148 100644
+index ceebb97..b0a0461 100644
--- a/src/adapter.h
+++ b/src/adapter.h
-@@ -108,6 +108,9 @@ void adapter_update_found_devices(struct btd_adapter *adapter,
+@@ -123,6 +123,9 @@ void adapter_update_found_devices(struct btd_adapter *adapter,
uint8_t *data, uint8_t data_len);
void adapter_emit_device_found(struct btd_adapter *adapter,
struct remote_dev_info *dev);
@@ -550,5 +550,5 @@ index fb1dcdf..4c3d148 100644
int adapter_set_name(struct btd_adapter *adapter, const char *name);
void adapter_name_changed(struct btd_adapter *adapter, const char *name);
--
-1.7.6.4
+1.7.7.6
diff --git a/bluez.spec b/bluez.spec
index 325dd6e..4c67c3a 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -1,7 +1,7 @@
Summary: Bluetooth utilities
Name: bluez
-Version: 4.98
-Release: 3%{?dist}
+Version: 4.99
+Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.bluez.org/
@@ -22,8 +22,6 @@ Patch5: 0001-Add-sixaxis-cable-pairing-plugin.patch
Patch6: 0001-systemd-install-systemd-unit-files.patch
Patch7: sbc_mmx.patch
-# Bug #791292
-Patch8: cplusplus_void_cast.patch
BuildRequires: flex
BuildRequires: dbus-devel >= 0.90
@@ -149,7 +147,6 @@ and mouse.
%patch5 -p1 -b .cable-pairing
%patch6 -p1 -b .systemd
%patch7 -p1 -b .mmx
-%patch8 -p1 -b .cplusplus
%build
libtoolize -f -c
@@ -314,6 +311,9 @@ fi
%exclude /usr/lib/udev/rules.d/97-bluetooth-hid2hci.rules
%changelog
+* Tue Mar 06 2012 Bastien Nocera <bnocera at redhat.com> 4.99-1
+- Update to 4.99
+
* Tue Feb 28 2012 Petr Pisar <ppisar at redhat.com> - 4.98-3
- Make headers compilable with g++ 4.7 (bug #791292)
diff --git a/sources b/sources
index 86cd644..42db06c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-362864b716950baa04797de735fc237b bluez-4.98.tar.gz
+570aa10692ed890aa0a4297b37824912 bluez-4.99.tar.gz
More information about the scm-commits
mailing list