From: Jo?o Paulo Rechi Vita <jprvita@xxxxxxxxxxxxx> This series reverts the previous support for BlueZ 5, renames the "bluetooth" portion of the old modules name for "bluez4", creates a new set of modules for BlueZ 5 supporting A2DP sink and source roles, and provides configuration options to independently enable/disable each modules set during build. The transport acquire/release operations have been reworked to provide a way to implement this operations in transport backends out of the bluez5 modules core. Jo?o Paulo Rechi Vita (60): Revert "bluetooth: Support transport auto-release" Revert "bluetooth: Update to new BlueZ 5 transport acquire/release API" Revert "bluetooth: Support media transport's State property" Revert "bluetooth: Parse media transport's properties" Revert "bluetooth: Support Properties.PropertiesChanged signal" Revert "bluetooth: Support ObjectManager interface add/remove" Revert "bluetooth: BlueZ 5 interface rename to org.bluez.MediaTransport1" Revert "bluetooth: BlueZ 5 interface rename to org.bluez.Media1" Revert "bluetooth: BlueZ 5 interface rename to org.bluez.MediaEndpoint1" Revert "bluetooth: Fix error checking style" Revert "bluetooth: Parse the tree returned by ObjectManager" Revert "bluetooth: Detect BlueZ 5" bluetooth: Update modules description and copyright bluetooth: Rename bluetooth modules to BlueZ 4 bluetooth: Rename shared struct to make it BlueZ 4 specific bluetooth: Name BlueZ 4 symbols accordingly bluetooth: Register BlueZ 4 endpoints in a separate object path bluetooth: Prefix BlueZ 4 card profiles enum with PA_BLUEZ4_ build: Make the build of bluetooth modules BlueZ 4 specific build: Add support for enabling/disabling BlueZ 5 support bluetooth: Create stub for module-bluez5-discover bluetooth: Create pa_bluetooth_discovery for BlueZ 5 bluetooth: Track org.bluez for BlueZ 5 bluetooth: Create infrastrucure for bluetooth hooks bluetooth: Create pa_bluetooth_device for BlueZ 5 support bluetooth: Remove all devices when org.bluez goes away bluetooth: Create pa_bluetooth_transport for BlueZ 5 support bluetooth: Register MediaEndpoint1 objects with D-Bus bluetooth: Check if any transport is connected bluetooth: Implement org.bluez.MediaEndpoint1.SetConfiguration() bluetooth: Implement org.bluez.MediaEndpoint1.SelectConfiguration() bluetooth: Implement org.bluez.MediaEndpoint1.ClearConfiguration() bluetooth: Add utility function to send D-Bus messages with reply bluetooth: Get managed objects bluetooth: Handle InterfacesAdded and InterfacesRemoved bluetooth: Parse BlueZ 5 D-Bus interfaces bluetooth: Parse BlueZ 5 adapter properties bluetooth: Register endpoints with BlueZ 5 adapter bluetooth: Parse BlueZ 5 device properties bluetooth: Handle PropertiesChanged for org.bluez.Device1 bluetooth: Handle PropertiesChanged for org.bluez.MediaTransport1 bluetooth: Track devices in module-bluez5-discover bluetooth: Create module-bluez5-device bluetooth: Get BlueZ 5 device object bluetooth: Unload module-bluez5-device on device's disconnection bluetooth: Create BlueZ 5 card bluetooth: Create BlueZ 5 card ports bluetooth: Create BlueZ 5 card profile for each audio UUID bluetooth: Initialize profiles for BlueZ 5 cards bluetooth: Create sink for BlueZ 5 cards bluetooth: Create source for BlueZ 5 cards bluetooth: Start / stop I/O thread for BlueZ 5 cards bluetooth: Set card profile for BlueZ 5 cards bluetooth: Create I/O thread function for BlueZ 5 cards bluetooth: Process sink messages for BlueZ 5 cards bluetooth: Process source messages for BlueZ 5 cards bluetooth: Handle changes to BlueZ 5 transports state bluetooth: Implement get_n_used() for module-bluez5-device bluetooth: Fail to load driver is discovery module is not loaded bluetooth: Revive module-bluetooth-discover configure.ac | 43 +- src/Makefile.am | 96 +- src/modules/bluetooth/bluetooth-util.c | 2279 ------------------ src/modules/bluetooth/bluetooth-util.h | 178 -- src/modules/bluetooth/bluez4-util.c | 1905 +++++++++++++++ src/modules/bluetooth/bluez4-util.h | 178 ++ src/modules/bluetooth/bluez5-util.c | 1536 ++++++++++++ src/modules/bluetooth/bluez5-util.h | 107 + src/modules/bluetooth/module-bluetooth-device.c | 2617 -------------------- src/modules/bluetooth/module-bluetooth-discover.c | 173 +- src/modules/bluetooth/module-bluez4-device.c | 2623 +++++++++++++++++++++ src/modules/bluetooth/module-bluez4-discover.c | 194 ++ src/modules/bluetooth/module-bluez5-device.c | 1900 +++++++++++++++ src/modules/bluetooth/module-bluez5-discover.c | 128 + 14 files changed, 8711 insertions(+), 5246 deletions(-) delete mode 100644 src/modules/bluetooth/bluetooth-util.c delete mode 100644 src/modules/bluetooth/bluetooth-util.h create mode 100644 src/modules/bluetooth/bluez4-util.c create mode 100644 src/modules/bluetooth/bluez4-util.h create mode 100644 src/modules/bluetooth/bluez5-util.c create mode 100644 src/modules/bluetooth/bluez5-util.h delete mode 100644 src/modules/bluetooth/module-bluetooth-device.c create mode 100644 src/modules/bluetooth/module-bluez4-device.c create mode 100644 src/modules/bluetooth/module-bluez4-discover.c create mode 100644 src/modules/bluetooth/module-bluez5-device.c create mode 100644 src/modules/bluetooth/module-bluez5-discover.c -- 1.7.11.7