AGL/meta-agl-demo.git
17 months agoBump flutter-dashboard and flutter-hvac 80/28180/2 14.91.0 octopus/14.91.0 octopus_14.91.0
Scott Murray [Mon, 21 Nov 2022 16:31:55 +0000 (11:31 -0500)]
Bump flutter-dashboard and flutter-hvac

Bump flutter-dashboard and flutter-hvac SRCREVs to pick up opaque
background fixes.

Bug-AGL: SPEC-4614

Change-Id: I9d2630f1325c7f6e8657a9c7eb1f8ead23e3a5ba
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoUpdate Flutter demo image to use Flutter homescreen 49/28149/3
Scott Murray [Mon, 21 Nov 2022 07:57:20 +0000 (02:57 -0500)]
Update Flutter demo image to use Flutter homescreen

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>
17 months agoweston-ini-conf: Add bbappend to generate Flutter demo config 48/28148/3
Scott Murray [Mon, 21 Nov 2022 07:54:41 +0000 (02:54 -0500)]
weston-ini-conf: Add bbappend to generate Flutter demo config

The Flutter homescreen in the Flutter demo image currently requires
specifying the application activation area in the output sections in
the weston.ini configuration for the compositor.  Add a bbappend that
creates a weston-ini-conf-flutter package with the required .ini.

Bug-AGL: SPEC-4615

Change-Id: I59ef74abb8957ea2ad8b13b6de014662a2a867c8
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoflutter-homescreen: add recipe 47/28147/2
Scott Murray [Mon, 21 Nov 2022 07:50:37 +0000 (02:50 -0500)]
flutter-homescreen: add recipe

Add recipe for Flutter homescreen application.

Bug-AGL: SPEC-4615

Change-Id: I71510ff462c84bed0de36e889455828a4feb02b3
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoRestore webapp samples 29/28129/2
Roger Zanoni [Wed, 9 Nov 2022 13:31:36 +0000 (14:31 +0100)]
Restore webapp samples

The desktop files aren't used anymore, change
the recipes to use appinfo.json instead.

Bug-AGL: SPEC-4605
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ie03aef155217f59bb6363f18b2781adbacc93786

17 months agoUpdates for KUKSA.val 0.2.5 36/28136/1
Scott Murray [Thu, 10 Nov 2022 21:44:46 +0000 (16:44 -0500)]
Updates for KUKSA.val 0.2.5

Update SRCREVs for the agl-service-audiomixer and agl-service-hvac
services as well as the dashboard and agl-cluster-demo-dashboard apps
to pick up fixes for signal changes in KUKSA.val 0.2.5.

Bug-AGL: SPEC-4587, SPEC-4598

Change-Id: I581ad6560032c76458e00658b750cba7d0b6e1de
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
18 months agokuksa-val: Upgrade to latest 50/28050/3
Scott Murray [Tue, 11 Oct 2022 20:00:28 +0000 (16:00 -0400)]
kuksa-val: Upgrade to latest

Changes:
- Upgrade kuksa-val and kuksa-viss-client to a commit that includes
  the 0.2.5 release tag and some fixes past it.  The patches for each
  have been updated against the newer version, with backported ones
  dropped.
- The affected recipes have been updated to include some new gRPC
  tooling dependencies, and a recipe for a new jsonpath-ng dependency
  has been added.
- Rework the kuksa-dbc-feeder recipe for the splitting out of the
  example feeders from the main kuksa-val repository.
- Rework our local kuksa-dbc-feeder patches against the newer version,
  as upstream has made several improvements.  Also drop the duplicate
  filtering feature patch, as it seems likely we will not need it
  going forward.
- Update the kuksa-dbc-feeder configuration files to work with the new
  version.  Notable is a change in the engine speed signal naming in
  VSS 3.0, which is the new default for VSS schema.
- The kuksa-val and kuksa-val-feeders trees have changed their
  licensing from EPL-1.0 to Apache-2.0, update the recipes
  accordingly.

Bug-AGL: SPEC-4587

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibc990767219f79af95929e86361e66beda2d0c9e

18 months agohomescreen_git.bb: Bump SRCREV to add meson support 49/28049/2
Marius Vlad [Mon, 10 Oct 2022 13:52:11 +0000 (16:52 +0300)]
homescreen_git.bb: Bump SRCREV to add meson support

Bug-AGL: SPEC-4584
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3954e92177cccc5d8180956b4e482e707f043b30

18 months agoChange SRC_URI and SRCREV for ivi-demo-flutter-apps 41/28041/2
Hritik Chouhan [Wed, 5 Oct 2022 19:18:43 +0000 (21:18 +0200)]
Change SRC_URI and SRCREV for ivi-demo-flutter-apps

- 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>
19 months agohtml5-aquarium: fix the incorrect license 40/28040/1
Denys Dmytriyenko [Mon, 3 Oct 2022 20:22:06 +0000 (20:22 +0000)]
html5-aquarium: fix the incorrect license

As "BSD-3" is incorrect and "BSD-3-Clause" should be used instead. Causes:

WARNING: agl-demo-platform-html5-1.0-r0 do_rootfs: QA Issue: The license listed BSD-3 was not in the licenses collected for recipe html5-aquarium [license-file-missing]

