AGL/meta-agl-demo.git
2 years agolibqtappfw: add qtwebsockets dependency 01/27601/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: Ide19b3917c623d30c76bdcfda419b9139db3c49e

2 years agoRework demo packagegroup and images 00/27600/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: I114b77ded6c47414270acfc3cd06e998dbcc4cef

2 years agoRename agl-cluster-demo-support feature 99/27599/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: I3a29f6507a55bb4ec5ae5ecb70e10bb910759196

2 years agokuksa-dbc-feeder: update AGL vcar DBC file 71/27571/2
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: Ifb3222fd791f4dd3c3e9cd9e97a33a3e448994ce

2 years agokuksa-viss-client: add recipe for python3-websockets dependency 70/27570/2
Scott Murray [Mon, 30 May 2022 23:11:37 +0000 (19:11 -0400)]
kuksa-viss-client: add recipe for python3-websockets dependency

The recent addition of the kuksa-viss-client recipe missed adding an
updated recipe for python3-websockets to match the dependency on the
10.x version of websockets that the 0.2.1 version has.  This was
missed during testing with kuksa-dbc-feeder as it seems to not have
the same dependency chain that the kuksa_viss_client tool does.
To allow testing and debugging with kuksa_viss_client, add a backport
of the python3-websockets 10.2 recipe from meta-python's kirkstone
branch.

Bug-AGL: SPEC-4405

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

2 years agosllin: switch to updated upstream 69/27569/2
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: Ic6081184d43c516fc4372919b2cf1ed597a90624

2 years agokuksa-dbc-feeder: add recipe and dependencies 60/27560/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 backports of recipes for required Python modules:
    python3-bitstruct, python3-can, python3-cantools, python3-cmd2,
    python3-diskcache, python3-importlib-metadata,
    python3-setuptools-scm, python3-textparser, python3-toml
  This is required to both add recipes missing from dunfell as well
  as to meet version requirements for kuksa-viss-client and
  kuksa-dbc-feeder.  For the most part the recipes were picked from
  the poky and meta-openembedded kirkstone branches before the
  significant Python module build rework done for the kirkstone M4
  milestone.  There is some potential for updating them to newer
  backports, but this will be a low priority unless there are
  explicit requests.
- Add bbappend for python3-cantools to add some missing runtime
  dependencies discovered during testing.  This will be addressed
  upstream in meta-python as time permits.
- 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 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: I4f9fe9c34165da30005d39689739c73dfdbbc615

2 years agokuksa-val: add recipe 59/27559/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: I3c4574c5acaee916673922dda3066ab9e4fbcbb3

2 years agogrpc: fix installed CMake package 58/27558/1
Scott Murray [Wed, 25 May 2022 19:45:40 +0000 (15:45 -0400)]
grpc: fix installed CMake package

The CMake package configuration installed by grpc ends up not being
usable in practice.  Add a bbappend that adds the fixes:
- a do_install:append to correct the version number to the actual
  version, as it gets mangled somehow during the grpc build.  This
  is required to avoid triggering version mismatch checks when using
  the package in CMake.
- backport a fix from the kirkstone branch of meta-openembedded that
  splits the host tools (i.e. protoc plugins) out into a separate
  CMake package.  This avoids failures due to CMake not playing well
  with the split native versus target sysroots that OpenEmbedded
  uses.  This may be revisited if grpc upstream comes up with a
  different approach.

Bug-AGL: SPEC-4405

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

2 years agoCorrect "HOMEPAGE" in some recipe files 48/27348/2 13.0.1 marlin/13.0.1 marlin_13.0.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
(cherry picked from commit ff6679e85db6d0138f66238d26257e6318068f89)

2 years agochromium: fix aarch64 build because of broken NEON extensions for GCC 42/27342/2
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

2 years agoAdd branch rename workarounds 47/27347/1
Scott Murray [Sat, 7 May 2022 12:04:52 +0000 (08:04 -0400)]
Add branch rename workarounds

Add bbappends for ndctl and ttf-noto-emoji recipes to tweak their
SRC_URIs to handle their upstreams renaming the "master" branch to
"main".  This works around the resulting build failures that would
happen otherwise, and patches will be submitted for meta-openembedded
so we can hopefully drop these on the next set of layer updates.

Bug-AGL: SPEC-4361

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic7756038cffe7bc370f512c835fb1da5954fc387
(cherry picked from commit 739cf79425c325a45468cdf5d0640c3c6328a81b)

