summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter
AgeCommit message (Collapse)AuthorFilesLines
2024-03-21Update meta-flutterJoel Winarske10-147/+14
-renames meta-flutter to flutter-layer -adds meta-flutter-apps named flutter-apps-layer -moves flutter-gallery to dynamic layer Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I273ca820b86273e7e7de11cc25c57fca295643fc
2024-03-19meta-agl-flutter: mask out libstd-rs bbappendScott Murray1-0/+4
The libstd-rs bbappend in meta-flutter breaks building with newer versions of Rust, so BBMASK it out for now. Since the change it makes is to enable debugging Dart/Rust FFI wrappers, and AGL does not currently use such functionality, this should not change any behavior. Bug-AGL: SPEC-5070 Change-Id: I6984303bfc478a7574992f3d927bdaaeb41afa7c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-01-03flutter-auto: Add support for width/height activation areaMarius Vlad4-1/+256
Bug-AGL: SPEC-5038 Change-Id: I9d775fee5f806069982718c2b3247ce1fac3241d Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-12-12Add support wl_output version 4 and agl_shell v8Marius Vlad3-0/+596
This adds support for wl_output version 4 that allows to match an output name to a string that can be passed using gRPC APIs. With this it allows events being sent out by the compositor which the shell client can react upon. This can be seen as an intermediary step until flutter-homescreen from ICS gains (direct) support for gRPC to handle activation that way. Bug-AGL: SPEC-5004 Change-Id: I143c9dbbc044720c3dee642177d3ae175bfa9a75 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-11-09flutter-auto: apply Vivante workaround for NXP BSPScott Murray3-0/+30
Add flutter-auto bbappend back and use it to apply the patch provided in SPEC-4947 when building for NXP BSP platforms that use the Vivante driver. This fixes the crashes observed on imx8mq-evk-viv. Bug-AGL: SPEC-4947 Change-Id: I71786b037f1670e8188d6818a05cb98bc4c129a7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-06Fix Flutter versionScott Murray1-1/+1
FLUTTER_SDK_TAG needs to be bumped to 3.13.9 to match the new default in meta-flutter from the most recent layer bump. Bug-AGL: SPEC-4938 Change-Id: I16d95f5b3ac60d4b0d7c4f9ca26bc2f36fd1e5e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-06meta-agl-flutter READMEJoel Winarske1-0/+48
-add general working notes Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: If9abf99a0ea9a1e32fd21d41b7964aa8338c9fd5
2023-11-02Remove unused filesJoel Winarske3-39/+0
-bbappends have been moved upstream Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I7d65ba7b477b67a3e9601633bf4a09f4532fc0ce
2023-10-19flutter-auto: add rcar3 build fix patchScott Murray2-0/+36
Add the patch with the EGL 1.4 compatibility tweak required to build for rcar3 that was accidentally dropped in upstream rebasing. This should be able to dropped when the next update happens. Bug-AGL: SPEC-4937 Change-Id: I5635ab099e5e0bd7240f87f4060815829fb51ac0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-10-18Flutter 3.13.2 updateJoel Winarske16-561/+133
-README update -workspace-automation configs * _global.json - move to 3.13.2 * _repos.json - remove wonderous, update commits, add depot_tools * flutter-engine.json - flutter engine local build (optional) * desktop-auto.json - remove clang from desktop-auto config -flutter-engine recipe * remove bbappend patches -flutter-auto * update agl-shell PACKAGECONFIG addition * remove patches upstream picked up 0001-shell-wayland-display-Handle-flags-as-bitfield-entri.patch dropped 0001-Add-optional-agl_shell-plugin.patch Bug-AGL: SPEC-4936 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iddd7c0f735abb4d114ba89a8bf0e49977b469150
2023-07-20meta-agl-flutter/recipes-graphics/toyota: Hot fix for current modeMarius Vlad2-1/+40
The flags entry is bitmasked between preferred and current mode, which we didn't account at all. This adds a temporary patch to fix that until meta-flutter is updated with it. Bug-AGL: SPEC-4841 Change-Id: I930bbaed59e468803e16cbb2c72df440a0c30746 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-06-12meta-agl-flutter: update for meta-agl-core changesScott Murray7-47/+24
Changes: - Pull in image .bb files instead of .inc files. - Use agl-image-compositor as the base image for agl-image-flutter. instead of the appending done to agl-image-weston and its packagegroup previously. - Rework flutter-gallery systemd unit to work again, and update our bbappend to install it as disabled as an option for starting up flutter-gallery in agl-image-flutter. It seems useful to keep it present to serve as an example of starting Flutter apps via systemd and using the agl-flutter-env package. - Some minor documentation updates in README.md. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4813 Change-Id: I8a61d6365ce69ac50b88abc7bc451486b3e1b339 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-07meta-agl-flutter: fix flutter-gallery buildScott Murray1-0/+4
Add a SRCREV override for flutter-gallery to pick up the version that was used with Flutter 3.3.x in meta-flutter. This matches our override of FLUTTER_SDK_TAG to use Flutter 3.3.7, and fixes the build of it and hence agl-image-flutter. The override has been added in agl-flutter.inc to be visible beside the Flutter version override so they can be updated/removed at the same time easily. Bug-AGL: SPEC-4819 Change-Id: I27207baa78a498d9e52c21f0b093a3d3bb671f37 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-05flutter-auto: refresh agl-shell platform channel plugin patchScott Murray1-12/+10
Refresh our platform channel plugin patch to fix fuzz warnings after the latest flutter-auto update. Bug-AGL: SPEC-4819 Change-Id: I5b7a40235d3601d95fe7c6f07d2bfddb83bdba64 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-02meta-agl-flutter: add agl-flutter-envScott Murray1-0/+15
Add agl-flutter-env recipe that installs a /etc/default/flutter environment file that can be sourced to get the default Flutter version and runtime type. The variable AGL_FLUTTER_DEFAULT_RUNTIME can be overridden at build time to switch the default runtime from release to something else. Bug-AGL: SPEC-4819 Change-Id: I33ef50c932116aecddb746007722ce8163079389 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske22-326/+828
-remove use of bbclass runtime modes -use external automation-workspace repo Scott Murray: - update flutter-auto agl-shell platform channel plugin patch with reworked version from Marius Vlad. Bug-AGL: SPEC-4819 Change-Id: I7510f916ab70d8bab78fdb9ab235092f84c3713a Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-16meta-agl-flutter: Add option agl-shell plugin patch to embedderoctopus_14.91.0octopus/14.91.014.91.0Scott Murray2-0/+283
Add a patch to flutter-auto to add an optional agl_shell static plugin to expose the activate_app call from the agl-shell Wayland protocol that is used when running against the AGL compositor. This provides a way for a homescreen application to activate other application surfaces to switch between multiple applications as is needed for the AGL demo. A new PACKAGECONFIG option is defined to control enabling the plugin, and it is enabled by default in our build. Upstreaming this will be discussed with the Toyota team. Given the previous discussion about not picking up significant meta-flutter updates until after CES, it may be that the patch here is carried for a while. Bug-AGL: SPEC-4612 Change-Id: Ie8e06c88bbf082ee7dc5126dfb3b24b1bb8deabe Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-09-12meta-agl-flutter updatesJoel Winarske14-102/+401
-layer README -flutter workspace configuration file -consolidation of gallery json files -remove flutter sdk version pin; now happens upstream -add engine_sdk.zip to all images (non-production) -add SSH server to debug and profile images -factor out flutter-auto xdg-shell-app-id patch Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I6fdf1277bb4011126103f74eda5e230f34f497d7
2022-09-01Pin Flutter SDK to ensure reproducible buildsScott Murray1-3/+3
To ensure reproducibility as well as avoid build failures when Google upstream runs ahead of meta-flutter, set FLUTTER_SDK_TAG to pin the Flutter SDK components as opposed to the meta-flutter default of letting them float. Bug-AGL: SPEC-4545 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If7543329ba13f87abc0b66080494bd8f1e812642
2022-08-05Add missing do_install[network] for flutter-engineJan-Simon Moeller1-0/+1
This is missing and fails the build. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I2f85f8401149372746ce790f4380b9213eb791c8
2022-08-05meta-agl-flutter: update agl-image-flutter-runtimedebugScott Murray1-3/+0
The previous change missed removing the extra couple of unused apps from agl-image-flutter-runtimedebug as was done with the other variants, do so to keep the images consistent. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifcae9a42b1387af6b4441f8d7adfeefea8e02c73
2022-08-04meta-agl-flutter: Simplify AGL integrationScott Murray14-105/+87
Changes: - Remove Igalia homescreen and Pumped Fuel app recipes since they duplicate what is in meta-flutter. Now that there is a AGL Flutter demo image in meta-agl, any recipes or bbappends for apps should go there except for the flutter-gallery integration for agl-image-flutter (see below). - Move flutter-gallery systemd unit changes out of flutter-auto bbappend to a new flutter-gallery bbappend to simplify using flutter-auto on its own. To facilitate interoperation with the use of flutter-gallery in the agl-ivi-demo-platform-flutter image, the systemd files are split out into a -init package that has been added to agl-image-flutter. - Added back a reworked version of the app-id command-line option patch in the flutter-auto bbappend with the option changed to --xdg-shell-app-id per upstream request. This wil be submitted upstream as time permits. The merged patches that were deleted have been removed from SRC_URI. The intent of the above is to move to meta-agl-flutter just having the minimal set of changes to integrate flutter-auto with AGL use, with the agl-image-flutter image kept as a simple smoketest / example. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I171852820be404774d7580778643c801e8fad34f
2022-08-03meta-agl-flutter refactorJoel Winarske25-458/+141
- application rename -> flutter-auto - adopts upstream (meta-flutter) bbclass for runtime selection runtimedebug -> runtime=debug runtimeprofile -> runtime=profile runtimerelease -> runtime=release *This also affects image names* - A discrete json files for each runtime configuration demuxing of runtime config happens in bbappend. - prevent dev host conflict with flutter-auto.service in case of debug and profile. The dev host machine controls homescreen in these scenarios. - simplifies inc and recipes Dependent on https://gerrit.automotivelinux.org/gerrit/c/AGL/AGL-repo/+/27850 Bug-AGL: SPEC-4326 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I877811417e3befab4d48a906058dcb52c81be4ce
2022-08-01Hotfix for flutter-sdk when built with archiver turned onneedlefish_13.92.0needlefish/13.92.013.92.0Jan-Simon Moeller1-0/+5
We need to allow network also for do_ar_original. https://github.com/meta-flutter/meta-flutter/blob/kirkstone/conf/include/flutter-version.inc#L12 does a network query. Ideally this should be cached (e.g. what happens during a slow build and multiple queries could have Bug-AGL: SPEC-4511 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia6ab9cdcc1e25f90680e0be373e8e014ca5df6fc
2022-07-29ivi-homescreen: improve AGL integrationScott Murray5-6/+357
Changes: - For now add local patches for three changes that Marius has submitted upstream that fix issues with respect to running as a normal application against agl-compositor and configuration via the JSON configuration file. The first of these patches has been merged upstream, but bumping the level of meta-flutter to get it brings other rework that it seems perhaps better to wait on a tagged upstream release for. - Add another patch to add a '--app-id' command-line option to the embedder. This avoids needing to use a JSON configuration file for simple (i.e. non-homescreen) applications when running multiple apps against agl-compositor. The use of the example JSON file for the ivi-homescreen recipe itself has been left alone for now since it provides a reference for doing so. - Rename the embedder binary from "homescreen" to "flutter" to avoid collision with the existing Qt homescreen application in meta-agl-demo. This allows integrating Flutter applications into images using the Qt homescreen for testing in the period while a Flutter replacement is worked on. Discussion about possibly renaming the embedder to something more generic along these lines has started with upstream. - Split the embedder binary into a separate package from the ivi-homescreen package that contains the systemd unit file. We do not want the "homescreen" systemd unit when using the embedder in other images that use applaunchd, so this split seems the most straightforward way to avoid pulling it in. - Remove installing the "homescreen" system level systemd unit, as it does not get used in agl-image-flutter (it is installed as a user unit instead). Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9f02f4312cf8c77ab224a3de8114c7fc3f4f6d36
2022-07-20ivi-homescreen_aglflutter.inc: Add a config.json for the shell clientMarius Vlad2-2/+15
Since the last update to ivi-homescreen it requires a JSON configuration file. This one brings it to be able to bind to the agl-shell interface and use the app gallery as the background surface. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I7ec2c64308f028d7d25b3604bbe0cde32199aab9
2022-07-19Port change to agl-compositor-init over from meta-agl-demoJan-Simon Moeller2-0/+6
We need this packagegroup patch to get the image to work. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ib3cb76c0a931ce73f0d351d0ec99ed790ffd42e6
2022-07-19meta-agl-flutter:Application updatesJoel Winarske9-7/+69
-upstream is now pinning ivi-homescreen -fix breaking change. Change --a to --b -adds test apps to images: secure storage, EGL texture, and video_player -adds Igalia homescreen to images -add Pumped Fuel ped recipe to images v2 (jsmoeller): fixup missing require in recipes v3 (jsmoeller): rework duplication in recipes and use BBCLASSEXTEND v4 (jsmoeller): add dependencies to application framework and pipewire v5 (jsmoeller): update agl-image-flutter to use new naming Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I924335eb2ceb9ad91944630b43b72a6fe296b98d
2022-06-06meta-flutter updatesJoel Winarske6-5/+4
-move flutter apps to common folder -move do_compile[network] to app recipe Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: Iac543d404ec5a56576998194687bd35dc61b68fc
2022-05-12flutter-gallery: Add network access workaroundMarius Vlad4-0/+4
This is a temporary work-around to have a flutter-gallery bbapend until external/meta-flutter is synced-up to include this fix. It allows flutter sdk to be able to download whatever dependencies it needs to build the gallery application. Bug-AGL: SPEC-4371 Suggested-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I676d5d2f5b8b5977bb7b4d745b94cfb53459ac8e
2022-05-04ivi-homescreen_aglflutter: Use the agl-session for starting upMarius Vlad1-4/+15
Bug-AGL: SPEC-4330 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id09825fe02c0cf39d36c19291bc89113770c2d34
2022-04-17meta-agl-flutter: Initial Kirkstone updatesScott Murray2-2/+11
Changes: - Unpin Flutter SDK tag and ivi-homescreen SRCREV to track the upstream development against kirkstone for now. This at least gets us to building an image. It seems likely that when the Needlefish release happens these may need to be pinned again for reproducibility. - Added a remove of the "gstreamer" option from the ivi-homescreen PACKAGECONFIG in the local bbappend. This avoids needing to enable "commercial" licenses to allow ffmpeg to be pulled in. This will likely need further investigation around just what pieces are needed for upstream, as currently Flutter video playback is tied to it. It may be that an AGL feature to enable commercial licenses specifically for this becomes necessary... Note that while the above does allow building agl-image-flutter, ivi-homescreen currently fails to start, so further investigation is required. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I40f0619a161c4ebe1f37dc840caf9bbd6bc95947
2022-03-24Declare layer compatibility with kirkstoneScott Murray1-1/+1
For tracking upstream, we need to update the layer compatibility. Bug-AGL: SPEC-3819 Change-Id: I23423baa371ed1b8b4a9024d9ac6f0c4d7e48185 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-03-11SRCREV override fixmarlin_12.93.0marlin/12.93.012.93.0Joel Winarske6-25/+20
-Lock ivi-homescreen version v2 (jsmoeller): consolidate and apply missing include file Bug-AGL: SPEC-4297 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I189d86b353c6a2f9c1691cc8186992887c25d547
2022-02-24Enable agl-compositor using agl-compositor-initJan-Simon Moeller1-0/+1
Add it to agl-image-flutter.inc. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I221ae00f66474c2d4f26d945e6bac6941f6ded0a
2022-02-04Flutter updatesmarlin_12.92.0marlin/12.92.012.92.0Joel Winarske5-2/+26
- ivi-homescreen updates * 32-bit build support * EGL build time parameters * Remove build time dependency of libflutter_engine.so. Loads libflutter_engine.so at runtime. * Functional Mouse cursor plugin. Adds --t {theme name} CLI option * DEBUG Check fix for mouse * third party flutter source update * Re-work common code for plugins * Text plugin functional and enabled by default * Use check_ipo_supported to determine lto * Dart message callback -> print to stdout * Support building for iMX8/Vivante EGL * Use revised meta-flutter layout for defining systemd service - move to latest commit for Igalia Flutter Demo application Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: Icfb7292537b3300e3af778c4934551c5d93f1727
2021-12-09Add meta-agl-flutter layerJoel Winarske11-0/+83
- agl-image-flutter baseline agl-compositor based image that includes: ivi-homescreen - Toyota Flutter Embedder flutter gallery - Flutter Demo Application flutter_homescreen - Igalia Demo Application - flutter-app-homescreen - Igalia flutter_homescreen app - ivi-homescreen bbappend to lock SRCREV Bug-AGL: SPEC-3852 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I58779ab093e9d23a88005e60ef28b9133eca2479