INSTALL(FILES ${CMAKE_SOURCE_DIR}/tts-server.conf DESTINATION /etc/dbus-1/system.d)
## Dbus service ##
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/voice.ttsserver.service DESTINATION ${LIBDIR}/systemd/system)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/voice.ttssrserver.service DESTINATION ${LIBDIR}/systemd/system)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/voice.ttsnotiserver.service DESTINATION ${LIBDIR}/systemd/system)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/voice.ttsinterruptserver.service DESTINATION ${LIBDIR}/systemd/system)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/org.tizen.voice.ttsserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/org.tizen.voice.ttssrserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/org.tizen.voice.ttsnotiserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/org.tizen.voice.ttsinterruptserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttssrserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsnotiserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsinterruptserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
## tts_getengine ##
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.voice.ttsinterruptserver
+Exec=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}-interrupt mode interrupt"
+User=ui_fw
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.voice.ttsnotiserver
+Exec=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}-noti mode noti"
+User=ui_fw
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.voice.ttsserver
+Exec=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}"
+User=ui_fw
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.voice.ttssrserver
+Exec=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}-sr mode sr"
+User=ui_fw
+++ /dev/null
-[D-BUS Service]
-Name=org.tizen.voice.ttsinterruptserver
-Exec=/bin/false
-SystemdService=voice.ttsinterruptserver.service
+++ /dev/null
-[D-BUS Service]
-Name=org.tizen.voice.ttsnotiserver
-Exec=/bin/false
-SystemdService=voice.ttsnotiserver.service
+++ /dev/null
-[D-BUS Service]
-Name=org.tizen.voice.ttsserver
-Exec=/bin/false
-SystemdService=voice.ttsserver.service
+++ /dev/null
-[D-BUS Service]
-Name=org.tizen.voice.ttssrserver
-Exec=/bin/false
-SystemdService=voice.ttssrserver.service
%license LICENSE
%defattr(-,root,root,-)
%{_libdir}/lib*.so
-%{_libdir}/systemd/system/voice.ttsserver.service
-%{_libdir}/systemd/system/voice.ttssrserver.service
-%{_libdir}/systemd/system/voice.ttsnotiserver.service
-%{_libdir}/systemd/system/voice.ttsinterruptserver.service
%{TZ_SYS_RO_SHARE}/voice/tts/1.0/tts-config.xml
%{TZ_SYS_RO_SHARE}/dbus-1/system-services/org.tizen.voice.ttsserver.service
%{TZ_SYS_RO_SHARE}/dbus-1/system-services/org.tizen.voice.ttsnotiserver.service
+++ /dev/null
-[Unit]
-Description=TTS engine interrupt mode
-
-[Service]
-Type=simple
-User=ui_fw
-BusName=org.tizen.voice.ttsinterruptserver
-ExecStart=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}-interrupt mode interrupt"
+++ /dev/null
-[Unit]
-Description=TTS engine notification mode
-
-[Service]
-Type=simple
-User=ui_fw
-BusName=org.tizen.voice.ttsnotiserver
-ExecStart=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}-noti mode noti"
+++ /dev/null
-[Unit]
-Description=TTS engine default mode
-
-[Service]
-Type=simple
-User=ui_fw
-BusName=org.tizen.voice.ttsserver
-ExecStart=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}"
+++ /dev/null
-[Unit]
-Description=TTS engine screen-reader mode
-
-[Service]
-Type=simple
-User=ui_fw
-BusName=org.tizen.voice.ttssrserver
-ExecStart=/bin/sh -c "tts_getengine get system db/voice/tts/engine/default | awk '{print$5}' | xargs -t -i app_launcher -s {}-sr mode sr"