summaryrefslogtreecommitdiffstats
path: root/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
AgeCommit message (Collapse)AuthorFilesLines
2021-10-28Prepare master for new framework integrationsandbox/jsmoeller/rmappfwJan-Simon Moeller1-58/+0
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: - meta-speech-framework and the voiceagent services Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I803dd18184338a1f5519af27136e1d5a58ee9369
2021-08-20Convert to new override syntaxScott Murray1-3/+3
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. 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: I0bbae97331abee1367b368ce54ab39e3162a12ec
2021-02-01meta-speech-framework: Update Alexa Auto SDK to v2.3Scott Murray1-9/+6
Changes: - Mask out the duplicate libopus recipe, the same version is available from a recipe in meta-oe. - Update BBFILES addition for the audio module in the feature template to work with yet another new audio output backend. - Update the AlexaAutoCoreEngineConfig.json.in template based on the new sample JSON in 2.3. - Update alexa-voiceagent-config recipe to add new configuration variables ALEXA_LOCALE, ALEXA_TIMEZONE, ALEXA_MFG_NAME, and ALEXA_DESCRIPTION to match requirements of the updated configuration JSON. - Remove local alexa-voiceagent-service patches merged by Amazon, and update 0001-remove-library-dependency-copying.patch for 2.3. - Update SDK module DEPENDS for alexa-voiceagent-service recipe to match what seems required now with 2.3. - Remove avs-device-sdk patch for building with g++ 9.x, as it is no longer required. - Add avs-device-sdk patch to workaround hang seen on first connection. - Add bbappends for aac-module-car-control and aac-module-messaging recipes to fix their nlohmann-json DEPENDS to work with the recipe that is available in meta-oe. - Rework aac-module-system-audio.bbappend to enable the PipeWire support that has been merged into the module. Bug-AGL: SPEC-3783 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I18c910f9cbf874fef85d1d84508f6666d53629ed
2020-06-10alexa-voiceagent-service: Add patch to add autobuild scriptsScott Murray1-0/+1
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-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 Murray1-0/+1
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 Murray1-1/+10
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-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 Medina1-0/+1
Bug-AGL: SPEC-2873 Change-Id: I3ada1a89e57aa879667e2a204a5f7572a59201ed Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-10-15meta-speech-framework: rework voiceagent configurationScott Murray1-3/+10
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-02alexa-voiceagent-service: update config and database file pathsScott Murray1-0/+1
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-25alexa-voiceagent-service: Add patch to update audio device configurationScott Murray1-0/+1
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-18alexa-voiceagent-service: Update config.xml.inScott Murray1-0/+1
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 Murray1-0/+38
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>