Add a libnotify/gtk popup system to bluetooth-frwk. 25/6125/5 submit/tizen/20130809.082724
authorVictor Hakoun <victor.hakoun@eurogiciel.fr>
Fri, 9 Aug 2013 08:09:51 +0000 (10:09 +0200)
committerVictor Hakoun <victor.hakoun@eurogiciel.fr>
Fri, 9 Aug 2013 08:09:51 +0000 (10:09 +0200)
commit12ceaf09c6ccc9578f8235951d22b4fea1a52cd1
tree232afcd3913a004a015049ebe93ea52fa11469fb
parentd0e5d073a8ef034d59eb57a8c4a639d661090c3d
Add a libnotify/gtk popup system to bluetooth-frwk.

This is helping having Bluetooth popups with no OSP application dependencies (bt-syspopup and osp-launcher) and libnotify/gtk on the patform.

- Add bcond_whith bluetooth_frwk_libnotify in bluetooth-frwk.spec.
- Add requires to bluetooth-tools needed for bt-core/bt_core.c (calls to /usr/etc/bluetooth/bt-*.sh)
- Add compilation directive LIBNOTIFY_SUPPORT.
- Remove  bt-syspopup dependencies with LIBNOTIFY_SUPPORT directive.
- Modify bt-service/bt-service-agent.c in order to use bt-syspopup or libnotify (with compilation directive)
- Add bt-service/bt-popup.c to display libnotify/gtk popups.
- Add errno to bt-service/bt-service-rfcomm-client.c.

https://bugs.tizen.org/jira/browse/TWFD-3

Signed-off-by: Victor Hakoun <victor.hakoun@eurogiciel.fr>
17 files changed:
CMakeLists.txt
bt-api/CMakeLists.txt
bt-api/bt-adapter.c
bt-service/CMakeLists.txt
bt-service/bt-popup.c [new file with mode: 0644]
bt-service/bt-service-adapter.c
bt-service/bt-service-agent.c
bt-service/bt-service-audio.c
bt-service/bt-service-avrcp.c
bt-service/bt-service-device.c
bt-service/bt-service-hid.c
bt-service/bt-service-network.c
bt-service/bt-service-rfcomm-client.c
bt-service/include/bt-popup.h [new file with mode: 0644]
packaging/bluetooth-frwk.changes
packaging/bluetooth-frwk.spec
packaging/bt-icon.png [new file with mode: 0644]