summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-03-12 16:52:37 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-03-12 16:52:37 +0100
commitd3d48fbbf57fb930b6ca47fc5b018679fcbba42f (patch)
treea9d1f7d3d958659938ea9a48df3f71093faa56b8
parent3cfd8c16486e50114189ea2df13b6f83905e509c (diff)
downloadmeta-d3d48fbbf57fb930b6ca47fc5b018679fcbba42f.tar.gz
meta-d3d48fbbf57fb930b6ca47fc5b018679fcbba42f.tar.bz2
meta-d3d48fbbf57fb930b6ca47fc5b018679fcbba42f.zip
added org.tizen.calculator in desktop apps pattern and script
Change-Id: Iee814fbd63f7cdda7d5eaef78caa7034d19903f2 Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--patterns/generic-desktop-applications.yaml1
-rw-r--r--scripts/generic-desktop-applications.post14
2 files changed, 15 insertions, 0 deletions
diff --git a/patterns/generic-desktop-applications.yaml b/patterns/generic-desktop-applications.yaml
index d56cc7d..fc8a1e9 100644
--- a/patterns/generic-desktop-applications.yaml
+++ b/patterns/generic-desktop-applications.yaml
@@ -6,3 +6,4 @@ Packages:
#- econnman
#- bluetooth-agent
- net-config
+- org.tizen.calculator
diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post
index c8f9b50..ecf2e70 100644
--- a/scripts/generic-desktop-applications.post
+++ b/scripts/generic-desktop-applications.post
@@ -1,2 +1,16 @@
############### generic-desktop-applications.post ################
+if [ -f /usr/bin/weston ]; then
+
+ cat >>/etc/xdg/weston/weston.ini <<EOF
+
+## desktop applications ##
+
+[launcher]
+icon=/usr/share/icons/tizen/32x32/calculator.png
+path=/usr/apps/org.tizen.calculator/bin/calculator
+
+EOF
+
+fi
+