summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama.othman@intel.com>2014-01-16 14:02:38 -0800
committerOssama Othman <ossama.othman@intel.com>2014-01-16 14:48:17 -0800
commitf5bf720b463a8f9f5dddb52429913cb6b44f9a86 (patch)
tree7edfb7df5d3f22645a335bcbce95d056d6036f71
parentdc25cfe49dee05989cf7564d8e88e84ed0d6296f (diff)
downloadico-uxf-homescreen-sample-apps-f5bf720b463a8f9f5dddb52429913cb6b44f9a86.tar.gz
ico-uxf-homescreen-sample-apps-f5bf720b463a8f9f5dddb52429913cb6b44f9a86.tar.bz2
ico-uxf-homescreen-sample-apps-f5bf720b463a8f9f5dddb52429913cb6b44f9a86.zip
[TIVI-2213] Moved IVI-specific app meta-data from weston package.
Change-Id: I749f87cd9f3e638303ac7a97f20f0e624369ed54 Signed-off-by: Ossama Othman <ossama.othman@intel.com>
-rwxr-xr-xico-app-miscellaneous/browser3
-rw-r--r--ico-app-miscellaneous/browser.pngbin0 -> 36541 bytes
-rw-r--r--ico-app-miscellaneous/browser.xml11
-rw-r--r--ico-app-miscellaneous/terminal.xml11
-rw-r--r--ico-app-miscellaneous/weekeyboard.xml11
-rw-r--r--packaging/ico-uxf-homescreen-sample-apps.spec39
6 files changed, 70 insertions, 5 deletions
diff --git a/ico-app-miscellaneous/browser b/ico-app-miscellaneous/browser
new file mode 100755
index 0000000..1c2bbe8
--- /dev/null
+++ b/ico-app-miscellaneous/browser
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec /usr/bin/MiniBrowser http://www.google.com
diff --git a/ico-app-miscellaneous/browser.png b/ico-app-miscellaneous/browser.png
new file mode 100644
index 0000000..79e4598
--- /dev/null
+++ b/ico-app-miscellaneous/browser.png
Binary files differ
diff --git a/ico-app-miscellaneous/browser.xml b/ico-app-miscellaneous/browser.xml
new file mode 100644
index 0000000..e9bbf30
--- /dev/null
+++ b/ico-app-miscellaneous/browser.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="MiniBrowser" version="0.1.3" install-location="internal-only">
+ <label>MiniBrowser</label>
+ <description>Sample Webkit Browser</description>
+ <ui-application appid="MiniBrowser" exec="/usr/bin/browser" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+ <icon>browser.png</icon>
+ <label>MiniBrowser</label>
+ <label xml:lang="en-gb">MiniBrowser</label>
+ <label xml:lang="en-us">MiniBrowser</label>
+ </ui-application>
+</manifest>
diff --git a/ico-app-miscellaneous/terminal.xml b/ico-app-miscellaneous/terminal.xml
new file mode 100644
index 0000000..00c5561
--- /dev/null
+++ b/ico-app-miscellaneous/terminal.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="terminal" version="0.1.3" install-location="internal-only">
+ <label>terminal</label>
+ <description>weston terminal</description>
+ <ui-application appid="terminal" exec="/usr/bin/weston-terminal" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+ <icon>terminal.png</icon>
+ <label>Terminal</label>
+ <label xml:lang="en-gb">Terminal</label>
+ <label xml:lang="en-us">Terminal</label>
+ </ui-application>
+</manifest>
diff --git a/ico-app-miscellaneous/weekeyboard.xml b/ico-app-miscellaneous/weekeyboard.xml
new file mode 100644
index 0000000..8f894a7
--- /dev/null
+++ b/ico-app-miscellaneous/weekeyboard.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="keyboard" version="0.0.1" install-location="internal-only">
+ <label>keyboard</label>
+ <description>weekeyboard virtual keyboard</description>
+ <ui-application appid="keyboard" exec="/bin/weekeyboard" nodisplay="true" multiple="false" type="capp" taskmanage="false">
+ <icon>terminal.png</icon>
+ <label>Keyboard</label>
+ <label xml:lang="en-gb">Keyboard</label>
+ <label xml:lang="en-us">Keyboard</label>
+ </ui-application>
+</manifest>
diff --git a/packaging/ico-uxf-homescreen-sample-apps.spec b/packaging/ico-uxf-homescreen-sample-apps.spec
index 37427cd..e2e8112 100644
--- a/packaging/ico-uxf-homescreen-sample-apps.spec
+++ b/packaging/ico-uxf-homescreen-sample-apps.spec
@@ -63,6 +63,9 @@ Requires: edbus
Requires: ico-uxf-utilities >= 0.9.04
Requires: ico-vic-amb-plugin >= 0.9.4
+#ico-app-miscellaneous
+Requires: weekeyboard
+
%description
HomeScreen sample application
@@ -79,6 +82,10 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%make_install
+# create tizen package metadata related directories
+mkdir -p %{buildroot}%{_datadir}/packages/
+mkdir -p %{buildroot}%{_datadir}/icons/default/small
+
# configurations(ico-app-soundsample)
%define sound_PREFIX /usr/apps/org.tizen.ico.app-soundsample
@@ -86,12 +93,11 @@ mkdir -p %{buildroot}%{sound_PREFIX}/bin/
mkdir -p %{buildroot}%{sound_PREFIX}/sounds/
mkdir -p %{buildroot}%{sound_PREFIX}/res/icons/default/small/
mkdir -p %{buildroot}%{sound_PREFIX}/res/images/
-mkdir -p %{buildroot}/usr/share/packages/
install -m 0644 ico-app-soundsample/soundsample_config.txt %{buildroot}%{sound_PREFIX}/res/
install -m 0644 ico-app-soundsample/sound_bg.png %{buildroot}%{sound_PREFIX}/res/images/
install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.png %{buildroot}%{sound_PREFIX}/res/icons/default/small/
install -m 0644 ico-app-soundsample/musicbox.wav %{buildroot}%{sound_PREFIX}/sounds/
-install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.xml %{buildroot}/usr/share/packages/
+install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.xml %{buildroot}%{_datadir}/packages/
# configurations(ico-app-vicsample)
%define vic_PREFIX /usr/apps/org.tizen.ico.app-vicsample
@@ -99,11 +105,23 @@ install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.xml %{buildroo
mkdir -p %{buildroot}%{vic_PREFIX}/bin/
mkdir -p %{buildroot}%{vic_PREFIX}/res/icons/default/small/
mkdir -p %{buildroot}%{vic_PREFIX}/res/images/
-mkdir -p %{buildroot}/usr/share/packages/
install -m 0644 ico-app-vicsample/vicsample_config.txt %{buildroot}%{vic_PREFIX}/res/
install -m 0644 ico-app-vicsample/vicinfo_bg.png %{buildroot}%{vic_PREFIX}/res/images/
install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.png %{buildroot}%{vic_PREFIX}/res/icons/default/small/
-install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.xml %{buildroot}/usr/share/packages/
+install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.xml %{buildroot}%{_datadir}/packages/
+
+# configurations(ico-app-miscellaneous)
+# install tizen package metadata for weston-terminal
+install -m 0644 ico-app-miscellaneous/terminal.xml %{buildroot}%{_datadir}/packages/
+
+# install browser package metadata for MiniBrowser
+mkdir -p %{buildroot}%{_bindir}
+install -m 0644 ico-app-miscellaneous/browser.xml %{buildroot}%{_datadir}/packages/
+install -m 0644 ico-app-miscellaneous/browser.png %{buildroot}%{_datadir}/icons/default/small/
+install -m 0755 ico-app-miscellaneous/browser %{buildroot}%{_bindir}
+
+# install tizen package metadata for weekeyboard
+install -m 0644 ico-app-miscellaneous/weekeyboard.xml %{buildroot}%{_datadir}/packages/
%files
%manifest %{name}.manifest
@@ -114,7 +132,7 @@ install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.xml %{buildroot}/u
%{sound_PREFIX}/res/images/sound_bg.png
%{sound_PREFIX}/res/icons/default/small/org.tizen.ico.app-soundsample.png
%{sound_PREFIX}/sounds/musicbox.wav
-/usr/share/packages/org.tizen.ico.app-soundsample.xml
+%{_datadir}/packages/org.tizen.ico.app-soundsample.xml
# files(ico-app-vicsample)
%{vic_PREFIX}/bin/ico-app-vicsample
@@ -123,8 +141,18 @@ install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.xml %{buildroot}/u
%{vic_PREFIX}/res/icons/default/small/org.tizen.ico.app-vicsample.png
/usr/share/packages/org.tizen.ico.app-vicsample.xml
+# files(ico-app-miscellaneous)
+%{_bindir}/browser
+%{_datadir}/packages/browser.xml
+%{_datadir}/packages/terminal.xml
+%{_datadir}/packages/weekeyboard.xml
+%{_datadir}/icons/default/small/browser.png
+
%post
/sbin/ldconfig
+# This icon exists in main weston package so we don't package it in.
+# Create a symbolic link to it instead.
+ln -s %{_datadir}/weston/terminal.png %{_datadir}/icons/default/small/
# init db
/usr/bin/pkg_initdb
/usr/bin/ail_initdb
@@ -136,3 +164,4 @@ rm -f /usr/share/applications/org.tizen.ico.app-vicsample.desktop
# init db
/usr/bin/pkg_initdb
/usr/bin/ail_initdb
+rm -f %{_datadir}/icons/default/small/terminal.png