Start scim instead of isf-panel-efl
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 29 Nov 2012 14:08:01 +0000 (15:08 +0100)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 29 Nov 2012 14:45:41 +0000 (15:45 +0100)
Scim will launch isf-panel-efl automatically.

Changes for the service file provided by Kn-Hoon Baik <knhoon.baik@samsung.com>

Change-Id: Ie7c5ab8f51f376de247d948e3149f0f6fb7553dd
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
packaging/isf-panel.service [deleted file]
packaging/isf.spec
packaging/scim.service [new file with mode: 0644]

diff --git a/packaging/isf-panel.service b/packaging/isf-panel.service
deleted file mode 100644 (file)
index 0a7fde6..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Start the input service framework panel
-After=starter.service
-
-[Service]
-ExecStart=/usr/bin/isf-panel-efl
-Nice=5
-OOMScoreAdjust=-100
-Restart=always
-RestartSec=2
-
-[Install]
-WantedBy=core-efl.target
index 7a94a9f850300b504a495679d3e1b633552b950e..d339fc93314115312b5fb988da175b699d89d765 100755 (executable)
@@ -60,7 +60,7 @@ install -m0644 %{_builddir}/%{buildsubdir}/COPYING %{buildroot}%{_datadir}/licen
 
 install -d %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
 install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/user/
-ln -sf ../isf-panel.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/isf-panel.service
+ln -sf ../scim.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/isf-panel.service
 
 # FIXME: remove initscripts after systemd is in
 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
@@ -85,8 +85,8 @@ mkdir -p /opt/usr/apps/scim/lib/scim-1.0/1.4.0/Helper
 %attr(755,root,root) %{_sysconfdir}/init.d/isf-panel-efl
 %{_sysconfdir}/rc.d/rc3.d/S47isf-panel-efl
 %{_sysconfdir}/rc.d/rc4.d/S81isf-panel-efl
-%{_libdir}/systemd/user/core-efl.target.wants/isf-panel.service
-%{_libdir}/systemd/user/isf-panel.service
+%{_libdir}/systemd/user/core-efl.target.wants/scim.service
+%{_libdir}/systemd/user/scim.service
 %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh
 %{_sysconfdir}/scim/global
 %{_sysconfdir}/scim/config
diff --git a/packaging/scim.service b/packaging/scim.service
new file mode 100644 (file)
index 0000000..2db6f16
--- /dev/null
@@ -0,0 +1,13 @@
+[Unit]
+Description=Start the input service framework panel
+After=e17.service
+
+[Service]
+ExecStart=/usr/bin/scim -d
+Nice=5
+OOMScoreAdjust=-100
+Restart=always
+RestartSec=2
+
+[Install]
+WantedBy=core-efl.target