summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
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-04meta-agl-flutter: Simplify AGL integrationScott Murray11-99/+84
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 Winarske16-395/+82
- 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-19meta-agl-flutter:Application updatesJoel Winarske3-4/+39
-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 Murray1-2/+7
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-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-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 Winarske5-0/+24
- 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