GNU bug report logs - #50663
[PATCH] gnu: Add Mycroft Voice Assistant

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sat, 18 Sep 2021 17:03:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 50663 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 17:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to phodina <phodina <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 18 Sep 2021 17:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH 01/18] gnu: Add python-pyee.
Date: Sat, 18 Sep 2021 17:01:46 +0000
* gnu/packages/python-xyz.scm (python-pyee): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 758c20868e..7add339e90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16446,6 +16446,35 @@ Record Format (DWARF).")
 (define-public python2-pyev
   (package-with-python2 python-pyev))

+(define-public python-pyee
+  (package
+    (name "python-pyee")
+    (version "8.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyee" version))
+       (sha256
+        (base32
+         "0cgxbdr4zmil03wwr5fv58789i51gka8a9fxm1dgkf5xs9dwrnlj"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest-trio" ,python-pytest-trio)
+       ("python-pytest-asyncio" ,python-pytest-asyncio)
+       ("python-pytest-runner" ,python-pytest-runner)
+       ("python-pytest" ,python-pytest)
+       ("python-mock" ,python-mock)))
+    (propagated-inputs
+     `(("python-vcversioner" ,python-vcversioner)
+       ("python-twisted" ,python-twisted)
+       ("python-trio" ,python-trio)))
+    (home-page "https://github.com/jfhbrook/pyee")
+    (synopsis
+     "Port of node.js's EventEmitter to python")
+    (description
+     "Port of node.js's EventEmitter to python.")
+    (license license:expat)))
+
 (define-public python-imagesize
   (package
     (name "python-imagesize")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 17:05:07 GMT) Full text and rfc822 format available.

Message #8 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 02/18] gnu: Add python-fann2.
Date: Sat, 18 Sep 2021 17:04:39 +0000
* gnu/packages/python-xyz.scm (python-fann2): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7add339e90..6aa0f3236a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -174,6 +174,7 @@
   #:use-module (gnu packages maths)
   #:use-module (gnu packages monitoring)
   #:use-module (gnu packages multiprecision)
+  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages openstack)
@@ -17885,6 +17886,28 @@ current test, while only declaring the test-specific fields")
 (define-public python2-factory-boy
   (package-with-python2 python-factory-boy))

+(define-public python-fann2
+  (package
+    (name "python-fann2")
+    (version "1.0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fann2" version))
+       (sha256
+        (base32
+         "17zv6hbq26qg9jmsshx3xnnnv203fr4cyjg4v3rgq38a5i5agv2k"))))
+    (build-system python-build-system)
+    (native-inputs `(("swig" ,swig)))
+    (propagated-inputs `(("fann" ,fann)))
+    (home-page
+     "https://github.com/FutureLinkCorporation/fann2")
+    (synopsis
+     "Fast Artificial Neural Network Library (FANN) Python bindings")
+    (description
+     "Fast Artificial Neural Network Library (FANN) Python bindings.")
+    (license license:lgpl2.1)))
+
 (define-public python-translate-toolkit
   (package
     (name "python-translate-toolkit")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 03/19] gnu: Add python-padaos.
Date: Sat, 18 Sep 2021 18:58:56 +0000
* gnu/packages/python-xyz.scm (python-padaos): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 074f799130..b2d7a290e6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13759,6 +13759,23 @@ anymore.")
 (define-public python2-pathlib
   (package-with-python2 python-pathlib))

+(define-public python-padaos
+  (package
+    (name "python-padaos")
+    (version "0.1.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "padaos" version))
+       (sha256
+        (base32
+         "10zfk0nfv0fsy6r0by4cf6hlxxid7kp4bai2fwsbad9zskz6dgj7"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/MycroftAI/padaos")
+    (synopsis "Rigid, lightweight, dead-simple intent parser")
+    (description "Converts sentences into one big chunk of regex. Each intent is a single compiled regex matcher.")
+    (license license:expat)))
+
 (define-public python2-pathlib2
   (package
     (name "python2-pathlib2")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:00:03 GMT) Full text and rfc822 format available.

Message #14 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 04/19] gnu: Add python-precise-runner.
Date: Sat, 18 Sep 2021 18:59:28 +0000
* gnu/packages/python-xyz.scm (python-precise-runner): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2d7a290e6..4fe8748931 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -133,6 +133,7 @@
   #:use-module (gnu packages adns)
   #:use-module (gnu packages aidc)
   #:use-module (gnu packages attr)
+  #:use-module (gnu packages audio)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
@@ -22094,6 +22095,26 @@ multi-language pre-commit hooks.")
 RFC 8265 and RFC 8266.")
     (license license:expat)))

+(define-public python-precise-runner
+  (package
+    (name "python-precise-runner")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "precise-runner" version))
+       (sha256
+        (base32
+         "13zbxd8yccsk67b5ksrjf7206krwxj2s3q07x9pnhrrn8k6hkn45"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyaudio" ,python-pyaudio)))
+    (home-page "https://github.com/MycroftAI/mycroft-precise")
+    (synopsis "Wrapper to use Mycroft Precise Wake Word Listener")
+    (description "Audio stream monitoring wrapper which triggers an event when
+it recognizes a specific phrase.")
+    (license license:asl2.0)))
+
 (define-public python-absl-py
   (package
     (name "python-absl-py")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:01:02 GMT) Full text and rfc822 format available.

Message #17 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 05/19] gnu: Add python-petact.
Date: Sat, 18 Sep 2021 18:59:51 +0000
* gnu/packages/python-xyz.scm (python-petact): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4fe8748931..072bd121d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9349,6 +9349,24 @@ PEP 8.")
          ,@(package-arguments base)))
     (native-inputs `()))))

