AGL/meta-agl-demo.git
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

23 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

23 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>
23 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

23 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

2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
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