rpms/bluez-gnome/devel 0001-Fix-PS3-BD-remote-pairing.patch, NONE, 1.1 bluez-gnome.spec, 1.64, 1.65

Bastien Nocera hadess at fedoraproject.org
Fri Oct 10 09:15:51 UTC 2008


Author: hadess

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

Modified Files:
	bluez-gnome.spec 
Added Files:
	0001-Fix-PS3-BD-remote-pairing.patch 
Log Message:
* Fri Oct 10 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-2
- Add patch to make the PS3 BD remote work


0001-Fix-PS3-BD-remote-pairing.patch:

--- NEW FILE 0001-Fix-PS3-BD-remote-pairing.patch ---
>From dd1c0184849b12bbda466a2f6bef3d5ff9a1b825 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Fri, 10 Oct 2008 01:12:18 +0100
Subject: [PATCH] Fix PS3 BD remote "pairing"

The PS3 BD remote doesn't really want to be paired, CreateDevice on
it will be enough to get the it connected and working.
---
 wizard/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/wizard/main.c b/wizard/main.c
index cf731e7..ef61f90 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -208,6 +208,10 @@ static void prepare_callback(GtkWidget *assistant,
 		if (target_type == BLUETOOTH_TYPE_MOUSE)
 			path = NULL;
 
+		/* PS3 BD Remote */
+		if (g_str_equal(target_name, "BD Remote Control") == TRUE)
+			path = NULL;
+
 		bluetooth_client_create_device(client, target_address,
 					path, create_callback, assistant);
 	}
-- 
1.6.0.1



Index: bluez-gnome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-gnome/devel/bluez-gnome.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- bluez-gnome.spec	4 Oct 2008 22:44:05 -0000	1.64
+++ bluez-gnome.spec	10 Oct 2008 09:15:21 -0000	1.65
@@ -1,6 +1,6 @@
 Name:		bluez-gnome
 Version:	1.8
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Bluetooth pairing and control applet
 
 Group:		Applications/System
@@ -9,6 +9,8 @@
 Source0:	http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
 
 Patch0:		bluetooth-sendto-ods-svn.patch
+# http://thread.gmane.org/gmane.linux.bluez.kernel/535
+Patch1:		0001-Fix-PS3-BD-remote-pairing.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -47,6 +49,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .ods-svn
+%patch1 -p1 -b .ps3-bd
 
 %build
 %configure --disable-mime-update --disable-desktop-update --disable-icon-update
@@ -138,6 +141,9 @@
 %{_mandir}/man1/bluetooth-analyzer.1.gz
 
 %changelog
+* Fri Oct 10 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-2
+- Add patch to make the PS3 BD remote work
+
 * Sat Oct 04 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-1
 - Update to 1.8 and update obex-data-server patch
 




More information about the scm-commits mailing list