+(define-public python-petact
+  (package
+    (name "python-petact")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "petact" version))
+       (sha256
+        (base32
+         "1rjh0fjimmixbvrv6znkfrfa83ndjc4pgyfyl90iwq3az120vjsx"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/matthewscholefield/petact")
+    (synopsis "Package extraction tool")
+    (description "Library used for installing and updating compressed tar
+files.")
+    (license license:expat))) ; MIT
+
 (define-public python-pyflakes
   (package
     (name "python-pyflakes")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:01:02 GMT) Full text and rfc822 format available.

Message #20 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 06/19] gnu: Add python-padatious.
Date: Sat, 18 Sep 2021 19:00:27 +0000
* gnu/packages/python-xyz.scm (python-padatious): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 072bd121d5..1b1a26f603 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -142,6 +142,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages digest)
   #:use-module (gnu packages djvu)
   #:use-module (gnu packages docker)
   #:use-module (gnu packages enchant)
@@ -13795,6 +13796,27 @@ anymore.")
     (description "Converts sentences into one big chunk of regex. Each intent is a single compiled regex matcher.")
     (license license:expat)))

+(define-public python-padatious
+  (package
+    (name "python-padatious")
+    (version "0.4.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "padatious" version))
+       (sha256
+        (base32
+         "0xbgf75kxclacgairid8m948hrrngcxhykr1wkvav32fp58z4wg4"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-fann2" ,python-fann2)
+       ("python-padaos" ,python-padaos)
+       ("python-xxhash" ,python-xxhash)))
+    (home-page "https://github.com/MycroftAI/padatious")
+    (synopsis "Neural network intent parser")
+    (description "A neural network intent parser")
+    (license license:asl2.0)))
+
 (define-public python2-pathlib2
   (package
     (name "python2-pathlib2")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:02:01 GMT) Full text and rfc822 format available.

Message #23 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 07/19] gnu: Add python-lazy.
Date: Sat, 18 Sep 2021 19:01:15 +0000
* gnu/packages/python-xyz.scm (python-lazy): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1b1a26f603..8f92800112 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15254,6 +15254,28 @@ feels like an AST.")
 inspection of types defined in the Python standard typing module.")
     (license license:expat)))

+(define-public python-lazy
+  (package
+    (name "python-lazy")
+    (version "1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference   ; pypi release link leads to project page
+             (url "https://github.com/stefanholek/lazy")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1y3y35jr0nnfh32zgdrb4r4sf9v8k36j07z2m0g6kz7bf3azsgc5"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/stefanholek/lazy")
+    (synopsis "Lazy attributes for Python objects")
+    (description "Provides lazy attributes that are evaluated only once,
+the first time they are used.  Subsequent uses return the results of the first
+call.")
+    (license license:bsd-2)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:02:02 GMT) Full text and rfc822 format available.

Message #26 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 08/19] gnu: Add python-pako.
Date: Sat, 18 Sep 2021 19:01:31 +0000
* gnu/packages/python-xyz.scm (python-pako): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8f92800112..7180be87e5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13817,6 +13817,26 @@ anymore.")
     (description "A neural network intent parser")
     (license license:asl2.0)))