Bug-AGL: SPEC-4580
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: I06b3865bad8667c4f7514c70fed89730cf15e713

19 months agohomescreen_git.bb: Bump SRCREV to get protocol updates 17/28017/2
Marius Vlad [Fri, 23 Sep 2022 12:28:36 +0000 (15:28 +0300)]
homescreen_git.bb: Bump SRCREV to get protocol updates

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

19 months agoagl-demo-platform: Do not activate by default 91/27991/3
Marius Vlad [Thu, 15 Sep 2022 11:49:18 +0000 (14:49 +0300)]
agl-demo-platform: Do not activate by default

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

19 months agorecipes-demo: camera-gstreamer: Updates for application enumeration via systemd units 54/27854/3
Vasyl Vavrychuk [Mon, 1 Aug 2022 15:08:56 +0000 (17:08 +0200)]
recipes-demo: camera-gstreamer: Updates for application enumeration via systemd units

Update camera-gstreamer recipe to use the new agl-app.bbclass to install
the now required by applaunchd systemd template unit instances.

For application display name use it from camera-gstreamer.desktop
available via application sources repository.

Bug-AGL: SPEC-4466
Change-Id: I0890951d4ecac95e9d4a44ed5a83e704cd41673f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
19 months agorecipes-demo: Add videoplayer recipe. 46/27846/5
Vasyl Vavrychuk [Fri, 29 Jul 2022 12:29:32 +0000 (14:29 +0200)]
recipes-demo: Add videoplayer recipe.

videoplayer BitBake recipe imported from attachment to AGL JIRA ticket
[1] with adaptation for AGL NN.

videoplayer suggested as an application to play video in [2]. Out from
the box mediaplayer does not support video (only audio is supported).

[1]: https://jira.automotivelinux.org/browse/SPEC-2389
[2]: https://jira.automotivelinux.org/browse/SPEC-4028

Bug-AGL: SPEC-4148
Change-Id: Ifd20f3e00ad1a99d0d05b8fb361ff7a8eb7a78f2
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
19 months agoAdd recipes for flutter apps 86/27986/4
Hritik Chouhan [Sat, 10 Sep 2022 18:35:16 +0000 (20:35 +0200)]
Add recipes for flutter apps

- 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>
19 months agoChange SRC_URI and SRCREV for flutter-cluster-dashboard 09/28009/2
Aakash Solanki [Wed, 21 Sep 2022 08:23:48 +0000 (10:23 +0200)]
Change SRC_URI and SRCREV for flutter-cluster-dashboard

- Change SRC_URI to use the app repository on gerrit.
- Change SRCREV to use latest commit of
  apps/flutter-instrument-cluster on gerrit

Bug-AGL: SPEC-4508

Change-Id: I7f4cc443beaa1fe8991f6f913da1b59a76321e0b
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
19 months agokuksa-viss-client: add patch to fix command-line tool 14/28014/1
Scott Murray [Wed, 21 Sep 2022 19:49:19 +0000 (15:49 -0400)]
kuksa-viss-client: add patch to fix command-line tool

Add a patch for kuksa-viss-client to fix the cmd2 Python module
usage to work with newer versions of cmd2.

Bug-AGL: SPEC-4552

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7599f2e07b4ad3d57796a06677d5fda170240229

19 months agoSwitch Qt demo apps to gRPC launcher API 85/27985/5
Scott Murray [Sat, 10 Sep 2022 17:11:15 +0000 (13:11 -0400)]
Switch Qt demo apps to gRPC launcher API

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

19 months agokuksa-viss-client: add Python 3.10 support patch 06/28006/2
Scott Murray [Mon, 19 Sep 2022 21:57:06 +0000 (17:57 -0400)]
kuksa-viss-client: add Python 3.10 support patch

Add backported patch from upstream to support latest Python 3.10.x in
the kuksa-viss-client recipe, replacing my previous local change which
no longer seems sufficient with 3.10.4.

Bug-AGL: SPEC-4566

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibeddb507b620d6700f807c92f77d7ee392e6014a

19 months agoAdd config file for flutter-cluster-dashboard 88/27988/3
Aakash Solanki [Wed, 14 Sep 2022 09:23:42 +0000 (11:23 +0200)]
Add config file for flutter-cluster-dashboard

- Add 'flutter-cluster-dashboard.yaml' file, which contains
  KUKSA.VAL auth token and few other paramenters.
- Set openrouteservice API Key in local.conf to the variable
  `OPENROUTE_API_KEY`.
- Change SRCREV

Bug-AGL: SPEC-4508

Change-Id: I9a225013e18b65626b391258445ec0f6acf1a970
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
19 months agoAdd Flutter HVAC app 37/27937/2
Hritik Chouhan [Mon, 22 Aug 2022 11:02:34 +0000 (13:02 +0200)]
Add Flutter HVAC app

- This add the Flutter HVAC app in the AGL
- Pin the flutter HVAC app in IVI flutter demo homescreen.
- Integrate with kuksa-val server.

Bug-AGL: SPEC-4531

