Kalliope Voice Assistant on Mobian
#7
And I have successfully built on Arch and Manjaro.

# load system python libraries
pacman -S python-gitpython python-pyaml python-pyaudio python-six python-markupsafe python-pyasn1 python-ansible
pacman -S python-jinja python-flask python-requests python-httpretty python-mock python-packaging python-sounddevice
pacman -S python-paho-mqtt python-gevent

The Arch package svox-pico-bin has not been ported to aarch64 yet. So I hacked the Debian versions to fit.
Grab the Debian aarch64 library packages from https://packages.debian.org/bullseye/all/
libttspico-data
libttspico-utils
libttspico0

I did the following on an x86 Arch machine as I have not built debtap on aarch64
debtap each package. During the build edit each package name and remove the "-git" from it
Additionally, while editing the build file for libttspico0 change aarch64/gnu/linux/glibc to just glibc
pacman -U the files produced by debtap. The order matters, first data, then the lib, then utils
The library files will be in /usr/lib/aarch64-gnu-linux. Move them to /usr/lib

sudo pacman -U ./libttspico-data-
sudo pacman -U ./libttspico0-
sudo pacman -U ./libttspico-utils-

sudo cp /usr/lib/aarch64-gnu-linux/libttspico* /usr/lib
sudo pip install precise_runner
sudo pip install kalliope    (wait, it is a 1 hour build now, down from 3 Smile
get the starter kit for your language
https://kalliope-project.github.io/starter_kit.html

kalliope install --git-url https://github.com/corus87/kalliope_trigger_precise.git

Configure and .....

"Sheila"
"Yes Boss"
"Phone Jim"
"Calling Jim"
......

Working on integrating location, so that queries like "tell me where the closest something is" will work.

Since I have Kalliope working on Arch/Manjaro I am dropping the Mobian work. I really don't want to but too many of the libraries in Debian are archaic, to put it politely, and  not suitable for a bleeding edge (amputee ward?) system like the Pinephone.

YMMV
LF


Messages In This Thread
RE: Kalliope Voice Assistant on Mobian - by bcnaz - 11-07-2020, 07:55 PM
RE: Kalliope Voice Assistant on Mobian - by Lousy Fisherman - 11-20-2020, 10:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 65 28,864 07-12-2025, 07:46 AM
Last Post: anonymous
  cryptocurrency on mobian/pinephone biketool 33 53,614 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 1,121 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 257,319 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 954 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 1,282 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 1,678 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 1,722 04-29-2025, 02:10 PM
Last Post: mdk
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 1,855 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 1,579 01-02-2025, 12:47 PM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)