2 years agomobile-broadband-provider-info: remove local patch 46/27346/1
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-4360

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 55849b4fa339406451be10a45e29e5b74ea7a3d9)
Change-Id: Ia5907bb4fc2b6f33d8163fbbd26f6386dd117e9d
(cherry picked from commit 2a1f3353f56918e5bbf536a6a879795d4489ca14)

2 years agochromium=91.0.4472.114.ose11.agl, wam=ose57.agl 21/27421/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>
2 years agowam, chromium, html5-*: improve initial frame, and drop usage of config.xml 20/27420/2
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>
2 years agohtml5-hvac, html5-homescreen, html5-launcher: use explicit GIT hashes 19/27419/2
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>
(cherry-picked from commit f84668e811288be4541156a9b162108479898705)

2 years agohtml5-homescreen_git: Remove autobuild script builds 37/27337/2 13.0.0 marlin/13.0.0 marlin_13.0.0
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
(cherry picked from commit d5be36be695d8ec7f8f5de01cca432621ca8e01f)

2 years agohtml5-background_git: Remove autobuild script builds 38/27338/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
(cherry picked from commit b44514b059fd751138da7453ea4c138572fdab23)

2 years agohtml5-launcher_git: Remove autobuild script builds 20/27320/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-hvac_git: Remove autobuild script builds 80/27280/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
(cherry picked from commit bbdac38957c239b73bcbf409be2efceef3e5d6f5)