Change-Id: Idebb430360cd439d1403da86b220c9e9b5c48f22
Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
19 months agoAdd flutter dashboard app 97/27897/4
Hritik Chouhan [Wed, 10 Aug 2022 20:27:34 +0000 (22:27 +0200)]
Add flutter dashboard app

- 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>
19 months agowam: fix surface type name in application manifest 75/27975/1
Jose Dapena Paz [Wed, 31 Aug 2022 10:24:55 +0000 (12:24 +0200)]
wam: fix surface type name in application manifest

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

20 months agochromium: fix wayland protocol version checks. 61/27961/2
Jose Dapena Paz [Thu, 1 Sep 2022 15:04:11 +0000 (17:04 +0200)]
chromium: fix wayland protocol version checks.

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

20 months agoChange SRCREV for flutter instrument cluster recipe 70/27970/2
Aakash Solanki [Fri, 2 Sep 2022 09:55:26 +0000 (11:55 +0200)]
Change SRCREV for flutter instrument cluster recipe

- Change SRCREV to use latest commit
- Change packagename from `ic` to `flutter_cluster_dashboard`
- Change kuksa_vss_init.py to add signals for navigation

Latest commit of the flutter app includes the new navigation
in the instrument cluster, more indicators and unnecessary
files and folders are also removed.

Bug-AGL: SPEC-4508

Change-Id: I766b410cd66774bfb84eeb0ce9654ed85e8d2af3
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
20 months agoUpdate agl-cluster-demo-platform-flutter image 85/27885/2
Aakash Solanki [Sat, 6 Aug 2022 11:49:55 +0000 (13:49 +0200)]
Update agl-cluster-demo-platform-flutter image

- Remove packagegroup and add packages to image
- Add a script to set some value in Kuksa data model
- Add Simple-CAN-simulator

Bug-AGL: SPEC-4508

Change-Id: Ibf4f4c2b02f7860e2f93c08a5c0e064272652657
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
21 months agoAdd a new image for Flutter instrument cluster app 72/27872/1
Aakash Solanki [Sat, 6 Aug 2022 11:49:55 +0000 (13:49 +0200)]
Add a new image for Flutter instrument cluster app

- Add a new image: agl-cluster-demo-platform-flutter
- Add recipe for instrument cluster app
- Pin instrument cluster app with kuksa-val-server.

Bug-AGL: SPEC-4508

Change-Id: I04dc536e5700fb6b92e8c9a672ebb107c73e6724
Signed-off-by: aakashs45 <tech2aks@gmail.com>
21 months agoHandle meta-flutter update 63/27863/1
Scott Murray [Thu, 4 Aug 2022 21:14:53 +0000 (17:14 -0400)]
Handle meta-flutter update

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

21 months agomediaplayer: bump SRCREV 57/27857/1
Scott Murray [Wed, 3 Aug 2022 19:30:08 +0000 (15:30 -0400)]
mediaplayer: bump SRCREV

Bump mediaplayer SRCREV to pick up the previously forward-ported
change:

0aefba2 Fix layout issues

This gets it back in parity with what's being used in Marlin.

Bug-AGL: SPEC-4444

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I919a59ad2cbea6e39527b39fd1c477e9c6b489a0

21 months agowam: use gRPC for internal IPC. 40/27840/4 13.92.0 needlefish/13.92.0 needlefish_13.92.0
Jose Dapena Paz [Tue, 28 Jun 2022 19:04:45 +0000 (21:04 +0200)]
wam: use gRPC for internal IPC.

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>
21 months agoAdd agl-ivi-demo-platform-flutter image 39/27839/1
Scott Murray [Wed, 27 Jul 2022 23:41:59 +0000 (19:41 -0400)]
Add agl-ivi-demo-platform-flutter image

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

21 months agoUpdates for application enumeration via systemd units 36/27836/2
Scott Murray [Wed, 27 Jul 2022 21:02:54 +0000 (17:02 -0400)]
Updates for application enumeration via systemd units

Update application recipes to use the new agl-app.bbclass to install
the now required by applaunchd systemd template unit instances.  The
previously used .desktop files have been removed, and it is believed
that the required configuration with respect to application display
names has been captured in the new agl-app configuration variables.

Bug-AGL: SPEC-4466

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2925a68f911646c287bc7128bb0e5f43d55ce7bf

21 months agoagl-demo: add agl-selinux as a dependency 92/27792/2
Scott Murray [Mon, 25 Jul 2022 19:06:38 +0000 (15:06 -0400)]
agl-demo: add agl-selinux as a dependency

Add the agl-selinux feature as a dependency of agl-demo to pull in the
SELinux support for demo image builds.

Bug-AGL: SPEC-4332

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I12ff244a47c2ca6f039972ca5263f9e78dc1d107

21 months agoAdd html-examples 73/27673/2
Jose Dapena Paz [Fri, 17 Jun 2022 14:00:51 +0000 (16:00 +0200)]
Add html-examples

Bug-AGL: SPEC-4248
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Change-Id: Iee0e068aa5fd6f3bf5cb4cab8c5003e109408a8f

