aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-wam
AgeCommit message (Collapse)AuthorFilesLines
2024-02-18Remove virtual/webruntime RPROVIDESScott Murray1-3/+0
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>
2024-02-07cef: use vpython3 for commands called by gclientquillback_16.93.0quillback/16.93.016.93.0Roger Zanoni1-3/+3
The probable cause for SPEC-5062 is that chromium's go routines that create virtualenvs expect vpython environment variables to be present, so the creation fails and the scripts could be trying to use the build host python binary. This can cause issues on some places, for example in the codecs lookup that raises an exception when an codec isn't found: https://github.com/pypa/pip/pull/6311/files The exception raised on SPEC-5062 logs is "unknown encoding: utf-16le", because the sysroot pip version expects "utf-16-le" instead. Bug-AGL: SPEC-5062 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I16e817140bf819712a5fbe1b006156db608d43b2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29659 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-01-29Add a reverse proxy to enable grpc-web for webappsRoger Zanoni5-1/+56
This is needed because there's no browser api with enough control over http/2 requests, so we need a proxy that connects to the RPC backend and handle the communication between the app and service. The service is named "databroker-grpc-web-proxy.service" because each proxy instance connects to only one gRPC service, more services will be added to connect to other gRPC services. Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I3b5bf6521dc0683639520626819c6a54be839e53 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29425 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-12-13cef: add dependency on expat-nativeDenys Dmytriyenko1-1/+1
Corrects this build error: | ../../../chromium-118.0.5993.80/third_party/wayland/src/src/scanner.c:51:10: fatal error: 'expat.h' file not found | #include <expat.h> | ^~~~~~~~~ Bug-AGL: SPEC-4976 Change-Id: Ib689f615a9e790aacdcc0b0bc11e1b106127650c Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29519 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-30CEF and icu: fix CEF dependencies and icu packageJan-Simon Moeller1-3/+3
This patchset fixes the html5 app build in CI by adding missing dependenies to CEF but also to extend the icu package with .dat file generation which was turned off upstream in YP poky git 754866f32bfc1e3986199b353f037536f326ae77 . https://git.yoctoproject.org/poky/commit/meta/recipes-support/icu?id=754866f32bfc1e3986199b353f037536f326ae77 Did break node here due to the missing .dat file. v2: add ca-certificates-native and export path to it Bug-AGL: SPEC-4980 Bug-AGL: SPEC-4994 Change-Id: Iec50431c1ee5417653e307dd34cd05b7d7bfa0ff Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29486 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-11-24[cef] Fix cef build for renesasRoger Zanoni1-10/+9
The logic to check if the current toolchain was target or host was wrong and a linker error(for libvk_swiftshader.so) started to happen after 29449 and 29419: aarch64-agl-linux-ld.lld: error: .../clang/14.0.6/lib/linux/libclang_rt.builtins-x86_64.a(clear_cache.c.o) is incompatible with elf64-littleaarch64 The fix makes use of the chromium gn variable created for checking if the current toolchain is a target build. Bug-AGL: SPEC-4976 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ibd6c6ab9c85951a2b8933c7c1c7107c3f94b59ec Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29420 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-23Make CEF the default and deprecate chromiumJan-Simon Moeller6-396/+5
We complete the migration to CEF (Chromium Embedded Framework) by making CEF the default and deprecating the outdated chromium recipe. Bug-AGL: SPEC-4975 Change-Id: I59e3cdedda46ad74947a7b7e8d51dea70ecbd033 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29449 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-23[cef] Stop using cros-toolchainRoger Zanoni3-57/+226
Previous cef and chromium recipes were using chromium's chrome os toolchain as it was the closest to what were needed to build chromium for target devices. However it contains additional settings and logic that may conflict with the cef recipe's compiler settings and change executable paths, so this fix changes to a custom toolchain that can be set according to AGL needs and preserve paths set in the recipe. Bug-AGL: SPEC-4976 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Idcb7f6232b8d9989be5daa7ed83930a8b9f02df3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29419 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-16[cef][wam] Make the recipe work with official chromium release tarballsRoger Zanoni49-3599/+3478
This change drops the chromium mirror repository that was being used for milestone 108 in favor of using the official release tarballs from https://commondatastorage.googleapis.com/chromium-browser-official in an effort to make it easier to upgrade the current chromium milestones (also to improve download and build times). Also, the current milestone is being upgraded from 108 to 118. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Iba4a94ef762d278864114c02bb9e36a308ff5a7a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29417 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-11[cef] Add the xz dependency needed by gclientRoger Zanoni1-1/+1
Bug-AGL: SPEC-4900 Change-Id: Ia3648c9351257f368745c6d0c80f22fb42b861fb Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29184 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-08-16fixup! [cef] Use bundled libwayland instead of the system libRoger Zanoni1-2/+0
When using the in-process-gpu flag, chromium fails to initialize gl and angle with the proper values. Instead, get back to using gpu process. Bug-AGL: SPEC-4871 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I46f6c30ccc7aa41625a353d68e3ebe68f3e8c3aa
2023-08-14[cef] Bump chromium to the latest M108 revisionRoger Zanoni1-1/+1
Bug-AGL: SPEC-4885 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Id445f394a7979c705c5c344ce1f429afb19722d5
2023-08-10[cef] Use bundled libwayland instead of the system libRoger Zanoni1-2/+2
For the M108 chromium milestone it would be possible to use the use_system_libwayland and system_wayland_scanner_path gn args to make the cef recipe use system wayland and wayland-native dependencies, but those option got deprecated[1] in newer milestones and chormium defaults to use the bundled wayland. The more maintainable approach is to use the third party dependency instead of patching chromium build system. [1]: https://chromium-review.googlesource.com/c/chromium/src/+/4030440 Bug-AGL: SPEC-4871 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I7cb22fcfb1943d6765599544069a379088053a2c
2023-07-31[wam][cef] Fix wam user and working directoryRoger Zanoni2-3/+5
The WAM service needs to run with the correct user and proper working directory set to be able to find the nssdb containing the kuksa.val certificates. Bug-AGL: SPEC-4868 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I22fb5281b4f331d671fba79645435e5357bbca3e
2023-07-18[wam][cef] Make it possible to use cef as a backendRoger Zanoni8-152/+3875
This changes enables switching between the chromium and cef backends on wam by passing the agl-cef feature to the agl-setup script. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ib5b4b139789ec8303fef0a210a7e8f2f724d0c00
2023-07-18[wam][cef] Add the CEF recipeRoger Zanoni21-0/+7146
This change makes it possible to build applications that depend on libcef, and also adds a few changes picked from our previous implementation that enables the applications to communicate with the agl-compositor. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I215138b8f5d63da84ada2f8c006f4025f0b3fafb
2023-07-18[wam][cef] Add the depot-tools-wam-native recipeRoger Zanoni1-0/+32
This is needed by the CEF recipe in order to retrieve chromium dependencies. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I4aa73859e3578db92cbc72945ca86c812a12376f
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray2-27/+26
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-04-26chromium: Bump SRCREVRoger Zanoni1-1/+2
This includes changes for restoring gRPC third_party code and replacing the dbus API for gRPC to communicate with applaunchd. Bug-AGL:⋅SPEC-4764 Signed-off-by:⋅Roger⋅Zanoni⋅<rzanoni@igalia.com> Change-Id: I1a5354a3faa4cec567dd06361dc089de3249128f
2023-01-20chromium: bump SRCREVRoger Zanoni1-1/+1
This includes chromium changes to use the added functionality of agl-shell protocol versions 2 and 3 Bug-AGL: SPEC-4649, SPEC-4647 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ia12df48cbb715fca998f2a64d13a9b9791abca89
2022-09-06wam: fix surface type name in application manifestJose Dapena Paz1-1/+1
Renamed appinfo.json field surface_role to be surface_type to be consistent with other parts of the code base. Took the chance to remove types that were not meaningful, and renamed default type (the one used when it is not set) to be default instead of none. Then updated the only applications setting the value to use the new propery. Those are html5-background and html5-homescreen. wam: 8ea41f7..4fbd6e6 4fbd6e6 [op][agl][wayland] Provide only supported AGL shell types html5-background: e91be22..aa7e2a8 aa7e2a8 Rename surface/role in appinfo.json to surface/type. bb4f497 autobuild: Remove autobuild scripts html-homescreen: fc0ffa4..f3cecb6 f3cecb6 Rename surface/role in appinfo.json to surface/type. Bug-AGL: SPEC-4505 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I404717dd5d848220bd5f070b98de56df38a78e20
2022-09-05chromium: fix wayland protocol version checks.Jose Dapena Paz1-1/+1
chromium: 16915e06c4..6296f0af4c 6296f0af4c [op][wayland] Add Wayland protocol version checking Bug-AGL: SPEC-4540 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Ica15034d397bddcef20ff4377c6bd551d7f03b1a
2022-07-31wam: use gRPC for internal IPC.needlefish_13.92.0needlefish/13.92.013.92.0Jose Dapena Paz2-3/+3
Update WAM to use GRPC for internal IPC instead of Unix domain sockets, dropping previous implementation. Update dependencies to use grpc and protobuf. chromium: 9d9fbef68a..9fe715038f 9fe715038f [op][agl][wayland] Drop window surface ID wam: 491dcd1..3cc744f 3cc744f [wam][agl][wayland] Remove surface ID. 12d9778 [wam][agl][ipc] Rename WamSocketLockFile to WamIPCLockFile fc5f7ff [wam][agl][ipc] Remove Unix Domain socket based IPC implementation 92a3356 [wam][agl][ipc] Introduce LaunchParams struct replacing LaunchData 61ce1d0 [wam][agl][ipc] Add gRPC implementation of internal IPC ae51589 [wam][agl] Make IPC pass its parameters instead of storing them Bug-AGL: SPEC-4252 Change-Id: I8edbe1d47a684f73feadfed6cbd944c01b6d2ceb Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-06-14wam: ignore GPU block listJose Dapena Paz1-1/+1
Force GPU acceleration in all platforms even if they are in the block list. Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Ia598f8dd986ff769aed6692c037e03e10e68a5ef
2022-06-13chromium, wam: fix repository branches.Jose Dapena Paz2-2/+2
Though git hashes for OSE 2.16 rebase were added, the branch names are different reflecting the upstream baseline. Bug-AGL: SPEC-4377 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I065ad84a36e120e9f425220251cb04a466a2f99a
2022-06-13chromium91=ose17.agl,wam=ose57: update Chromium and WAM to webOS OSE 2.16 ↵Jose Dapena Paz2-4/+4
baseline Rebased chromium91 and wam on top of the versions s hipped in webOS OSE 2.16 release. chromium91: ose11.agl..ose17.agl 78e203bfd6 [op][n_upsable][media] Fix upstream v4l2 video encoder for webos c6decb5ddd fixup! [op][n_upsable][media] Support for enabling use_neva_v4l2_codec 98ae785c0c [op][n_upsable][input] Fix crash on rwhva::OnTextSelectionChanged ed1a510acd [op][n_upsable][wayland] Check count inited displays c1afea619c [op][n_upsable][static_analysis] Fix "Unchecked return value" issue 1fbec7a090 [op][n_upsable][static_anaysis] Fix unrecoverable parse warning 5da09aead6 [op][n_upsable][suspend] Ignoring Page::SetPaused while its destroying 4fa834ef5e fixup! [op][n_upsable][app_shell] Implement Cookie Management using JS Injection 14e4a3fc83 [op][n_upsable][app_shell] Implement Cookie Management using JS Injection d5eebe0504 [op][n_ups][browser][app_shell] Disable Badging API f977972288 fixup! [op][n_upsable][media] Implement MediaSessionObserver for WebOS 36009fdf8d fixup! [op][n_upsable][app_shell] Implement site filter using JS Injection 06d44f5ebd fixup! [op][n_upsable][web_security] Check access to local file for media e5142a78ed fixup! [op][n_upsable][media] Fix crash in ForeignVideoWindowProvider e1dda8653e [oe][ds][gpu] Bypass the error when shared image is not cleared 2e1baa2ffd [op][n_upsable][app_shell] PopUp blocker feature using JS Injection 5b3a3e0bcc [op][n_upsable][app_shell] Implement site filter using JS Injection f06876e1c3 [op][n_upsable][app_shell] Implement URLDatabase using sqlite 6b29edc477 [op][upsable][build] breakpad: fix build with glibc-2.34 91cab725d2 [op][ups][build] abseil-cpp: fix build with glibc-2.34 wam: ose57.agl..ose58.agl 703efea [oe][locale] Fixed incorrect access to locale json data Bug-AGL: SPEC-4377 Change-Id: I5d0cb70c2d8ec8c68a73ad05a087c93a3a9912d2 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-05-26chromium: do not build with Swiftshader and Dawn.Jose Dapena Paz1-3/+7
We want to use the native GL implementation in our targets. So there is no use for Swiftshader, and it increases building time. We also drop Dawn, though that will imply we do not support WebGPU. That should be reenabled later. Bug-AGL: SPEC-4391 Change-Id: I8dddf66d39f58db005f1fbddc0acc4008c8ce3ab Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-05-26chromium: drop browser and mksnapshot packaging.Jose Dapena Paz2-77/+2
To reduce how much it is built with Chromium, just remove a couple of parts that are not used: * Chromium browser is not used or packaged, and we intend to use a lighter version with app-shell and enact browser likely. * mksnapshot cross package was intended for optimizing launch time of certain web applications. But we are not using it yet. Bug-AGL: SPEC-4391 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Id9f15c42c81341962f1f0c7a91b31824f116a9ef
2022-05-13chromium: fix aarch64 build because of broken NEON extensions for GCCJose Dapena Paz1-0/+3
highway library implementation of NEON extensions for aarch64 does not build on GCC in the version used in chromium91. Provisionally disable JPEG-XL decoder for aarch64 to workaround the problem. Bug-AGL: SPEC-4355 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Idb6ad1a16e6dca773e22ca5747ffdef09a35af5c
2022-05-13chromium, html5-*: adapt to kirkstoneJose Dapena Paz3-11/+8
Adapt the recipes to the changes required by Yocto kirkstone: * Explicit python2 dependency. * Replace _ with : as separator in variables. * Explicit pkgconfig dependency. * Assume always upstream ozone wayland. chromium91: 2c7cb69495..d052051b3b d052051b3b [op][ups][build] Fix with more recent libstdc++ in kirkstone deb1439137 [op][ups][build] Fix breakpad build with kirkstone glibc. e6ee1dd0d0 [op][ups][build] Fix abseil-cpp build with glibc in kirkstone wam: 692f706..31840bc 31840bc [op][w_upsable] IWYU: std::string used in LogManagerConsole 15ce17e [op][n_upsable][build] IWYU: std::numeric_limit used in WebPageBlink missing include. 848565d fixup! [op][agl] New QtLess AGL port html5-homescreen: 5c9e060..fc0ffa4 fc0ffa4 Update to recent dependencies a42b304 Launch background after launcher. html5-launcher: cb6b66c..1283e3b 1283e3b Update dependencies. html5-background: 7b79640..e91be22 e91be22 Update to recent dependencies. html5-hvac: e64d69b..6abbe87 6abbe87 Update to recent dependencies. Bug-AGL: SPEC-4261 Change-Id: I48581a57df3ff22d8aaab2334e4f9b4127a6d427 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-05-13chromium=91.0.4472.114.ose11.agl, wam=ose57.aglJose Dapena Paz3-10/+14
Move to webOS OSE 2.15.0 baseline of wam and chromium. This includes: * Migration from chromium 87.* to chromium 91.* * New error page. * Bring back LTTng support in WAM. * Misc fixes to AGL build for chromium 91. Bug-AGL: SPEC-4261 Change-Id: Ia81c515b97e27da53e054fdc89622b7be0e8e1b5 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-05-13wam, chromium, html5-*: improve initial frame, and drop usage of config.xmlJose Dapena Paz2-2/+2
Move to use appinfo.json, new CLI interface, and fix flickering partially. chromium87: be0370b198..c9a66f75a7 c9a66f75a7 fixup! [op][n_upsable][splash][fmp] New splash and FMP implementation d7953f5e17 Revert "[op][agl][splash] Show immediately apps" wam: 8dd3f17..f4c2e95 f4c2e95 fixup! agl/web_app_manager_service_agl: Fix minor typo c072a91 agl/web_app_manager_service_agl: Fix minor typo 761961c web_runtime_agl, web_app_manager_service_agl: Add WebOS appinfo.json support 1ac280e web_runtime_agl: Pass arguments rather than env variables 6e0477f web_runtime_agl: remove setupsurface, nobody is using it 0d83a34 web_runtime_agl: Remove CYNOGARA auth token 4159489 fixup! [op][agl][wayland] Properly adapt dimensions for web apps using panel html5-homescreen: 21bd1dc..7d89048 7d89048 Launch background after launcher. 5c9e060 Use appinfo.json instead of config.xml * Change branch to master html5-launcher: b371797..cb6b66c cb6b66c Use appinfo.json instead of config.xml * Change branch to master html5-background: 16db46b..7b79640 7b79640 Use appinfo.json instead of config.xml 160a4f9 Add .gitreview file * Use AGL gerrit and change branch to master html5-hvac: 45641bf..e64d69b e64d69b Use appinfo.json instead of config.xml * Change branch to master Bug-AGL: SPEC-3982, SPEC-4251, SPEC-4301, SPEC-4312, SPEC-4315 Change-Id: Ibd2bc428910e6e39c52e14b8e969fdea77000a84 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-05-03wam: improve shutdown procedureJose Dapena Paz1-0/+2
It was observed that restarting agl-session would crash and/or hang WAM. So this change binds WAM to agl-compositor in systemd service file. This means stopping compositor will stop WAM. It also fixes another problem on restart, as the WAM launcher processes from previous execution would still be alive. So it forces killing all the WAM processes for the user on shutdown. Bug-AGL: SPEC-4293 Change-Id: I5131cdd56c292c66d0f2d5ea88cf772ef9b4bd56 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-04-13Update to SPDX license namesScott Murray1-1/+1
Apply updates from running the new convert-spdx-licenses script from upstream. This is not currently a hard requirement from upstream, but futureproofs for when the license name mapping is finally removed. Additionally, a few license declarations of just "BSD" have been updated with the more specifc "BSD-3-Clause" after inspecting the licenses in the source, as the non-specific name now triggers a warning. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia86d412fe76ff3217456fcea81cb44f68bc1ced8
2022-03-24wam: disable VSyncJose Dapena Paz1-1/+1
Enabling VSync callback support in Chromium, that sets EGL swap interval to one, seems to be problematic as we get hangs in several scenarios calling eglSwapBuffers and waiting forever for swap feedback. This happens, at least, on initial boot on Rasberry PI 4 and on H3. It also happens after launching HVAC from launcher. Bug-AGL: SPEC-4289, SPEC-4290 Change-Id: I5fcaba9b8f5a1a7a362efd48d8df339168691c5e Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-03-24chromium87: fix initialization of drag data controllerJose Dapena Paz1-1/+1
Land change in chromium to properly initialize drag data controller in AGL. chromium87: fa99cf3344..ed92389df6 ed92389df6 [op][n_upsable][wayland] Fix initialization of drag data controller Bug-AGL: SPEC-4288 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: I1cf413ac2e0742a2fda2f9787f0c4733fb5804b2
2022-03-07meta-agl-demo: use HTML5 homescreen+background+launcher in HTML5 demoJose Dapena Paz3-3/+3
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-1/+1
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-21chromium: fix build with sandbox host compilerJose Dapena Paz1-1/+1
chromium87: 7412ccde56..bc1410d5ad bc1410d5ad [op][n_upsable][build] Fix build because of returning to base::Optional without move Bug-AGL: SPEC-4260 Change-Id: Id204d26252932309753b5dd2820054ccea5b5c96 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-17wam: rebase on top of webOS OSE QtLess implementationJose Dapena Paz1-3/+5
Update SRCREV and branch to @55.agl.marlin, that includes the webOS OSE implementation of QtLess, and AGL work as a single commit on top of it adapting to the new coding style. Bug-AGL: SPEC-4239 Change-Id: Icc08a6ea13d85854194e6ce0278f653ce8262787 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-15chromium: reduce verbosity on compilationJose Dapena Paz1-1/+1
Compilation of chromium is done invoking ninja with -v. This adds a lot of noise to compilation. This patch drops the flag. Bug-AGL: SPEC-4142 Change-Id: I0dd3700c1ebecab99776e24d79a98211ff8f592d Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-15chromium, wam: update to chromium87 tree.Jose Dapena Paz4-16/+24
Update to chromium87 tree, and wam adapted to chromium87. This does not include yet the webOS OSE QtLess version, but the submission right before QtLess work. This is because in webOS OSE current chromium87 release, the only work after the submission we are using is QtLess, without adding any new functionality. Renamed the recipe and package name to be "chromium" instead of "chromium84" or "chromium87". Now we use PV to state the version of the upstream Chromium. The Chromium87 tree history has been heavily simplified to make it easier to rebase in next upgrades. Bug-AGL: SPEC-4142, SPEC-4225, SPEC-4227, SPEC-4228 Change-Id: I6caed396f758dd80291803266f6a59f1fec406c4 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-01chromium*, wam: fix systemd launching from systemdJose Dapena Paz9-315/+15
Instead of providing a SMACK aware system service for WAM per session instance, provide a systemd user service depending on the new services in Marlin. Update the chromium84 and wam heads to include the required changes. We also remove the patches applied from recipe, so they belong to the chromium tree now. chromium84: 3d6fd5dd0b..4a320225eb 4a320225eb [op][agl][wayland] Take into account wayland output transform 13d93f6dae [op][agl][wayland] Do not bind agl_shell by default. ca47b4fd0a [skia][build] fix skia no_sanitize build issues for gcc 3b7541e3cf GCC: supress invalid-offsetof warning 6cd04072fb Add a delay to agl ready event wam: 935be6b..8607609 8607609 [op][agl][wayland] UiSize should be system resolution. fcfeb67 [op][agl] Allow to run web applications in new application framework. Bug-AGL: SPEC-4223 Change-Id: Ie0bc3dd6878920a0ba1bfac4f32814a23e4d41e7 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-01chromium*: remove jumbo build optionsJose Dapena Paz2-11/+1
Jumbo build is not supported anymore in Chromium. This changeset removes all references in recipe to that mode. Bug-AGL: SPEC-4233 Change-Id: I7a667c9a36bd0b825fc3014520d1b23f53828b57 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2022-02-01chromium*: set by default debugging symbol level to 1Jose Dapena Paz1-20/+6
Instead of forcing symbol level to 0, that removes all debugging information from build, set the default level to 1. This change adds two new PACKAGECONFIG named "debug" (for setting the symbol level for the whole build to 2) and "debug-blink" (for setting the symbol level for blink part to 2). By default, if not present, symbol level will be set to 1. Symbol level is equivalent to the -g level (symbol_level=1 means -g1, symbol_level=2 means -g or -g2). This is copied from the webOS OSE web runtime Yocto recipe. Bug-AGL: SPEC-4233 Change-Id: I70a983a04497aefdf9fde7074bbf0cfdf0bb8eab Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2021-12-22chromium: fix use of += with :appendScott Murray1-2/+2
Fix a couple of instances where += is used with a variable :append definition, this future-proofs for Kirkstone (it currently triggers a warning on poky master, as may soon be treated as an error). Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1ff076e174d686226dc4507413ec11dcda2e77db
2021-12-07web-runtime: bump chromium84 and wam SRCREVLorenzo Tilve2-4/+4
Update SRCREVs to new marlin branches removing the build dependencies with the appfw. Bug-AGL: SPEC-4121 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I5cc9ffca3101b58f750c377dfa14355e2a1d1ce6
2021-12-07web-runtime: Add wam to agl-demo-platform-html5 imageLorenzo Tilve1-3/+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-04The chromium recipe will need to be reworkedJan-Simon Möller1-1/+3
Meanwhile update it to allow CI to pass. Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I03f92e6c8bd6146d4a67ec447be5ab362b42f5bc
2021-11-03Prepare master for new framework integrationJan-Simon Möller3-21/+2
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