all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26413: [PATCH 1/3] gnu: speech-dispatcher: Add more inputs.
@ 2017-04-09  9:49 宋文武
  2017-04-09  9:49 ` bug#26414: [PATCH 2/3] gnu: Add python-pyatspi 宋文武
  2017-04-09  9:49 ` bug#26415: [PATCH 3/3] gnu: Add orca 宋文武
  0 siblings, 2 replies; 4+ messages in thread
From: 宋文武 @ 2017-04-09  9:49 UTC (permalink / raw)
  To: 26413; +Cc: 宋文武

* gnu/packages/speech.scm (speech-dispatcher)[inputs]: Add espeak,
pulseaudio and python.
---
 gnu/packages/speech.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
index 1d903520e..53303d28d 100644
--- a/gnu/packages/speech.scm
+++ b/gnu/packages/speech.scm
@@ -24,11 +24,13 @@
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
+  #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages textutils))
 
 (define-public mitlm
@@ -75,9 +77,12 @@ efficiency through the use of a compact vector representation of n-grams.")
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("dotconf" ,dotconf)
+       ("espeak" ,espeak)
        ("glib" ,glib)
        ("libltdl" ,libltdl)
-       ("libsndfile" ,libsndfile)))
+       ("libsndfile" ,libsndfile)
+       ("pulseaudio" ,pulseaudio)
+       ("python" ,python)))
     (synopsis "Common interface to speech synthesizers")
     (description "The Speech Dispatcher project provides a high-level
 device independent layer for access to speech synthesis through a simple,
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26414: [PATCH 2/3] gnu: Add python-pyatspi.
  2017-04-09  9:49 bug#26413: [PATCH 1/3] gnu: speech-dispatcher: Add more inputs 宋文武
@ 2017-04-09  9:49 ` 宋文武
  2017-04-09 15:18   ` Marius Bakke
  2017-04-09  9:49 ` bug#26415: [PATCH 3/3] gnu: Add orca 宋文武
  1 sibling, 1 reply; 4+ messages in thread
From: 宋文武 @ 2017-04-09  9:49 UTC (permalink / raw)
  To: 26414; +Cc: 宋文武

* gnu/packages/gnome.scm (python-pyatspi): New package.
---
 gnu/packages/gnome.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b94c36636..bf53835a0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5997,3 +5997,31 @@ for process dependencies, icons for processes, the ability to hide processes,
 graphical time histories of CPU/memory/swap usage and the ability to
 kill/reinice processes.")
     (license license:gpl2+)))
+
+(define-public python-pyatspi
+  (package
+    (name "python-pyatspi")
+    (version "2.24.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://gnome/sources/pyatspi/"
+                    (version-major+minor version)
+                    "/pyatspi-" version ".tar.xz"))
+              (sha256
+               (base32
+                "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("python" ,python)
+       ("python-pygobject" ,python-pygobject)))
+    (synopsis "Python client bindings for D-Bus AT-SPI")
+    (home-page "http://www.linuxfoundation.org/en/Accessibility\
+/ATK/AT-SPI/AT-SPI_on_D-Bus")
+    (description
+     "This package includes a python client library for the AT-SPI D-Bus
+accessibility infrastructure.")
+    (license license:lgpl2.0)
+    (properties '((upstream-name . "pyatspi")))))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26415: [PATCH 3/3] gnu: Add orca.
  2017-04-09  9:49 bug#26413: [PATCH 1/3] gnu: speech-dispatcher: Add more inputs 宋文武
  2017-04-09  9:49 ` bug#26414: [PATCH 2/3] gnu: Add python-pyatspi 宋文武
@ 2017-04-09  9:49 ` 宋文武
  1 sibling, 0 replies; 4+ messages in thread
From: 宋文武 @ 2017-04-09  9:49 UTC (permalink / raw)
  To: 26415; +Cc: 宋文武

* gnu/packages/gnome.scm (orca): New package.
---
 gnu/packages/gnome.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index bf53835a0..3930a2f48 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -125,6 +125,7 @@
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages qemu)
   #:use-module (gnu packages zip)
+  #:use-module (gnu packages speech)
   #:use-module (srfi srfi-1))
 
 (define-public brasero
@@ -6025,3 +6026,50 @@ kill/reinice processes.")
 accessibility infrastructure.")
     (license license:lgpl2.0)
     (properties '((upstream-name . "pyatspi")))))
+
+(define-public orca
+  (package
+    (name "orca")
+    (version "3.24.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://gnome/sources/" name "/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1la6f815drykrgqf791jx1dda6716cfv6052frqp7nhjxr75xg97"))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-orca
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (prog (string-append out "/bin/orca")))
+               (wrap-program prog
+                 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
+                 `("PYTHONPATH"      ":" prefix (,(getenv "PYTHONPATH")))))
+             #t)))))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("itstool" ,itstool)
+       ("pkg-config" ,pkg-config)
+       ("xmllint" ,libxml2)))
+    (inputs
+     `(("at-spi2-atk" ,at-spi2-atk)
+       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+       ("gtk+" ,gtk+)
+       ("python" ,python)
+       ("python-pygobject" ,python-pygobject)
+       ("python-pyatspi" ,python-pyatspi)
+       ("python-speechd" ,speech-dispatcher)))
+    (synopsis
+     "Screen reader for individuals who are blind or visually impaired")
+    (home-page "https://wiki.gnome.org/Projects/Orca")
+    (description
+     "Orca is a screen reader that provides access to the graphical desktop
+via speech and refreshable braille.  Orca works with applications and toolkits
+that support the Assistive Technology Service Provider Interface (AT-SPI).")
+    (license license:lgpl2.1+)))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26414: [PATCH 2/3] gnu: Add python-pyatspi.
  2017-04-09  9:49 ` bug#26414: [PATCH 2/3] gnu: Add python-pyatspi 宋文武
@ 2017-04-09 15:18   ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2017-04-09 15:18 UTC (permalink / raw)
  To: 宋文武, 26414

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]