21 months agohtml5-jitsi added 72/27672/2
Jose Dapena Paz [Tue, 31 May 2022 18:20:13 +0000 (20:20 +0200)]
html5-jitsi added

Added Jitsi Meetings demo.

Bug-AGL: SPEC-4393
Change-Id: Ide2363c9887aefa4370c7c7ce0007313cca03081
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
21 months agohtml5-aquarium, html5-youtube added 71/27671/2
Jose Dapena Paz [Tue, 31 May 2022 17:56:05 +0000 (19:56 +0200)]
html5-aquarium, html5-youtube added

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>
21 months agokuksa-val: add regenerated server certificate 58/27758/2 13.91.0 needlefish/13.91.0 needlefish_13.91.0
Scott Murray [Mon, 11 Jul 2022 23:29:53 +0000 (19:29 -0400)]
kuksa-val: add regenerated server certificate

After fixing the issue with the SSL context purpose in the Python
client library, client connections were still failing with the
error:

  certificate verify failed: IP address mismatch, certificate is not valid for localhost

To fix this, the certificate generation script has been patched to
create the now required Subject Alt Name extension field, as that has
effectively replaced using the CN field in most SSL implementations.
Replacement Server.key and Server.pem files generated with the
updated script have been added to give us a working configuration
while this is worked with upstream so their default configuration is
usable with newer Python + OpenSSL versions.

Bug-AGL: SPEC-4467

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9e8374fbbef6e8570b16d87f4e1800ceba8aacad

21 months agokuksa-viss-client: add patch to fix SSL context creation 57/27757/3
Scott Murray [Mon, 11 Jul 2022 23:26:33 +0000 (19:26 -0400)]
kuksa-viss-client: add patch to fix SSL context creation

Add a patch that fixes the context purpose in the SSL context
creation done for the client connection.  On a client, the
purpose needs to be set to server authentication to make newer
versions of Python happy.

Bug-AGL: SPEC-4467

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ide640a79f450fd2c1b5c2cda847932b2fd4e35c7

21 months agorecipes-demo: update application's .desktop files for systemd execution 56/27756/2
Denys Dmytriyenko [Thu, 7 Jul 2022 16:26:45 +0000 (16:26 +0000)]
recipes-demo: update application's .desktop files for systemd execution

Initial version of applaunchd with systemd_manager still uses .desktop files
for enumeration purposes and requires DBusActivatable=true to indicate apps
that should be launched as systemd services. This will be addressed in the
new revision of applaunchd and hopefully .desktop files dropped completely.

Bug-AGL: SPEC-4466
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: I3bcea79ec653fc834a39be4135ed4c008d5979db

21 months agoweston-terminal-conf: add systemd-sandboxed demo configuration 55/27755/2
Denys Dmytriyenko [Thu, 7 Jul 2022 16:17:57 +0000 (16:17 +0000)]
weston-terminal-conf: add systemd-sandboxed demo configuration

Add a secondary .desktop file for weston-terminal to demonstrate new
applaunchd systemd_manager with sandboxing capabilities.

The sandboxing example enables PrivateNetwork - only loopback interface
is available with localhost access only, easy to verify in the terminal

Bug-AGL: SPEC-4466
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: Ib17880050056a2801f03bcc54caef921e8bdb516

21 months agodbus: Delete patch dbus-c++-threading.patch not used any longer 46/27746/3
Zhou Mingying [Fri, 8 Jul 2022 09:36:32 +0000 (17:36 +0800)]
dbus: Delete patch dbus-c++-threading.patch not used any longer

The patch dbus-c++-threading.patch is no longer used in dbus.
So delete this unused patch.

Bug-AGL: SPEC-4434

Signed-off-by: Zhou Mingying <zhoumy@fujitsu.com>
Change-Id: I09f0743496d657d474191365639adc72d33b4a0f

22 months agodemo-i2c-udev-conf: update for reworked agl-service-hvac 43/27743/2
Scott Murray [Thu, 16 Jun 2022 04:59:47 +0000 (00:59 -0400)]
demo-i2c-udev-conf: update for reworked agl-service-hvac

Update demo-i2c-udev-conf recipe and the script and systemd unit
it installs to generate the configuration that the reworked
agl-service-hvac daemon expects for LED configuration for the
demo platform.

Bug-AGL: SPEC-4409

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8a746681a5f0acab9aa834796abd3607570e54b4

22 months agopsplash-portrait-config: add recipe 42/27742/2
Scott Murray [Wed, 8 Jun 2022 19:50:30 +0000 (15:50 -0400)]
psplash-portrait-config: add recipe

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

22 months agosimple_can_simulator: support different interface for LIN messages 41/27741/2
Scott Murray [Tue, 7 Jun 2022 20:25:40 +0000 (16:25 -0400)]
simple_can_simulator: support different interface for LIN messages

Add a "--lin-interface" option to simple_can_simulator.py to allow
specifying a different CAN interface for the cruise control LIN
messages from the steering wheel in the demo setup.  This allows
pointing at the sllin0 interface in the full demo setup that is
configured with the agl-demo-preload feature.  Previously the
CAN messages for the LIN events were bridged to the primary CAN
interface, but this has proven unreliable in practice.

