+* Thu Jun 05 2014 brianjjones <brian.j.jones@intel.com> accepted/tizen/ivi/20140526.131006@dabff47
+- Fix for TIVI-3114. Refactor Modello to start at launch with Xwalk
+
* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232610@8b497ad
- Fixes for IVI-3190 - To get things to render normally
make wgtPkg
%install
-%make_install
+ %make_install
+ mkdir -p %{buildroot}%{_bindir}
+ mkdir -p %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
+ install -m 755 systemd/modello_launcher.sh %{buildroot}%{_bindir}
+ install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user
+ install -m 0644 systemd/Modello_Homescreen.service %{buildroot}%{_libdir}/systemd/user
+ ln -sf systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
%files
%defattr(-,root,root,-)
/opt/usr/apps/.preinstallWidgets/Modello_Homescreen.wgt
/opt/usr/apps/_common/icons/Homescreen_icon.png
+%{_libdir}/systemd/user/Modello_Homescreen.service
+%{_libdir}/systemd/user/Modello_Homescreen-launchpad-ready.path
+%{_bindir}/modello_launcher.sh
+%{_libdir}/systemd/user/weston.target.wants
--- /dev/null
+[Unit]
+Description=Modello Homescreen
+Requires=weston.service
+After=weston.service
+
+[Service]
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
+ExecStart=/usr/bin/modello_launcher.sh --user app