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

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

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