endif
if ISF_INSTALL_SYSTEMD_SCRIPT
-SYSTEMD_SCRIPT = scim.service
+SYSTEMD_SCRIPT = scim.service scim.path
endif
# $(libdir) will be /usr/lib64 on x86_64 arch, so hard-coded.
systemduserunitdir = /usr/lib/systemd/user
install-data-hook:
if ISF_INSTALL_SYSTEMD_SCRIPT
$(mkinstalldirs) $(DESTDIR)$(systemduserunitdir)/default.target.wants
- ln -sf ../scim.service $(DESTDIR)$(systemduserunitdir)/default.target.wants/scim.service
+ ln -sf ../scim.path $(DESTDIR)$(systemduserunitdir)/default.target.wants/scim.path
endif
%dir /opt/apps/scim/lib/scim-1.0/1.4.0/SetupUI
%dir /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
%dir /etc/scim/conf
-%{_prefix}/lib/systemd/user/default.target.wants/scim.service
+%{_prefix}/lib/systemd/user/default.target.wants/scim.path
%{_prefix}/lib/systemd/user/scim.service
+%{_prefix}/lib/systemd/user/scim.path
%attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
%{_sysconfdir}/scim/global
%{_sysconfdir}/scim/config
--- /dev/null
+[Unit]
+Description=This path will tell you that isf (scim) daemons are ready to launch
+
+[Path]
+PathExists=/run/.wm_ready
+
[Unit]
Description=Start the input service framework panel
-After=enlightenment.service
-Requires=enlightenment.service
[Service]
-#ExecStart=/usr/bin/scim -d
ExecStart=/usr/bin/isf-wsc-efl
Environment="DISPLAY=:0.0" "HOME=%h" USE_OZONE_WAYLAND_VKB=1 OZONE_WAYLAND_USE_XDG_SHELL='defined'
EnvironmentFile=/run/tizen-system-env