rpms/bluez-gnome/devel bluez-apple-wireless-kbd.patch, NONE, 1.1 bluez-gnome.spec, 1.67, 1.68

Bastien Nocera hadess at fedoraproject.org
Mon Oct 20 20:06:14 UTC 2008


Author: hadess

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

Modified Files:
	bluez-gnome.spec 
Added Files:
	bluez-apple-wireless-kbd.patch 
Log Message:
* Mon Oct 20 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-6
- Add missing patch


bluez-apple-wireless-kbd.patch:

--- NEW FILE bluez-apple-wireless-kbd.patch ---
diff --git a/wizard/main.c b/wizard/main.c
index 0854913..0340063 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -62,9 +62,10 @@ static gboolean pincode_callback(DBusGMethodInvocation *context,
 	const char *pincode = target_pincode;
 	gchar *text;
 
-	/* Apple Wireless and Mighty Mouse */
-	if (g_str_has_prefix(target_address, "00:0A:95:") == TRUE ||
-			g_str_has_prefix(target_address, "00:14:51:") == TRUE)
+	/* Apple Wireless and Mighty Mouse, and just the mice */
+	if ((g_str_has_prefix(target_address, "00:0A:95:") == TRUE ||
+			g_str_has_prefix(target_address, "00:14:51:") == TRUE) &&
+	    target_type == BLUETOOTH_TYPE_MOUSE)
 		pincode = "0000";
 
 	/* Most headsets are using 0000 as pincode */


Index: bluez-gnome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-gnome/devel/bluez-gnome.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- bluez-gnome.spec	16 Oct 2008 19:29:06 -0000	1.67
+++ bluez-gnome.spec	20 Oct 2008 20:05:43 -0000	1.68
@@ -1,6 +1,6 @@
 Name:		bluez-gnome
 Version:	1.8
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	Bluetooth pairing and control applet
 
 Group:		Applications/System
@@ -155,6 +155,9 @@
 %{_mandir}/man1/bluetooth-analyzer.1.gz
 
 %changelog
+* Mon Oct 20 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-6
+- Add missing patch
+
 * Thu Oct 16 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-5
 - Fix potential crasher in the wizard
 




More information about the scm-commits mailing list