Modified scim.service file to fix build error in 64 bits 54/34754/1
authorWonkeun Oh <wonkeun.oh@samsung.com>
Mon, 2 Feb 2015 08:40:08 +0000 (17:40 +0900)
committerWonkeun Oh <wonkeun.oh@samsung.com>
Mon, 2 Feb 2015 11:52:29 +0000 (20:52 +0900)
Change-Id: I1d4d4823d3e9da9b69de8f9fb7e1e92f71589d25

Makefile.am
packaging/isf.spec
packaging/scim.service [deleted file]
scim.service

index d543515..9bc30c9 100644 (file)
@@ -57,8 +57,7 @@ pkgconfig_DATA          = isf.pc scim.pc \
                          $(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
index 5de7442..61c6131 100644 (file)
@@ -6,7 +6,6 @@ Release:    1
 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
@@ -124,14 +123,6 @@ mkdir -p %{buildroot}/opt/apps/scim/lib/scim-1.0/1.4.0/Helper
 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
diff --git a/packaging/scim.service b/packaging/scim.service
deleted file mode 100644 (file)
index ad35b89..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[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
index 06f9088..ad35b89 100644 (file)
@@ -1,12 +1,15 @@
 [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