rpms/bluez/devel 0001-Add-sixaxis-cable-pairing-plugin.patch, 1.4, 1.5 bluez.spec, 1.96, 1.97

Bastien Nocera hadess at fedoraproject.org
Wed Sep 16 10:07:27 UTC 2009


Author: hadess

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

Modified Files:
	0001-Add-sixaxis-cable-pairing-plugin.patch bluez.spec 
Log Message:
* Wed Sep 16 2009 Bastien Nocera <bnocera at redhat.com> 4.53-2
- Update cable plugin for gudev changes


0001-Add-sixaxis-cable-pairing-plugin.patch:
 Makefile.am     |    9 +
 acinclude.m4    |   16 ++
 configure.ac    |    1 
 plugins/cable.c |  363 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 388 insertions(+), 1 deletion(-)

Index: 0001-Add-sixaxis-cable-pairing-plugin.patch
===================================================================
RCS file: /cvs/pkgs/rpms/bluez/devel/0001-Add-sixaxis-cable-pairing-plugin.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- 0001-Add-sixaxis-cable-pairing-plugin.patch	1 Sep 2009 16:42:32 -0000	1.4
+++ 0001-Add-sixaxis-cable-pairing-plugin.patch	16 Sep 2009 10:07:26 -0000	1.5
@@ -1,4 +1,4 @@
-From 0f3b73be98d0f933970b87eda3fc6128de3788ab Mon Sep 17 00:00:00 2001
+From 0cb2225079979cc3c85c02a981ebad7742c1ff72 Mon Sep 17 00:00:00 2001
 From: Bastien Nocera <hadess at hadess.net>
 Date: Tue, 1 Sep 2009 17:32:48 +0100
 Subject: [PATCH] Add sixaxis cable-pairing plugin
@@ -10,15 +10,15 @@ When a Sixaxis device is plugged in, eve
 the device is selected, poked around to set the default Bluetooth
 address, and added to the database of the current default adapter.
 ---
- Makefile.am     |   11 ++-
+ Makefile.am     |    9 ++
  acinclude.m4    |   16 +++
  configure.ac    |    1 +
- plugins/cable.c |  361 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
- 4 files changed, 388 insertions(+), 1 deletions(-)
+ plugins/cable.c |  362 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 4 files changed, 388 insertions(+), 0 deletions(-)
  create mode 100644 plugins/cable.c
 
 diff --git a/Makefile.am b/Makefile.am
-index 09eb7ec..cc8381e 100644
+index 09eb7ec..ad6fe25 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -162,6 +162,15 @@ builtin_modules += service
@@ -104,10 +104,10 @@ index 9e5279d..8b17659 100644
  
 diff --git a/plugins/cable.c b/plugins/cable.c
 new file mode 100644
-index 0000000..9179c62
+index 0000000..6e81ba0
 --- /dev/null
 +++ b/plugins/cable.c
-@@ -0,0 +1,361 @@
+@@ -0,0 +1,362 @@
 +/*
 + *
 + *  BlueZ - Bluetooth protocol stack for Linux
@@ -418,13 +418,14 @@ index 0000000..9179c62
 +static gboolean device_event_idle(GUdevDevice *device)
 +{
 +	handle_device_plug(device);
++	g_object_unref (device);
 +	return FALSE;
 +}
 +
-+static void device_event_cb(GUdevClient  *client,
-+			    const char    *action,
-+			    GUdevDevice  *device,
-+			    gpointer       user_data)
++static void uevent_cb(GUdevClient  *client,
++		      const char    *action,
++		      GUdevDevice  *device,
++		      gpointer       user_data)
 +{
 +	if (g_strcmp0(action, "add") == 0) {
 +		/* FIXME:
@@ -450,8 +451,8 @@ index 0000000..9179c62
 +
 +	/* Listen for newly connected devices */
 +	g_signal_connect(G_OBJECT(client),
-+			 "device-event",
-+			 G_CALLBACK(device_event_cb),
++			 "uevent",
++			 G_CALLBACK(uevent_cb),
 +			 NULL);
 +
 +	return 0;


Index: bluez.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez/devel/bluez.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -p -r1.96 -r1.97
--- bluez.spec	10 Sep 2009 19:50:14 -0000	1.96
+++ bluez.spec	16 Sep 2009 10:07:26 -0000	1.97
@@ -1,7 +1,7 @@
 Summary: Bluetooth utilities
 Name: bluez
 Version: 4.53
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Applications/System
 Source: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
@@ -271,6 +271,9 @@ fi
 %config(noreplace) %{_sysconfdir}/sysconfig/pand
 
 %changelog
+* Wed Sep 16 2009 Bastien Nocera <bnocera at redhat.com> 4.53-2
+- Update cable plugin for gudev changes
+
 * Thu Sep 10 2009 Bastien Nocera <bnocera at redhat.com> 4.53-1
 - Update to 4.53
 




More information about the fedora-extras-commits mailing list