summaryrefslogtreecommitdiffstats
path: root/recipes-platform/packagegroups
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28Switch Qt demo to KUKSA.val databrokerScott Murray6-13/+40
Changes to switch the Qt-based agl-demo-platform demo from using the older KUKSA.val server to the new gRPC based databroker. The Flutter demo's vehicle signalling behavior ends up a bit broken by these, but the image still boots and basic things still work. A follow on set of changes will convert the Flutter apps to the new gRPC API and remove the KUKSA.val server completely. Notable changes: - Updated libqtappfw, homescreen, ondemandnavi, and tbtnavi recipes to pick up changes to switch to using the databroker. - Updated agl-service-audiomixer and agl-service-hvac recipes to pick up their rework for using the databroker. - All the Qt demo applications that use the VehicleSignals class from libqtappfw have had their .conf and .token files updated to work with the databroker. As well, the JSON files used to create the new app-specific authorization tokens have been checked in to provide a reference of how things are configured. - The DBC feeder configuration has been changed to push into the databroker. Having a duplicate instance to also push into the older server has not been set up, as hopefully the Flutter demo conversion will follow on quickly enough to not require it. - Packagegroups for the KUKSA.val server and databroker have been factored out and are used instead of using the agl-ivi-services packagegroup. - kuksa-databroker-cli and the simple CAN simulator script are now included into the demo images when building with agl-devel. Bug-AGL: SPEC-4762 Change-Id: I416bcfbf961535062043ef54acdea6c353f84af1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29171 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 Murray20-203/+40
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-06-01Flutter bbclass refactorJoel Winarske1-6/+4
-Removes use of flutter bbclass runtime modes Installed modes are determined by flutter-engine package config flags. Default modes are debug, profile, and release. -Single json file based on runtime=release. If additional parameters are needed this happens as part of workspace automation. Scott Murray: - update packagegroup-agl-demo-platform-flutter Bug-AGL: SPEC-4819 Change-Id: I58fc1b30ea3367ec5f47f52b60951cf0be31dcbc Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31Add KUKSA.val databrokerScott Murray1-0/+7
Add a recipe for the KUKSA.val databroker, a Rust implementation of a VSS server with gRPC APIs, and add it to the images that currently have the C++ kuksa-val server to ease further integration development. Since the databroker listens for gRPC API requests on a different port than the C++ server, there is no conflict during this period. Users wanting to drive CAN data into the databroker for testing will have to manually update the kuksa-dbc-feeder configuration during this interim period. Changes: - Bump common KUKSA.val SRCREV to pick up some improvements. - Add kuksa-databroker recipe to build the databroker. - Add kuksa-databroker-agl recipe to install AGL-specific configuration for the databroker, similar to what has previously been done with kuksa-val-agl for the C++ server. - Add missing branch node declarations in the AGL VSS overlay, as the databroker VSS parser is stricter and treats their absence as an error. - Add the kuksa-databroker, kuksa-databroker-agl, and the kuksa-databroker-cli packages to the appropriate packagegroups and images. Some follow up work will factor out a packagegroup for the KUKSA.val packages to make future changes easier. Bug-AGL: SPEC-4762 Change-Id: Ie7837b7e42a2283914adc913b75639fcb83029a6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31kuksa-val: fix vss-agl dependency for cluster imagesScott Murray1-1/+0
Make vss-agl a runtime dependency of the kuksa-val-agl package as the configuration in that package is what actually requires it, and remove the previous addition to packagegroup-agl-ivi-services as it will no longer be necessary. This fixes the desired KUKSA.val configuration for e.g. the Flutter cluster image. Bug-AGL: SPEC-4761 Change-Id: I9ec93acf8e7a542acdb3e50a9cbace50e4928344 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-16kuksa-val: Update to 0.3.1Scott Murray1-0/+1
Changes: - Update kuksa-val to a commit that includes the 0.3.1 release and some other fixes past that. Our local patches have been updated. - Rework and rename the kuksa-viss-client recipe for the upstream switch to kuksa-client as the name. Our local patches have been updated. - Update kuksa-dbc-feeder to a commit that supports the kuksa-client library changes that come with 0.3.1. Our local patches have been updated, and a new local patch has been added to fix the token file configuration option behavior, this will be worked with upstream. Upstream changed the configuration file format, so our local one has also been updated to match. - Update the parsing of the DBC feeder configuration file in the can-dev-helper.sh script to work with the new format. - Update kuksa-val-agl recipe to not install AGL signals overlay for VSS, as that has been replaced with the use of the vss-agl package. - Add installation of vss-agl to packagegroup-agl-ivi-services so the AGL specific signals and DBC configuration will be available. Bug-AGL: SPEC-4761 Change-Id: I5933017a30f040a746f0a6a6eb2a3b68d1fc4bc1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-27kuksa-val: Rework to support updated SSL certificatesScott Murray1-0/+1
Changes: - Tweak the kuksa-val recipe to remove installing a newer server certificate (since it will be done elsewhere), and to split the certificates up into finer grained packages to ease installing them piecemeal and replacing them with other packages. - Remove the unused genCerts.sh certificate script patch form the kuksa-val recipe, an updated patch will be added in the near future. - Added a patch in the kuksa-viss-client recipe that enables the library to use certificates installed in /etc/kuksa-certificates or /etc/kuksa-val instead of the default ones that are shipped. - Add kuksa-certificates-agl recipe that installs AGL specific CA, server, and client certificates plus the required server and client keys to act as a replacement for the default ones shipped with KUKSA.val. The kuksa-certificates-agl name is used to avoid needing a rename with a future switch to kuksa-databroker. Note that the RPROVIDES variable is used for the various certificate packages to make them installable alternatives to the kuksa-val-certificates-* ones. The certificates installed are valid for 1 year and have AGL as the providing organization, longer validity ones will be added in follow up commits for Octopus and Pike. - Update the existing users of kuksa-val-*-certificates with the new kuksa-val-certificates-* package names. - Add PREFERRED_RPROVIDER definitions for the kuksa-val-certificates-* packages to quiet the BitBake warnings coming from having multiple providers. Bug-AGL: SPEC-4763 Change-Id: Ic6f1ca8b54f637674cd5ae42df0bed6ca4e729aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-20Cleanup of packagegroup-hmi-frameworkJan-Simon Moeller1-8/+0
Remove unused parts. Change-Id: Ibb89fd650d8c395208a15a52e1a1e62bf79fed0f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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-03-20Add window-management-client-grpcMarius Vlad1-0/+1
This adds a recipe for window-management-client-grpc for testing out the gRPC interface. This client will talk with the compositor indirectly, using the gRPC interface exposed by the grpc-proxy helper client. Bug-AGL: SPEC-4673 Change-Id: Ib1a9d14a3bd41ea64180494962f97f0d5b557c09 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-02-28packagegroup-qt5-toolchain-target: make bbappend changes conditionalDenys Dmytriyenko2-18/+19
Make bbappend changing RDEPENDS variables conditional on "agldemo" AGL_FEATURES flag. This resolved yocto-check-layer errors: INFO: test_signatures (common.CommonCheckLayer) INFO: ... FAIL AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed Bug-AGL: SPEC-4685 Change-Id: If4953d684455b6f2ab5edbb3a33b5cf7775d1587 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-13packagegroup-agl-demo: remove sllin driverScott Murray1-4/+0
Remove the sllin driver from the default demo packagegroup as we no longer use it, and it fails to compile against linux-dummy when building for IC EG guest containers. A separate follow up change will finally remove the sllin driver and lin-config recipes. Bug-AGL: SPEC-4703 Change-Id: I77b4508975993e32f3dd245b1c133aa703e0b349 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Restore agl-service-radio recipeScott Murray1-0/+1
Add an update recipe for agl-service-radio to build the reworked gRPC service daemon, and add it back as a dependency in packagegroup-agl-ivi-services so it will be installed into the demo IVI images. Bug-AGL: SPEC-4665 Change-Id: I9239a1e1476687e4c41367dbdfc6051c56b88c48 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
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-12-12packagegroup-agl-demo-platform-flutter: fix whitespaceScott Murray1-2/+2
To fix building, remove extraneous "\ "s that were accidentally added into IMAGE_INSTALL:append in packagegroup-agl-demo-platform-flutter in the previous update. Bug-AGL: SPEC-4637 Change-Id: Idf7600450834b3ea0bd6f4cd5858aadeda6ce6f2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Update Flutter demo imagesScott Murray5-8/+7
Changes: - Split demo image feature definitions into an include file to allow reusing them, and pull into both the Qt and Flutter demo platform images. - Remove packagegroup-agl-demo-platform dependencies from feature packagegroups so they will not break the Flutter images. - Tweak Flutter cluster demo image to have KUKSA.val related package omission be controlled by the "agl-demo-preload" feature. - Add the kuksa-vss-init package to the IVI services packagegroup so that the signal initialization expected by the Flutter cluster dashboard will always be done. This covers the usecase of using the Flutter cluster with KUKSA.val on the IVI board. - Add missing "agl-demo-preload" tweaks from the Qt demo platform image to the Flutter one. - Tweak things to leave out the Weston terminal app from images build with the "agl-demo-preload" feature. - Remove flutter-navigation and flutter-mediaplayer from the Flutter demo image for now, and add the messaging, phone, and radio Qt apps to fill out the list of apps for the demo. Bug-AGL: SPEC-4636, SPEC-4637, SPEC-4639 Change-Id: I9cde89278f0191886152f765d4fb1a893c0ea2c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Remove demo sllin configurationScott Murray1-14/+0
Remove recipes providing sllin configuration for the full demo, as all LIN usage is being replaced with CAN. The recipes for the sllin driver and associated lin_config utility are kept for now in case there are external uses. Bug-AGL: SPEC-4635 Change-Id: I67b7acf5a8c3801cb1890ee27486080255252385 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Update cluster network configurationScott Murray2-2/+0
Update configuration files as appropriate with the IVI board as 192.168.10.2 and the cluster as 192.168.10.3. This includes removing the cluster-connman-conf network configuration recipe. Bug-AGL: SPEC-4632 Change-Id: I60011a3615152a036057ca1a98d3916c67a3cd1e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-22Update Flutter demo image to use Flutter homescreenScott Murray1-9/+12
Changes: - Update Flutter demo image packagegroup to replace the Qt demo homescreen and launcher with the new Flutter homescreen. The list of apps to install has been tweaked to drop the Qt HVAC and dashboard applications and add the Qt settings, mediaplayer, and navigation apps, to better reflect what is likely to be usable for ALS and CES. - A AGL_FLUTTER_RUNTIME variable has been used in the Flutter demo image packagegroup to allow potentially switching the Flutter packages from release to debug or profile versions. - Add Flutter homescreen specific weston-ini-conf-flutter package to the Flutter demo image. - Tweak the application display names for the Flutter dashboard and HVAC applications to drop the Flutter prefix since they will be the only versions present in the Flutter demo image. Bug-AGL: SPEC-4615 Change-Id: Iec1c139b72cbd953420f23484942ad255080f4f7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-10-08Change SRC_URI and SRCREV for ivi-demo-flutter-appsHritik Chouhan1-4/+4
- Change SRC_URI to use the app repository on gerrit. - Renamed recipes file name. Bug-AGL: SPEC-4560 Change-Id: I2887e568e6a466836d68866ace0766c7ed7949d9 Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
2022-09-22agl-demo-platform: Do not activate by defaultMarius Vlad1-0/+1
With the recent protocol changes and Qt shell client updates, we can now switch off activate by default for the agl-demo-platform. This allows a smooth transtion and allows running code side-by-side until all shell clients will transition to it. For now we'll do it for just Qt homescreen (agl-demo-platform). Bug-AGL: SPEC-4528 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I22ee07544ba664452e24adc2d83187e013e77226
2022-09-22Add recipes for flutter appsHritik Chouhan1-0/+2
- This add the flutter dashboard,hvac,navigation, mediaplayer apps in the AGL. - Pin all the flutter apps in IVI flutter demo homescreen. - Add config file for each app for kuksaAuthToken and mapboxAccessToken. Bug-AGL: SPEC-4560 Change-Id: If5f58e6ccc402f56fef66cc29d3959b834c4e27c Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
2022-09-07Add flutter dashboard appHritik Chouhan1-1/+2
- This adds the Flutter dashboard app in the AGL. - Pin the flutter dashboard app in IVI flutter demo homescreen. - Integrate with kuksa-val server. - change the homepage same as SRC_URI. - change the AGL_APP_NAME. Bug-AGL: SPEC-4524 Change-Id: I37dbcac2aa7a26b64250dd8fbec4de6051f16198 Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
2022-08-04Handle meta-flutter updateScott Murray1-2/+2
Changes: - Rename flutter-gallery bbappend to handle switch to BBCLASSEXTEND scheme in the upstream recipe. - Update the Flutter embedder package name in the Flutter demo image package group to handle upstream change. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3d5cf4e6f38b766c5dc65979cb53b6674af2b03a
2022-07-27Add agl-ivi-demo-platform-flutter imageScott Murray1-0/+34
Add an image for testing Flutter applications. At present it uses the Qt demo homescreen and launcher until they can be replaced with a Flutter homescreen with equivalent functionality. To allow testing agl-compositor behavior, the packagegroup for the image includes the demo Qt HVAC and dashboard apps in addition to the Flutter "gallery" demo application packaged for launching with applaunchd. The "agl-flutter" build feature has been added as a dependency of "agl-demo" in order for the above to be buildable by default. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idf2daa189a15e9cc4bfe2030ac6aa3f5b0331c0c
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-06psplash-portrait-config: add recipeScott Murray1-0/+1
Add psplash-portrait-config recipe to install a systemd unit override for psplash-start.service that forces a 90 degree rotation for portrait mode, add add it to packagegroup-agl-demo-platform so that it takes affect in the agl-demo-platform image. Bug-AGL: SPEC-4433 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ida64df27a3a3c22bfe2eae8233ff8656800e23d0
2022-07-06agl-service-audiomixer: add updated recipeScott Murray1-0/+1
Add recipes to build the new incarnation of VIS client daemon version of agl-service-audiomixer that will serve as the base for future API development. As well, add the new package to the appropriate packagegroup. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9f69fedb13050807fc4390bf9ba278062969b973
2022-07-06agl-service-hvac: add updated recipesScott Murray2-1/+6
Add recipes to build the new incarnation of VIS client daemon version of agl-service-hvac and for installing associated demo platform configuration files for the full AGL demo setup. As well, add the new packages from these recipes to the appropriate packagegroups. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I34fae0a6e2c3ed387757eb01a9c8042ba14fbd0f
2022-07-06Add demo specific KUKSA.val configurationScott Murray2-0/+2
Add kuksa-val-agl and kuksa-val-agl-demo-cluster recipes that install extra configuration for KUKSA.val for the AGL demo platform. Changes: - Add kuksa-val-agl recipe to install AGL specific signals overlay and uses a new environment variable hook in the kuksa-val systemd unit to pass the required --overlays option to pick it up. - Add kuksa-val-agl-demo-cluster recipe to install cluster support specific kuksa-val environment file that makes kuksa-val-server listen on all addresses. This is hopefully a stop gap approach for the cluster demo until support for listening on multiple addresses is added upstream. - Add kuksa-val-agl to packagegroup-agl-ivi-services to enable the AGL specific signals in the demo images. - Add kuksa-val-agl-demo-cluster to packagegroup-agl-demo-cluster-support to pick it up when the agl-demo-cluster-support feature is used to build an image for the full AGL demo setup. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I41e90829a40aebf7f29e7719334f37d639542e07
2022-07-06kuksa-dbc-feeder-sllin: add recipeScott Murray1-0/+5
Add kuksa-dbc-feeder-sllin recipe to install systemd unit and configuration file to run a second copy of the KUKSA.val DBC feeder against the demo setup's sllin0 interface. The systemd unit will bring up the sllin0 interface by a call to the can-dev-helper.sh script if run on hardware that lacks the LIN adapter. Additionally, the DBC feeder mapping configuration has been updated with the mappings for the steering wheel LIN events, and kuksa-dbc-feeder-sllin has been added to the agl-demo-preload packagegroup for the full AGL demo setup. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ief38c4dcccda899cdef24881b292928e607dda14
2022-07-06Rework demo packagegroup and imagesScott Murray4-48/+46
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-07-06Rename agl-cluster-demo-support featureScott Murray1-1/+1
Rename agl-cluster-demo-support feature to agl-demo-cluster-support to make it clearer that it relates to the agl-demo-platform image. Bug-AGL: SPEC-4425 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9e1ebd2800ab55f3969be98034b60fcb4c09ba21
2022-07-06sllin: switch to updated upstreamScott Murray1-6/+4
Changes: - Switch the SRC_URI of the sllin driver recipe to point at the new revived upstream location, update to their latest commit to get newer kernel support, and drop all the now unnecessary local patches. - Added a patch to fix compilation against 5.4 kernels before 5.4.110. This will be worked with upstream as time permits. - Rename the sllin driver recipe with a _git suffix to match OE style expectations. - Added the sllin driver to packagegroup-agl-demo as was being done in previous releases. - Split the demo script + service unit and lin_config configuration out of the sllin driver recipe into a new sllin-demo recipe so that they're no longer conflated. This should make it easier for others to reuse the sllin driver recipe. - Update the SRC_URI and SRCREV of the lin_config recipe to also point at the new upstream location/version since it comes out of the same repository. - Add the new master mode "-m" flag to the lin_config command line in the start_lin_demo.sh script (now in sllin-demo). This turns out to be required for our demo usecase as upstream seem to have inadvertently changed the default behavior. Bug-AGL: SPEC-4404 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If42a825e65d93b3fa11cfddd5d6b33ec410f7cc4
2022-07-06kuksa-dbc-feeder: add recipe and dependenciesScott Murray1-0/+1
Add a kuksa-dbc-feeder recipe to build the sample CAN feeder for the KUKSA.val Vehicle Information Service (VIS) server and add it to the agl-demo-platform image by adding it to packagegroup-agl-ivi-services. Local patches are applied to enable building with OpenEmbedded, make installation into standard Linux FHS locations feasible, and improve usability on target with respect to logging and error handling. These will be discussed with upstream to hopefully get them integrated. Additional changes: - Add a recipe for the required kuksa-viss-client Python module included with the KUKSA.val source tree. The module is also available via pypi.org, but keeping all the pieces in lockstep for now seems better, so it is built out of a clone of the kuksa.val repo using the same SRCREV as the server and kuksa-dbc-feeder. - Add new recipes for required Python modules: python3-argparse-addons, python3-can-j1939, python3-py-expression-eval, python3-setuptools-git-versioning These will be upstreamed to meta-python as time permits. - Add bbappend for python3-cantools to add a missing runtime dependencies discovered during testing. This will be addressed upstream in meta-python as time permits. - Add minimal DBC file and mapping configuration. At present the agl-vcar.dbc file only contains the minimum message definitions known to be required for the AGL demo platform, namely vehicle and engine speeds and the steering wheel events. - Add can-dev-helper recipe to install a systemd unit and script to ensure a CAN interface is available for testing. This is a tweaked version of what was previously used with agl-service-can-low-level. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic48ea71761fe3767ca3c1711c60b47e0d329d9e7
2022-07-04kuksa-val: add recipeScott Murray1-0/+1
Add a kuksa-val recipe to build the current post-0.2.1 release HEAD of the Eclipse KUKSA.val Vehicle Information Service (VIS) server, and add it to the agl-demo-platform image by adding it to packagegroup-agl-ivi-services. Several local patches are applied to enable building with OpenEmbedded and make installation into standard Linux FHS locations feasible. These will be discussed with upstream to hopefully get them integrated. Additionally, meta-networking has been added as a layer dependency in the agl-demo feature template. This is required due to kuksa-val currently having mosquitto as a non-optional dependency. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1a2d9e9b49d5c8ad11821b89288d2dc9895d15ae
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-04-17agl-cluster-demo fixes for KirkstoneScott Murray1-0/+2
Changes: - Update "BSD" license declaration in cluster-gauges-qtcompositor and cluster-dasboard recipes to now required more specific "BSD-3-Clause" after checking in the source tree. - Make packagegroup-agl-profile-cluster-qtcompositor machine-specific to avoid tripping the new check for depending on dynamically renamed packages. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I24915cd85cb3854b3f9bc7947adda9cb5d42d8a9
2022-03-21Restore Qt compositor cluster demo imageScott Murray3-6/+37
Changes: - Added the required backend plugin options for running with Qt's compositor to the PACKAGECONFIG variable in the qtbase recipe bbappend. - Restore an updated recipe for the agl-cluster-demo-qtcompositor image, with updates to the associated packagegroups for the app framework removal. - As part of the above, the duplication of the profile-cluster-qt5 package naming has been clarified in the qt5 versus qtcompositor packagegroups with new -wayland and -egl suffixes, with the previous plain -qt5 name aliasing the wayland option to maintain expected behavior. This avoids packaging conflict errors if building both types of cluster demo image in the same tree. - Restore updated cluster-gauges-qtcompositor recipe required for the image. - A simple systemd unit file has been added for the cluster-gauges application and is currently installed as a system session unit. Some rework of the agl-session scheme is required to run as a user unit, the intent is to address that in one of the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id79484c025fef067d7d47eaf783768e700a9dc8d
2022-03-08Restore cluster and telematics demo imagesScott Murray4-2/+38
Changes: - Restore the image recipes for the agl-cluster-demo-platform and agl-telematics-demo-platform images, with updates to them and their associated packagegroups for the app framework removal. - Restore updated recipes required for the above, including: * cluster-dashboard * cluster-receiver * qt-cluster-receiver * tbtnavi - Simple systemd unit files have been added for the cluster applications and are installed as user session units. Starting of cluster-dashboard (the XDG version) and cluster-receiver in the AGL user session is enabled by default. - The recipes to install the dedicated network configuration for the cluster demo have been restored so that the agl-cluster-demo-support and agl-demo-preload features will do what is expected again. Known outstanding issues: - The previous signal-composer binding support has been removed from cluster-dashboard, so related functionality (i.e. driving it from CAN) is disabled until replacement is worked out. - While tbtnavi builds, the previous use of the navigation binding is stubbed out in libqtappfw, so it will not receive location and route information from ondemandnavi. - Nothing has been added yet to start tbtnavi in the AGL user session, the plan is to do so with a systemd user unit once a new mechanism for controlling it from ondemandnavi has been implemented. - The telematics-recorder application has not yet been updated to replace its signal-composer, gps, and network binding use. The intent is to address these issues in the 13.0.x point releases. Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I520c23775b21504cb7dd92538319cc5bf826ff64
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-21Add mediaplayer, radio, phone, and messaging apps backScott Murray1-0/+4
Add updated recipes for the mediaplayer, radio, phone, and messaging apps that build the updated versions that do not use the previous application framework. The mediaplayer currently only has local media playback support via libqtappfw, the other apps are somewhat placeholders for now as their application framework usage via libqtappfw has been stubbed out for now. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia7aca1698a7e2c8381d4e257d447bcfbe3bce42e
2022-02-15Add backports of mpd and related recipesScott Murray2-2/+2
Backport the recipe for the latest (0.23.5) version of mpd (Music Player Daemon) from meta-openembedded's master branch. This provides a version with native PipeWire support, and should help make the upcoming upgrade to Yocto Project 3.5 (aka Kirkstone) easier. Additionally, the recipes for the related libmpdclient library and mpc utility are also backported to ensure compatibility. The provided bbappend for the mpd recipe tweaks the backport to build with the older version of meson in dunfell, and applies configuration to approximate the lightmediascanner set up with regards to media location and using /var/volatile for metadata storage for robustness. Bug-AGL: SPEC-4255 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ida58289a16079f48c3467d55aef4a608671ffc37