summaryrefslogtreecommitdiffstats
path: root/recipes-demo/homescreen
AgeCommit message (Collapse)AuthorFilesLines
2024-03-07homescreen_git.bb: Bump SRCREV to pick up compositor updateMarius Vlad1-1/+1
Change-Id: I08ee999c5b2e59305d2f19623944a4e1259591bf Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29726 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-02-07homescreen: Bump SRCREVMarius Vlad1-1/+1
Pick-up two minor fixes for output migration. Bug-AGL: SPEC-5049, SPEC-5048 Change-Id: I70ac6e95fb291d97688ef203dd96b0ba2e4fb707 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29645 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-16recipes-demo/homescreen/homescreen_git.bb: Bump SRCREVMarius Vlad1-1/+3
This updates includes update from using gRPC to start + activate initial windows as well as activation using gRPC. Further more this update shows up how to make use of the subscription mechanism. The SRCREV bump also includes protobuf and grpc but also bumps the agl compositor version update. Bug-AGL: SPEC-4912 Change-Id: Ia2fbb889d04da8a643c5fd1f40b08f7ffe2b6139 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29404 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-28Switch Qt demo to KUKSA.val databrokerScott Murray3-3/+3
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-22homescreen: bump SRCREV for meson changesDenys Dmytriyenko1-1/+1
Updated meson build script for latest changes related to pkgconfig API changes, plus looking for wayland-scanner tool. Bug-AGL: SPEC-4578 Change-Id: I6b3a886f1bc6dc5fbedfcb0e9492bffa71433348 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-06-15Add explicit applaunchd systemd dependenciespike_15.91.1pike/15.91.115.91.1Scott Murray1-2/+2
While the change to ensure polkit starts before applaunchd in meta-app-framework should resolve the observed failures, it is also the case that the applications here that call into the applaunchd API did not have dependencies on it in their systemd units, so also fix that to improve overall robustness. Bug-AGL: SPEC-4840 Change-Id: I884b7b326309a0dbdc374a93929aa33f421c680c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray2-7/+8
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-05-09recipes-demo/homescreen/homescreen_git: Bump homescreen SRCREVMarius Vlad1-1/+1
In order to catch up the compositor changes, specifically, to get support for placing window's application on different outputs. In more detail the following changes have been added: - c9ae3bc5a1 homescreenhandler: Handle dynamic movement of windows - 74b01c7210 homescreenhandler: Add support for starting apps on different outputs Bug-AGL: SPEC-4529, SPEC-4673 Change-Id: I09e488ce42bdb3550a03e80c1666075c97634585 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-03-21homescreen_git: Bump SRCREV to support 0.0.21 AGL compositor versionMarius Vlad1-1/+1
This SRCREV bump update is required to add support for the 0.0.21 AGL compositor version. With it, we change the default homescreen with multiple surfaces to just using a single background surface and explicitly set an activation area. In more detail the following changes have been added: - 444b2a68a homescreen: Only keep the multiple surfaces approach in CI - 4c7852e6f homescreenhandler: Avoid using a stale wl_output - 7ff53ae1b meson.build: Bump to the latest agl-compositor version - bb4c83e29 homescreen: Add support for defining an activation area Change-Id: I23dfa8c8304b0493f29f38c2afb4a4837980a357 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2022-10-18homescreen_git.bb: Bump SRCREV to add meson supportMarius Vlad1-2/+2
Bug-AGL: SPEC-4584 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3954e92177cccc5d8180956b4e482e707f043b30
2022-09-23homescreen_git.bb: Bump SRCREV to get protocol updatesMarius Vlad1-1/+1
This bumps homescreen's SRCREV to include agl-shell protocol update v2 and v3. Bug-AGL: SPEC-4528 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I39d9fd520e398c71eb00ada376f24faaabeab85a
2022-09-21Switch Qt demo apps to gRPC launcher APIScott Murray1-1/+1
Changes: - Update SRCREV in libqtappfw, launcher, and homescreen recipes to pick up gRPC API changes. - Update libqtappfw recipe for switch to meson instead of CMake, and add new protobuf and gRPC dependencies. - Update launcher recipe to pull in new libqtappfw dependency, and update some formatting for consistency with the other recipes. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6ec0f53a0cc68bcf9b434086d99e8849c11198f3
2022-07-06Update vehicle signal using app recipesScott Murray3-1/+17
Update the recipes for the Qt demo applications that were previously using signal-composer either directly or indirectly to work with the new VehicleSignals API in libqtappfw. For most of them this means updating their SRCREV to pick up the application changes, and installing the new configuration file and associated JSON web token file for KUKSA.val authorization. At present all the apps are using one of the default read-write tokens from the KUKSA.val install, but ideally this will end up migrated to app specific tokens with appropriate permissions JSON down the road, potentially obtained via OAuth or similar mechanism. Additionally, the tbtnavi recipe has been updated to install a systemd unit to start it at boot. Bug-AGL: SPEC-4409, SPEC-4426 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I46be098fc31be02852e7888ba0ffd14674efa12b
2022-06-29Remove use of AGL_APP_REVISIONJan-Simon Moeller1-1/+1
We did use the variable AGL_APP_REVISION to change between the HEAD of the branch via to the fixed tag at release time (regs/tags/xyz) . While this worked well previously, it turns out that bitbake will query git every time it runs for either or tags likewise. For tags it cannot trust whatever is known locally is actually the latest tags as there can be force pushed tags. To fix this we use a well-defined SRCREV for apps/* in the same way as we do it for src/* . Bug-AGL: SPEC-4455 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I97fc125d40b36b7ac5e069018a8973384f61d0b7
2022-01-31homescreen: restore libqtappfw dependencyScott Murray1-0/+2
Restore libqtappfw build and run-time dependency in homescreen app recipe to allow to re-enabling the commented out usage in it and regain Bluetooth and Wifi status support. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I320853efe8130d34e5a1da5e9f0e2380a50e9f2c
2021-12-21homescreen: import environment file on service startArnaud Ferraris1-0/+1
`homescreen` relies on `/etc/default/homescreen` to contain its environment variables, however this feature was lost when we switched to systemd services. This commit restores this feature by instructing systemd to source `/etc/default/homescreen` if it exists. Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I62c8597eac7d14d9d5166f9c559a1538398cd0c8
2021-12-21homescreen: convert to using the new App FWArnaud Ferraris2-11/+11
Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I3f53c4d9143baad15fee59110f5f9fbf64290d6c
2021-11-04homescreen: update recipeScott Murray2-11/+29
Rework homescreen demo app recipe for building a version of it with the application framework usage removed. A simple systemd unit to start it has been added as a placeholder until the new application scheme has been added. This will at least produce something on screen for testing, and the HOMESCREEN_DEMO_CI environment variable can be defined via /etc/default/homescreen to potentially re-enable the CI startup test. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I510873d428dc98286775722e23b34cd4a9862258
2021-11-03Prepare master for new framework integrationJan-Simon Möller1-15/+13
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-08-20Convert to new override syntaxScott Murray1-3/+3
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-07-09alexa-viewer, cluster-demo, homescreen, launcher: the protocols are in ↵Marius Vlad1-3/+1
agl-compositor-dev Adds it to DEPENDS straight in without using _append. Bug-AGL: SPEC-4015 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ief387323bada4e36df3d45e94a2bc296e46ccb0d
2021-07-07Add dependency to alexa-viewer, launcher, homescreen, cluster-receiverMarius Vlad1-0/+3
Add dependency for agl-compositor. FIXME: split agl-compositor-protocols into separate packages. Bug-AGL: SPEC-4015 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ia05f4bf60338294cef25225c3e7e1e36643bfd5e
2021-02-25Fix S definitions in various recipesScott Murray1-1/+1
Bitbake in poky master now warns if the path in the S variable definition has a trailing '/', remove all occurrences to reduce "next" branch maintenance. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I226095245c208e579b6b176d333918d5e1c70844
2021-01-15Update demo app runtime dependenciesScott Murray1-2/+6
Update runtime dependencies in demo app recipes to match current binding requirements. Bug-AGL: SPEC-3748 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibaab8d0d2b00f764946ed8472e76a504647b697e
2021-01-15Fix style issues in app recipesScott Murray1-16/+17
Update spacing and variable ordering in the demo app recipes for consistency per the OpenEmbedded syle guide (see: https://www.openembedded.org/wiki/Styleguide). Additionally, a common cut-and-pasted unnecessary comment has been removed from the recipes. There are no functional changes. Bug-AGL: SPEC-3748 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic7cf3a1392678e76e8f512acb4f16b623fa35d3f
2021-01-15Update SUMMARY and DESCRIPTION in app recipesScott Murray1-2/+2
Update the SUMMARY and DESCRIPTION variable definitions in the various demo application recipes to remove old references to "CES 2017" and make them more consistent. Bug-AGL: SPEC-3748 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I97cc00610463aa59f7e23ecccc9c625fbfed7a74
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller1-0/+37
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8