16 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Alexander Kanavin
2724acc91f
mycroft: do not depend on python3-xmlrunner
Nothing in the source tree refers to it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:47 -08:00
Khem Raj
cff659d47e mycroft: Check for pulseaudio in distro features
It needs pulseaudio but its only available via distro features so check
it before enabling this recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-06 11:38:16 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Philippe Coval
4f0d10e870 mycroft: Install more tools needed by scripts
Bash dependency maybe droped once scripts
are simplified to support busybox.

Relate-to: https://github.com/MycroftAI/mycroft-core/pull/2686
Change-Id: Ibbb6c2e72f56f35ce475c045e52b4d4e56275348
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-11 10:23:54 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
1412471631 mycroft: rdep on procps
mycroft needs pgrep

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01 17:10:05 -07:00
Alistair Francis
86ee041f61 mycroft: RDEPENDS on mpg123 to allow singing
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 15:47:20 -08:00
Alistair Francis
7f8b94f8a4 mycroft: Fixup remaining issues
This patch combines a few fixups:
 - Don't bother users about missing package manager
 - Use pocketsphinx by default (as it works on RISC-V)
 - Add Upstream-Status to all patches

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-26 02:41:33 -07:00
Alistair Francis
d8e71b65a8 mycroft: Run the files from /var
To avoid errors when running on a read only /lib/ file system copy the
files to /var and run mycroft from there.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 05:53:25 -07:00
Alistair Francis
74aa0be637 mycroft: Bump to 19.8.1
Bump the Mycroft version and at the same time remove the requirement to
install Python packages using pip on the target. Installing packages on
the target doesn't always work depending on the features of the
rootfs. We now install a lot more of the Python pip packages in OE as
well.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 05:53:25 -07:00
Khem Raj
61ccc6d4a8 mycroft: Remove alsa-oss from rdeps
It seems to only need pulseaudio alsa plugins and alsa-oss
does not build for musl so its marked incompatible for musl
so lets remove it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-12 17:31:25 -07:00
Alistair Francis
41d0ee6e5d mycroft: Bump from 19.2.2 to 19.2.3
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Alistair Francis
28566c1307 mycroft: Update the systemd service to ensure we are ready to start
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Alistair Francis
fb097550fd mycroft: Initial commit
Mycroft is an open source speech assistant. It traditionally runs inside
Python virtual env and installs all of the pip and native packages and
programs that is needs at setup. This generally includes a native gcc
build for some of the binaries in the pip packages.

This patch adds Mycroft support and edits the source to remove the
Python venv usage so we can just run in standard Python world. This
allows us to use the preinstalled Python packages where avaliable and
avoid installing too much on the target at runtime. At the moment we
still require a few simple Python packages to be installed but we don't
requrie any target compilation.

Hopefully in the future we can remove all of the runtime install
requirements by adding all the Python packages to the rootFS pre-boot
and setting up the other files/directories as required during the build
process.

This patch also adds two systemd services. The first will setup mycroft
on boot, the second will start the mycroft voice assistant.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00