Scott Murray [Mon, 1 Feb 2021 23:06:35 +0000 (18:06 -0500)]
meta-speech-framework: Update Alexa Auto SDK wakeword support for v2.3
Update the agl-voiceagent-alexa-wakeword feature template for v2.3:
- Added a scriptlet to handle installing and patching the amazonlite
zip file contents. The amazonlite-2.3.zip file is now expected to
be in the directory set with the XDG_DOWNLOAD_DIR environment
variable, and if that is not set, it will use $HOME/Downloads (i.e.
the same behavior as the rcar3 graphics support files).
- Added a patch to tweak a couple of things in the amazonlite layer
to fix building against Yocto dunfell.
Bug-AGL: SPEC-3783
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I75783860e4ce332ba89e8a7768fe4ff7367bcd93
(cherry picked from commit
3eb1a00c35bd817472067a153c793c9c7aef00a3)
Jan-Simon Möller [Fri, 29 Jan 2021 22:42:55 +0000 (23:42 +0100)]
Add gitreview file for Kooky Koi branch
Update the .gitreview file.
Bug-AGL: SPEC-3782
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ib312f2310f85a54b09601973e48f2358a12a8620
Riku Nomoto [Thu, 26 Nov 2020 14:15:17 +0000 (23:15 +0900)]
oem-pr-bs: add services and managers API
This is the ninth commit of agl-basesystem.
All Basesystem's services API
v13 (jsmoeller): fix build of multiple packages
v16 (tanikawa): fix include path to kernel header
v20 (jsmoeller): fix build of agl-service-vs-positioning
v21 (jsmoeller): remove RDEPENDS on elfio - it is only headers, thus not required on target
v25 (nomoto): change mail address and author
v35 (nomoto): remove OECORE_NATIVE_SYSROOT
v40 (nomoto): remove EXTRA_OEMAKE (RPATHLINK)
v43 (nomoto): readd a service file
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I206637abf8c070d7bf409377bef970023ddb2f69
Riku Nomoto [Thu, 26 Nov 2020 14:14:33 +0000 (23:14 +0900)]
oem-pr-bs: add positioning service
This is the eighth commit of agl-basesystem.
Sensor data (GPS, Gyro and etc.) handling
v12 (jsmoeller): fix build of multiple packages
v20 (nomoto): change mail address and author
v27 (nomoto): make hal recipes inherit bshalmake
v34 (nomoto): fix cid and FILES
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I3c7e8d7be16777018b09815577764d95a8a00849
Vasyl Vavrychuk [Thu, 14 Jan 2021 21:15:16 +0000 (22:15 +0100)]
meta-egvirt, templates: Remove virtio-aarch64 machine.
It is moved to meta-agl repository.
Bug-AGL: SPEC-3668
Change-Id: I7f02d5afe42f96a955ebd1ea7735a9b84fee9cc8
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Riku Nomoto [Thu, 26 Nov 2020 14:13:44 +0000 (23:13 +0900)]
oem-pr-bs: add resource and task manager
This is the seventh commit of agl-basesystem.
Resource manager monitoring procfs and non-resident process manager
v12 (jsmoeller): fix build of multiple packages
v15 (tanikawa): fix build of ss-taskmanager
v20 (nomoto): change mail address and author
v23 (nomoto): add expat-native for build
v28 (nomoto): change SRCURI and inherit line
v29 (nomoto): remove OECORE_NATIVE_SYSROOT
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I5b65f62082f2ad0fd613c2ed56a2de1824387390
Riku Nomoto [Thu, 26 Nov 2020 14:12:55 +0000 (23:12 +0900)]
oem-pr-bs: add backup mng and mem access libs
This is the sixth commit of agl-basesystem.
Service backup manager and non-volatile memory access library
v12 (jsmoeller): fix build of multiple packages
v18 (nomoto): change mail address and author
v23 (nomoto): make hal recipes inherit bshalmake
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I64497d80424c136da75e13132bc192f70cba6fac
Riku Nomoto [Thu, 26 Nov 2020 14:12:10 +0000 (23:12 +0900)]
oem-pr-bs: add communication libraries
This is the fifth commit of agl-basesystem.
Communication libraries
v13 (jsmoeller): fix build of multiple packages
v19 (nomoto): change mail address and author
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I18fdf9bd59c71a02de5a592d694fd06ffddbd997
Riku Nomoto [Tue, 15 Dec 2020 12:52:16 +0000 (13:52 +0100)]
oem-pr-bs: add various HAL libraries
This is the fourth commit of agl-basesystem.
These Basesystem HAL implementation are sample.
v16 (jsmoeller): restored commit which was squashed in v15
v22 (nomoto): change mail address and author
v26 (nomoto): make hal recipes inherit bshalmake
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: Ib6ff58e667635725d962d1548bef03950e0a0d22
Riku Nomoto [Thu, 26 Nov 2020 14:10:03 +0000 (23:10 +0900)]
oem-pr-bs: add kernel-module-evklib
This is the third commit of agl-basesystem.
Event library kernel module
v23 (nomoto): update subpath, branch and S to make recipes simple
v32 (nomoto): change mail address and author
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I278c23e7e625c7e8088b9766b6aa50f4bc0eb6cc
Scott Murray [Tue, 12 Jan 2021 22:30:37 +0000 (17:30 -0500)]
agl-voiceagent-alexa: switch to AGL_FEATURES
Change agl-voiceagent-alexa from using IMAGE_FEATURES to
AGL_FEATURES to work better with building the various demo
images with just the agl-demo feature.
Bug-AGL: SPEC-3749
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9847553a6a9e0ffb3ec2da5b9b91a0647619feae
Riku Nomoto [Thu, 26 Nov 2020 14:09:02 +0000 (23:09 +0900)]
oem-pr-bs: add core services and libraries
This is the second commit of agl-basesystem.
IPC/RPC library group binding each modules
v14 (jsmoeller): update BASESYSTEM_REVISION to fix libinput-hal build
v16 (jsmoeller): update BASESYSTEM_REVISION
v17 (taniakwa): fix os-rpclibrary-tool-native build
- fix invalid path to LICENSE to use devtool
- fix error when rebuild (clean generated files first)
v19 (nomoto): fix to set host only tool in class-native
v20 (nomoto): update subpath, branch and S to make recipes simple
v21 (nomoto): fix EXTRA_OEMAKE to set default value
v25 (nomoto): change mail address and author
v29 (nomoto): remove agl-basesystem-hal.bbclass
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I5da43003d8a976912d183474aea884ec1b81a708
Scott Murray [Sat, 19 Dec 2020 21:13:15 +0000 (16:13 -0500)]
meta-agl-basesystem: add libxml-xpath-perl
Add libxml-xpath-perl recipe and recipes for its required dependencies
libscalar-list-utils-perl and libpath-tiny-perl. This should enable
using the xpath utility in the basesystem build by DEPENDing on
libxml-xpath-perl-native.
Note that the libscalar-list-utils-perl recipe has been adapted from
the one present in meta-cpan (https://github.com/meta-cpan/meta-cpan)
as of commit
2f6ecfa. This was viewed as preferable to pulling in
meta-cpan as an AGL dependency. Additionally, the recipe has been
updated to enable ptest support, and all tests have been confirmed to
pass. The same is true of the libxml-xpath-perl and libpath-tiny-perl
ptests.
Bug-AGL: SPEC-3670
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Icd25cbb4498636c5a6a384818535e3c3372b5b29
Jan-Simon Moeller [Thu, 17 Dec 2020 16:16:48 +0000 (17:16 +0100)]
Move core speech service to meta-agl-demo
This moves the generic agl-speechframework to meta-agl-demo.
The alexa-voiceagent bits remain in meta-agl-devel for now.
This fixes a dependency of the settings app.
Bug-AGL: SPEC-3734
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I3b0c81bd598ef20c2cb6fcec054c399dc6c3d97b
Riku Nomoto [Thu, 26 Nov 2020 14:07:08 +0000 (23:07 +0900)]
oem-pr-bs: initial commit
This is the initial commit of agl-basesystem.
- create new layer, meta-oem-production-readiness
- create sub-layer, meta-agl-basesystem
- add 1 feature to enable basesystem
- add 2 bbclass which support to build
- add packagegroups as place holder
Bug-AGL: SPEC-3670
Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I457fb12086d913e8082843c87de9673df4d65710
Vasyl Vavrychuk [Mon, 5 Oct 2020 05:47:43 +0000 (08:47 +0300)]
meta-egvirt, templates: Add virtio-aarch64 machine
This machine is intended to run in ARMv8 virtualized environment that
provides VirtIO devices.
AGL machine configuration files are based on qemuarm64 machine from
meta-agl branch master commit
e1da0efcd2eece82b0326798cfeaeb8dd48797fc.
Yocto machine configuration files are based on qemuarm64 machine from
Poky branch dunfell commit
4e931b1d05018923dc145cd97f6f965f5cb6e1a5.
Yocto Linux Kernel is used as recommended in [1]. Its metadata for the
created machine are based on qemuarm64-standard.scc from
yocto-kernel-cache branch yocto-5.4 commit
4aeda12f7f7eb84613ae1fe6e22cd9cd9790c20b.
The rationale behind creating new machine is a wish to have a machine
that could run on other hypervisor/virtual machine monitor that
implements VirtIO, not necessary QEMU. For now, virtio-aarch64 machine
runs under QEMU and OpenSynergy COQOS Hypervisor.
virtio-aarch64 machine includes following changes comparing to
qemuarm64:
* use virtio-gpu instead of VGA display (to be upstreamed to work in
conjunction with runqemu gl, sdl, etc. options)
* use virtio-bus instead of PCI bus QEMU devices
* remove unneeded configurations
[1]: https://www.yoctoproject.org/docs/3.1.2/bsp-guide/bsp-guide.html#released-bsp-recommendations
Bug-AGL: SPEC-3668
Change-Id: Iccfee8613de63770d371a57f0caab1c1eba8d912
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Vasyl Vavrychuk [Sat, 3 Oct 2020 18:43:54 +0000 (21:43 +0300)]
Return meta-egvirt layer for AGL virtualization
At the moment, this layer is planned to be used to implement
virtio-aarch64 machine intended to be used in virtualized environments.
This partially reverts commit:
0abaf1d Cleanup of meta-agl-devel for HH
Bug-AGL: SPEC-3668
Change-Id: I73f140d7941edaad8e482f143bfcc296823d21b7
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Jan-Simon Möller [Tue, 20 Oct 2020 15:21:11 +0000 (17:21 +0200)]
Add placeholder for IVI trial
This creates the layers used for the ongoing IVI work
Bug-AGL: SPEC-3657
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I25dc9f799c025d84eb2421218832ede3dadae9fe
Li, Xiaoming [Tue, 1 Sep 2020 03:30:03 +0000 (11:30 +0800)]
agl-service-voice-high-capabilities_git.bb: update license file md5
follow up the change of:
https://gerrit.automotivelinux.org/gerrit/c/apps/agl-service-voice-high-capabilities/+/25175
Change-Id: I3170d20d388caf6190efe8a91c2033494842149f
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Parth Dode [Fri, 28 Aug 2020 18:10:18 +0000 (20:10 +0200)]
meta-agl-jailhouse: Added inmates for jailhouse on agl
w.r.t. the root cell qemu-agl
updated jailhouse_git.bb accordingly
Bug-AGL: SPEC-3507
Change-Id: I0548d9bbec02d8506205b0dccb4ef591b290bca6
Change-Id: I6d065032ef7fff40535929219ce067aab260f043
Signed-off-by: Parth Dode <dodecoder@gmail.com>
Parth Dode [Wed, 26 Aug 2020 01:31:42 +0000 (03:31 +0200)]
meta-agl-jailhouse: Enable jailhouse on qemu-x86_64 through runqemu
jailhouse enable /usr/share/jailhouse/cells/qemu-agl.cell
added the appropriate QB variables required to use runqemu
v2: updated QB_SERIAL_OPT
v3: updated do_configure and do_install
v4: updated memmap
v5: resolved comments
v6: 2G to 1G
Bug-AGL: SPEC-3507
Change-Id: Iae8cf6a1f27bc285e4c0c5f2518cd1985ddf3b74
Signed-off-by: Parth Dode <dodecoder@gmail.com>
Jakub Luzny [Wed, 12 Aug 2020 10:57:57 +0000 (12:57 +0200)]
meta-agl-jailhouse: Add support for RPi4 with 2G/4G/8G of memory
The Jailhouse configuration files had to be modified to append the additional
memory regions present on the higher mem variants of the RPi4.
To avoid the use of mem= kernel parameter to fix the memory that can be used
by the root cell, a device tree overlay with reserved-memory nodes is used
instead.
To avoid conflict with the GPU memory, the memory region used for Jailhouse
and the non-root cells was moved from 0x30000000 to 0x20000000.
Bug-AGL: SPEC-3507
Signed-off-by: Jakub Luzny <jakub@luzny.cz>
Change-Id: Iabd67504c3df0349dd62e45f12d1019de14328f1
Jakub Luzny [Sun, 19 Jul 2020 15:00:08 +0000 (17:00 +0200)]
Add layer to support Jailhouse hypervisor
Jailhouse is a partitioning hypervisor based on Linux. It is able to run
bare-metal applications or (adapted) operating systems besides Linux.
For this purpose, it configures CPU and device virtualization features
of the hardware platform in a way that none of these domains, called
"cells" here, can interfere with each other in an unacceptable way.
This layer adds the Jailhouse package into AGL and also appends the BSPs
to allow it to run. Currently, Raspberry Pi 4 and QEMU x86-64 targets
are supported.
To enable Jailhouse and include it in the image, the AGL feature
agl-jailhouse must be enabled.
Bug-AGL: SPEC-3507
Signed-off-by: Jakub Luzny <jakub@luzny.cz>
Change-Id: I0fbc0b5d931c85d6f22b0222da8c2b106c4115e1
Jan-Simon Möller [Wed, 22 Jul 2020 13:20:49 +0000 (15:20 +0200)]
Update README and meta-agl-devel.md
Remove old and add new description.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ia4543cfe51c8e693c9d98b262c345f9304c1eadb
Jan-Simon Möller [Tue, 14 Jul 2020 10:47:16 +0000 (12:47 +0200)]
Remove leftover files
These files have been moved and no longer belong in this repo.
Check meta-agl.
Bug-AGL: SPEC-3453
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I5abaaedc4bbcf3e9b6476e3d0059807fe9211667
Li, Xiaoming [Fri, 17 Jul 2020 09:24:11 +0000 (17:24 +0800)]
Follow-up change to change of LICENSE file
The LICENSE file of these repos has rename modification.
Adapt the recipe to follow.
Change-Id: Idb77cf409c44fc94261989111fafe962eab32b68
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Jan-Simon Moeller [Fri, 10 Jul 2020 12:13:42 +0000 (14:13 +0200)]
Add placeholder for jailhouse support layer
In preparation of the jailhouse addition during GSoC.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Icd5e79fadd5b71e1199fa32582296951153c7599
Jan-Simon Möller [Fri, 26 Jun 2020 15:11:57 +0000 (17:11 +0200)]
Remove pipewire feature after move
The feature needs to be removed as the pipewire components are moved.
Bug-AGL: SPEC-3453
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I61673e61a9c869baee8e8a313d7d595322dbf428
Jan-Simon Möller [Thu, 25 Jun 2020 17:47:50 +0000 (19:47 +0200)]
Move meta-agl-profile-graphical-html5 and meta-pipewire into the main layer
Reasoning:
- the profile-graphical-html5 belongs in the main layer
- meta-pipewire is enabled by default
For reference - the new location is:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=summary
Bug-AGL: SPEC-3453
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I0d60f37f1303be97b0eaf2274b217473d4a1ec5d
Ronan Le Martret [Fri, 12 Jun 2020 07:45:34 +0000 (09:45 +0200)]
[RCAR] Fix sound car for KF support
Bug-AGL: SPEC-3380
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I221ca90b253843e4056e6818ee314b49786bac33
Jan-Simon Möller [Thu, 25 Jun 2020 15:29:43 +0000 (17:29 +0200)]
Adapt meta-agl-devel.md to match the repository
Update the documentation for meta-agl-devel in the file meta-agl-devel.md
Bug-AGL: SPEC-3451
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I50cad273756bb79f64cd15192dfc911dfc3650df
Jan-Simon Möller [Thu, 25 Jun 2020 15:27:17 +0000 (17:27 +0200)]
Mask pipewire recipe in meta-oe as we ship our own
This fixes the WARNING messages seen during the build.
Bug-AGL: SPEC-3450
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Iab28275030c8f4178fa812f8e2b08c01aceab501
Scott Murray [Thu, 25 Jun 2020 16:48:30 +0000 (12:48 -0400)]
agl-image-graphical-html5: fix distro_check_features usage
Fix the warning about usage of the deprecated distro_check_features
class by switching to the new check_features class. This slipped
through the cracks during the dunfell upgrade.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifc2de2b1b7a82330134c8f645a8b415651ff3931
Jan-Simon Möller [Wed, 17 Jun 2020 09:49:59 +0000 (11:49 +0200)]
Remove outdated layers - meta-oem-extra-libs
As announced in
https://lists.automotivelinux.org/g/agl-dev-community/topic/
73194818#8265
the layer is outdated and will be removed.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I65fee2a4fdca1ff97a7308c6d955a062c3830f62
Jan-Simon Möller [Wed, 17 Jun 2020 09:47:27 +0000 (11:47 +0200)]
Remove outdated layers - meta-audio-soundmanager-framework
As announced in
https://lists.automotivelinux.org/g/agl-dev-community/topic/
73194818#8265
the layer is outdated and will be removed.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2e71262b15b872b82af50f55231251f9bad51a3d
Lorenzo Tilve [Mon, 8 Jun 2020 21:49:53 +0000 (23:49 +0200)]
wam: Signal handling for SIGTERM to close webapps
Include fix for getting web manager notified on
the event in order to gracefully close webapps.
Bug-AGL: SPEC-2973
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: Icc4edc13ee76fcdc7a58f26a302596d56178573e
Scott Murray [Wed, 10 Jun 2020 16:19:02 +0000 (12:19 -0400)]
alexa-voiceagent-service: Add patch to add autobuild scripts
Add autobuild scripts to alexa-voiceagent-service via a patch to
prepare for a switch to building all widgets via calls to autobuid.
Bug-AGL: SPEC-2049, SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia1a3ea814bca5429848055db8350ad37cae9517a
Scott Murray [Tue, 2 Jun 2020 18:41:01 +0000 (14:41 -0400)]
chromium-browser-service: switch to AGL hosted repo
The source for the chromium-browser-service widget has been copied to
the apps/chromium repository on AGL's Gerrit server, and a change has
been uploaded to remove its obsolete submodule usage, so update the
SRC_URI and SRCREV to switch over to using it.
Bug-AGL: SPEC-2049, SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7d89a560c516ed6e2c7621a81cd0113c533a411b
Stephane Desneux [Tue, 26 May 2020 18:23:24 +0000 (18:23 +0000)]
wireplumber: migrate board config for R-Car (BSP3.21/YP3.1)
With latest R-Car BSP 3.21 for YP3.1, the alsa sound card name
for internal audio has changed.
This change migrates from 'ak4613' to the new 'rcarsound' card name.
Bug-AGL: SPEC-3380
Change-Id: I4cb267cd83f7a8c69dea4230b22302ae235b6498
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Scott Murray [Mon, 25 May 2020 17:06:41 +0000 (17:06 +0000)]
Remove agl-gstrecorder / meta-gstrecorder-rcar-gen3
Remove the agl-gstrecorder feature and its meta-gstrecorder-rcar-gen3
layer. The feature itself is going to be replaced with a more generic
agl-weston-remoting feature in meta-agl. From the layer, the remoting
gbm fix is no longer required for rcar3 in Weston 8.0.0, and the
remoting initialization timing patch is generic, and is thus going to
be applied for all platforms in meta-agl-profile-graphical to make
cluster support generic.
Bug-AGL: SPEC-3395
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I69ea73cc14a30e084fb0443628956fdc2572060e
Scott Murray [Wed, 13 May 2020 23:46:59 +0000 (19:46 -0400)]
Update widget packaging rework
To match the update in meta-agl, rework to drop the agl-test-wgt and
agl-devel-wgt feature package additions and now unnecessary test/devel
packagegroups. They'll now be pulled in by the COMPLEMENTARY_GLOBS
definitions for those image features.
Bug-AGL: SPEC-3300, SPEC-3375
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I61c07efad927809a29990d76e52f8f6f24e4e26b
Jan-Simon Möller [Tue, 12 May 2020 23:42:52 +0000 (01:42 +0200)]
Add dependency to python2 native binary as stop-gap for chromium68 build
Until we have a solution from upstream, we decided to add meta-python2 to allow chromium68 to build.
Bug-AGL: SPEC-3354
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ife440dc1db253ff316059f3b3a8e67765132d52e
Scott Murray [Tue, 28 Apr 2020 21:12:10 +0000 (21:12 +0000)]
Widget packaging rework
Changes include:
- Created new packagegroup-agl-speech-services packagegroup and
associated test and devel packagegroups to replace previous
extending of packagegroup-agl-ivi-services via bbappend.
This makes it simpler to create the test/devel packagegroups
in packagegroup-agl-ivi-services, and is cleaner with respect to
the packagefeed since it avoids modifying a packagegroup in another
layer.
- Extend the agl-devel-wgt and agl-test-wgt FEATURE_PACKAGES
variables as necessary to add the required corresponding widget
packagegroups.
Bug-AGL: SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I17b61f3e4549a7baa8ac1a6f9c857e2f78bb6448
Jan-Simon Möller [Mon, 27 Apr 2020 15:37:51 +0000 (17:37 +0200)]
Merge remote-tracking branch 'gerrit/next'
* gerrit/next:
agl-voiceagent-alexa: update for dunfell
meta-agl-profile-graphical-html5: remove vboxguestdrivers recipe
Declare layer compatibility for dunfell
Change-Id: Ib438392406672d948bb47bfb062bfbdc62f3017d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Scott Murray [Thu, 2 Apr 2020 16:49:50 +0000 (12:49 -0400)]
agl-voiceagent-alexa: update for dunfell
Update the local LAYERSERIES_COMPAT over-ride for meta-aac to work
with dunfell.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I71f61f13363fb253cbd1d43352595d0c8ac61b60
Scott Murray [Mon, 30 Mar 2020 19:02:08 +0000 (15:02 -0400)]
meta-agl-profile-graphical-html5: remove vboxguestdrivers recipe
Remove local vboxguestdrivers recipe as a newer version is available
in meta-oe in dunfell.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iebf791b22d88f32dc5cdc2cc472e4aedff642cb6
Scott Murray [Mon, 30 Mar 2020 18:54:26 +0000 (14:54 -0400)]
Declare layer compatibility for dunfell
For the upgrade to YP dunfell/3.1 we need to update the layer
compatibility.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7495b9e75698411fe72effdb3b187ee4b0fc4da6
Jan-Simon Moeller [Wed, 1 Apr 2020 12:30:10 +0000 (14:30 +0200)]
Use top-level LICENSE files for each repo
We re-use the OpenEmbedded / Yocto Project style to
declare the licenses more prominently in the top level folders.
LICENSE is derived from poky's LICENSE file.
Bug-AGL: SPEC-3295
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7af49624b301a956f87191a07d39fcba6bbaa93c
Jan-Simon Moeller [Thu, 5 Mar 2020 11:38:26 +0000 (12:38 +0100)]
Add vboxguestdrivers recipe for html5 image
This is needed to build the html5 image with 'agl-devel' enabled.
For now copy, then in a 2nd step we will (re)move.
Bug-AGL: SPEC-3256
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I68e4c842cd936c08f7693418f712f9ea028a8bf2
Lorenzo Tilve [Tue, 3 Mar 2020 11:44:44 +0000 (12:44 +0100)]
chromium68: Backport build fix with newer kernel
The build of Chromium was failing on master due to a
in include that needed to be changed on WebRTC
https://webrtc-review.googlesource.com/c/src/+/138270
Bug-AGL: SPEC-3196
Change-Id: Ifd3c4f0631216a50d8bb14265249b208e5c93c0b
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Lorenzo Tilve [Tue, 3 Mar 2020 11:55:08 +0000 (12:55 +0100)]
wam: fix build error after yocto/zeus update
Avoid pessimizing-move build error due to unneded std::move(reply)
Bug-AGL: SPEC-3202
Change-Id: I09a9975d90ca93422dd9cef845b5ff576faca9b8
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Antia Puentes [Tue, 18 Feb 2020 11:48:03 +0000 (12:48 +0100)]
wam: bump revision, delete tinyproxy
Since the WAM revision this patch updates to, tinyproxy code is no
longer referenced by WAM, delete its recipe and references.
Bug-AGL: SPEC-3185
Change-Id: I6c3c241de2b7bc61be8a184c3c96397d478e04a5
Signed-off-by: Antia Puentes <apuentes@igalia.com>
Jan-Simon Möller [Fri, 21 Feb 2020 15:32:33 +0000 (16:32 +0100)]
Merge remote-tracking branch 'agl/next'
* agl/next:
meta-speech-framework: enable building Alexa voiceagent against zeus
Declare layer compatibility with zeus
Change-Id: I9c717cde0b51635c14f683b8d1d66a563ec3d7ed
Jan-Simon Möller [Tue, 18 Feb 2020 23:00:20 +0000 (00:00 +0100)]
Add name= to SRC_URI entry for chromium
This fixes an issue found when using the ARCHIVER.bbclass.
Bug-AGL: SPEC-3189
.
Change-Id: Ie2048236ed3baa3df0336711fa93758a4093caae
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Lorenzo Tilve [Fri, 14 Feb 2020 11:12:08 +0000 (12:12 +0100)]
Use landscape layout by default on HTML5 image
This also workarounds an issue when starting the homescreen
in portrait mode by default.
Bug-AGL: SPEC-3181
Change-Id: Ia84baab19c13c8484f681c8218a406e836dd08b0
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Scott Murray [Tue, 11 Feb 2020 22:37:54 +0000 (17:37 -0500)]
meta-speech-framework: enable building Alexa voiceagent against zeus
Changes:
- Tweak LAYERSERIES_COMPAT variable for alexa-auto-sdk's meta-aac
layer to append zeus, since it's unclear when Amazon will get around
to a new release that adds zeus support and it's straightforward to
get it to build against zeus.
- Add BBMASK for nghttp2 recipe in meta-aac to avoid overlaying the
one for the same version now available in meta-networking. This
avoids rebuilding a bunch of dependencies when reconfiguring to
enable agl-voiceagent-alexa.
- Add bbappend for avs-device-sdk to add a patch to disable -Werror
for new g++ 9 "deprecated-copy" warning in the packaged copy of
googletest, which avoids a build failure.
Bug-AGL: SPEC-2932
Change-Id: I469d07bafd8a4faf625191eb553ab7f762efb480
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Jan-Simon Moeller [Tue, 11 Feb 2020 15:47:08 +0000 (16:47 +0100)]
Add defaultbranch=master to gitreview file
Update .gitreview to have the defaultbranch= tag.
This simplifies changing the branches.
.
Change-Id: I775d5d3496bfe34ecca81296fef674448fb4c4c3
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Lorenzo Tilve [Fri, 24 Jan 2020 16:39:56 +0000 (17:39 +0100)]
wam: revision bump, fix WAM on icefish
Included changes:
*
a9e0093 Disable tinyproxy integration
*
c0def20 [agl] Fix regex scanning
*
c7b5db7 [agl] Handle hostname of application
*
4a00711 [agl] Retrieve token from environmen
*
7d4c91e Hard-code windowmanager roles for certain app ids
* files/trunc-webapp-roles.patch workaround repeated roles
Bumps WAM version and includes workaround for SPEC-3127. To
prevent repeated roles as much as possible, I'm using the
appid as a basis instead of "Webapp-" + host + port, which has
many chances to be redundant in the first 12 chars.
Bug-AGL: SPEC-2550
Bug-AGL: SPEC-3127
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: I59c37ce79fec61ecd6ef36ff3f74902714a6b575
Jan-Simon Möller [Tue, 5 Nov 2019 11:21:37 +0000 (12:21 +0100)]
Declare layer compatibility with zeus
For the uprev to YP 3.0 zeus we need to update the layer compatibility.
Change-Id: I60cd58c0bb2d4106958255d61a6f05e5bb950c76
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Scott Murray [Mon, 20 Jan 2020 22:26:59 +0000 (17:26 -0500)]
meta-aac: Rework agl-voiceagent-alexa packaging
Rather than appending the agl-voiceagent-alexa packages onto the
existing packagegroup-agl-core-services, instead define a new specific
packagegroup-agl-voiceagent-alexa, and an associated image feature
that is used to include it into an image with IMAGE_FEATURES. This
seems better for the longer-term goal of a binary package feed, and
IMAGE_FEATURES can be used by other recipes in a similar manner as
DISTRO_FEATURES, but with a lot less build dependency impact if
changed. This will be used in a parallel change to meta-agl-demo to
pull in the new alexa-viewer application when using the Alexa
voiceagent.
Bug-AGL: SPEC-3110
Change-Id: I15fb07560fef703e3471bce9e50596cb4a6667b4
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
George Kiagiadakis [Fri, 10 Jan 2020 10:27:14 +0000 (12:27 +0200)]
pipewire: add patch to fix random underruns
Bug-AGL: SPEC-3098
Change-Id: Id304bf6d1adcf7cd739b705a23772c25ce5258e8
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Jan-Simon Moeller [Sun, 5 Jan 2020 06:19:39 +0000 (07:19 +0100)]
alexa-voiceagent-service: Add the hls gstreamer plugin
Streaming music needs this plugin. Add it to RDEPENDS.
Bug-AGL: SPEC-3088
.
Change-Id: Ica10a9ad106c73da98ca34c9c851f029eee04b2b
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Scott Murray [Thu, 2 Jan 2020 21:19:49 +0000 (16:19 -0500)]
alexa-voiceagent-service: Add patch to fix event argument JSON
In several places in the alexa-voiceagent-service code, strings
containing JSON document fragments are put whole into a json-c string
object which is added to the event argument json_object, rather than
being properly added as built up json-c object hierarchies. The result
is an embedded JSON document in a string with extra escaping, which is
not usable on the receiving side without knowing that part of the
event object effectively needs to be run through a JSON parser to be
usable. This is contrary to the voiceagent event documentation and
inconvenient for client implementors, so fix it by tokenizing the
internal JSON payload string into a json_object tree and passing that
as the event argument where necessary.
Note that it is ATM not clear if all affected event argument payloads
are correct, e.g. LocalMediaSource may need some more work.
Bug-AGL: SPEC-3084
Change-Id: I77c97d7eb241d6ccbd98fb379b88336494ce12e9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit
3fdec9d7e81cff04fd2aa38e25872da7c431b769)
Scott Murray [Mon, 30 Dec 2019 00:01:24 +0000 (19:01 -0500)]
alexa-voiceagent-service: support building in wakeword engine
Add support for building the "amazonlite" wakeword engine into the Alexa
voiceagent. A new feature template, agl-voiceagent-alexa-wakeword, is
added to pull in the extra layers/recipes from the additional wakeword
engine files for the SDK that Amazon provides. The feature pulls in the
existing agl-voiceagent-alexa feature as a dependency to simplify
configuring a build. The existing patch to work around the Alexa SDK
build's use of AAC_PREFIX as prefix for all packages has been updated to
handle the pryon-lite wakeword engine library.
Bug-AGL: SPEC-3077
Change-Id: I5549ea9000c6713e6becb191f4dcd957ebde18ac
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
George Kiagiadakis [Thu, 19 Dec 2019 15:25:28 +0000 (17:25 +0200)]
bluez-alsa: update gst-helper to handle corking and use the Multimedia role on A2DP
Bug-AGL: SPEC-2792
Change-Id: I2247550d6059c31596651e84fdd617f849722422
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Thu, 19 Dec 2019 15:20:41 +0000 (17:20 +0200)]
wireplumber: update with bluetooth audio policy fixes
George Kiagiadakis (5):
config: add missing endpoint priority in hw:0,0 config
config-policy: remove _can_link_stream() function
config-policy: do not unlink other endpoints when linking one with keep=true
config-policy: push endpoints with keep=true to the end of the list when sorting
config-policy: debug handling of endpoints
Bug-AGL: SPEC-2792
Change-Id: I5645715948f0c596ce0dc6754aa045ed58ebed84
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Jan-Simon Möller [Wed, 18 Dec 2019 17:50:59 +0000 (18:50 +0100)]
Also let the user specify the wakeword engine status
To enable the wakeword engine you need to have the plugin available
and set ALEXA_WAKEWORD in your conf/local.conf to true.
Change-Id: If7266c8ac9f773ee29dffc7494d55f323e76b63e
Bug-AGL: SPEC-3054
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
George Kiagiadakis [Tue, 17 Dec 2019 17:32:34 +0000 (19:32 +0200)]
wireplumber: update to master
* Fixes policy issues
* Implements a standard way of configuring the default device: the device
that matches from the *.endpoint files that has the highest priority and
is available on the system becomes the default. Afterwards, at runtime,
the default can be changed with wireplumber-cli. Clients now also link
to the default device, so it is possible to change devices at runtime
without reconfiguring wireplumber.
George Kiagiadakis (9):
session: select the default endpoint based on endpoint priority
config: refactor wireplumber's configuration
config: fix typo in config files
module-session: debug default endpoint changes
policy: track the exported session instead of the proxy
config-policy: debug rescans
cli: fail gracefully if connection to pipewire fails
lib: debug loading of config files + endpoint priorities
parser-endpoint: fix typo; initialize endpoint priority instead of reseting the match one
Julian Bouzas (13):
config-policy: sort endpoints by creation time when finding target
parser-endpoint-link: higher number means higher priority
softdsp-endpoint: don't rename the endpoint on creation
modules: remove alsa-udev and audio-client modules
modules: add config endpoint module
config-policy: remove parsing of streams file
parser-endpoint-link: don't parse unused state value
base-endpoint: add _get_priority API
modules: only allow 'sink' and 'source' strings when parsing direction in config files
base-endpoint: add _get_global_id API
policy: add _get_session API for the policy manager
config-policy: use the default session endpoint if target-endpoint is not defined
config-policy: only handle the highest priority endpoint for a target, and the ones with keep=true
Bug-AGL: SPEC-2837
Change-Id: I87b3e8b9e159dfc472aa534e40e088ae758ad20c
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Jan-Simon Moeller [Sat, 14 Dec 2019 01:27:43 +0000 (02:27 +0100)]
Add mechanism to deploy the alexa-voiceagent credentials
Allow a pre-loaded version of the alexa voiceagent configuration.
Bug-AGL: SPEC-3054
Change-Id: I65e0c1fd253d2d21e33c052477a0aeb397b8eb11
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
George Kiagiadakis [Thu, 12 Dec 2019 21:26:15 +0000 (23:26 +0200)]
wireplumber: conf: load module-session
This is needed by the audiomixer to be able to find the default
playback device endpoint.
Bug-AGL: SPEC-2986
Change-Id: I0126a958c6c5005620fab89b0fb880b603cd9f14
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Thu, 12 Dec 2019 20:33:47 +0000 (22:33 +0200)]
agl-service-audiomixer: add DEPENDS on wireplumber
Latest changes require linking against wireplumber's library
Bug-AGL: SPEC-2986
Change-Id: I0524ec3f275add4bbdb57054a54c0c71e42db044
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Thu, 12 Dec 2019 19:54:25 +0000 (21:54 +0200)]
agl-service-audiomixer: change back to building from the default AGL branch
Bug-AGL: SPEC-2986
Change-Id: I27419168f98d615b38f498490c23f80d33963aea
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Thu, 12 Dec 2019 19:45:21 +0000 (21:45 +0200)]
wireplumber: update to master
* Adds volume controls
* Adds useful subcommands in wireplumber-cli
George Kiagiadakis (15):
lib: rename WpEndpoint* to WpBaseEndpoint*
lib: implement WpEndpoint (interface + Proxy + Exported + unit test)
endpoint: export name, media class & direction + finetune the global properties
session: ensure the exported properties do not leak object, client & factory ids
softdsp-endpoint: export Endpoint object on the pipewire registry
config-policy: avoid race condition in the unit tests
endpoint: implement get_{name,media_class,direction}
exported: delay export until the core is connected
modules: implement module-session, a WpSession provider module
cli: extend with operations to list endpoints and change the default
softdsp-endpoint: implement volume controls via the exported endpoint
cli: add a set-volume command
core: change idle_add to take a GDestroyNotify as well and return a source id
endpoint proxy: don't try to set a control value if the proxy is destroyed
meson: install a pkgconfig file for libwireplumber
Julian Bouzas (3):
stream: clear proxy when finalizing
tests: clear core weak reference when finalizing endpoint-link-fake
tests: improved config policy priority test to make sure endpoint role works
Bug-AGL: SPEC-2986
Change-Id: Ifc30465c7e24c49ab475adbca590f6aca0e67600
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Wed, 11 Dec 2019 00:07:48 +0000 (02:07 +0200)]
wireplumber: update for bug fixes
George Kiagiadakis (6):
ci: pin pipewire to a specific working commit
config: remove the stream from the default endpoint-link files
config-policy: add some more debug statements
config-policy: fix stream priority logic when the stream name comes from media.role
config-policy: fix typo in variable check
link-algorithm: link mono inputs to all available target ports
Julian Bouzas (4):
core: remove unnecessary idle callback when connecting
core: return a boolean in sync API
tests: make sure core is connected before starting config-policy tests
policy: store a core weak reference
Bug-AGL: SPEC-2837
Bug-AGL: SPEC-3003
Change-Id: I19a0a1580365e998600fcd6841d0c5d2fe955310
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Jacobo Aragunde Pérez [Mon, 9 Dec 2019 07:20:39 +0000 (08:20 +0100)]
agl-profile-graphical-html5: Add packagegroup to IMAGE_INSTALL
Whenever the feature is enabled, it can be expected that the packages
related to the HTML5 framework would be added to any image built, e.g.
the agl-demo-platform.
Bug-AGL: SPEC-2322
Change-Id: I0e6174fe52c9f9dbb87105d0bbd96d93554ed67b
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Jacobo Aragunde Pérez [Tue, 3 Dec 2019 10:53:34 +0000 (11:53 +0100)]
meta-html5-framework: rename layer and feature
The new name for the layer is meta-agl-profile-graphical-html5 and the
feature is agl-profile-graphical-html5, which better match the other
existing features like agl-profile-graphical-qt5.
Usage:
aglsetup.sh -m $MACHINE agl-profile-graphical-html5
Build minimal image to run HTML5 apps:
bitbake agl-image-graphical-html5
Include to agl-demo-platform:
IMAGE_INSTALL_append = " packagegroup-agl-appfw-html5"
Change-Id: I4a4d4f85dd7fc23be51621702f842aa86a0dc3a5
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Jacobo Aragunde Pérez [Wed, 27 Nov 2019 10:05:01 +0000 (11:05 +0100)]
meta-html5-framework: define html-only image
The layer now defines a standalone image agl-image-graphical-html5,
containing only the minimum packages to run the web application
manager (WAM). No webapps are included.
It redefines packagegroups to use the more standard names
agl-profile-graphical-html5 and agl-appfw-html5.
It also adds a dependency on agl-profile-graphical, so we don't
require users to add other features explicitly.
The .bbappends for agl-demo-platform* images have been removed, so the
layer doesn't depend on meta-agl-demo. We will provide image
definitions for WAM + demo apps in meta-agl-demo in a later commit.
To sum up, an HTML-only image can be built with:
aglsetup.sh -m $MACHINE agl-html5-framework
bitbake agl-image-graphical-html5
To add WAM to an agl-demo-platform image, both agl-demo and
agl-html5-framework features must be enabled, and this must be added
to local.conf or local.dev.inc:
IMAGE_INSTALL_append = " packagegroup-agl-appfw-html5"
Bug-AGL: SPEC-2322
Change-Id: I648dd9f509faf77bf0c8520c9773de073865b90e
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Matt Ranostay [Fri, 6 Dec 2019 00:29:45 +0000 (02:29 +0200)]
agl-service-audiomixer: add signal-composer to RDEPENDS
To allow subscribing to steering wheel events it requires
agl-service-signal-composer.
Bug-AGL: SPEC-3023
Change-Id: I4731b28cfb2702436a9c02fbfa32d32792b00c59
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
George Kiagiadakis [Thu, 5 Dec 2019 15:08:12 +0000 (17:08 +0200)]
wireplumber: update to master as of Dec 5th 2019
This update introduces a new TOML configuration file based
policy engine, which behaves the same as the previous static
engine, except that we now can:
* link different apps to different devices
* finetune how the device is configured with a lot of properties
that we can match against
* force a specific role to a specific app, by overriding
it in the configuration file
* make a specific app remain linked to the output even if
another app comes in to play something; this is useful
for the bluez-alsa gstreamer helper at this moment
In addition, the code is cleaner and easier to work with, and
we can easily add more properties to force a specific behavior
per app.
Bug-AGL: SPEC-2837
Change-Id: If0ecd468592b78cb2f2a5a8c3db16f655e4927f9
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Thu, 5 Dec 2019 12:09:14 +0000 (14:09 +0200)]
pipewire: update to master as of Dec 5th 2019
* Refreshed & combined some patches
Bug-AGL: SPEC-2837
Change-Id: Ibd5849eff26bb51eb68580eac144aa07e646d127
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Ronan Le Martret [Fri, 29 Nov 2019 09:19:08 +0000 (10:19 +0100)]
Move packages from agl-core to agl-ivi
Bug-AGL: SPEC-2500
Change-Id: Ibe92d865556818697e311fb914f6e80b80143975
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
José Bollo [Tue, 26 Nov 2019 18:51:47 +0000 (19:51 +0100)]
pipewire: Rework of security settings
This changes is mainly focussed on shifting
from cynara to cynagora permission database.
But it also changes how setting is done
in the hope to make it simpler.
Bug-AGL: SPEC-2993
Change-Id: Ie9085e11560724baf4194fc6d17651d40523bab7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
George Kiagiadakis [Mon, 18 Nov 2019 14:36:21 +0000 (16:36 +0200)]
wireplumber: update to master as of Nov 19th 2019
* Fixes the crashes that have previously been observed on the green machine
* Addresses issues with format selection on some devices
* Removed the mixer module which is no longer used
Bastien Nocera (2):
build: Fix build after recent PipeWire header changes
ci: Add CI
George Kiagiadakis (9):
lib/wp: move internal functions and declarations to a private.h header
proxy: allow multiple augment tasks to run in parallel
fixup: include private.h in monitor.c
lib: introduce WpObjectManager
object-manager: actually add the object-manager.* files in git
endpoint-link: ensure we call finalize of the parent class
proxy: debug in dispose() so that we can print the pw_proxy pointer
adapter: select a reasonable device format instead of letting pipewire choose its own
ci: use the same os image as pipewire and build pw with minimal features
Julian Bouzas (1):
modules: remove the mixer
Bug-AGL: SPEC-2837
Bug-AGL: SPEC-2860
Change-Id: Ica817888c877f409c4e57edb8f29f4cdf6ea0489
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Mon, 18 Nov 2019 14:25:34 +0000 (16:25 +0200)]
pipewire: update to master as of Nov 19th 2019
* Refresh patches
* Remove endpoint API patches, which have been merged
* Remove log timestamp patch, which has been merged
* Added a patch to module-access to avoid all those
false-positive security errors in the journal
* Update URLs to point to gitlab.freedesktop.org now
that the project has moved
* Switch from gitsm to git, since the project no longer
makes use of submodules
Bug-AGL: SPEC-2837
Change-Id: I53ef9548e48827b00595162c0a30e12b302eefd9
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Wed, 6 Nov 2019 13:07:52 +0000 (15:07 +0200)]
wireplumber: update to latest master
Changes:
* Respects the device configuration again
* Properly re-links with a client that was already there before
when a higher priority or a newer one exits
* Fixes some linking issues and assertion failures
* Change the project URL to reflect the move to the "pipewire"
group on freedesktop
This still doesn't fix the crashes that have been observed to happen
with alexa.
George Kiagiadakis (5):
tests: proxy: fix failure due to property key change in pipewire
monitor & softdsp: fix alsa property names and api string
policy: correctly figure out if a stream is a capture stream
policy: do not assert if the endpoint link errors out
README.md: add instructions on building and running
Julian Bouzas (3):
endpoint: add creation-time property
simple-policy: select the newest client endpoint when the role priority is equal
stream: get the node id from the info struct when preparing link
Bug-AGL: SPEC-2837
Change-Id: I804e5211ae8cbc5b787e2fc586d600c8ac9b965e
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Raquel Medina [Tue, 29 Oct 2019 18:58:02 +0000 (19:58 +0100)]
Revert "alexa-voiceagent-service: build in debug mode"
This reverts commit
479697d20ac25fa6c457e7ec2af78a0f145c8a49.
Bug-AGL: SPEC-2873
Change-Id: I1bcb38a4d629f3cd4203e14231c4927d4cba4607
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Raquel Medina [Thu, 31 Oct 2019 13:29:36 +0000 (14:29 +0100)]
alexa-voice-agent-service: fix segmentation fault in release mode
Bug-AGL: SPEC-2873
Change-Id: I3ada1a89e57aa879667e2a204a5f7572a59201ed
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Scott Murray [Wed, 16 Oct 2019 00:37:40 +0000 (20:37 -0400)]
meta-speech-framework: rework voiceagent configuration
After agl-service-voice-high rework to make the voiceagent(s) used
externally configurable, replace the previous virtual/voiceagent
PREFERRED_RPROVIDER scheme with a virtual/voice-high-config that
just selects the appropriate configuration package based on the
specified feature. If agl-speech-framework is specified on its own,
a default configuration file specifying no default voiceagent will
be installed. If agl-voiceagent-alexa is specified, the default
configuration will specify the Alexa voiceagent as the default.
Recipes have been added for the new configuration file packages,
and the alexa-voiceagent-service recipe has been tweaked to create
a package with the Alexa per-voiceagent configuration file and add
it as a dependency.
Bug-AGL: SPEC-2898
Change-Id: Ib6e3952d04df5795d94bb38cd314b0c79e5b60e5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Scott Murray [Tue, 15 Oct 2019 18:03:53 +0000 (14:03 -0400)]
alexa-voiceagent-service: build in debug mode
Tweak the CMake flags to build alexa-voiceagent-service in debug mode
(hopefully temporarily) to avoid the known crash tracked in SPEC-2873.
This also matches the build instructions given in the README.md in
alexa-auto-sdk upstream as of version 2.0.
Bug-AGL: SPEC-2873
Change-Id: I2bc7b14412089660ea253a50bcbe4079e2670be0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Antia Puentes [Mon, 7 Oct 2019 10:40:40 +0000 (12:40 +0200)]
wam: bump revision
Includes commits:
* [agl] Implement an envvar for launcher to wait for host process
* [agl] Suspend/resume webapps depending on visibility
* Create socket and lock files in XDG_RUNTIME_DIR.
which are the fixes for the AGL issues:
Bug-AGL: SPEC-2793
Bug-AGL: SPEC-1948
Bug-AGL: SPEC-2684
Change-Id: I1dc64ca013804c5df9a7f17f6d6722d40f3271f1
Signed-off-by: Antia Puentes <apuentes@igalia.com>
Scott Murray [Thu, 10 Oct 2019 14:35:34 +0000 (10:35 -0400)]
agl-service-voice-high: remove submodule usage
Update agl-service-voice-high recipe to replace git submodule usage
with DEPENDS on libafb-helpers and libappcontroller. nlohmann-json
has been added also been added as a dependency since the json.hpp it
provides is no longer available from libafb-helpers as it previously
was from the submodule. Finally, the lua dependencies have been
removed since nothing in the binding's controller usage requires
them.
Bug-AGL: SPEC-2854, SPEC-2856
Change-Id: I4ff980e6706c9e57da2c30181261f33c602f1515
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Scott Murray [Thu, 10 Oct 2019 14:31:02 +0000 (10:31 -0400)]
agl-service-voice-high-capabilities: remove submodule usage
Update agl-service-voice-high-capabilities recipe to replace git
submodule usage with DEPENDS on libafb-helpers and libappcontroller.
nlohmann-json has been added also been added as a dependency since
the json.hpp it provides is no longer available from libafb-helpers
as it previously was from the submodule. Finally, the lua
dependencies have been removed since nothing in the binding's
controller usage requires them.
Bug-AGL: SPEC-2855, SPEC-2857
Change-Id: I8e6eaa88c294b1c8d97c5eefab912e87aebd8e80
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
George Kiagiadakis [Wed, 9 Oct 2019 09:41:11 +0000 (12:41 +0300)]
wireplumber: update configuration
This removes the bluetooth modules from the configuration and updates
the alsa monitor name & flags to match what we have in wireplumber master.
Bug-AGL: SPEC-2837
Change-Id: I8eabfabab5ce49a958fc17720a1b76ae43049566
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Antia Puentes [Mon, 7 Oct 2019 14:16:30 +0000 (16:16 +0200)]
chromium68: bump revision, it fixes a WAM crash in rpi
Includes commit:
* Revert "[BACKPORT] [ozone/wayland] Use gbm with in-process-gpu mode"
The original Chromium backport introduced a regression in the
Raspberry Pi, resulting in a crash in the WebAppMgr.
Bug-AGL: SPEC-2790
Change-Id: Ibc7af04cbd0b867d1488bcb18926d3337ad998ef
Signed-off-by: Antia Puentes <apuentes@igalia.com>
George Kiagiadakis [Fri, 4 Oct 2019 20:07:46 +0000 (23:07 +0300)]
meta-pipewire: add recipe to build the bluez-alsa-pipewire gstreamer helper
Unfortunately, the bluez-alsa PCM plugin does not work correctly
when it is used through pipewire (or gstreamer, or anywhere really...).
For this reason I have built a helper client that uses GStreamer
to glue together the bluez-alsa sockets with pipewire.
This helper is implemented as a patch to bluez-alsa so that it can
use its internal private API. In the future this needs some re-thinking
The helper is meant to run in the background as a service and it will
create the appropriate streams in pipewire when it detects a new
device on the bluealsa d-bus interface. Currently it only supports
a2dp-sink and hfp modes (i.e. media player from a phone + calls).
Bluetooth speakers need further policy work in wireplumber that is
too complex to support on the current halibut version of
pipewire/wireplumber.
Bug-AGL: SPEC-2792
Change-Id: I369b40eb1cf6d940ac233fff18605f400bce3628
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Mon, 7 Oct 2019 15:37:59 +0000 (18:37 +0300)]
wireplumber: update to latest master
* fixes the problem where audio was only audible on the left channel (SPEC-2850)
* updates for pipewire master API changes
* forward-ports the changes needed to run the bluez-alsa gst helper
George Kiagiadakis (11):
daemon: do not access the inexistent error-message property from core
core & proxy: add some more assertions and debug messages for troubleshooting
sofdsp-endpoint: run audioconvert in merge+split mode and use a new linking algorithm
softdsp-endpoint/stream: remove the port proxies when they are removed on the server
monitor: update to reflect API changes in pipewire master
monitor: add a flag to activate alsa devices
softdsp/convert: append the stream name on the new "object.path" key
simple-policy: remove all the bluetooth policy stuff
modules: remove module-pw-bluez
policy: add a hack that allows some clients to be linked always
meson: bump version to 0.1.90
Bug-AGL: SPEC-2850
Bug-AGL: SPEC-2792
Bug-AGL: SPEC-2837
Change-Id: I3bfa9fe54c5c01515d596f0f3c143958141ff1ad
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Mon, 7 Oct 2019 15:28:10 +0000 (18:28 +0300)]
pipewire: update to latest master
Update patches:
* remove merged patches
* remove the alsa algorithm correction that was needed for qemu,
as it seems to cause severe underruns on other platforms now;
I will recheck qemu to see if this is still an issue
* add a workaround needed to get the audioconvert plugin running
in merge+split mode (needed to get all the channels out instead
of just the front left channel that we were getting before)
Update version to 0.2.91 to reflect the fact that we are now tracking
the master branch instead of the work branch.
Enable the spa audiomixer plugin which is now required to mix audio on ports
Bug-AGL: SPEC-2837
Change-Id: I2558aa5487b9c9918e077bf450230c143abf7e6c
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Scott Murray [Tue, 1 Oct 2019 09:02:25 +0000 (05:02 -0400)]
alexa-voiceagent-service: update config and database file paths
Add patch to alexa-voiceagent-service to update the default paths
used for the database and configuration files to move them out of the
binding installation hierarchy. This avoids the permissions problems
stemming from the new security model of running as non-root. Also
reworked the main configuration JSON file location logic to check for
the file in /etc/xdg/AGL and then in AFM_WORKDIR (app-data directory),
before falling back to the original location in var/config under the
binding installation directory.
Bug-AGL: SPEC-2845
Change-Id: Id7636435163005148a6291a56a1ada9896c0b3cc
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
George Kiagiadakis [Tue, 1 Oct 2019 09:05:15 +0000 (12:05 +0300)]
pipewire: add patch to fix random sendmsg errors
Sometimes we get an error from sendmsg when too many objects
exist in the graph and when this happens, clients start to
silently fail to do things in a weird way. These patches fix
that by handling the situation where sendmsg returns EAGAIN
and trying again when the socket is unblocked. Previously,
data would silently be dropped, which is what caused the weird
behaviors.
See also https://github.com/PipeWire/pipewire/issues/111
Bug-AGL: SPEC-2837
Change-Id: Ie30083545629114f10a28e628f54d85e22d13058
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
George Kiagiadakis [Tue, 1 Oct 2019 08:38:47 +0000 (11:38 +0300)]
wireplumber: remove residual config line
The softdsp module has been removed (merged into the main module-pipewire),
so it is not found when using this config and loading fails
Bug-AGL: SPEC-2837
Change-Id: I304caa6f0091b4f214fb90dee8d179ec6a29415c
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>