Moved meta-alexa-demo top level to meta-alexapi
PATCH 1/3 Moved meta-alexa-demo top level to meta-alexapi
From: Matthew Hansen <[email protected]>
---
COPYING.MIT => meta-alexapi/COPYING.MIT | 0
LICENSE => meta-alexapi/LICENSE | 0
README => meta-alexapi/README | 0
{conf => meta-alexapi/conf}/layer.conf | 0
.../recipes-connectivity}/libmtp/libmtp_1.1.5.bbappend | 0
.../alexapi/alexapi/0001-common.sh-Get-rid-of-grep-perl-regex.patch | 0
.../0002-setup.sh-Change-some-things-that-don-t-make-sense-fo.patch | 0
.../0003-src.config.template.yaml-Set-default-input-to-defaul.patch | 0
{recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi_git.bb | 0
.../recipes-devtools}/python/python-cheroot_5.1.0.bb | 0
.../recipes-devtools}/python/python-cherrypy_10.1.1.bb | 0
.../recipes-devtools}/python/python-memcached_1.58.bb | 0
.../recipes-devtools}/python/python-pocketsphinx_0.1.3.bb | 0
.../recipes-devtools}/python/python-portend_1.8.bb | 0
.../recipes-devtools}/python/python-py-getch_1.0.1.bb | 0
.../recipes-devtools}/python/python-tempora_1.6.1.bb | 0
.../recipes-devtools}/python/python-vlc_1.1.2.bb | 0
.../recipes-devtools}/python/python-wave_0.0.2.bb | 0
.../recipes-devtools}/python/python-webrtcvad_2.0.10.bb | 0
.../recipes-multimedia}/vlc/vlc_2.2.2.bbappend | 0
20 files changed, 0 insertions(+), 0 deletions(-)
rename COPYING.MIT => meta-alexapi/COPYING.MIT (100%)
rename LICENSE => meta-alexapi/LICENSE (100%)
rename README => meta-alexapi/README (100%)
rename {conf => meta-alexapi/conf}/layer.conf (100%)
rename {recipes-connectivity => meta-alexapi/recipes-connectivity}/libmtp/libmtp_1.1.5.bbappend (100%)
rename {recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi/0001-common.sh-Get-rid-of-grep-perl-regex.patch (100%)
rename {recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi/0002-setup.sh-Change-some-things-that-don-t-make-sense-fo.patch (100%)
rename {recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi/0003-src.config.template.yaml-Set-default-input-to-defaul.patch (100%)
rename {recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi_git.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-cheroot_5.1.0.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-cherrypy_10.1.1.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-memcached_1.58.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-pocketsphinx_0.1.3.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-portend_1.8.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-py-getch_1.0.1.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-tempora_1.6.1.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-vlc_1.1.2.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-wave_0.0.2.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-webrtcvad_2.0.10.bb (100%)
rename {recipes-multimedia => meta-alexapi/recipes-multimedia}/vlc/vlc_2.2.2.bbappend (100%)meta-alexapi/COPYING.MIT renamed from COPYING.MIT +0 -0
meta-alexapi/LICENSE renamed from LICENSE +0 -0
meta-alexapi/README renamed from README +0 -0
meta-alexapi/conf/layer.conf renamed from conf/layer.conf +0 -0
meta-alexapi/recipes-connectivity/libmtp/libmtp_1.1.5.bbappend renamed from recipes-connectivity/libmtp/libmtp_1.1.5.bbappend +0 -0
meta-alexapi/recipes-core/alexapi/alexapi/0001-common.sh-Get-rid-of-grep-perl-regex.patch renamed from recipes-core/alexapi/alexapi/0001-common.sh-Get-rid-of-grep-perl-regex.patch +0 -0
meta-alexapi/recipes-core/alexapi/alexapi/0002-setup.sh-Change-some-things-that-don-t-make-sense-fo.patch renamed from recipes-core/alexapi/alexapi/0002-setup.sh-Change-some-things-that-don-t-make-sense-fo.patch +0 -0
meta-alexapi/recipes-core/alexapi/alexapi/0003-src.config.template.yaml-Set-default-input-to-defaul.patch renamed from recipes-core/alexapi/alexapi/0003-src.config.template.yaml-Set-default-input-to-defaul.patch +0 -0
meta-alexapi/recipes-core/alexapi/alexapi_git.bb renamed from recipes-core/alexapi/alexapi_git.bb +0 -0
meta-alexapi/recipes-devtools/python/python-cheroot_5.1.0.bb renamed from recipes-devtools/python/python-cheroot_5.1.0.bb +0 -0
meta-alexapi/recipes-devtools/python/python-cherrypy_10.1.1.bb renamed from recipes-devtools/python/python-cherrypy_10.1.1.bb +0 -0
meta-alexapi/recipes-devtools/python/python-memcached_1.58.bb renamed from recipes-devtools/python/python-memcached_1.58.bb +0 -0
meta-alexapi/recipes-devtools/python/python-pocketsphinx_0.1.3.bb renamed from recipes-devtools/python/python-pocketsphinx_0.1.3.bb +0 -0
meta-alexapi/recipes-devtools/python/python-portend_1.8.bb renamed from recipes-devtools/python/python-portend_1.8.bb +0 -0
meta-alexapi/recipes-devtools/python/python-py-getch_1.0.1.bb renamed from recipes-devtools/python/python-py-getch_1.0.1.bb +0 -0
meta-alexapi/recipes-devtools/python/python-tempora_1.6.1.bb renamed from recipes-devtools/python/python-tempora_1.6.1.bb +0 -0
meta-alexapi/recipes-devtools/python/python-vlc_1.1.2.bb renamed from recipes-devtools/python/python-vlc_1.1.2.bb +0 -0
meta-alexapi/recipes-devtools/python/python-wave_0.0.2.bb renamed from recipes-devtools/python/python-wave_0.0.2.bb +0 -0
meta-alexapi/recipes-devtools/python/python-webrtcvad_2.0.10.bb renamed from recipes-devtools/python/python-webrtcvad_2.0.10.bb +0 -0
meta-alexapi/recipes-multimedia/vlc/vlc_2.2.2.bbappend renamed from recipes-multimedia/vlc/vlc_2.2.2.bbappend +0 -0
Signature · 1 line
2.7.4
PATCH 2/3 Added meta-alexa-led for demo files
From: Matthew Hansen <[email protected]>
--- meta-alexa-led/COPYING.MIT | 17 +++ meta-alexa-led/LICENSE | 2 + meta-alexa-led/README | 64 ++++++++++ meta-alexa-led/conf/layer.conf | 10 ++ meta-alexa-led/recipes-demo/alexa-led/alexa-led.bb | 16 +++ .../recipes-demo/alexa-led/files/COPYING.MIT | 17 +++ .../recipes-demo/alexa-led/files/LICENSE | 2 + .../recipes-demo/alexa-led/files/index.js | 142 +++++++++++++++++++++ .../recipes-demo/alexa-led/files/main.js | 89 +++++++++++++ 9 files changed, 359 insertions(+) create mode 100644 meta-alexa-led/COPYING.MIT create mode 100644 meta-alexa-led/LICENSE create mode 100644 meta-alexa-led/README create mode 100644 meta-alexa-led/conf/layer.conf create mode 100644 meta-alexa-led/recipes-demo/alexa-led/alexa-led.bb create mode 100644 meta-alexa-led/recipes-demo/alexa-led/files/COPYING.MIT create mode 100644 meta-alexa-led/recipes-demo/alexa-led/files/LICENSE create mode 100644 meta-alexa-led/recipes-demo/alexa-led/files/index.js create mode 100755 meta-alexa-led/recipes-demo/alexa-led/files/main.js
meta-alexa-led/COPYING.MIT new file +17 -0
@@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE.
meta-alexa-led/LICENSE new file +2 -0
@@ -0,0 +1,2 @@ +All files in this layer are under the MIT license unless a file specifically notes otherwise. +See COPYING.MIT for license details.
meta-alexa-led/README new file +64 -0
64 lines not on this page · raw message
meta-alexa-led/conf/layer.conf new file +10 -0
@@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "alexa-led" +BBFILE_PATTERN_alexa-led = "^${LAYERDIR}/" +BBFILE_PRIORITY_alexa-led = "6"
meta-alexa-led/recipes-demo/alexa-led/alexa-led.bb new file +16 -0
@@ -0,0 +1,16 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=afaffb6a59e1896be335c5dd05c69e4b" + +SRC_URI = "file://main.js" + +RDEPENDS_${PN} = "nodejs \ + alexapi" + +do_install () { + install -d ${D}${libdir}/node_modules/alexa_led + install ${WORKDIR}/main.js ${D}${libdir}/node_modules/alexa_led +} + +FILES_${PN} = " \ + ${libdir}/node_modules \ + "
meta-alexa-led/recipes-demo/alexa-led/files/COPYING.MIT new file +17 -0
@@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE.
meta-alexa-led/recipes-demo/alexa-led/files/LICENSE new file +2 -0
@@ -0,0 +1,2 @@ +All files in this layer are under the MIT license unless a file specifically notes otherwise. +See COPYING.MIT for license details.
meta-alexa-led/recipes-demo/alexa-led/files/index.js new file +142 -0
142 lines not on this page · raw message
meta-alexa-led/recipes-demo/alexa-led/files/main.js new file +89 -0
89 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 3/3 Add the tutorials for alexa-led demo.
In reply to Amanda BrindleUpdate the README with instructions for building an image with alexa-led.
--- meta-alexa-led/README | 56 +++++++++++++++------ .../1HowToRegisterMinnowboardAsIoTDevice.pdf | Bin 0 -> 2245977 bytes .../tutorials/2HowToCreateLambdaFunction.pdf | Bin 0 -> 2260907 bytes .../tutorials/3HowToCreateAlexaSkill.pdf | Bin 0 -> 1383314 bytes 4 files changed, 42 insertions(+), 14 deletions(-) create mode 100644 meta-alexa-led/tutorials/1HowToRegisterMinnowboardAsIoTDevice.pdf create mode 100644 meta-alexa-led/tutorials/2HowToCreateLambdaFunction.pdf create mode 100644 meta-alexa-led/tutorials/3HowToCreateAlexaSkill.pdf
meta-alexa-led/README +42 -14
@@ -16,32 +16,36 @@ This layer depends on: layers: meta branch: master - URI: git://git.yoctoproject.org/xxxx - layers: xxxx - branch: master - + URI: git://git.yoctoproject.org/meta-alexa-demo + layers: meta-alexapi + branch: dev Patches ======= Please submit any patches against the alexa-led layer to the -xxxx mailing list ([email protected]) and cc: the maintainer: +yocto mailing list ([email protected]) and cc: the maintainer: -Maintainer: XXX YYYYYY <[email protected]> +Maintainer: Amanda Brindle <[email protected]> Table of Contents ================= + + I. Prerequisite + II. Adding the alexa-led layer to your build +III. Adding installations to your build + IV. Demo Tutorials - I. Adding the alexa-led layer to your build - II. Misc +I. Prerequisite +================================================= +Add alexapi to your image by following the README in the meta-alexapi layer, +and test that you can speak to Alexa. (ex: Alexa, what time is it?) -I. Adding the alexa-led layer to your build +II. Adding the alexa-led layer to your build ================================================= ---- replace with specific instructions for the alexa-led layer --- - In order to use this layer, you need to make the build system aware of it.
@@ -53,12 +57,36 @@ other layers needed. e.g.: BBLAYERS ?= " \ /path/to/yocto/meta \ /path/to/yocto/meta-poky \ - /path/to/yocto/meta-yocto-bsp \ + /path/to/yocto/meta-intel \ + /path/to/yocto/meta-alexapi \ /path/to/yocto/meta-alexa-led \ " -II. Misc +III. Adding installations to your build ======== ---- replace with specific information about the alexa-led layer --- +In local.conf add: + +IMAGE_INSTALL_append = " alexa-led alexapi alsa-utils nodejs nodejs-npm portaudio-v19 curl " + +If you get the ERROR: Nothing PROVIDES 'libmad' and/or ERROR: libmad was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST + +In local.conf add: + +LICENSE_FLAGS_WHITELIST = "commercial" + +Optionally, you can add more to IMAGE_INSTALL_append, such as git in case you want to clone the dev branch of alexapi, or connman-client to help connect to wifi: + +IMAGE_INSTALL_append = " git connman-client " + +You can also add gcc, make, cmake, and other development tools if you want to build code: + +IMAGE_INSTALL_append = " gcc make cmake " + +Then, look for EXTRA_IMAGE_FEATURES ?= "debug-tweaks", and add tools-sdk. + +IV. Demo Tutorials +===================================== + +To complete the demo to make an led blink, follow the demo tutorials found in the tutorials folder.
meta-alexa-led/tutorials/1HowToRegisterMinnowboardAsIoTDevice.pdf new file binary +0 -0
meta-alexa-led/tutorials/2HowToCreateLambdaFunction.pdf new file binary +0 -0
meta-alexa-led/tutorials/3HowToCreateAlexaSkill.pdf new file binary +0 -0
Signature · 1 line
2.7.4
Sorry for slow response. I see your signoff on the original patch, do I have permission to add it back to these?
Thanks,
Cal
Quoted 45 lines · Amanda Brindle
From: Matthew Hansen <[email protected]>
--- COPYING.MIT => meta-alexapi/COPYING.MIT | 0 LICENSE => meta-alexapi/LICENSE | 0 README => meta-alexapi/README | 0 {conf => meta-alexapi/conf}/layer.conf | 0 .../recipes-connectivity}/libmtp/libmtp_1.1.5.bbappend | 0 .../alexapi/alexapi/0001-common.sh-Get-rid-of-grep-perl-regex.patch | 0 .../0002-setup.sh-Change-some-things-that-don-t-make-sense-fo.patch | 0 .../0003-src.config.template.yaml-Set-default-input-to-defaul.patch | 0 {recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi_git.bb | 0 .../recipes-devtools}/python/python-cheroot_5.1.0.bb | 0 .../recipes-devtools}/python/python-cherrypy_10.1.1.bb | 0 .../recipes-devtools}/python/python-memcached_1.58.bb | 0 .../recipes-devtools}/python/python-pocketsphinx_0.1.3.bb | 0 .../recipes-devtools}/python/python-portend_1.8.bb | 0 .../recipes-devtools}/python/python-py-getch_1.0.1.bb | 0 .../recipes-devtools}/python/python-tempora_1.6.1.bb | 0 .../recipes-devtools}/python/python-vlc_1.1.2.bb | 0 .../recipes-devtools}/python/python-wave_0.0.2.bb | 0 .../recipes-devtools}/python/python-webrtcvad_2.0.10.bb | 0 .../recipes-multimedia}/vlc/vlc_2.2.2.bbappend | 0 20 files changed, 0 insertions(+), 0 deletions(-)rename COPYING.MIT => meta-alexapi/COPYING.MIT (100%)
rename LICENSE => meta-alexapi/LICENSE (100%)
rename README => meta-alexapi/README (100%)
rename {conf =>meta-alexapi/conf}/layer.conf(100%)
rename {recipes-connectivity => meta-alexapi/recipes-connectivity}/libmtp/libmtp_1.1.5.bbappend (100%)
rename {recipes-core =>meta-alexapi/recipes-core}/alexapi/alexapi/0001-common.sh-Get-rid-of-grep-perl-regex.patch(100%) rename {recipes-core =>meta-alexapi/recipes-core}/alexapi/alexapi/0002-setup.sh-Change-some-things-that-don-t-make-sense-fo.patch(100%) rename {recipes-core =>meta-alexapi/recipes-core}/alexapi/alexapi/0003-src.config.template.yaml-Set-default-input-to-defaul.patch(100%) rename {recipes-core => meta-alexapi/recipes-core}/alexapi/alexapi_git.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-cheroot_5.1.0.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-cherrypy_10.1.1.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-memcached_1.58.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-pocketsphinx_0.1.3.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-portend_1.8.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-py-getch_1.0.1.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-tempora_1.6.1.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-vlc_1.1.2.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-wave_0.0.2.bb (100%)
rename {recipes-devtools => meta-alexapi/recipes-devtools}/python/python-webrtcvad_2.0.10.bb (100%)
rename {recipes-multimedia => meta-alexapi/recipes-multimedia}/vlc/vlc_2.2.2.bbappend (100%)