Bug-AGL: SPEC-4431

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1bb0e429b849ed1e25cbd9ee8fb887e973d33081

22 months agoagl-service-audiomixer: add updated recipe 40/27740/2
Scott Murray [Sat, 18 Jun 2022 00:36:07 +0000 (20:36 -0400)]
agl-service-audiomixer: add updated recipe

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

22 months agoagl-service-hvac: add updated recipes 39/27739/2
Scott Murray [Thu, 16 Jun 2022 04:48:55 +0000 (00:48 -0400)]
agl-service-hvac: add updated recipes

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

22 months agoUpdate vehicle signal using app recipes 38/27738/2
Scott Murray [Tue, 7 Jun 2022 20:12:25 +0000 (16:12 -0400)]
Update vehicle signal using app recipes

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

22 months agolibqtappfw: update SRCREV 44/27744/1
Scott Murray [Wed, 8 Jun 2022 14:00:15 +0000 (10:00 -0400)]
libqtappfw: update SRCREV

Update libqtappfw SRCREV to pick up:

a2d991a Merge "Reimplement HVAC API with VIS signals"
b2cb90d Reimplement HVAC API with VIS signals
fc9399e Reimplement navigation API with VIS signals
607f2b6 Add VIS vehicle signal support

Bug-AGL: SPEC-4408

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I09fab479d5d672823d05d9ae784f323b2dfe34d6

22 months agoUpdate demo KUKSA.val configuration 37/27737/1
Scott Murray [Sun, 12 Jun 2022 16:58:47 +0000 (12:58 -0400)]
Update demo KUKSA.val configuration

In practice mapping multiple CAN signals from the LIN polling to a
smaller number of VIS signals does not work well with the behavior
of the CAN feeder from KUKSA.val when testing on the actual demo
hardware.  To improve the behavior:
- update the VSS schema overlay and DBC feeder mapping configuration
  to use new AGL custom steering wheel switch signals instead of the
  previous signals and mappings.
- add a patch to the DBC feeder to add a per-target duplicate signal
  filtering option, and enable it for all the steering wheel signals
  in the mapping configuration.

The DBC feeder performance issues stemming from synchronous VIS server
updates will be discussed with upstream, but these changes should
yield behavior similar to the previous combination of the low-can and
signal-composer bindings.  With respect to the switch signals, this
should be revisited if implementing a custom LIN signal feeder becomes
an option, as overall it would be better to leverage the standard VSS
schema signals if possible.

Bug-AGL: SPEC-4405

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifd62161f18303717ee279e23f46000324ab77dbc

22 months agoAdd demo specific KUKSA.val configuration 16/27716/1
Scott Murray [Tue, 7 Jun 2022 00:16:57 +0000 (20:16 -0400)]
Add demo specific KUKSA.val configuration

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

22 months agokuksa-val: split client certificates into a separate package 15/27715/1
Scott Murray [Tue, 7 Jun 2022 00:05:49 +0000 (20:05 -0400)]
kuksa-val: split client certificates into a separate package

Split the certificates required by clients (so client and CA) into
a separate kuksa-val-client-certificates package so that they can
be reused in the cluster demo image without having the full KUKSA.val
server installed.

Bug-AGL: SPEC-4405

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6b78b212ead395c8f731eab40ef0525a515bdb7c

22 months agokuksa-dbc-feeder-sllin: add recipe 14/27714/1
Scott Murray [Tue, 7 Jun 2022 00:02:33 +0000 (20:02 -0400)]
kuksa-dbc-feeder-sllin: add recipe

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

22 months agolibqtappfw: add qtwebsockets dependency 13/27713/1
Scott Murray [Mon, 6 Jun 2022 22:20:15 +0000 (18:20 -0400)]
libqtappfw: add qtwebsockets dependency

At least for the near future, the KUKSA.val support for vehicle
signals in libqtappfw will use the VISS standard websocket
interface scheme, so add qtwebsockets as a build dependency.

Bug-AGL: SPEC-4408

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5c5b5e187651d0f30d267e1f21c0196c270859f0

22 months agoRework demo packagegroup and images 12/27712/1
Scott Murray [Mon, 6 Jun 2022 22:06:42 +0000 (18:06 -0400)]
Rework demo packagegroup and images

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

22 months agoRename agl-cluster-demo-support feature 11/27711/1
Scott Murray [Mon, 6 Jun 2022 21:49:59 +0000 (17:49 -0400)]
Rename agl-cluster-demo-support feature

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

22 months agokuksa-dbc-feeder: update AGL vcar DBC file 10/27710/1
Scott Murray [Mon, 30 May 2022 23:18:05 +0000 (19:18 -0400)]
kuksa-dbc-feeder: update AGL vcar DBC file

The initial check-in of agl-vcar.dbc used with the kuksa-dbc-feeder
recipe was a version with the steering wheel events incorrectly
defined, update it with a corrected copy.

Bug-AGL: SPEC-4405

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5c84d381c2652a1b5e9f06614f52c6d02b1998c0

22 months agosllin: switch to updated upstream 09/27709/1
Scott Murray [Mon, 30 May 2022 22:51:36 +0000 (18:51 -0400)]
sllin: switch to updated upstream

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

