AGL/meta-agl-demo.git
20 months agoUpdate agl-cluster-demo-platform-flutter image 04/27804/1 14.0.0 14.0.1 needlefish/14.0.0 needlefish/14.0.1 needlefish_14.0.0 needlefish_14.0.1
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>
20 months agoAdd a new image for Flutter instrument cluster app 98/27798/1 13.93.0 needlefish/13.93.0 needlefish_13.93.0
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>
(cherry picked from commit 85d834afe1cdc9c25e3d94daefc8d515b7d0c361)

21 months agoAdd gitreview file for Nifty Needlefish branch
Jan-Simon Moeller [Fri, 5 Aug 2022 22:38:28 +0000 (00:38 +0200)]
Add gitreview file for Nifty Needlefish branch

Update the .gitreview file.

Bug-AGL: SPEC-4518
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ie1bc720a70bca2a01115146cc9e9bca57f5b79ce

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>
2 years agohtml5-homescreen: increase wait for attempting to launch homescreen 76/27276/3
Jose Dapena Paz [Wed, 23 Mar 2022 11:58:49 +0000 (12:58 +0100)]
html5-homescreen: increase wait for attempting to launch homescreen

Reduce chances to fail initialization of HTML5-based UI on boot,
because of trying to launch homescreen while WAM is still not ready
to create applications.

This is a workaround. The right fix will be making WAM actually wait
for processing IPC messages while it is not ready to launch first
application, and making homescreen wait for the initialization of
host service.

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

2 years agochromium87: fix initialization of drag data controller 75/27275/2
Jose Dapena Paz [Wed, 23 Mar 2022 11:55:10 +0000 (12:55 +0100)]
chromium87: fix initialization of drag data controller

Land change in chromium to properly initialize drag data controller
in AGL.

chromium87: fa99cf3344..ed92389df6
ed92389df6 [op][n_upsable][wayland] Fix initialization of drag data controller

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

2 years agohtml5-hvac_git: Remove autobuild script builds 99/27299/2
duerpei [Thu, 24 Mar 2022 06:48:14 +0000 (14:48 +0800)]
html5-hvac_git: Remove autobuild script builds

Bug-AGL: SPEC-4309

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

2 years agoCorrect the content in the SUMMARY 74/27274/1
duerpei [Wed, 23 Mar 2022 06:35:20 +0000 (14:35 +0800)]
Correct the content in the SUMMARY

Bug-AGL: SPEC-4307

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

2 years agoRestore Qt compositor cluster demo image 72/27272/2
Scott Murray [Mon, 21 Mar 2022 21:03:07 +0000 (17:03 -0400)]
Restore Qt compositor cluster demo image

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

2 years agohtml5-launcher_git: Remove autobuild script builds 64/27264/1
Marius Vlad [Fri, 11 Mar 2022 15:32:27 +0000 (17:32 +0200)]
html5-launcher_git: Remove autobuild script builds

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

2 years agohtml5-background_git: Remove autobuild script builds 63/27263/1
Marius Vlad [Fri, 11 Mar 2022 15:29:58 +0000 (17:29 +0200)]
html5-background_git: Remove autobuild script builds

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

2 years agohtml5-homescreen_git: Remove autobuild script builds 60/27260/1
Marius Vlad [Fri, 11 Mar 2022 14:47:28 +0000 (16:47 +0200)]
html5-homescreen_git: Remove autobuild script builds

Bug-AGL: SPEC-4295

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id819f3282d4b82ec985c94484cfe24a008e22106

2 years agoRestore camera-gstreamer 50/27250/2 12.93.0 marlin/12.93.0 marlin_12.93.0
Scott Murray [Mon, 7 Mar 2022 21:37:34 +0000 (16:37 -0500)]
Restore camera-gstreamer

Restore an updated version of the camera-gstreamer application
recipe so that those interested can build it for testing purposes.

Bug-AGL: SPEC-4284

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

2 years agoRestore cluster and telematics demo images 49/27249/2
Scott Murray [Mon, 7 Mar 2022 21:21:05 +0000 (16:21 -0500)]
Restore cluster and telematics demo images

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

2 years agohtml5-launcher: add missing desktop file 51/27251/1
Jose Dapena Paz [Tue, 8 Mar 2022 10:51:33 +0000 (11:51 +0100)]
html5-launcher: add missing desktop file

html5-launcher new addition was missing the launcher XDG desktop file.

Bug-AGL: SPEC-4250
Change-Id: I5dd8cf075c33de6f78d4ef04638d2d7cd135efc9
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agometa-agl-demo: use HTML5 homescreen+background+launcher in HTML5 demo 37/27237/2
Jose Dapena Paz [Tue, 1 Mar 2022 16:34:33 +0000 (17:34 +0100)]
meta-agl-demo: use HTML5 homescreen+background+launcher in HTML5 demo

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>
2 years agoAdd back HTML5 launcher to HTML5 demo 09/27209/3
Jose Dapena Paz [Fri, 11 Feb 2022 15:02:54 +0000 (16:02 +0100)]
Add back HTML5 launcher to HTML5 demo

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>
2 years agoconnman-glib: bump SRCREV 39/27239/1
Scott Murray [Tue, 1 Mar 2022 21:01:46 +0000 (16:01 -0500)]
connman-glib: bump SRCREV