宋文武 <iyzsong@member.fsf.org> writes:

> * gnu/packages/gnome.scm (python-pyatspi): New package.
> ---
>  gnu/packages/gnome.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index b94c36636..bf53835a0 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -5997,3 +5997,31 @@ for process dependencies, icons for processes, the ability to hide processes,
>  graphical time histories of CPU/memory/swap usage and the ability to
>  kill/reinice processes.")
>      (license license:gpl2+)))
> +
> +(define-public python-pyatspi
> +  (package
> +    (name "python-pyatspi")
> +    (version "2.24.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "mirror://gnome/sources/pyatspi/"
> +                    (version-major+minor version)
> +                    "/pyatspi-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "14m6y27ziqc9f6339gjz49mlsk6mrsyg4bkj055cdzc7sfjlgvz7"))))
> +    (build-system gnu-build-system)
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("python" ,python)
> +       ("python-pygobject" ,python-pygobject)))
> +    (synopsis "Python client bindings for D-Bus AT-SPI")
> +    (home-page "http://www.linuxfoundation.org/en/Accessibility\
> +/ATK/AT-SPI/AT-SPI_on_D-Bus")

This redirects to:
https://wiki.linuxfoundation.org/accessibility/atk/at-spi/at-spi_on_d-bus

I think using string-append would look nicer than the awkward line
break, but not a strong opinion.

Other than that this series LGTM!

> +    (description
> +     "This package includes a python client library for the AT-SPI D-Bus
> +accessibility infrastructure.")
> +    (license license:lgpl2.0)
> +    (properties '((upstream-name . "pyatspi")))))
> -- 
> 2.12.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-09 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-09  9:49 bug#26413: [PATCH 1/3] gnu: speech-dispatcher: Add more inputs 宋文武
2017-04-09  9:49 ` bug#26414: [PATCH 2/3] gnu: Add python-pyatspi 宋文武
2017-04-09 15:18   ` Marius Bakke
2017-04-09  9:49 ` bug#26415: [PATCH 3/3] gnu: Add orca 宋文武

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.