22 months agokuksa-dbc-feeder: add recipe and dependencies 08/27708/1
Scott Murray [Thu, 26 May 2022 14:38:07 +0000 (10:38 -0400)]
kuksa-dbc-feeder: add recipe and dependencies

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

22 months agokuksa-val: add recipe 07/27707/1
Scott Murray [Wed, 25 May 2022 22:44:05 +0000 (18:44 -0400)]
kuksa-val: add recipe

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

22 months agoRemove use of AGL_APP_REVISION 92/27692/1
Jan-Simon Moeller [Wed, 29 Jun 2022 18:21:16 +0000 (20:21 +0200)]
Remove use of AGL_APP_REVISION

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

22 months agopackagegroup-agl-demo-platform-html5: remove ondemandnavi 70/27670/1
Jose Dapena Paz [Thu, 9 Jun 2022 15:29:41 +0000 (17:29 +0200)]
packagegroup-agl-demo-platform-html5: remove ondemandnavi

Only use HTML5 applications for HTML5 demo.

Change-Id: I8d8ec68172236d842c883b062effdda683e31f53
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
22 months agohtml5-mixer: recover HTML5 mixer demo application. 69/27669/1
Jose Dapena Paz [Tue, 31 May 2022 16:15:32 +0000 (18:15 +0200)]
html5-mixer: recover HTML5 mixer demo application.

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

22 months agohtml5-mediaplayer: recover HTML5 mediaplayer demo application. 68/27668/1
Jose Dapena Paz [Tue, 31 May 2022 15:17:32 +0000 (17:17 +0200)]
html5-mediaplayer: recover HTML5 mediaplayer demo application.

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

22 months agoqtwayland:delete the patch that is no longer used 22/27622/3
duerpei [Thu, 9 Jun 2022 06:28:28 +0000 (14:28 +0800)]
qtwayland:delete the patch that is no longer used

The patch is already deleted from the file qtwayland_agldemo.inc
by https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/26753
and it was no longer used

Bug-AGL:SPEC-4434

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I9314681424c133e40f67d86bb4a5097d6045cc5f

22 months agowam: ignore GPU block list 28/27628/3
Jose Dapena Paz [Wed, 8 Jun 2022 16:48:13 +0000 (18:48 +0200)]
wam: ignore GPU block list

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

22 months agochromium, wam: fix repository branches. 34/27634/1
Jose Dapena Paz [Mon, 13 Jun 2022 16:31:49 +0000 (18:31 +0200)]
chromium, wam: fix repository branches.

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

22 months agochromium91=ose17.agl,wam=ose57: update Chromium and WAM to webOS OSE 2.16 baseline 26/27626/2
Jose Dapena Paz [Fri, 10 Jun 2022 18:20:40 +0000 (20:20 +0200)]
chromium91=ose17.agl,wam=ose57: update Chromium and WAM to webOS OSE 2.16 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>
22 months agohtml5-settings: recover HTML5 settings application. 27/27627/1
Jose Dapena Paz [Tue, 31 May 2022 17:54:25 +0000 (19:54 +0200)]
html5-settings: recover HTML5 settings application.

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

22 months agohtml5-dashboard: recover HTML5 dashboard demo application. 74/27574/3
Jose Dapena Paz [Mon, 23 May 2022 11:20:02 +0000 (13:20 +0200)]
html5-dashboard: recover HTML5 dashboard demo application.

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>
23 months agodbus_agldemo: Fix recipe style error 63/27563/1
duerpei [Fri, 27 May 2022 02:59:12 +0000 (10:59 +0800)]
dbus_agldemo: Fix recipe style error

The bitbake recipe has style guide at
https://www.openembedded.org/wiki/Styleguide

In do_install
Don't use mkdir to create destination directories,
use install -d instead.

Bug-AGL: SPEC-4401

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: If5a9331532d9777cad1c0f55d8a1105932e97872

23 months agochromium: do not build with Swiftshader and Dawn. 15/27515/2
Jose Dapena Paz [Fri, 20 May 2022 15:30:53 +0000 (17:30 +0200)]
chromium: do not build with Swiftshader and Dawn.

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>
23 months agochromium: drop browser and mksnapshot packaging. 14/27514/2
Jose Dapena Paz [Fri, 20 May 2022 15:28:00 +0000 (17:28 +0200)]
chromium: drop browser and mksnapshot packaging.

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

23 months agohtml5-*: allow network access to do_compile stage. 13/27513/2
Jose Dapena Paz [Fri, 20 May 2022 11:15:57 +0000 (13:15 +0200)]
html5-*: allow network access to do_compile stage.

In our HTML5 demo packages, we use npm for retrieving dependencies, and that
happens in compile stage. So network needs to be enabled accordingly.

Bug-AGL: SPEC-4390
Change-Id: I6c00d83b611753d5e2d8d321aa3ad43898f81149
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
23 months agolauncher: Correct "HOMEPAGE" in launcher_git.bb 01/27501/1
duerpei [Fri, 20 May 2022 02:01:54 +0000 (10:01 +0800)]
launcher: Correct "HOMEPAGE" in launcher_git.bb

