From 54346ef22702aa41531aaa0e6f662cc91fce4905 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Tue, 1 Mar 2022 17:34:33 +0100 Subject: meta-agl-demo: use HTML5 homescreen+background+launcher in HTML5 demo Adapt to use again html5-homescreen and html5-background: * Added html5-background and html5-homescreen. * Now only html5-homescreen is launched from systemd, while html5-launcher and html5-background are launched from html5-homescreen logic. * Use landscape weston configuration as expected in HTML5 demo. * Pass --agl-shell-appid=homescreen to WebAppMgr script so it knows which application implements the UI of agl_shell wayland protocol. chromium: bc1410d..fa99cf3344 fa99cf3344 [op][agl][wayland] Activate applications when requested from applaunchd ab1a4cf05d [op][agl][injection] AGL D-Bus implementation of PAL appservice e5f6143e55 [op][agl][injection] Add application service injection wam: b0c1e46..8dd3f17 8dd3f17 [op][agl][wayland] Remove unused role code. defc5af [op][agl][wayland] Fix: do not ignore Panel shell surface type. 6683b08 [op][agl][wayland] Set AGL application ID in all cases 0bb9814 [op][agl][wayland] Properly adapt dimensions for web apps using panel 9af0d23 [op][agl][wayland] Properly pass surface size, type and edge to chromium e6df86b [op][agl][injection] Declare in web app XML the required injections Bug-AGL: SPEC-4250 Change-Id: Ie1b1181f3a67ea2ada1912db53e360178a4cf443 Signed-off-by: Jose Dapena Paz --- recipes-demo/html5-homescreen/files/homescreen.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-demo/html5-homescreen/files/homescreen.service (limited to 'recipes-demo/html5-homescreen/files') diff --git a/recipes-demo/html5-homescreen/files/homescreen.service b/recipes-demo/html5-homescreen/files/homescreen.service new file mode 100644 index 00000000..20ed2ee1 --- /dev/null +++ b/recipes-demo/html5-homescreen/files/homescreen.service @@ -0,0 +1,15 @@ +[Unit] +Description=AGL Homescreen +Requires=WebAppMgr.service dbus.service +After=WebAppMgr.service dbus.service + +[Service] +Type=simple +Environment=AFM_ID=homescreen +Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-homescreen/ +ExecStartPre=sleep 1 +ExecStart=/usr/bin/WebAppMgr +Restart=on-failure + +[Install] +WantedBy=agl-session.target -- cgit 1.2.3-korg