PROJECT = html5UIHomescreen
-VERSION := 0.0.1
+VERSION := 0.0.2
PACKAGE = $(PROJECT)-$(VERSION)
INSTALL_FILES = $(PROJECT).wgt
install:
@echo "Installing Homescreen, stand by..."
mkdir -p $(INSTALL_DIR)/
- mkdir -p ${DESTDIR}/usr/bin
- mkdir -p ${DESTDIR}/usr/lib/systemd/user
- mkdir -p ${DESTDIR}/etc/xdg/weston/
- mkdir -p ${DESTDIR}/usr/lib/systemd/user/weston.target.wants/
- mkdir -p ${DESTDIR}/boot/loader/entries/
- cp $(PROJECT).wgt $(INSTALL_DIR)/
- install -m 755 systemd/modello_launcher.sh ${DESTDIR}/usr/bin
- install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path ${DESTDIR}/usr/lib/systemd/user
- install -m 0644 systemd/Modello_Homescreen.service ${DESTDIR}/usr/lib/systemd/user
- ln -sf systemd/Modello_Homescreen-launchpad-ready.path ${DESTDIR}/usr/lib/systemd/user/weston.target.wants/
- install -m 0644 systemd/weston.ini.new ${DESTDIR}/etc/xdg/weston/
- install -m 0644 systemd/vmlinuz-3.13.3-3.2-x86-ivi.conf.new ${DESTDIR}/boot/loader/entries/
+ install -m 0644 $(PROJECT).wgt $(INSTALL_DIR)/
dist:
tar czf ../$(PACKAGE).tar.bz2 .
+* Mon Apr 21 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140421.221822@b9ca10d
+- Removing weston / kernel changes. They may cause problems with different hardware.
+ User needs to set these manually based on their setup
+
* Mon Apr 21 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140417.163457@7c31faa
- Fix for TIVI-2932 - Modello will now start automatically at boot. It also sets up the
weston.ini file to work with it and disables VGA. Upon deletion of the package all
make wgtPkg
%install
-rm -rf %{buildroot}
-%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/
%post
wrt-installer -i /opt/usr/apps/.preinstallWidgets/html5UIHomescreen.wgt
cp -r /opt/usr/apps/_common/js/services /opt/usr/apps/html5POC05/res/wgt/js/
cp -r /opt/usr/apps/_common/css/* /opt/usr/apps/html5POC05/res/wgt/css/
- if [ ! -f /etc/xdg/weston/weston.ini.orig ] ; then \
- mv /etc/xdg/weston/weston.ini /etc/xdg/weston/weston.ini.orig; \
- fi;
-
- if [ ! -f /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf.orig ] ; then \
- mv /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf.orig; \
- fi;
-
- cp /etc/xdg/weston/weston.ini.new /etc/xdg/weston/weston.ini
- cp /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf.new /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf
-
%postun
wrt-installer -un html5POC05.Homescreen
- rm /etc/xdg/weston/weston.ini
- mv /etc/xdg/weston/weston.ini.orig /etc/xdg/weston/weston.ini
- rm /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf
- mv /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf.orig /boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf
%files
%defattr(-,root,root,-)
/opt/usr/apps/.preinstallWidgets/html5UIHomescreen.wgt
-/usr/lib/systemd/user/Modello_Homescreen.service
-/usr/lib/systemd/user/Modello_Homescreen-launchpad-ready.path
-/usr/bin/modello_launcher.sh
-/etc/xdg/weston/weston.ini.new
-/boot/loader/entries/vmlinuz-3.13.3-3.2-x86-ivi.conf.new
-/usr/lib/systemd/user/weston.target.wants
+%{_libdir}/systemd/user/Modello_Homescreen.service
+%{_libdir}/systemd/user/Modello_Homescreen-launchpad-ready.path
+%{_bindir}/modello_launcher.sh
+%{_libdir}/systemd/user/weston.target.wants