The originally link in homepage cannot be opened
when copied to the browser.
Replace it with link that can be opened

Bug-AGL: SPEC-4368

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I03a67694c639a9abaf70e0f5624b0d528dbbf980

23 months agoReplace "/etc" with "${sysconfidir}" 80/27480/2
duerpei [Fri, 13 May 2022 06:32:49 +0000 (14:32 +0800)]
Replace "/etc" with "${sysconfidir}"

make them more standardized

Bug-AGL: SPEC-4374

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I869eeef40a539b7fc085ac1cb969e8c4699f131f

23 months agochromium: fix aarch64 build because of broken NEON extensions for GCC 49/27449/3
Jose Dapena Paz [Tue, 3 May 2022 18:12:56 +0000 (20:12 +0200)]
chromium: fix aarch64 build because of broken NEON extensions for GCC

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

23 months agochromium, html5-*: adapt to kirkstone 48/27448/3
Jose Dapena Paz [Mon, 2 May 2022 18:22:08 +0000 (20:22 +0200)]
chromium, html5-*: adapt to kirkstone

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>
23 months agochromium=91.0.4472.114.ose11.agl, wam=ose57.agl 16/27416/2
Jose Dapena Paz [Wed, 27 Apr 2022 09:08:09 +0000 (11:08 +0200)]
chromium=91.0.4472.114.ose11.agl, wam=ose57.agl

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>
23 months agowam, chromium, html5-*: improve initial frame, and drop usage of config.xml 14/27414/4
Jose Dapena Paz [Mon, 18 Apr 2022 14:40:45 +0000 (16:40 +0200)]
wam, chromium, html5-*: improve initial frame, and drop usage of config.xml

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>
23 months agoAdd wireplumber recipes to agl explicitly. 56/27256/7
Ashok Sidipotu [Wed, 9 Mar 2022 05:00:47 +0000 (10:30 +0530)]
Add wireplumber recipes to agl explicitly.

Add wireplumber recipes explicitly as they are removed from
packagegroup-pipewire.

Bug-AGL: SPEC-4100
Change-Id: I1081d04c13de7d38d0f42ac0c10eedfc20acc655
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
23 months agoCorrect "HOMEPAGE" in some recipe files 69/27469/1
duerpei [Wed, 11 May 2022 02:16:57 +0000 (10:16 +0800)]
Correct "HOMEPAGE" in some recipe files

The links originally written in HOMEPAGE
cannot be opened when copied to the browser.
So I changed them into links that
can be opened in the browser.

Bug-AGL: SPEC-4368

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I80590ad0761b2e32a8bd42dad35854648b08df10

2 years agoweston-terminal: Rename to correct appid 58/27458/3
Marius Vlad [Thu, 5 May 2022 14:25:21 +0000 (17:25 +0300)]
weston-terminal: Rename to correct appid

With weston 10, we also update the terminal appid, so we need to update
our .desktop file to reflect that.

Bug-AGL: SPEC-4358
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7a090f78a76680ead5a0514c66aae3ea9a0d9d5f

2 years agolauncher.server: Remove Name from Unit 57/27457/1
Marius Vlad [Thu, 5 May 2022 13:01:32 +0000 (16:01 +0300)]
launcher.server: Remove Name from Unit

Apparently, there's no need for the Name in the Unit anymore, systemd
says: Unknown key name 'Name' in section 'Unit', ignoring

Bug-AGL: SPEC-4358
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Icadc8130834ab6007725ee8db608349037226a7a

2 years agowam: improve shutdown procedure 22/27322/2
Jose Dapena Paz [Wed, 30 Mar 2022 08:04:42 +0000 (10:04 +0200)]
wam: improve shutdown procedure

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>
2 years agoqwaylandwindow-Short-circuit-isExposed: qtwayland resize fix 41/27341/1
Marius Vlad [Mon, 25 Apr 2022 13:43:25 +0000 (16:43 +0300)]
qwaylandwindow-Short-circuit-isExposed: qtwayland resize fix

An initial configure event does make qtwayland to send a window geometry
with the initial values, just that it doesn't take into account new
resizes which are required when starting before the shell.

Bug-AGL: SPEC-4341
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I74c74e7977dcf4dc9516572033e223449e1c44fb
(cherry picked from commit 5403a4d3e0e2252883ca48fa3b49b23c92bc1e4f)

2 years agoagl-cluster-demo fixes for Kirkstone
Scott Murray [Fri, 15 Apr 2022 17:48:22 +0000 (13:48 -0400)]
agl-cluster-demo fixes for Kirkstone

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

2 years agoconnman: move bbappend to connman-conf
Scott Murray [Mon, 11 Apr 2022 23:49:57 +0000 (19:49 -0400)]
connman: move bbappend to connman-conf

Shift the connman bbappend to connman-conf to match the changes
in upstream and meta-agl-core with respect to what installs the
connman main.conf.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I29c1c4a99c215082081b8d4ddaec6aaadcfd9933

2 years agoDrop MPD recipe backports
Scott Murray [Wed, 30 Mar 2022 18:27:17 +0000 (14:27 -0400)]
Drop MPD recipe backports