2 years agowam: disable VSync 03/27303/1
Marius Vlad [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
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5fcaba9b8f5a1a7a362efd48d8df339168691c5e

2 years agohtml5-homescreen: increase wait for attempting to launch homescreen 02/27302/1
Marius Vlad [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>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id46f87b6ac2d49b0a15d5537b8b70d4ac6e62ef5

2 years agochromium87: fix initialization of drag data controller 01/27301/1
Marius Vlad [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>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1cf413ac2e0742a2fda2f9787f0c4733fb5804b2

2 years agoCorrect the content in the SUMMARY 77/27277/2
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
(cherry picked from commit 866d959acd29437ed96780fdea86bbc55e298fb2)

2 years agoRestore Qt compositor cluster demo image 95/27195/1
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 agoAdd gitreview file for Magic Marlin branch
Jan-Simon Moeller [Tue, 15 Mar 2022 16:10:17 +0000 (17:10 +0100)]
Add gitreview file for Magic Marlin branch

Update the .gitreview file.

Bug-AGL: SPEC-4300
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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>
2 years agoUpdate inclusion in agl-demo-platform-crosssdk for openssh change 32/27132/2 12.92.0 marlin/12.92.0 marlin_12.92.0
Jan-Simon Moeller [Fri, 4 Feb 2022 15:24:52 +0000 (16:24 +0100)]
Update inclusion in agl-demo-platform-crosssdk for openssh change

The sdk build did not catch the change to openssh as it used the wrong include file.
Fix it by icluding the right file.

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

2 years agoAdd html5-hvac application. 07/27107/5
Jose Dapena Paz [Wed, 26 Jan 2022 12:00:20 +0000 (13:00 +0100)]
Add html5-hvac application.

Add back the html5-hvac application, adapting installation to the new
application framework:
- It provides a valid .desktop file.
- It does not use the .wgt file, and just deployes to
  /usr/lib/wam_apps/html5-hvac the application files.

Bug-AGL: SPEC-4224
Change-Id: Icee2d6bfdbd69265614581b731a76a6742036720
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agochromium*, wam: fix systemd launching from systemd 06/27106/5
Jose Dapena Paz [Fri, 21 Jan 2022 18:18:44 +0000 (19:18 +0100)]
chromium*, wam: fix systemd launching from systemd

Instead of providing a SMACK aware system service for WAM per
session instance, provide a systemd user service depending on the
new services in Marlin.

Update the chromium84 and wam heads to include the required changes.
We also remove the patches applied from recipe, so they belong to
the chromium tree now.

chromium84: 3d6fd5dd0b..4a320225eb
4a320225eb [op][agl][wayland] Take into account wayland output transform
13d93f6dae [op][agl][wayland] Do not bind agl_shell by default.
ca47b4fd0a [skia][build] fix skia no_sanitize build issues for gcc
3b7541e3cf GCC: supress invalid-offsetof warning
6cd04072fb Add a delay to agl ready event

wam: 935be6b..8607609
8607609 [op][agl][wayland] UiSize should be system resolution.
fcfeb67 [op][agl] Allow to run web applications in new application framework.

Bug-AGL: SPEC-4223
Change-Id: Ie0bc3dd6878920a0ba1bfac4f32814a23e4d41e7
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agochromium*: remove jumbo build options 05/27105/4
Jose Dapena Paz [Thu, 20 Jan 2022 16:32:19 +0000 (17:32 +0100)]
chromium*: remove jumbo build options

Jumbo build is not supported anymore in Chromium. This changeset
removes all references in recipe to that mode.

Bug-AGL: SPEC-4233
Change-Id: I7a667c9a36bd0b825fc3014520d1b23f53828b57
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agochromium*: set by default debugging symbol level to 1 04/27104/4
Jose Dapena Paz [Thu, 20 Jan 2022 15:17:12 +0000 (16:17 +0100)]
chromium*: set by default debugging symbol level to 1

Instead of forcing symbol level to 0, that removes all debugging
information from build, set the default level to 1.

This change adds two new PACKAGECONFIG named "debug" (for setting
the symbol level for the whole build to 2) and "debug-blink" (for
setting the symbol level for blink part to 2). By default, if not
present, symbol level will be set to 1.

Symbol level is equivalent to the -g level (symbol_level=1 means
-g1, symbol_level=2 means -g or -g2).

This is copied from the webOS OSE web runtime Yocto recipe.

Bug-AGL: SPEC-4233
Change-Id: I70a983a04497aefdf9fde7074bbf0cfdf0bb8eab
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agopackagegroup-agl-demo-platform-html5: add default demo Qt UI. 03/27103/4
Jose Dapena Paz [Wed, 19 Jan 2022 09:51:03 +0000 (10:51 +0100)]
packagegroup-agl-demo-platform-html5: add default demo Qt UI.

First step for upgrading WAM to the new application framework is
making it work for regular applications, without replacing the
default demo launcher based on QT.

Bug-AGL: SPEC-4223
Change-Id: I16ae6a9b5b591a6c364d9ce99e3bc6e567ef4d90
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
2 years agolibqtappfw: Re-enable network support 23/27123/2
Scott Murray [Mon, 31 Jan 2022 17:34:07 +0000 (12:34 -0500)]
libqtappfw: Re-enable network support

Bump SRCREV to pick up:

5ef90db Re-enable network support

and also add connman-glib as a dependency in libqtappfw recipe, so
that it can be used in the reworked network API implementation.

Bug-AGL: SPEC-4182

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

2 years agoconnman-glib: add recipe 22/27122/1
Scott Murray [Mon, 31 Jan 2022 17:31:57 +0000 (12:31 -0500)]
connman-glib: add recipe

Add recipe for connman-glib library that has been refactored out of
the agl-service-network binding from the old app framework.

Bug-AGL: SPEC-4182

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

2 years agohomescreen: restore libqtappfw dependency 21/27121/1
Scott Murray [Mon, 31 Jan 2022 17:24:42 +0000 (12:24 -0500)]
homescreen: restore libqtappfw dependency

Restore libqtappfw build and run-time dependency in homescreen app
recipe to allow to re-enabling the commented out usage in it and
regain Bluetooth and Wifi status support.

Bug-AGL: SPEC-4182

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

2 years agoRestore openssh as default in the IVI demo 98/27098/1
Jan-Simon Möller [Wed, 26 Jan 2022 16:59:23 +0000 (17:59 +0100)]
Restore openssh as default in the IVI demo

To support user sessions we need to use ssh-server-openssh.

Bug-AGL: SPEC-4195
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I14dca131d5c3f6c64a9623f9a1755c05e3f6dd27

2 years agobluez-glib: bump SRCREV to pick up fix 96/27096/1
Scott Murray [Tue, 18 Jan 2022 22:44:26 +0000 (17:44 -0500)]
bluez-glib: bump SRCREV to pick up fix

Bump bluez-glib SRCREV to pick up:

0a7ac44 Avoid init delay without BT adapter present

Bug-AGL: SPEC-4216

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

2 years agopackagegroup-agl-graphical-weston: fix override syntax 65/27065/1
Scott Murray [Wed, 22 Dec 2021 20:43:36 +0000 (15:43 -0500)]
packagegroup-agl-graphical-weston: fix override syntax

Fix a use of the old override syntax that slipped by to aid
"next" branch maintenance.

Bug-AGL: SPEC-3819

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

2 years agobluez-glib libqtappfw: fix S definitions 64/27064/1
Scott Murray [Wed, 22 Dec 2021 20:41:45 +0000 (15:41 -0500)]
bluez-glib libqtappfw: fix S definitions

Bitbake in poky master now warns if the path in the S variable
definition has a trailing '/', remove a couple of occurrences
that were recently added by accident to reduce "next" branch
maintenance.

Bug-AGL: SPEC-3819

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

2 years agochromium: fix use of += with :append 63/27063/1
Scott Murray [Wed, 22 Dec 2021 20:39:32 +0000 (15:39 -0500)]
chromium: fix use of += with :append

Fix a couple of instances where += is used with a variable :append
definition, this future-proofs for Kirkstone (it currently triggers
a warning on poky master, as may soon be treated as an error).

Bug-AGL: SPEC-3819

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

2 years agoagl-users: remove 59/27059/1 12.91.0 marlin/12.91.0 marlin_12.91.0
Scott Murray [Tue, 21 Dec 2021 23:36:14 +0000 (18:36 -0500)]
agl-users: remove

Remove unused agl-users recipe as attempting to use it now would
conflict with the agl-driver user definition in the new agl-session
recipe.

Bug-AGL: SPEC-4161

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

2 years agohomescreen: import environment file on service start 56/27056/2
Arnaud Ferraris [Tue, 21 Dec 2021 16:38:12 +0000 (17:38 +0100)]
homescreen: import environment file on service start

`homescreen` relies on `/etc/default/homescreen` to contain its
environment variables, however this feature was lost when we switched
to systemd services.

This commit restores this feature by instructing systemd to source
`/etc/default/homescreen` if it exists.

Bug-AGL: SPEC-4161
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I62c8597eac7d14d9d5166f9c559a1538398cd0c8

2 years agoAdd updated demo applications back 55/27055/1
Scott Murray [Tue, 21 Dec 2021 15:00:54 +0000 (10:00 -0500)]
Add updated demo applications back

Add updated recipes for the dashboard, hvac, ondemandnavi, and
settings Qt demo applications, as well as for the libqtappfw library
they use and its new dependency bluez-glib.  The applications are
added back to the packagegroup-agl-demo-platform as they were
before.  Also remove a couple of leftover things in the packagegroup
recipe to clean up.

Bug-AGL: SPEC-4182

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

2 years agoqtquickcontrols2-agl-style: remove QT_QUICK_CONTROLS_STYLE setting 54/27054/1
Scott Murray [Tue, 21 Dec 2021 14:31:06 +0000 (09:31 -0500)]
qtquickcontrols2-agl-style: remove QT_QUICK_CONTROLS_STYLE setting

QT_QUICK_CONTROLS_STYLE was being set with a mechanism specific to
the old application framework, remove the now redundant snippet that
was doing so.  Setting the style will be handled by the applications
that require it going forward.

Bug-AGL: SPEC-4182

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

2 years agoagl-demo-platform: add launcher and make it work with new App FW 43/26943/5
Arnaud Ferraris [Tue, 7 Dec 2021 18:16:03 +0000 (19:16 +0100)]
agl-demo-platform: add launcher and make it work with new App FW

Through its dependencies, `launcher` pulls all necessary software,
including `agl-session`, `homescreen`, `weston-ini-conf`... Make the
`agl-demo-platform` packagegroup depend on it for using the new App FW.

Moreover, make the `agl-graphical-weston` packagegroup depend on
`agl-compositor-init` so we directly install the appfw-provided config
and systemd services for `agl-compositor`.

Bug-AGL: SPEC-4161 SPEC-4159
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: Ifb84b021925e50a7ea977c25eb711ddf0c9b77bd

2 years agowayland: add .desktop file for weston-terminal 42/26942/5
Arnaud Ferraris [Tue, 7 Dec 2021 18:16:00 +0000 (19:16 +0100)]
wayland: add .desktop file for weston-terminal

weston-terminal is already installed as part of the weston installation.
However, it doesn't provide a way to be easily discovered. This commit
creates a .desktop file following the "Desktop entry specification" so
this application can be discovered by a compliant application launcher.

Bug-AGL: SPEC-4161
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I9c413645ed0bd4371c7d18977304ef6f1a5a2be7

2 years agorecipes-demo: restore launcher application 41/26941/5
Arnaud Ferraris [Tue, 7 Dec 2021 18:15:58 +0000 (19:15 +0100)]
recipes-demo: restore launcher application

While launcher hasn't been merged into homescreen, we should restore it
as a default application.

Bug-AGL: SPEC-4159
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I772142beec717b0f244b1c1a9c128baf843827fd

2 years agohomescreen: convert to using the new App FW 77/26977/4
Arnaud Ferraris [Tue, 7 Dec 2021 18:15:56 +0000 (19:15 +0100)]
homescreen: convert to using the new App FW

Bug-AGL: SPEC-4161
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I3f53c4d9143baad15fee59110f5f9fbf64290d6c

2 years agotemplates: feature: ensure agl-demo uses agl-app-framework 76/26976/3
Arnaud Ferraris [Tue, 7 Dec 2021 18:15:50 +0000 (19:15 +0100)]
templates: feature: ensure agl-demo uses agl-app-framework

Also, due to changes in meta-agl-app-framework, `weston-init` now
conflicts with `agl-compositor-init`, so remove it from the
`agl-graphical-weston` package group dependencies so the demo images
can build.

Bug-AGL: SPEC-4161
Change-Id: I1dc9a60445fc3a97531449bfcc3496ce05357e36
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2 years agoweb-runtime: bump chromium84 and wam SRCREV 19/26919/3
Lorenzo Tilve [Tue, 23 Nov 2021 12:27:15 +0000 (13:27 +0100)]
web-runtime: bump chromium84 and wam SRCREV

Update SRCREVs to new marlin branches
removing the build dependencies with
the appfw.

Bug-AGL: SPEC-4121
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: I5cc9ffca3101b58f750c377dfa14355e2a1d1ce6

2 years agoweb-runtime: Add wam to agl-demo-platform-html5 image 18/26918/3
Lorenzo Tilve [Thu, 4 Nov 2021 18:23:03 +0000 (19:23 +0100)]
web-runtime: Add wam to agl-demo-platform-html5 image

Include wam dependency on agl-demo-platform-html5 target.

Bug-AGL: SPEC-4121
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: I3355a0a96b906131fa1d2e11c4b29d3951879ad9

2 years agoAdd meta-python2 to agl-demo template 61/26861/2
Jan-Simon Moeller [Tue, 9 Nov 2021 15:47:01 +0000 (16:47 +0100)]
Add meta-python2 to agl-demo template

The chromium/wam builds do still require meta-python2. Add it to back to
the agl-demo template in support SPEC-4040.

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

2 years agohomescreen: update recipe 35/26835/1
Scott Murray [Thu, 4 Nov 2021 18:51:50 +0000 (14:51 -0400)]
homescreen: update recipe

Rework homescreen demo app recipe for building a version of it
with the application framework usage removed.  A simple systemd
unit to start it has been added as a placeholder until the new
application scheme has been added.  This will at least produce
something on screen for testing, and the HOMESCREEN_DEMO_CI
environment variable can be defined via /etc/default/homescreen
to potentially re-enable the CI startup test.

Bug-AGL: SPEC-4121

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

2 years agoagl-image-ivi: define SYSTEMD_DEFAULT_TARGET 34/26834/1
Scott Murray [Thu, 4 Nov 2021 18:49:33 +0000 (14:49 -0400)]
agl-image-ivi: define SYSTEMD_DEFAULT_TARGET

Add SYSTEMD_DEFAULT_TARGET definition to agl-image-ivi to result in
agl-compositor starting automatically in it and derivative images.
This is required with the new weston-init behavior until we upgrade
past 3.3/Hardknott, when "weston" in IMAGE_FEATURES can be used
instead.

Bug-AGL: SPEC-4121

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

2 years agoagl-users: remove display user 33/26833/1
Scott Murray [Thu, 4 Nov 2021 18:45:50 +0000 (14:45 -0400)]
agl-users: remove display user

The "display" user has effectively been replaced with a "weston"
user in the new weston-init support for running as non-root from
upstream Yocto, so remove creation of it from the agl-users recipe.
If the agl-users recipe will be retained in the new application
scheme, this cleanup is required.

Bug-AGL: SPEC-4121

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

2 years agoThe chromium recipe will need to be reworked 29/26829/1
Jan-Simon Möller [Thu, 4 Nov 2021 14:53:53 +0000 (15:53 +0100)]
The chromium recipe will need to be reworked

Meanwhile update it to allow CI to pass.

Bug-AGL: SPEC-4121
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I03f92e6c8bd6146d4a67ec447be5ab362b42f5bc

2 years agoPrepare master for new framework integration 53/26753/4
Jan-Simon Möller [Wed, 3 Nov 2021 14:18:49 +0000 (15:18 +0100)]
Prepare master for new framework integration

During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.

To prepare the integration of it, we remove the deprecated components:
- recipes-apis : all agl-service-*
- recipes-demos: all demo apps but homescreen
- non-essential configurations

Todo:
We need to bring-back the html5 image in a follow-up w/o ties into the old framework.

v2: kept WAM + Chromium recipes for reference
v3: rebased

Bug-AGL: SPEC-4121

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e

2 years agoUpdate github.com git:// SRC_URIs 81/26781/2 12.90.1 marlin/12.90.1 marlin_12.90.1
Scott Murray [Tue, 2 Nov 2021 23:17:38 +0000 (19:17 -0400)]
Update github.com git:// SRC_URIs

GitHub is dropping unauthenticated git protocol access in
January 2022, per:

https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

While a workaround in the BitBake git fetcher is forthcoming, not
specifying protocol=https for github.com git:// SRC_URIs will start
resulting in warnings in Yocto 3.5/Kirkstone.  To ease our upgrade
path, go ahead and update our affected SRC_URIs.  Note that this has
been done by running the scripts/contrib/convert-srcuri.py script
from latest poky, which also makes git branch specification explicit
since the git fetcher is likely to require that in the future due
to widespread switches from master to main branches.

Bug-AGL: SPEC-4126

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

3 years agowam_git: Add protobuf dependency for WAM 46/26446/2
Marius Vlad [Tue, 22 Jun 2021 11:58:43 +0000 (13:58 +0200)]
wam_git: Add protobuf dependency for WAM

We're not currently using protobuf, but it would be of tremendous help
if we are to be ready for the next integration phase which started to
make use of it. Makes development much easier to do and it won't make
such a big impact to have it early.

Bug-AGL: SPEC-3967

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

3 years agoosrm-backend: remove recipes 57/26657/1
Scott Murray [Wed, 15 Sep 2021 18:51:22 +0000 (14:51 -0400)]
osrm-backend: remove recipes

Remove the osrm-backend recipe and the recipes for its dependencies
osmium and protozero, as they do not build and nothing in AGL uses
them.

Bug-AGL: SPEC-3921

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

3 years agolightmediascanner: Fix missed override syntax conversion 74/26574/1
Scott Murray [Wed, 25 Aug 2021 01:06:17 +0000 (21:06 -0400)]
lightmediascanner: Fix missed override syntax conversion

One override got missed by the conversion script in the
lightmediascanner recipe, update it.

Bug-AGL: SPEC-4052

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

3 years agoConvert to new override syntax 66/26566/2
Scott Murray [Fri, 20 Aug 2021 17:58:45 +0000 (13:58 -0400)]
Convert to new override syntax

This is the result of running a slightly customized version of the
convert-overrides.py script from poky with additional overrides
added.

The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.

Bug-AGL: SPEC-4052

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

3 years agopackagegroup-agl-ivi-navigation: update agl-refhw-h3 usage 77/26477/2
Scott Murray [Thu, 1 Jul 2021 17:22:59 +0000 (13:22 -0400)]
packagegroup-agl-ivi-navigation: update agl-refhw-h3 usage

The agl-refhw-h3 machine override has been replaced with a feature
in AGL_FEATURES, update usage.

Bug-AGL: SPEC-3916

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

3 years agoalexa-viewer, cluster-demo, homescreen, launcher: the protocols are in agl-compositor-dev 91/26491/2
Marius Vlad [Thu, 8 Jul 2021 15:28:25 +0000 (17:28 +0200)]
alexa-viewer, cluster-demo, homescreen, launcher: the protocols are in agl-compositor-dev

Adds it to DEPENDS straight in without using _append.

Bug-AGL: SPEC-4015

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

3 years agoAdd dependency to alexa-viewer, launcher, homescreen, cluster-receiver 88/26488/3
Marius Vlad [Wed, 7 Jul 2021 14:26:08 +0000 (16:26 +0200)]
Add dependency to alexa-viewer, launcher, homescreen, cluster-receiver

Add dependency for agl-compositor.

FIXME: split agl-compositor-protocols into separate packages.

Bug-AGL: SPEC-4015

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

3 years agochromium84: Add a delay to agl ready event 59/26459/2 12.90.0 marlin/12.90.0 marlin_12.90.0
Roger Zanoni [Fri, 25 Jun 2021 09:13:51 +0000 (11:13 +0200)]
chromium84: Add a delay to agl ready event

Delay ready() to ensure that all the window and surfaces setup
is done before notifying the compositor

There's a work in progress for enabling wam to display multiple
surfaces for a single widget, which would eliminate the chain
loading that currently causes this issue.

This change includes a temporary patch that should be removed
once wam changes are integrated.

Bug-AGL: SPEC-3799

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I9945af60077a79d56052c3fdb358e9fed44874e6

3 years agoAdd kernel configuration bbappend 61/26461/1
Scott Murray [Sun, 27 Jun 2021 18:23:29 +0000 (14:23 -0400)]
Add kernel configuration bbappend

Add linux-%.bbappend and associated conditional .inc file to supply
demo-related kernel configuration using the new AGL_KCONFIG_FRAGMENTS
variable scheme that is being added in meta-agl-core.  The moved
configuration fragments are copies of the ones from meta-agl-core
except for:
- The configuration from the previously linux-yocto-specific
  hciuart.cfg has been rationalized with btusb.cfg and hid.cfg.
- The actual CAN hardware device support from can-bus.cfg has been
  moved to a new can-devices.cfg here.
- To simplify things, the disable_most.cfg configuration to ensure
  that the upstream kernel MOST driver is disabled to avoid
  conflicting with the externally built AGL version has been made
  generic instead of being specific to the Kingfisher support in
  meta-agl-bsp.  It has also been updated a bit for newer kernels.

Bug-AGL: SPEC-3983

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

3 years agochromium84: Fix externalsrc build/install 34/26434/2
Roger Zanoni [Tue, 15 Jun 2021 07:47:11 +0000 (07:47 +0000)]
chromium84: Fix externalsrc build/install

Bug-AGL: SPEC-3856

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I1be5b766072cfae162e4514b33b7b9fd3aab5476

3 years agoAdd kernel-modules package to demo images 32/26432/1
Scott Murray [Mon, 14 Jun 2021 23:18:07 +0000 (19:18 -0400)]
Add kernel-modules package to demo images

Add the kernel-modules meta package to demo images in the agl-demo.inc
aglsetup.sh template.  This change is to balance out a removal done
in the base template in meta-agl and retain the build of all kernel
modules into the demo platform images for developer convenience.

Note that the inclusion is conditional on the virtual/kernel provider
not being linux-dummy, as it is desirable to leave even the dummy
kernel-modules package out of container images to avoid confusion.

Bug-AGL: SPEC-3983

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

3 years agoagl-demo: Use new AGL_META_FILESYSTEMS hook 17/26417/1 11.92.0 lamprey/11.92.0 lamprey_11.92.0
Scott Murray [Mon, 7 Jun 2021 22:02:49 +0000 (18:02 -0400)]
agl-demo: Use new AGL_META_FILESYSTEMS hook

Use the AGL_META_FILESYSTEMS hook added to meta-agl for agl-virt
in the agl-demo feature here.  This will allow potentially enabling
both features without bblayers.conf errors.

Bug-AGL: SPEC-3970

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

3 years agoqtbase: clean up bbappend 16/26416/1
Scott Murray [Mon, 7 Jun 2021 22:00:21 +0000 (18:00 -0400)]
qtbase: clean up bbappend

Changes:
- With the Wayland enabling changes being shifted to meta-agl-core,
  remove the duplicate ones from the bbappend here.
- Also remove unused patch and disabled qtbase-native bbappend, as
  neither seem required at this point.

Bug-AGL: SPEC-3972

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

3 years agochromium84: bump SRCREV 59/26359/1
Roger Zanoni [Fri, 21 May 2021 16:05:58 +0000 (18:05 +0200)]
chromium84: bump SRCREV

Update SRCREV to include a build fix for
qemux86-64 with gcc version < 8

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

3 years agoRestore chromium target and browser service 17/26317/5 11.91.0 lamprey/11.91.0 lamprey_11.91.0
Roger Zanoni [Wed, 7 Apr 2021 15:01:14 +0000 (17:01 +0200)]
Restore chromium target and browser service

- Merged chromium changes to fix build after bumping to chromium 84
- Fixed chromium install on current recipe
- Restored the chromium browser service

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

3 years agoUpdate pyagl SRCREV to add audiomixer update 28/26328/1
Jan-Simon Möller [Wed, 5 May 2021 18:04:28 +0000 (20:04 +0200)]
Update pyagl SRCREV to add audiomixer update

This adds:
Update audiomixer binding default control

Bug-AGL: SPEC-3907
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2deb21b40e279634818b3241230d28971b53ddc2

3 years agoweb-runtime: Fix chromium do_install on yp 3.1.6 02/26202/1
Roger Zanoni [Wed, 24 Mar 2021 08:19:53 +0000 (09:19 +0100)]
web-runtime: Fix chromium do_install on yp 3.1.6

Remove DESTDIR from the build directory

Bug-AGL: SPEC-3856

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I7ea01750daab1522f2e7558a11e0594ec0772bba

3 years agoweb-runtime: Update from chromium79 to chromium84 98/26198/2
Roger Zanoni [Tue, 23 Feb 2021 13:05:08 +0000 (14:05 +0100)]
web-runtime: Update from chromium79 to chromium84

This patch contains all the squashed changes needed to bump
WAM and chromium, including the ported changes from cr79.

Bug-AGL: SPEC-3806

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: If2b18e2978e8b1050e4b167b9627c1a526867cfb

3 years agoagl-image-ivi: depend on packagegroup-pipewire instead of pipewire directly 76/26176/2
George Kiagiadakis [Thu, 11 Mar 2021 11:25:00 +0000 (13:25 +0200)]
agl-image-ivi: depend on packagegroup-pipewire instead of pipewire directly

It looks wrong to depend on pipewire, as that does not guarantee
that all the modules, tools, etc are present in the image

Bug-AGL: SPEC-3844

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: Id361ec1eb8e1c715f97c05b21e52db394f14384b

3 years agomost: add patch to enable building against >= 5.9 kernels 77/26177/1
Scott Murray [Fri, 12 Mar 2021 00:34:53 +0000 (19:34 -0500)]
most: add patch to enable building against >= 5.9 kernels

Add patch to enable building the standalone MOST driver against
kernels 5.9 or newer.

Bug-AGL: SPEC-3819

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

3 years agoondemandnavi-config: update MapBox style URL 32/26132/2
Scott Murray [Thu, 4 Mar 2021 21:23:29 +0000 (16:23 -0500)]
ondemandnavi-config: update MapBox style URL

Remove the leading "mapbox://" from the default MapBox style URL,
as it now seems to break the resulting generated tile URLs in
QtLocation.  I suspect this is related to the HTTPS support that
was added in Qt 5.12.

Bug-AGL: SPEC-3837

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

3 years agocamera-gstreamer: Added camera-gstreamer recipe 30/26130/2
Marius Vlad [Tue, 2 Mar 2021 17:58:33 +0000 (19:58 +0200)]
camera-gstreamer: Added camera-gstreamer recipe

Bug-AGL: SPEC-3629

Change-Id: I4495b4dca59d0411c264d90c00d9d9ec3c0ea671
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
3 years agozz-video.rules.in: New udev rule to allow reading video device 29/26129/2
Marius Vlad [Tue, 2 Mar 2021 13:43:10 +0000 (15:43 +0200)]
zz-video.rules.in: New udev rule to allow reading video device

This is helpful to have by default as to allow regular user (agl-driver)
use the video device created by video4linux.

Bug-AGL: SPEC-3629

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

3 years agopackagegroup-agl-demo-platform: fix POI API key preloading 17/26117/2
Scott Murray [Tue, 2 Mar 2021 20:34:27 +0000 (15:34 -0500)]
packagegroup-agl-demo-platform: fix POI API key preloading

Fix missing switch from DISTRO_FEATURES to AGL_FEATURES in the
definition of DEMO_PRELOAD.  Also remove the now unused variables
for the old navigation app as cleanup.

Bug-AGL: SPEC-3833

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

3 years agocluster-demo-simulator: update LICENSE/LIC_CHKSUM_FILE 23/26123/1
Scott Murray [Tue, 2 Mar 2021 15:55:44 +0000 (10:55 -0500)]
cluster-demo-simulator: update LICENSE/LIC_CHKSUM_FILE

Upstream has renamed the common license files, but investigation
revealed that the LICENSE on this purely configuration recipe
should likely be MIT to be consistent with the other similar
recipes in the tree, so update both LICENSE and LIC_CHKSUM_FILE
to fix both issues.  As well, now that the demo repositories
are merged, this recipe can just RDEPEND on simple-can-simulator,
rather than duplicating it.

Bug-AGL: SPEC-3819

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

3 years agosimple-can-simulator: update LICENSE/LIC_CHKSUM_FILE 22/26122/1
Scott Murray [Tue, 2 Mar 2021 15:09:12 +0000 (10:09 -0500)]
simple-can-simulator: update LICENSE/LIC_CHKSUM_FILE

Upstream has renamed the common license files, but investigation
revealed that the LICENSE on the python script was MIT, not GPLv2,
so update both LICENSE and LIC_CHKSUM_FILE to fix both issues.

Bug-AGL: SPEC-3819

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