From 22c48f79b75bc17ccb70edbbbd1fd725259b77c3 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Fri, 1 Nov 2013 14:33:59 +0800 Subject: [PATCH] Install .service files into dbus system service directory pb_agent and hfp_agent provide system wide dbus services, so install their .service files into dbus system service directory. Bug: https://bugs.tizen.org/jira/browse/PTREL-124 Change-Id: Icf3d67dd033ebed7b8ebacb10542fb20e2f8246b Signed-off-by: Chengwei Yang --- hfp-agent/CMakeLists.txt | 2 +- packaging/bluetooth-agent.spec | 4 ++-- pb-agent/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hfp-agent/CMakeLists.txt b/hfp-agent/CMakeLists.txt index 4c47c31..f442ac2 100644 --- a/hfp-agent/CMakeLists.txt +++ b/hfp-agent/CMakeLists.txt @@ -28,4 +28,4 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_hfp_agent_LDFLAGS}) INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.bluez.hfp_agent.service - DESTINATION share/dbus-1/services) + DESTINATION share/dbus-1/system-services) diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index d0f4cba..ce9bd3d 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -39,6 +39,6 @@ rm -rf %{buildroot} %{_bindir}/bluetooth-map-agent %{_bindir}/bluetooth-pb-agent %{_bindir}/bluetooth-hfp-agent -%{_datadir}/dbus-1/services/org.bluez.pb_agent.service +%{_datadir}/dbus-1/system-services/org.bluez.pb_agent.service %{_datadir}/dbus-1/services/org.bluez.map_agent.service -%{_datadir}/dbus-1/services/org.bluez.hfp_agent.service +%{_datadir}/dbus-1/system-services/org.bluez.hfp_agent.service diff --git a/pb-agent/CMakeLists.txt b/pb-agent/CMakeLists.txt index 2f0b495..fa65204 100644 --- a/pb-agent/CMakeLists.txt +++ b/pb-agent/CMakeLists.txt @@ -27,4 +27,4 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_pb_agent_LDFLAGS}) INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.bluez.pb_agent.service - DESTINATION share/dbus-1/services) + DESTINATION share/dbus-1/system-services) -- 2.7.4