GNOME Bugzilla – Bug 738626
bluez: Does not support bluez5 yet
Last modified: 2014-12-11 03:40:23 UTC
Created attachment 288671 [details] [review]
Initial patch for update to (UNTESTED)
The current version of the bluez plugin is based on the MediaTransport interface of bluez4. With the introduction of bluez5, this interface has been replaced by MediaTransport1, which is slightly different.
Attached is a first pass (untested) of a patch to implement this change.
That looks quite simple but probably is not enough. Also if it's that simple we should try to support 4 and 5 with some #ifdefs
Created attachment 292394 [details] [review]
Updated patch for compile-time distinction between bluez4 and 5
Sorry ... forgot to add, this patch has now been tested and appears to work. Still to do: use dbus introspection to make this a run-time determination. However, for most people, this should prove adequate.
Any reason this is targetting 2.X ?
No, but it has only been tested there.
The following fix has been pushed:
a344b99 bluez: support compile-time distinction between bluez4 and bluez5
Created attachment 292506 [details] [review]
bluez: support compile-time distinction between bluez4 and bluez5
Signed-off-by: Nick Stoughton <firstname.lastname@example.org>