summaryrefslogtreecommitdiffstats
path: root/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
AgeCommit message (Collapse)AuthorFilesLines
2024-02-18Remove virtual/webruntime RPROVIDESScott Murray1-1/+1
At this point it is not really the case that WAM can be switched out for another web runtime, so just remove the virtual/webruntime RPROVIDES rather than rework it. Bug-AGL: SPEC-5067 Change-Id: I0b55f483352c93e50e36d25d6237abe3598552b4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29624 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray1-1/+1
Remove the use of systemd user session to align with how upstream runs Weston, and to allow using all systemd sandboxing features with the compositor and homescreen, launcher, etc. applications. The changes for this touched enough packagegroups and images that further rework was done to address some of the cleanup described in SPEC-4813, see below for details. Changes: - Rework systemd units and recipes of affected applications. - Rework images to pull in image .bb files instead of .inc files. - Pull in the new agl-image-compositor as a base image where appropriate. - Update weston-terminal-conf recipe to use new split out weston-terminal package. - Use new agl-crosssdk bbclass where appropriate. - Pull some local common cross-SDK additions into a new agl-ivi-crosssdk.inc include file and use as appropriate. Note that this does have a side effect of likely correcting the contents of agl-image-ivi-crosssdk for some recent additions. - Remove flutter-gallery bbappend that turned it into an app, as we are not using it in images, have other examples now, and it seems better to not affect the contents of agl-image-flutter. - Remove unused agl-image-graphical-html5. If a downstream user does desire an image with Chromium+WAM without applications, restoring it can be considered. - Remove unused agl-image-graphical-qt5-crosssdk. - Remove all packagegroup-agl-profile-* packagegroups, as they were either empty or not providing value at this point. Any future plans for defining profiles can start from a clean sheet. - Added new packagegroup-agl-ivi-multimedia-hardware to hold some rcar3 specific additions (via override) that were previously being appended onto packagegroup-agl-graphical-multimedia even though they are machine-specific and that packagegroup is not. This may be a stopgap solution if the agl-ivi-* packagegroups are reworked further. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I544b1495bed1e2e2412a8e46b7d20d7622ec28c9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-03-31Rework nss-agl-driver-db to be a systemd unit at runtimeJan-Simon Moeller1-0/+4
This avoids the issues seen with access rights changes on /home/agl-driver and will replace https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28587 Bug-AGL: SPEC-4599 Change-Id: If01ffc9623208edd7a7705739465fa8fca764b74 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-20chromium: Do the activation explicitlyRoger Zanoni1-1/+1
Now chromium should use changes from the agl-shell v3 protocol to track app state changes and activate the applications instead of letting the compositor handle it. This change disables default activation by the compositor and lets chromium handle application activation. Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371 that adds the new config file with landscape orientation and disabled default activation. Bug-AGL: SPEC-4647, SPEC-4528 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ifbcb447b153408db01f592818288efbd5c940f67
2022-07-26Add html-examplesJose Dapena Paz1-0/+1
Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Iee0e068aa5fd6f3bf5cb4cab8c5003e109408a8f
2022-07-26html5-jitsi addedJose Dapena Paz1-0/+1
Added Jitsi Meetings demo. Bug-AGL: SPEC-4393 Change-Id: Ide2363c9887aefa4370c7c7ce0007313cca03081 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-07-19html5-aquarium, html5-youtube addedJose Dapena Paz1-0/+2
Added two web demos (WebGL aquarium and Youtube launcher). Bug-AGL: SPEC-4392, SPEC-4248 Change-Id: I3e1e7a098d432d5d1c8de4640780ef05abf0e9f2 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-07-06Rework demo packagegroup and imagesScott Murray1-24/+1
Rework the agl-ivi-demo-platform* images to reduce duplication, and move the additions for the agl-demo-cluster-support and agl-demo-preload features. Changes: - Pull in agl-image-ivi.bb in the crosssdk image rather than duplicating its contents. This means the package additions from the demo features will be reflected in the SDK, which seems more in line with general expectations of how Yocto SDKs work. - New packagegroups are created for the agl-demo-cluster-support and agl-demo-preload features, and they are pulled into the agl-ivi-demo-platform / agl-demo-platform image using features in IMAGE_FEATURES. This avoids changing the contents of various packagegroups based on AGL_FEATURES and seems more futureproof with respect to binary packaging. - ALLOW_EMPTY has been removed in a few packagegroup recipes, as it does not seem to make sense if the packagegroup will never be empty. - The cluster-dashboard-demo-config recipe pulled into the agl-demo-cluster-support packagegroup has been added back, it was accidentally removed in the application framework cleanup. Bug-AGL: SPEC-4424 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Icaa38651a1d29de09bb40576c773e3f93ee87098
2022-06-16packagegroup-agl-demo-platform-html5: remove ondemandnaviJose Dapena Paz1-1/+0
Only use HTML5 applications for HTML5 demo. Change-Id: I8d8ec68172236d842c883b062effdda683e31f53 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-06-16html5-mixer: recover HTML5 mixer demo application.Jose Dapena Paz1-0/+1
Add updated html5-mixer: * Fixes build with new application framework providing audiomixer mock. * Updates NPM dependencies. * Updates recipe for kirkstone. Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Ie0ac5edb0be83a26cf627b962472d7ac7208e1c5
2022-06-16html5-mediaplayer: recover HTML5 mediaplayer demo application.Jose Dapena Paz1-0/+1
Add updated html5-mediaplayer: * Fixes build with new application framework providing mediaplayer mock. * Updates NPM dependencies. * Updates recipe for kirkstone. Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Iabc5944771a0aa7ef09b0464c6c2602f0a31c9ec
2022-06-10html5-settings: recover HTML5 settings application.Jose Dapena Paz1-1/+1
Add updated html5-settings: * Fixes build with new application framework providing network and bluetooth mocks. * Updates NPM dependencies. * Updates recipe for kirkstone. Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I8dad730edd693ed69c0d5387b6e5ef8674356cb0
2022-06-10html5-dashboard: recover HTML5 dashboard demo application.Jose Dapena Paz1-1/+1
Add updated html5-dashboard: * Fixes build with new application framework providing lowcan mock. * Updates NPM dependencies. * Updates recipe for kirkstone. Bug-AGL: SPEC-4248 Change-Id: I5606e194d3009b96050023aae4de2b4736c126aa Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-03-07meta-agl-demo: use HTML5 homescreen+background+launcher in HTML5 demoJose Dapena Paz1-11/+2
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 <jdapena@igalia.com>
2022-03-07Add back HTML5 launcher to HTML5 demoJose Dapena Paz1-5/+2
Add the web-based launcher to the HTML5 demo dropping original launcher. It includes changes to the launcher to match the new navigator.appservice API and JS injection and drops agl-js-api. Bug-AGL: SPEC-4249 Change-Id: I02a68fc81693a56aa19e213e8ee200c0ec4e3f42 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-01Add html5-hvac application.Jose Dapena Paz1-0/+1
Add back the html5-hvac application, adapting installation to the new application framework: - It provides a valid .desktop file. - It does not use the .wgt file, and just deployes to /usr/lib/wam_apps/html5-hvac the application files. Bug-AGL: SPEC-4224 Change-Id: Icee2d6bfdbd69265614581b731a76a6742036720 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-01packagegroup-agl-demo-platform-html5: add default demo Qt UI.Jose Dapena Paz1-0/+31
First step for upgrading WAM to the new application framework is making it work for regular applications, without replacing the default demo launcher based on QT. Bug-AGL: SPEC-4223 Change-Id: I16ae6a9b5b591a6c364d9ce99e3bc6e567ef4d90 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2021-12-07web-runtime: Add wam to agl-demo-platform-html5 imageLorenzo Tilve1-0/+1
Include wam dependency on agl-demo-platform-html5 target. Bug-AGL: SPEC-4121 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I3355a0a96b906131fa1d2e11c4b29d3951879ad9
2021-11-03Prepare master for new framework integrationJan-Simon Möller1-15/+18
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-08-20Convert to new override syntaxScott Murray1-3/+3
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-01-13web-runtime: Bump chromium79 and wam to adress first-frame dection and loggingLorenzo Tilve1-0/+1
Bump the versions of Chromium79 to include a workaround for the webapps launching delay that was introduced in order to address problems happening with first-frame detection. These updates also fix full WAM verbosity to journalctl when defined, and building Chromium with externalsrc, and removes lld and gold. Also iclude explicit dependency chain when building html5 dempo platform to packagegroup-agl-profile-graphical-html5. Bug-AGL: SPEC-3576 Bug-AGL: SPEC-3767 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I34b0001c58522cfc7940d0384809e14e3d999ea8
2021-01-12Update weston-ini-conf package useScott Murray1-0/+1
The rework of the weston-ini-conf recipe in meta-agl new means that there are separate weston-ini-conf and weston-ini-conf-landscape packages for portrait versus landscape mode, so update use in the demo image packagegroups to use the appropriate one explicitly. The previous dependency in packagegroup-agl-graphical-weston has been removed since weston-init now has a dependency on the new "weston-ini" runtime (i.e. explicit RPROVIDES) dependency. Note, however, that explicitly pulling weston-ini-conf or weston-ini-conf-landscape into images is recommended as opposed to relying on PREFERRED_RPROVIDER. Bug-AGL: SPEC-3745 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia37d61c5684a06755d2761850394e5f887f14a4a
2021-01-08web-runtime: Update from chromium68 to chromium79Lorenzo Tilve1-1/+0
This patch contains all the squashed changes needed to bump WAM and Chromium to M79, including all the ported changes from both upstream Chromium, webOSE and and the former chromium 68 version. It includes the needed changes on the recipes, and bumps the versions to the new commits/branches of the Chromium and Wam repositories. The split of the ongoing changes merged is available here: https://github.com/Igalia/meta-agl-html5-dev/commits/chromium79 Bug-AGL: SPEC-3576 Change-Id: Ia0de6f11001189789d4ffbf01ed81929c57bc7c5 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
2020-08-11html5-background: (new) Added recipeAntia Puentes1-0/+1
Bug-AGL: SPEC-3497 Signed-off-by: Antia Puentes <apuentes@igalia.com> Change-Id: Ic70838f19c268b836e364b1d52e77b4e80156e1b
2020-02-07html5-dashboard: create recipe and add to html5 demoLorenzo Tilve1-0/+1
Bug-AGL: SPEC-3151 Change-Id: Iee5fcba63de56f7d326a9015902f63e4d48632bf Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
2020-02-07html5-mediaplayer: create recipe and add to html5 demoLorenzo Tilve1-0/+1
Bug-AGL: SPEC-3152 Change-Id: I70ada4d6cf6da76b03bca7c2d8905f364b8a460f Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
2020-02-07html5-mixer: create recipe and add to html5 demoLorenzo Tilve1-0/+1
Bug-AGL: SPEC-2824 Change-Id: Icc15a48d2a78dfdd57bf60f050ec0b66c714aefa Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
2020-02-07html5-homescreen: create recipe and add to html5 demoLorenzo Tilve1-0/+1
Bug-AGL: SPEC-2401 Change-Id: I6bcc182f856fa56d76152e28a0ee96d74ff7b555 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
2020-02-07html5-settings: create recipe and add to html5 demoLorenzo Tilve1-0/+1
Bug-AGL: SPEC-2823 Change-Id: Ia58ae3d871b1f5119daf60ea08378aba6fc75046 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
2019-12-16html5-hvac: create recipe and add to html5 demoJacobo Aragunde Pérez1-0/+1
Bug-AGL: SPEC-2645 Change-Id: Ie4394528f8e960b5a018097a55942865ea5f4554 Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2019-12-09agl-demo-platform-html5: Create new imageJacobo Aragunde Pérez1-0/+26
Add new image called agl-demo-platform-html5, which contains the web application runtime and HTML demo apps. Currently, only the HTML launcher is available, but more will be published. Bug-AGL: SPEC-2322 Change-Id: I4628d1be18f64b7eaf4a0882a13bd1d680426516 Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2018-06-053rd part of the layer/profile rework [2/2]Jan-Simon Möller1-26/+0
This is the last part of the layer rework series. Notable changes are: - move demo specific recipes to the demo (dlt, web-runtime mocca-usb) - wayland-ivi-extension moved to the meta-agl-demo layer for now. - web-runtime moved here (from appfw layer to allow console-only builds with appfw) - adapted packagegroups and agl-features v2: squashed with commit on sandbox to form single commit (tnx, Scott) v3: inclusion of old packagegroup-agl-image-ivi (TODO: refactor and include in profile packagegroups. Tnx, Stephane) v4: base packagegroup-agl-demo-platform on packagegroup-agl-profile-graphical-qt5 v5: fix MOST_DRIVERS_append (disable due to FTBS) v6: re-add RDEPENDS for virtual/pulseaudio-config Bug-AGL: SPEC-145 Bug-AGL: SPEC-1422 Change-Id: I20bd5b9a957ea54a7ecd08bd4f8b99a32266c9c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-02-21add dependency to imagesRonan1-0/+26
* [SPEC-424] * yocto image should use dependency to facilitate maintenance * yocto image should have its own LICENSE defined Change-Id: Ie7f2e48bab9cc194ce10e7d364e150d2678e64d6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>