summaryrefslogtreecommitdiffstats
path: root/meta-speech-framework
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17Move core speech service to meta-agl-demokoi_10.91.0koi/10.91.010.91.0Jan-Simon Moeller6-76/+0
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
2020-09-02agl-service-voice-high-capabilities_git.bb: update license file md5jellyfish_9.99.4jellyfish/9.99.49.99.4Li, Xiaoming1-1/+1
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>
2020-07-17Follow-up change to change of LICENSE fileLi, Xiaoming1-1/+1
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>
2020-06-10alexa-voiceagent-service: Add patch to add autobuild scriptsScott Murray2-0/+287
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
2020-05-18Update widget packaging reworkScott Murray4-32/+0
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
2020-05-08Widget packaging reworkScott Murray7-15/+56
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
2020-04-21Declare layer compatibility for dunfellScott Murray1-1/+1
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
2020-02-11meta-speech-framework: enable building Alexa voiceagent against zeusScott Murray3-0/+32
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>
2020-01-22Declare layer compatibility with zeusJan-Simon Möller1-1/+1
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>
2020-01-20meta-aac: Rework agl-voiceagent-alexa packagingScott Murray2-0/+19
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>
2020-01-05alexa-voiceagent-service: Add the hls gstreamer pluginJan-Simon Moeller1-0/+1
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>
2020-01-03alexa-voiceagent-service: Add patch to fix event argument JSONScott Murray2-0/+184
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)
2019-12-30alexa-voiceagent-service: support building in wakeword engineScott Murray3-4/+24
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>
2019-12-18Also let the user specify the wakeword engine statusJan-Simon Möller1-1/+3
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>
2019-12-14Add mechanism to deploy the alexa-voiceagent credentialsicefish_8.99.3icefish/8.99.38.99.3Jan-Simon Moeller3-0/+223
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>
2019-12-04Move packages from agl-core to agl-iviRonan Le Martret2-0/+0
Bug-AGL: SPEC-2500 Change-Id: Ibe92d865556818697e311fb914f6e80b80143975 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-10-31Revert "alexa-voiceagent-service: build in debug mode"Raquel Medina1-4/+0
This reverts commit 479697d20ac25fa6c457e7ec2af78a0f145c8a49. Bug-AGL: SPEC-2873 Change-Id: I1bcb38a4d629f3cd4203e14231c4927d4cba4607 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-10-31alexa-voice-agent-service: fix segmentation fault in release modeRaquel Medina2-0/+34
Bug-AGL: SPEC-2873 Change-Id: I3ada1a89e57aa879667e2a204a5f7572a59201ed Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-10-15meta-speech-framework: rework voiceagent configurationScott Murray10-9/+72
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>
2019-10-15alexa-voiceagent-service: build in debug modeScott Murray1-0/+4
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>
2019-10-10agl-service-voice-high: remove submodule usageScott Murray1-2/+3
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>
2019-10-10agl-service-voice-high-capabilities: remove submodule usageScott Murray1-5/+3
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>
2019-10-02alexa-voiceagent-service: update config and database file pathsScott Murray2-0/+125
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>
2019-09-30agl-voiceagent-alexa: mask out curl bbappendScott Murray1-0/+5
Mask out curl bbappend with BBMASK in agl-voiceagent-alexa.inc to avoid triggering significant rebuilds when enabling the feature. The required PACKAGECONFIG modification to enable nghttp2 is now done in meta-agl-profile-core. Bug-AGL: SPEC-2839 Change-Id: I8fdc9f75ecf20ae4c05dce585cef61cc923fac94 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-25alexa-voiceagent-service: Add patch to update audio device configurationScott Murray2-0/+198
Add patch to update audio device configuration to work with PipeWire changes to Auto SDK gstreamer output code. Bug-AGL: SPEC-2761 Change-Id: If7d1058a190bd91bd68151a5b54dc84db05a55bc Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-21meta-speech-framework: aac-module-gstreamer: Add PipeWire support patchScott Murray2-0/+98
Add a version of George's PipeWire support patch updated for the new gstreamer module in Alexa Auto SDK 2.0 to the aac-module-gstreamer bbappend. Bug-AGL: SPEC-2761 Change-Id: I4787d365664089848a9ffa3be1ee646766f6c931 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-18alexa-voiceagent-service: Update config.xml.inScott Murray2-0/+32
Add a patch to alexa-voiceagent-service recipe to update its config.xml.in to remove the now unneeded 4A dependency and add the now required new audio permission. Bug-AGL: SPEC-2765 Change-Id: I884bd7cfa45e598ecc06e1d6b1adde61a82f8db5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-12Add agl-voiceagent-alexa featureScott Murray7-2/+98
Add feature and associated recipes and bbappends to enable building the Amazon Alexa voice agent for the speech framework using the Alexa Automotive SDK 2.0 release. A separate feature is used to accomodate potentially building with a different voiceagent provider. Some follow on development is required to add PipeWire support to the new gstreamer extension added in AAC 2.0, see SPEC-2767. Bug-AGL: SPEC-2765 Change-Id: Ie6e8f6a7965f8014ca2e64a2535faec073e320bc Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-04-25meta-speech-framework: add RDEPEND for agl-service-high-capabilitiesThierry Bultel1-1/+2
agl-service-high-capabilities is needed by the speech framework. Change-Id: I79935a1ff45d85e641215ad3cedf495f07eee606 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-04-09Upgrade to thudScott Murray1-0/+2
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Disable pulseaudio-module-4a-client for now as it does not compile against PulseAudio 12.x - Remove meta-audio-4a-framework/recipes-devtools/python/python3-websockets_4.0.1.bb as it is superseded by upstream - Add OECMAKE_GENERATOR = "Unix Makefiles" to 4a-alsa-core, 4a-hal-generic, 4a-hal-unicens, and 4a-softmixer recipes for now to work around CMake+ninja issue - Remove alsa 1.1.6 recipes from meta-audio-4a-framework/recipes-multimedia/alsa as they are superseded by upstream. Local changes to the alsa-plugins recipe have been implemented in a bbappend. Known issues: - pulseaudio-module-4a-client has been disabled - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR Bug-AGL: SPEC-1837 Change-Id: I5355e9f74e2385a093ca21cda5bd52a80e1a6e67 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-27agl-service-voice-high-capabilities: added recipeThierry Bultel1-0/+19
This adds a recipe for agl-service-voice-high-capabilities Change-Id: Ie45f71d4a2c0faf943328230ca3b3c24fe76fe6f Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-03-21agl-service-voice-high: bump to latest versionThierry Bultel1-6/+6
This brings the following commits: * 9eb3a90 Refactored VSHL into vshl-core and vshl-capabilities. * 143363b Initial .gitreview * 4082dd6 Code Base Linking based authentication implementation for Al.. * 3c87e5c Added the Alexa VoiceAgent dependency in the VSHL widget con.. * bba1c5e config.cmake: Remove superfluous dependencies * d828cc4 Use latest AGL Framework code for javascript * c9e18e6 Also provide HTML user app for testing Change-Id: Id4a04515df0c4ec5ba0f1467d8e3f17f1b9924e9 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-11-30speech-framework: Add initial speech-framework featureShotaro Uchida3-0/+28
Change-Id: I458161fea56928e338c1fe208e643e9a33141f6e Signed-off-by: Shotaro Uchida <shotaru@amazon.com>