Bump connman-glib SRCREV to pick up:

d2377ce Be paranoid in D-Bus signal callbacks

Bug-AGL: SPEC-4182

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

2 years agolibqtappfw: Add Bluetooth media control support 38/27238/1
Scott Murray [Tue, 1 Mar 2022 20:57:54 +0000 (15:57 -0500)]
libqtappfw: Add Bluetooth media control support

Update the libqtappfw SRCREV to pick up:

1332cc7 Add Bluetooth media control support

and bump the bluez-glib SRCREV to pick up the following addition is
that a prerequisite:

045d4a1 Media control enablement and bug fixes

Bug-AGL: SPEC-4231

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

2 years agochromium: fix build with sandbox host compiler 10/27210/3
Jose Dapena Paz [Sun, 20 Feb 2022 18:48:37 +0000 (19:48 +0100)]
chromium: fix build with sandbox host compiler

chromium87: 7412ccde56..bc1410d5ad
bc1410d5ad [op][n_upsable][build] Fix build because of returning to base::Optional without move

Bug-AGL: SPEC-4260

Change-Id: Id204d26252932309753b5dd2820054ccea5b5c96
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agoAdd mediaplayer, radio, phone, and messaging apps back 05/27205/2
Scott Murray [Tue, 15 Feb 2022 23:20:56 +0000 (18:20 -0500)]
Add mediaplayer, radio, phone, and messaging apps back

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

2 years agowam: rebase on top of webOS OSE QtLess implementation 29/27129/4
Jose Dapena Paz [Thu, 3 Feb 2022 11:32:43 +0000 (12:32 +0100)]
wam: rebase on top of webOS OSE QtLess implementation

Update SRCREV and branch to @55.agl.marlin, that includes the
webOS OSE implementation of QtLess, and AGL work as a single commit
on top of it adapting to the new coding style.

Bug-AGL: SPEC-4239
Change-Id: Icc08a6ea13d85854194e6ce0278f653ce8262787
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agolibqtappfw: Re-enable mediaplayer and other libraries 04/27204/1
Scott Murray [Tue, 15 Feb 2022 23:18:36 +0000 (18:18 -0500)]
libqtappfw: Re-enable mediaplayer and other libraries

Bump SRCREV to pick up:

0de8ac8 Re-enable telephony and radio stub libraries
3f384d3 Rework mediaplayer support to use mpd

Bug-AGL: SPEC-4182

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

2 years agolibqtappfw: enable building mpd based mediaplayer support 75/27175/2
Scott Murray [Mon, 14 Feb 2022 23:22:57 +0000 (18:22 -0500)]
libqtappfw: enable building mpd based mediaplayer support

Update libqtappfw recipe to pull in libmpdclient dependency
for building the reworked mediaplayer support, and also add
a RRECOMMENDS definition that pulls in bluez5, connman, and
mpd to make the relationship more explicit.  The intent is
to split the libqtappfw-X libraries into separate packages
with some follow-on rework and have these dependencies be
more fine-grained at that point.

Bug-AGL: SPEC-4182

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

2 years agoRemove lightmediascanner 74/27174/2
Scott Murray [Mon, 14 Feb 2022 22:47:53 +0000 (17:47 -0500)]
Remove lightmediascanner

Remove the lightmediascanner recipe.  The upstream project is no
longer maintained and our intent is to replace its usage with
mpd (Media Player Daemon).

Bug-AGL: SPEC-4255

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

2 years agoAdd backports of mpd and related recipes 73/27173/2
Scott Murray [Mon, 14 Feb 2022 22:38:28 +0000 (17:38 -0500)]
Add backports of mpd and related recipes

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

2 years agochromium: reduce verbosity on compilation 28/27128/2
Jose Dapena Paz [Thu, 3 Feb 2022 11:13:17 +0000 (12:13 +0100)]
chromium: reduce verbosity on compilation

Compilation of chromium is done invoking ninja with -v. This adds
a lot of noise to compilation. This patch drops the flag.

Bug-AGL: SPEC-4142
Change-Id: I0dd3700c1ebecab99776e24d79a98211ff8f592d
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agochromium, wam: update to chromium87 tree. 27/27127/2
Jose Dapena Paz [Tue, 1 Feb 2022 16:04:32 +0000 (17:04 +0100)]
chromium, wam: update to chromium87 tree.

Update to chromium87 tree, and wam adapted to chromium87. This does
not include yet the webOS OSE QtLess version, but the submission
right before QtLess work. This is because in webOS OSE current
chromium87 release, the only work after the submission we are using
is QtLess, without adding any new functionality.

Renamed the recipe and package name to be "chromium" instead of
"chromium84" or "chromium87". Now we use PV to state the version of
the upstream Chromium.

The Chromium87 tree history has been heavily simplified to make it
easier to rebase in next upgrades.

Bug-AGL: SPEC-4142, SPEC-4225, SPEC-4227, SPEC-4228

Change-Id: I6caed396f758dd80291803266f6a59f1fec406c4
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>