$(GTK_UTILS_PKGCONFIG)
-# $(libdir) will be /usr/lib64 on x86_64 arch, so hard-coded.
-systemduserunitdir = /usr/lib/systemd/system
+systemduserunitdir = $(libdir)/systemd/system
systemduserunit_DATA = scim.service
ACLOCAL_AMFLAGS = -I ism/m4
Group: Graphics & UI Framework/Input
License: LGPL-2.1
Source0: %{name}-%{version}.tar.gz
-Source1: scim.service
Source1001: isf.manifest
BuildRequires: edje-bin
BuildRequires: embryo-bin
mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/SetupUI
mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
-%if %{with wayland}
-%else
-install -d %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
-install -d %{buildroot}%{_libdir}/systemd/system
-install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
-ln -sf ../../system/scim.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/scim.service
-%endif
-
%find_lang scim
cat scim.lang > isf.lang
+++ /dev/null
-[Unit]
-Description=Start the input service framework panel
-After=enlightenment.service
-Requires=enlightenment.service
-
-[Service]
-ExecStart=/usr/bin/scim -d
-Environment="DISPLAY=:0.0" "HOME=%h"
-Nice=5
-OOMScoreAdjust=-100
-Restart=always
-RestartSec=2
-
-[Install]
-WantedBy=graphical.target
[Unit]
Description=Start the input service framework panel
-DefaultDependencies=no
-After=local-fs.target xorg.service e17.service wm_ready.service
+After=enlightenment.service
+Requires=enlightenment.service
[Service]
ExecStart=/usr/bin/scim -d
+Environment="DISPLAY=:0.0" "HOME=%h"
+Nice=5
+OOMScoreAdjust=-100
Restart=always
RestartSec=2
[Install]
-WantedBy=core-efl.target
+WantedBy=graphical.target