+(define-public python-pako
+  (package
+    (name "python-pako")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pako" version))
+       (sha256
+        (base32
+         "07r3f86idlxb2x2mvy24fzkxyq5xalkbmk0zmqva7341pdrs0cy0"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-appdirs" ,python-appdirs)))
+    (home-page "https://github.com/MycroftAI/pako")
+    (synopsis "The universal package manager library")
+    (description
+     "Provides unified way to handle native universal package manager.")
+    (license license:asl2.0)))
+
 (define-public python2-pathlib2
   (package
     (name "python2-pathlib2")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:03:01 GMT) Full text and rfc822 format available.

Message #29 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 09/19] gnu: Add python-adapt-parser.
Date: Sat, 18 Sep 2021 19:02:44 +0000
* gnu/packages/python-xyz.scm (python-adapt-parser): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7180be87e5..e3f996a2d2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13502,6 +13502,30 @@ ISO 8859, etc.).")
 (define-public python2-translitcodec
   (package-with-python2 python-translitcodec))

+(define-public python-adapt-parser
+  (package
+    (name "python-adapt-parser")
+    (version "v0.3.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/MycroftAI/adapt")
+             (commit (string-append "release/" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1f67plj9f0314pm2vfqvmzqmngfq4vznzs3ikgkwsz798m1hzl6y"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyee" ,python-pyee)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/MycroftAI/adapt")
+    (synopsis "Text-to-intent parsing framework")
+    (description "Flexible and extensible way to parse natural language text
+into a structured intent.")
+    (license license:asl2.0)))
+
 (define-public python-anyqt
   (package
     (name "python-anyqt")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:04:02 GMT) Full text and rfc822 format available.

Message #32 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 10/19] gnu: Add python-msm.
Date: Sat, 18 Sep 2021 19:03:15 +0000
* gnu/packages/python-xyz.scm (python-msm): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e3f996a2d2..1379302ef4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -148,6 +148,7 @@
   #:use-module (gnu packages enchant)
   #:use-module (gnu packages file)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages geo)
   #:use-module (gnu packages ghostscript)
@@ -10143,6 +10144,32 @@ reading and writing MessagePack data.")
 (define-public python2-msgpack
   (package-with-python2 python-msgpack))

+(define-public python-msm
+  (package
+    (name "python-msm")
+    (version "0.8.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "msm" version))
+       (sha256
+        (base32
+         "00z588imq7q33iv3hn83mf2cyqrbs5f6zzyfa6445ainxvskkzz2"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-fasteners" ,python-fasteners)
+       ("python-gitpython" ,python-gitpython)
+       ("python-lazy" ,python-lazy)
+       ("python-pako" ,python-pako)
+       ("python-pyxdg" ,python-pyxdg)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-requests" ,python-requests)))
+    (home-page "https://github.com/MycroftAI/mycroft-skills-manager")
+    (synopsis "Mycroft Skills Manager")
+    (description "Command line tool for interacting with the mycroft-skills
+repository.")
+    (license license:asl2.0)))
+
 (define-public python-netaddr
   (package
     (name "python-netaddr")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:04:02 GMT) Full text and rfc822 format available.

Message #35 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 11/19] gnu: Add python-msk.
Date: Sat, 18 Sep 2021 19:03:36 +0000
* gnu/packages/python-xyz.scm (python-msk): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1379302ef4..6f03518ea8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10144,6 +10144,30 @@ reading and writing MessagePack data.")
 (define-public python2-msgpack
   (package-with-python2 python-msgpack))

+(define-public python-msk
+  (package
+    (name "python-msk")
+    (version "0.3.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "msk" version))
+       (sha256
+        (base32
+         "11zf2s5wdglzki2r05plx6j9gykwvbpdn8fbr3fnjz4g0vy1g9y6"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-gitpython" ,python-gitpython)
+       ("python-msm" ,python-msm)
+       ("python-pygithub" ,python-pygithub)
+       ("python-requests" ,python-requests)))
+    (home-page "https://github.com/MycroftAI/mycroft-skills-kit")
+    (synopsis "Mycroft Skills Kit")
+    (description "Tool to help with creating, uploading, and upgrading Mycroft
+skills.")
+    (license license:asl2.0)))
+
 (define-public python-msm
   (package
     (name "python-msm")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:05:02 GMT) Full text and rfc822 format available.

Message #38 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 12/19] gnu: Add python-lingua-franca.
Date: Sat, 18 Sep 2021 19:03:58 +0000
* gnu/packages/python-xyz.scm (python-lingua-franca): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6f03518ea8..5c068ee17b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19348,6 +19348,35 @@ lines are read from a single file.")
 (define-public python2-linecache2
   (package-with-python2 python-linecache2))

+(define-public python-lingua-franca
+  (package
+    (name "python-lingua-franca")
+    (version "v0.4.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+          (git-reference
+            (url "https://github.com/MycroftAI/lingua-franca")
+            (commit (string-append "release/" version))))
+        (file-name (git-file-name name version))
+        (modules '((guix build utils)))
+        (snippet '(begin
+                     ;; Use newer version of pkg
+                     (substitute* "requirements.txt"
+                        (("python-dateutil==") "python-dateutil>="))
+                     #t))
+        (sha256
+          (base32
+            "1qrd1jdi57lv9q3h1g18sg1whgxsmij7x3jw6p608cnhpssf92dr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-dateutil" ,python-dateutil)))
+    (home-page "https://github.com/MycroftAI/lingua-franca")
+    (synopsis "Mycroft's multilingual text parsing and formatting library")
+    (description "Converts data into spoken equivalents.")
+    (license license:asl2.0)))
+
 (define-public python-traceback2
   (package
     (name "python-traceback2")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:05:02 GMT) Full text and rfc822 format available.

Message #41 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 13/19] gnu: Add python-pocketsphinx.
Date: Sat, 18 Sep 2021 19:04:27 +0000
* gnu/packages/python-xyz.scm (python-pocketsphinx): New variable.

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a7a3443707..5f9967ba0e 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -45,14 +45,44 @@
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages swig)
   #:use-module (gnu packages time)
   #:use-module (gnu packages python-science)
   #:use-module (gnu packages graph))

+(define-public python-pocketsphinx
+  (package
+    (name "python-pocketsphinx")
+    (version "0.1.15")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+	 (url "https://github.com/bambocher/pocketsphinx-python")
+	    (recursive? #t)
+	    (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "18i1jw9138ldxigfcjz6rk9z2c2wc2ng2zdnkzippv45d5izkdz8"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("swig" ,swig)))
+    (propagated-inputs
+     `(("pulseaudio" ,pulseaudio)
+       ("alsa-lib" ,alsa-lib)))
+    (home-page "https://github.com/bambocher/pocketsphinx-python")
+    (synopsis "Python interface to CMU Sphinxbase and Pocketsphinx libraries")
+    (description "Python interface to CMU Sphinxbase and Pocketsphinx libraries")
+    (license license:bsd-3)))
+
 (define-public python-sphinx
   (package
     (name "python-sphinx")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:06:02 GMT) Full text and rfc822 format available.

Message #44 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 14/19] gnu: Add python-gtts.
Date: Sat, 18 Sep 2021 19:04:59 +0000
* gnu/packages/python-xyz.scm (python-gtts): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5c068ee17b..46e5c2522d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16371,6 +16371,37 @@ A GraphQL schema describes your data model, and provides a GraphQL server
 with an associated set of resolve methods that know how to fetch data.")
     (license license:expat)))

+(define-public python-gtts
+  (package
+    (name "python-gtts")
+    (version "2.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "gTTS" version))
+       (sha256
+        (base32
+         "03qah9gxhx8m6apviqyffay2dpijm2k5h88ikzgndyvs6zc18dxm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-flake8" ,python-flake8)
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-six" ,python-six)
+       ("python-testfixtures" ,python-testfixtures)))
+    (propagated-inputs
+     `(("python-click" ,python-click)
+       ("python-requests" ,python-requests)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/pndurette/gTTS")
+    (synopsis
+     "Python interface to Google Translate text-to-speech API")
+    (description
+     "Python library and CLI tool to interface with Google Translate
+text-to-speech API")
+    (license license:expat)))
+
 (define-public python-nautilus
   (package
     (name "python-nautilus")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:12:01 GMT) Full text and rfc822 format available.

Message #47 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 16/19] gnu: Add python-mycroft-messagebus-client.
Date: Sat, 18 Sep 2021 19:11:08 +0000
* gnu/packages/python-xyz.scm (python-mycroft-messagebus-client): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 60d597677a..84ad0ae37a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20700,6 +20700,29 @@ working with iterables.")
     (propagated-inputs
      `(("python2-six" ,python2-six-bootstrap)))))

+(define-public python-mycroft-messagebus-client
+  (package
+    (name "python-mycroft-messagebus-client")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mycroft-messagebus-client" version))
+       (sha256
+        (base32
+         "0dvzq1rnpg88bzz9dp5275fvw4jrr8wdfgdl3bbz81zhxnp151ih"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyee" ,python-pyee)
+       ("python-websocket-client"
+        ,python-websocket-client)))
+    (home-page "https://github.com/MycroftAI/mycroft-messagebus-client")
+    (synopsis "Mycroft Messagebus Client")
+    (description "This module provides simple interface for the mycroft
+messagebus and can be used to connect to mycroft, send messages and react
+to messages sent by the Mycroft system.")
+    (license license:asl2.0)))
+
 (define-public python-latexcodec
   (package
     (name "python-latexcodec")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:12:02 GMT) Full text and rfc822 format available.

Message #50 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 17/19] gnu: Add mycroft-mimic.
Date: Sat, 18 Sep 2021 19:11:42 +0000
* gnu/packages/speech.scm (mycroft-mimic): New variable.

diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
index cbc46b32b4..78694362e8 100644
--- a/gnu/packages/speech.scm
+++ b/gnu/packages/speech.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2020 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;; Copyright © 2020 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
+;;; Copyright © 2021 Petr Hodina <phodina <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,7 @@
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)
@@ -237,6 +239,36 @@ efficiency through the use of a compact vector representation of n-grams.")
     (home-page "https://github.com/mitlm/mitlm")
     (license license:expat)))

+(define-public mycroft-mimic
+  (package
+    (name "mycroft-mimic")
+    (version "1.3.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri
+               (git-reference
+                (url "https://github.com/MycroftAI/mimic1")
+                (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1agwgby9ql8r3x5rd1rgx3xp9y4cdg4pi3kqlz3vanv9na8nf3id"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("libtool" ,libtool)
+       ("automake" ,automake)
+       ("autoconf" ,autoconf)))
+    (inputs `(("alsa-lib" ,alsa-lib)
+              ("pcre2" ,pcre2)))
+    (synopsis "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)")
+    (description "Mimic is a fast, lightweight Text-to-speech engine developed
+by Mycroft A.I. and VocaliD, based on Carnegie Mellon University’s Flite
+(Festival-Lite) software.  Mimic takes in text and reads it out loud to create
+a high quality voice.")
+    (home-page "https://github.com/MycroftAI/mimic1")
+    (license #f)))
+
 (define-public speech-dispatcher
   (package
     (name "speech-dispatcher")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:13:01 GMT) Full text and rfc822 format available.

Message #53 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 18/19] gnu: Add python-speech-recognition.
Date: Sat, 18 Sep 2021 19:12:16 +0000
* gnu/packages/python-xyz.scm (python-speech-recognition): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 84ad0ae37a..0af13a0423 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5340,6 +5340,31 @@ color scales, and color space conversion easy.  It has support for:
 (define-public python2-spectra
   (package-with-python2 python-spectra))

+(define-public python-speech-recognition
+  (package
+    (name "python-speech-recognition")
+    (version "3.8.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+         (url "https://github.com/Uberi/speech_recognition")
+         (commit version)))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "1lq6g4kl3y1b4ch3b6wik7xy743x6pp5iald0jb9zxqgyxy1zsz4"))))
+    (build-system python-build-system)
+    (arguments
+      ;; Attempts to aquire sound card
+      '(#:tests? #f))
+    (inputs `(("python-pyaudio" ,python-pyaudio)))
+    (home-page "https://github.com/Uberi/speech_recognition")
+    (synopsis "Speech recognition module for Python")
+    (description "Library for performing speech recognition, with support for
+several engines and APIs, online and offline.")
+    (license license:bsd-2)))
+
 (define-public python-pyspnego
   (package
     (name "python-pyspnego")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:13:01 GMT) Full text and rfc822 format available.

Message #56 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 19/19] gnu: Add python-mycroft-core.
Date: Sat, 18 Sep 2021 19:12:40 +0000
* gnu/packages/python-xyz.scm (python-mycroft-core): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0af13a0423..fcb936e31e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -202,6 +202,7 @@
   #:use-module (gnu packages search)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages shells)
+  #:use-module (gnu packages speech)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages swig)
@@ -20725,6 +20726,87 @@ working with iterables.")
     (propagated-inputs
      `(("python2-six" ,python2-six-bootstrap)))))

+(define-public python-mycroft-core
+  (package
+    (name "python-mycroft-core")
+    (version "21.2.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+          (git-reference
+               (url "https://github.com/MycroftAI/mycroft-core")
+               (commit (string-append "release/v" version))))
+        (file-name (git-file-name name version))
+        (modules '((guix build utils)))
+        (snippet '(begin
+                     ;; Use newer version of pkg
+                     (substitute* "requirements/requirements.txt"
+                        (("tornado==") "tornado>="))
+                     (substitute* "requirements/requirements.txt"
+                        (("pyserial==") "pyserial>="))
+                     (substitute* "requirements/requirements.txt"
+                        (("psutil==") "psutil>="))
+                     (substitute* "requirements/requirements.txt"
+                        (("pocketsphinx==") "pocketsphinx>="))
+                     (substitute* "requirements/requirements.txt"
+                        (("python-dateutil==") "python-dateutil>="))
+                     (substitute* "requirements/requirements.txt"
+                        (("fasteners==") "fasteners>="))
+                     (substitute* "requirements/requirements.txt"
+                        (("PyYAML==5.4") "PyYAML>=5.3.1"))
+                     (substitute* "requirements/requirements.txt"
+                        (("pyxdg==") "pyxdg>="))
+                     #t))
+        (sha256
+          (base32
+            "1v5yb48y3zr4s0cgkid8y1zsi6x1wrhy1jfb9axzi090ammgy700"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+         (modify-phases %standard-phases
+           (replace 'check
+             (lambda _
+               (setenv "PYTHONPATH"
+                 (string-append "./build/lib:" (getenv "PYTHONPATH"))))))))
+    (inputs `(("mycroft-mimic" ,mycroft-mimic)
+              ("pocketsphinx" ,pocketsphinx)))
+    (propagated-inputs
+      `(("python-fasteners" ,python-fasteners)
+        ("python-inflection" ,python-inflection)
+        ("python-pyxdg" ,python-pyxdg)
+        ("python-mycroft-messagebus-client"
+         ,python-mycroft-messagebus-client)
+        ("python-psutil" ,python-psutil)
+        ("python-tornado" ,python-tornado-6)
+        ("python-petact" ,python-petact)
+        ("python-precise-runner" ,python-precise-runner)
+        ("python-padaos" ,python-padaos)
+        ("python-speech-recoginition" ,python-speech-recognition)
+        ("python-padatious" ,python-padatious)
+        ("python-msk" ,python-msk)
+        ("python-pillow" ,python-pillow)
+        ("python-gtts" ,python-gtts)
+        ("python-requests-futures" ,python-requests-futures)
+        ("python-pyserial" ,python-pyserial)
+        ("python-pocketsphinx" ,python-pocketsphinx)
+        ("python-adapt-parser" ,python-adapt-parser)
+        ("python-lingua-franca" ,python-lingua-franca)
+        ("python-pyyaml" ,python-pyyaml)
+        ("python-fasteners" ,python-fasteners)
+        ("python-pyee" ,python-pyee)
+        ("python-psutil" ,python-psutil)
+        ("python-fann2" ,python-fann2)
+        ("python-pyxdg" ,python-pyxdg)
+        ("python-websocket-client" ,python-websocket-client)
+        ("python-requests" ,python-requests)
+        ("python-requests-futures"
+         ,python-requests-futures)))
+    (home-page "https://github.com/HelloChatterbox/HolmesIV")
+    (synopsis "Mycroft Core, the Mycroft Artificial Intelligence platform")
+    (description "This module provides a hackable open source voice assistant - Mycroft")
+    (license license:asl2.0)))
+
 (define-public python-mycroft-messagebus-client
   (package
     (name "python-mycroft-messagebus-client")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Sat, 18 Sep 2021 19:17:02 GMT) Full text and rfc822 format available.

Message #59 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH 02/19] gnu: Add python-pyee.
Date: Sat, 18 Sep 2021 19:16:25 +0000
This is the second patch. I unfortunately mismanaged the numbering during rebase operation. If necessary I can send the patches again or if you wrap your head around that here's the order:

0001-gnu-Add-python-requests-futures.patch
0002-gnu-Add-python-pyee.patch
0003-gnu-Add-python-fann2.patch
0004-gnu-Add-python-padaos.patch
0005-gnu-Add-python-precise-runner.patch
0006-gnu-Add-python-petact.patch
0007-gnu-Add-python-padatious.patch
0008-gnu-Add-python-lazy.patch
0009-gnu-Add-python-pako.patch
0010-gnu-Add-python-adapt-parser.patch
0011-gnu-Add-python-msm.patch
0012-gnu-Add-python-msk.patch
0013-gnu-Add-python-lingua-franca.patch
0014-gnu-Add-python-pocketsphinx.patch
0015-gnu-Add-python-gtts.patch
0016-gnu-Add-python-mycroft-messagebus-client.patch
0017-gnu-Add-mycroft-mimic.patch
0018-gnu-Add-python-speech-recognition.patch
0019-gnu-Add-python-mycroft-core.patch

Sorry for that :-)

--8<---------------cut here---------------start------------->8---

* gnu/packages/python-xyz.scm (python-pyee): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d108389aef..c2527e915f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16446,6 +16446,33 @@ Record Format (DWARF).")
 (define-public python2-pyev
   (package-with-python2 python-pyev))

+(define-public python-pyee
+  (package
+    (name "python-pyee")
+    (version "8.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyee" version))
+       (sha256
+        (base32
+         "0cgxbdr4zmil03wwr5fv58789i51gka8a9fxm1dgkf5xs9dwrnlj"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest-trio" ,python-pytest-trio)
+       ("python-pytest-asyncio" ,python-pytest-asyncio)
+       ("python-pytest-runner" ,python-pytest-runner)
+       ("python-pytest" ,python-pytest)
+       ("python-mock" ,python-mock)))
+    (propagated-inputs
+     `(("python-vcversioner" ,python-vcversioner)
+       ("python-twisted" ,python-twisted)
+       ("python-trio" ,python-trio)))
+    (home-page "https://github.com/jfhbrook/pyee")
+    (synopsis "Port of node.js's EventEmitter to python")
+    (description "Provides a port of node.js's EventEmitter to python.")
+    (license license:expat)))
+
 (define-public python-imagesize
   (package
     (name "python-imagesize")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Wed, 08 Dec 2021 11:49:02 GMT) Full text and rfc822 format available.

Message #62 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: Add Mycroft - Voice Assistant
Date: Wed, 08 Dec 2021 11:48:42 +0000
[Message part 1 (text/plain, inline)]
Hi,

I've rebased the patch set and updated the package definitions.

The aim of this patch set is to bring in the MyCroft - private and open Voice Assistant.

----
Petr
[0001-gnu-Add-python-requests-futures.patch (text/x-patch, attachment)]
[0002-gnu-Add-python-pyee.patch (text/x-patch, attachment)]
[0011-gnu-Add-python-msm.patch (text/x-patch, attachment)]
[0003-gnu-Add-python-fann2.patch (text/x-patch, attachment)]
[0006-gnu-Add-python-petact.patch (text/x-patch, attachment)]
[0009-gnu-Add-python-pako.patch (text/x-patch, attachment)]
[0007-gnu-Add-python-padatious.patch (text/x-patch, attachment)]
[0008-gnu-Add-python-lazy.patch (text/x-patch, attachment)]
[0012-gnu-Add-python-msk.patch (text/x-patch, attachment)]
[0013-gnu-Add-python-lingua-franca.patch (text/x-patch, attachment)]
[0017-gnu-Add-mycroft-mimic.patch (text/x-patch, attachment)]
[0020-gnu-Add-python-mycroft-core.patch (text/x-patch, attachment)]
[0004-gnu-Add-python-padaos.patch (text/x-patch, attachment)]
[0015-gnu-Add-python-gtts.patch (text/x-patch, attachment)]
[0014-gnu-Add-python-pocketsphinx.patch (text/x-patch, attachment)]
[0018-gnu-Add-python-speech-recognition.patch (text/x-patch, attachment)]
[0016-gnu-Add-python-mycroft-messagebus-client.patch (text/x-patch, attachment)]
[0010-gnu-Add-python-adapt-parser.patch (text/x-patch, attachment)]
[0005-gnu-Add-python-precise-runner.patch (text/x-patch, attachment)]
[0019-gnu-python-pillow-Update-to-8.4.0.patch (text/x-patch, attachment)]

Changed bug title to '[PATCH] gnu: Add Mycroft Voice Assistant' from '[PATCH 01/18] gnu: Add python-pyee.' Request was from Morgan Smith <Morgan.J.Smith <at> outlook.com> to control <at> debbugs.gnu.org. (Thu, 30 Dec 2021 08:13:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Mon, 24 Jan 2022 22:46:01 GMT) Full text and rfc822 format available.

Message #67 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: phodina via Guix-patches via <guix-patches <at> gnu.org>
Cc: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>,
 phodina <phodina <at> protonmail.com>
Subject: Re: [bug#50663] Add Mycroft - Voice Assistant
Date: Mon, 24 Jan 2022 23:45:13 +0100
[Message part 1 (text/plain, inline)]
Hello,

phodina via Guix-patches via <guix-patches <at> gnu.org> writes:

> The aim of this patch set is to bring in the MyCroft - private and
> open Voice Assistant.

Thank you.

I fixed some descriptions, removed labels from inputs, fixed compilation
with GCC 10 (for Mimic). Then I tried to apply the patch set. Alas
Mycroft core fails to build. You may want to have a look at it.

I'm sending back the updated patches to you, if that helps.

Regards,
-- 
Nicolas Goaziou
[v2-0001-gnu-Add-python-requests-futures.patch (text/x-diff, attachment)]
[v2-0002-gnu-Add-python-pyee.patch (text/x-diff, attachment)]
[v2-0003-gnu-Add-python-fann2.patch (text/x-diff, attachment)]
[v2-0004-gnu-Add-python-padaos.patch (text/x-diff, attachment)]
[v2-0005-gnu-Add-python-precise-runner.patch (text/x-diff, attachment)]
[v2-0006-gnu-Add-python-petact.patch (text/x-diff, attachment)]
[v2-0007-gnu-Add-python-padatious.patch (text/x-diff, attachment)]
[v2-0008-gnu-Add-python-lazy.patch (text/x-diff, attachment)]
[v2-0009-gnu-Add-python-pako.patch (text/x-diff, attachment)]
[v2-0010-gnu-Add-python-adapt-parser.patch (text/x-diff, attachment)]
[v2-0011-gnu-Add-python-msm.patch (text/x-diff, attachment)]
[v2-0012-gnu-Add-python-msk.patch (text/x-diff, attachment)]
[v2-0013-gnu-Add-python-lingua-franca.patch (text/x-diff, attachment)]
[v2-0014-gnu-Add-python-pocketsphinx.patch (text/x-diff, attachment)]
[v2-0015-gnu-Add-python-gtts.patch (text/x-diff, attachment)]
[v2-0016-gnu-Add-python-mycroft-messagebus-client.patch (text/x-diff, attachment)]
[v2-0017-gnu-Add-mycroft-mimic.patch (text/x-diff, attachment)]
[v2-0018-gnu-Add-python-speech-recognition.patch (text/x-diff, attachment)]
[v2-0019-gnu-Add-python-mycroft-core.patch (text/x-diff, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Mon, 24 Jan 2022 22:46:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Tue, 25 Jan 2022 10:51:01 GMT) Full text and rfc822 format available.

Message #73 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 50663 <at> debbugs.gnu.org, phodina <at> protonmail.com
Subject: Re: [bug#50663] Add Mycroft - Voice Assistant
Date: Tue, 25 Jan 2022 12:49:33 +0200
[Message part 1 (text/plain, inline)]
On Mon, Jan 24, 2022 at 11:45:13PM +0100, Nicolas Goaziou wrote:
> Hello,
> 
> phodina via Guix-patches via <guix-patches <at> gnu.org> writes:
> 
> > The aim of this patch set is to bring in the MyCroft - private and
> > open Voice Assistant.
> 
> Thank you.
> 
> I fixed some descriptions, removed labels from inputs, fixed compilation
> with GCC 10 (for Mimic). Then I tried to apply the patch set. Alas
> Mycroft core fails to build. You may want to have a look at it.
> 
> I'm sending back the updated patches to you, if that helps.
> 
> Regards,
> -- 
> Nicolas Goaziou

I made some changes to python-mycroft-core but I couldn't get it to pass
the sanity-check or the test suite. I've attached my changes. Also make
sure you sort the inputs alphabetically, I found at least a duplicate
python-pyxdg. Also some of the patches include a line or two of
unrelated indentation changes in other packages.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[python-mycroft-core-changes (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Wed, 26 Jan 2022 12:54:01 GMT) Full text and rfc822 format available.

Message #76 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 50663 <at> debbugs.gnu.org, Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [bug#50663] Add Mycroft - Voice Assistant
Date: Wed, 26 Jan 2022 12:53:09 +0000
Hi Efraim and Nicolas,

> On Mon, Jan 24, 2022 at 11:45:13PM +0100, Nicolas Goaziou wrote:
>
> > Hello,
> >
> > phodina via Guix-patches via guix-patches <at> gnu.org writes:
> >
> > > The aim of this patch set is to bring in the MyCroft - private and
> > >
> > > open Voice Assistant.
> >
> > Thank you.
> >
> > I fixed some descriptions, removed labels from inputs, fixed compilation
> >
> > with GCC 10 (for Mimic). Then I tried to apply the patch set. Alas
> >
> > Mycroft core fails to build. You may want to have a look at it.
> >
> > I'm sending back the updated patches to you, if that helps.
> >
> > Regards,
> > --------
> >
> > Nicolas Goaziou
>
> I made some changes to python-mycroft-core but I couldn't get it to pass
>
> the sanity-check or the test suite. I've attached my changes. Also make
>
> sure you sort the inputs alphabetically, I found at least a duplicate
>
> python-pyxdg. Also some of the patches include a line or two of
>
> unrelated indentation changes in other packages.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Efraim Flashner efraim <at> flashner.co.il רנשלפ םירפא
>
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
>
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

Thanks for the review and updated patches. I'll check the reason why it won't build and failing tests.

----
Petr




Information forwarded to guix-patches <at> gnu.org:
bug#50663; Package guix-patches. (Tue, 15 Feb 2022 14:38:01 GMT) Full text and rfc822 format available.

Message #79 received at 50663 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "50663 <at> debbugs.gnu.org" <50663 <at> debbugs.gnu.org>
Subject: [PATCH v3 1/2] gnu: Add python-xdg.
Date: Tue, 15 Feb 2022 14:37:10 +0000
[Message part 1 (text/plain, inline)]
Hi,

here are updated patches based on the review. Also I manged to fix the issues in the sanity-check phase.

However, there are still some points to be solved
https://github.com/MycroftAI/mycroft-core/issues/3074 as the ALSA lib error blocks the tests. I also don't know how to mock the audio subsystem in tests properly.

FIY I renamed the package from python-mycroft-core to mycroft-core and move it to gnu/packages/speech.scm as this IMHO reflect more the purpose of this package.

Python module xdg was added as it's referenced in the code.

----
Petr
[Message part 2 (text/html, inline)]
[v3-0001-gnu-Add-python-xdg.patch (text/x-patch, attachment)]
[v3-0002-gnu-Add-mycroft-core.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.