From e5fa699e6c1fb5bf59978eef78ed50202eba7fc0 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Fri, 22 Dec 2017 10:13:01 +0000 Subject: Add example for Video/WebBrowser Add example to create widget for imcoming new apps: Video and WebBrowser. This patch is for testing refactoring HomeScreen icon handling. Change-Id: I9e95063006704bbc46ba32cc6dcf1c9644a8aec2 Signed-off-by: Tadao Tanikawa --- package/webbrowser/bin/runxdg | 2 + package/webbrowser/config.xml | 16 ++++ package/webbrowser/icon.svg | 165 +++++++++++++++++++++++++++++++++++++++++ package/webbrowser/runxdg.toml | 22 ++++++ 4 files changed, 205 insertions(+) create mode 100755 package/webbrowser/bin/runxdg create mode 100644 package/webbrowser/config.xml create mode 100644 package/webbrowser/icon.svg create mode 100644 package/webbrowser/runxdg.toml (limited to 'package/webbrowser') diff --git a/package/webbrowser/bin/runxdg b/package/webbrowser/bin/runxdg new file mode 100755 index 0000000..dac903c --- /dev/null +++ b/package/webbrowser/bin/runxdg @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/runxdg $@ diff --git a/package/webbrowser/config.xml b/package/webbrowser/config.xml new file mode 100644 index 0000000..68cab15 --- /dev/null +++ b/package/webbrowser/config.xml @@ -0,0 +1,16 @@ + + + WebBrowser + + + Web Browser (Chromium) + IoT.bzh + MIT + + + + + + + + diff --git a/package/webbrowser/icon.svg b/package/webbrowser/icon.svg new file mode 100644 index 0000000..09f34c9 --- /dev/null +++ b/package/webbrowser/icon.svg @@ -0,0 +1,165 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/package/webbrowser/runxdg.toml b/package/webbrowser/runxdg.toml new file mode 100644 index 0000000..8ec2325 --- /dev/null +++ b/package/webbrowser/runxdg.toml @@ -0,0 +1,22 @@ +[application] +# role: identifier for WindowManager (used in layers.json) +# e.g. role = "WebBrowser" +role = "WebBrowser" + +# launch by "POSIX"(fork/exec), "AFM_DBUS"(afm via dbus), "AFM_WEBSOCKET"(afm via websockt) +method = "POSIX" + +# path: path to the executable +# e.g. +# path = "/usr/bin/chromium" +path = "/usr/bin/weston-simple-egl" + +# params: arguments of the excecutable +# e.g. +# params = [ +# "--mus", +# "--no-sandbox", +# '--window-size="1080,1488"', +# "--ozone-platform=wayland", +# "" +# ] -- cgit 1.2.3-korg