Use new AGL_META_MULTIMEDIA hook to add the meta-multimedia layer
from meta-openembedded, and drop the backports of mpd, libmpdclient,
and mpc in favour of getting them from their instead.  Also rename
our mpd bbappend to use a wildcard so it will match against the newer
version in upstream.

Bug-AGL:SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4b5730a60af7cc6c85523124d9fc40e8017c8294

2 years agomobile-broadband-provider-info: remove local patch
Scott Murray [Mon, 21 Mar 2022 00:57:42 +0000 (20:57 -0400)]
mobile-broadband-provider-info: remove local patch

Remove mobile-broadband-provider-info bbappend and local patch to
enable operation with Fido service provider in Canada for demo
testing purposes, as upstream has updated the provider info.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib074443cacc1d722df94e23678193a8e9468dfd0

2 years agoAdd now required pkgconfig inherit to restored app recipes
Scott Murray [Thu, 24 Feb 2022 17:42:52 +0000 (12:42 -0500)]
Add now required pkgconfig inherit to restored app recipes

The pkgconfig class is no longer automatically inherited via
dependencies in upstream poky, add the now required explicit
inherit in the restored recipes for the mediaplayer, radio,
phone, and messaging apps so they will build.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I852ca9f38774e654265f3d09099bf7de60220330

2 years agoUpdate to SPDX license names
Scott Murray [Tue, 22 Feb 2022 16:07:21 +0000 (11:07 -0500)]
Update to SPDX license names

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

2 years agoUpdate for kirkstone variable renames
Scott Murray [Tue, 22 Feb 2022 16:04:27 +0000 (11:04 -0500)]
Update for kirkstone variable renames

Apply updates from running the new convert-variable-renames script
from upstream.  There are a few things outside of BitBake variables
that the script still complains about that will need to be addressed
in follow up changes.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Icc6056cfdd9759470e99a51fe96d8d793e63a4ff

2 years agolinux: update WiFi hardware config fragment
Scott Murray [Wed, 1 Sep 2021 14:14:14 +0000 (10:14 -0400)]
linux: update WiFi hardware config fragment

The linux-yocto kernel and derivatives warn about WLAN_VENDOR_ATH
being set to 'm' when it's a boolean as of 5.13.x, update our
wifi.cfg fragment to fix that.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie524650ab20b70aefa37bfd3bbf499cd923185a1

2 years agogspd: drop local systemd enabling changes
Scott Murray [Wed, 1 Sep 2021 13:25:28 +0000 (09:25 -0400)]
gspd: drop local systemd enabling changes

The gpsd 3.23 recipe in upstream meta-oe now installs the systemd
enabling pieces we were doing with our local do_install append, so
those tweaks can now be removed.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6755f9cedc42748f282bdcc580340061776d540e

2 years agosllin: add patches for newer kernels
Scott Murray [Wed, 1 Sep 2021 13:24:24 +0000 (09:24 -0400)]
sllin: add patches for newer kernels

Add patches to enable building the sllin driver against kernels 5.13
and 5.14, or newer.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If48df12b0303556c5a74108d9247d5233d7bf5e5

2 years agogstreamer1.0-plugins-bad: remove bbappend
Scott Murray [Mon, 1 Mar 2021 23:06:25 +0000 (18:06 -0500)]
gstreamer1.0-plugins-bad: remove bbappend

Remove gstreamer1.0-plugins-bad bbappend and the patch it was
applying, since a version of the patch has been applied upstream.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8e8922c22937a7dacb26f26a4a5bba8910f854e4

2 years agoDeclare layer compatibility with kirkstone
Scott Murray [Mon, 22 Feb 2021 23:09:03 +0000 (18:09 -0500)]
Declare layer compatibility with kirkstone

For tracking upstream, we need to update the layer compatibility.

Bug-AGL: SPEC-3819

Change-Id: I703d624b796164804315ceb14d5ccece89a274cf
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agohtml5-hvac, html5-homescreen, html5-launcher: use explicit GIT hashes 72/27372/1
Jose Dapena Paz [Mon, 11 Apr 2022 11:39:09 +0000 (13:39 +0200)]
html5-hvac, html5-homescreen, html5-launcher: use explicit GIT hashes

To allow coordination of landing of features in wam and chromium with
the web application changes, add explicit hashes.

This is required to later land the changes for appinfo.json, as web
applications will need to change at the same time WAM stops parsing
config.xml and starts using appinfo.json.

Bug-AGL: SPEC-4251
Change-Id: Ib1f3af7f9919d467bd7ade2dd6166c4242a8316c
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agohtml5-background:Correct the content in SUMMARY 24/27324/1
duerpei [Fri, 1 Apr 2022 03:32:14 +0000 (11:32 +0800)]
html5-background:Correct the content in SUMMARY

Bug-AGL: SPEC-4307

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I7a4a81ef9ee3940be7587fbca32e119bcc5a5e40

2 years agowam: disable VSync 00/27300/2
Jose Dapena Paz [Thu, 24 Mar 2022 12:19:37 +0000 (13:19 +0100)]
wam: disable VSync

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>