Modify systemd dependency 00/42300/3 accepted/tizen/mobile/20150625.112902 submit/tizen_mobile/20150625.105644
authorjunkyu.han <junkyu.han@samsung.com>
Thu, 25 Jun 2015 10:37:15 +0000 (19:37 +0900)
committerjunkyu.han <junkyu.han@samsung.com>
Thu, 25 Jun 2015 10:55:05 +0000 (19:55 +0900)
Change-Id: Idbeec328356102a4cb88872a513be2b8a29f7c1a

packaging/boot-animation.path [new file with mode: 0644]
packaging/boot-animation.service
packaging/boot-animation.spec

diff --git a/packaging/boot-animation.path b/packaging/boot-animation.path
new file mode 100644 (file)
index 0000000..919fc63
--- /dev/null
@@ -0,0 +1,5 @@
+[Unit]
+Description=This path will tell you that boot-animation is ready to launch
+
+[Path]
+PathExists=/run/.wm_ready
index d0a334e..34e65c6 100644 (file)
@@ -6,6 +6,17 @@ ConditionPathExists=!/tmp/restart
 ConditionKernelCommandLine=|!bootmode=silent
 
 [Service]
+Environment=ECORE_EVAS_ENGINE=wayland_egl
+Environment=ECORE_IMF_INPUT_PANEL_ENABLED=1
+Environment=ECORE_IMF_MODULE=isf
+Environment=EFL_WAYLAND_USE_XDG_SHELL=defined
+Environment=ELM_ACCEL=gl
+Environment=ELM_DISPLAY=wl
+Environment=ELM_ENGINE=wayland_egl
+Environment=ELM_PROFILE=mobile
+Environment=ELM_SCALE=4.0
+Environment=WAYLAND_DISPLAY=wayland-0
+Environment=XDG_RUNTIME_DIR=/tmp
 Type=oneshot
 Nice=-20
 ExecStart=/usr/bin/boot-animation --start
index c5bb584..0185335 100644 (file)
@@ -20,16 +20,15 @@ Source1: boot-animation.service
 Source2: shutdown-animation.service
 Source3: silent-animation.service
 Source4: late-tizen-system.service
+Source5: boot-animation.path
 License: Apache
 Group: Samsung/Application
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires: cmake
 BuildRequires: edje, edje-bin, embryo, embryo-bin
 BuildRequires: pkgconfig(ecore)
-#BuildRequires: pkgconfig(x11)
 BuildRequires: pkgconfig(libexif)
 BuildRequires: pkgconfig(elementary)
-#BuildRequires: pkgconfig(utilX)
 BuildRequires: pkgconfig(vconf)
 BuildRequires: pkgconfig(mm-bootsound)
 BuildRequires: pkgconfig(capi-appfw-preference)
@@ -62,16 +61,16 @@ mkdir -p %{buildroot}/usr/share/license
 cp -f LICENSE %{buildroot}/usr/share/license/%{name}
 %make_install
 
-mkdir -p %{buildroot}%{_libdir}/systemd/system/tizen-system.target.wants
-install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/boot-animation.service
-ln -s ../boot-animation.service %{buildroot}%{_libdir}/systemd/system/tizen-system.target.wants/
-#mkdir -p %{buildroot}%{_libdir}/systemd/system/shutdown.target.wants
-install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/system/shutdown-animation.service
-#ln -s ../shutdown-animation.service %{buildroot}%{_libdir}/systemd/system/shutdown.target.wants/
-install -m 0644 %SOURCE3 %{buildroot}%{_libdir}/systemd/system/silent-animation.service
-ln -s ../silent-animation.service %{buildroot}%{_libdir}/systemd/system/tizen-system.target.wants/
-install -m 0644 %SOURCE4 %{buildroot}%{_libdir}/systemd/system/late-tizen-system.service
-ln -s ../late-tizen-system.service %{buildroot}%{_libdir}/systemd/system/tizen-system.target.wants/
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/system/boot-animation.service
+ln -s ../boot-animation.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/
+install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/system/shutdown-animation.service
+install -m 0644 %SOURCE3 %{buildroot}/usr/lib/systemd/system/silent-animation.service
+ln -s ../silent-animation.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/
+install -m 0644 %SOURCE4 %{buildroot}/usr/lib/systemd/system/late-tizen-system.service
+ln -s ../late-tizen-system.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/
+install -m 0644 %SOURCE5 %{buildroot}/usr/lib/systemd/system/boot-animation.path
+ln -s ../boot-animation.path %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/
 
 %clean
 make clean
@@ -95,18 +94,15 @@ make clean
 /usr/share/keysound/poweron.wav
 %endif
 %if %{?ARCH} == emulator
-#/usr/share/edje/emul/1X1_poweron.edj
-#/usr/share/edje/emul/1X1_poweroff.edj
-#/usr/share/edje/emul/3X4_poweron.edj
-#/usr/share/edje/emul/3X4_poweroff.edj
 %endif
 /usr/share/license/%{name}
 %{_bindir}/boot-animation
-%{_libdir}/systemd/system/boot-animation.service
-%{_libdir}/systemd/system/tizen-system.target.wants/boot-animation.service
-%{_libdir}/systemd/system/shutdown-animation.service
-%{_libdir}/systemd/system/silent-animation.service
-%{_libdir}/systemd/system/tizen-system.target.wants/silent-animation.service
-#%{_libdir}/systemd/system/shutdown.target.wants/shutdown-animation.service
-%{_libdir}/systemd/system/late-tizen-system.service
-%{_libdir}/systemd/system/tizen-system.target.wants/late-tizen-system.service
+/usr/lib/systemd/system/boot-animation.service
+/usr/lib/systemd/system/multi-user.target.wants/boot-animation.service
+/usr/lib/systemd/system/shutdown-animation.service
+/usr/lib/systemd/system/silent-animation.service
+/usr/lib/systemd/system/multi-user.target.wants/silent-animation.service
+/usr/lib/systemd/system/late-tizen-system.service
+/usr/lib/systemd/system/multi-user.target.wants/late-tizen-system.service
+/usr/lib/systemd/system/boot-animation.path
+/usr/lib/systemd/system/multi-user.target.wants/boot-animation.path