From bc48bf8cefc9ac9de327e978e8e50765dafcf772 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Sat, 8 Aug 2020 02:46:28 -0400 Subject: [PATCH 51/65] gnu: orca: Update package definition. * gnu/packages/gnome.scm (orca) [version]: Update to 3.36.3. [source][sha256]: Modify base32. [outputs]: New output "help". [arguments]<#:configure-flags>[--with-help-dir]: New flag. <#:phases>['qualify-xkbcomp]: Remove phase. ['wrap-orca]: Modify phase. [inputs]: Add atk, at-spi2-core, brltty, liblouis and python-setproctitle. Remove gsettings-desktop-schemas, gst-plugins-base, gst-plugins-good and xkbcomp. [synopsis]: Modify. [description]: Modify. --- gnu/packages/gnome.scm | 65 +++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index eb447503b0..abf1f36b53 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -72,6 +72,7 @@ (define-module (gnu packages gnome) #:use-module (gnu packages) + #:use-module (gnu packages accessibility) #:use-module (gnu packages admin) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) @@ -11879,27 +11880,27 @@ accessibility infrastructure.") (define-public orca (package (name "orca") - (version "3.34.1") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://gnome/sources/" name "/" - (version-major+minor version) "/" - name "-" version ".tar.xz")) - (sha256 - (base32 - "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4")))) + (version "3.36.3") + (source + (origin + (method url-fetch) + (uri + (string-append + "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "1x0xrcyxlvcjlqp6wcsx5d951i500079wqs04scssjzwqggy330n")))) (build-system glib-or-gtk-build-system) + (outputs '("out" "help")) (arguments - '(#:phases + `(#:configure-flags + (list + (string-append "--with-help-dir=" + (assoc-ref %outputs "help") + "/share/help")) + #:phases (modify-phases %standard-phases - (add-before 'configure 'qualify-xkbcomp - (lambda* (#:key inputs #:allow-other-keys) - (let ((xkbcomp (string-append - (assoc-ref inputs "xkbcomp") "/bin/xkbcomp"))) - (substitute* "src/orca/orca.py" - (("'xkbcomp'") (format #f "'~a'" xkbcomp)))) - #t)) (add-after 'install 'wrap-orca (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -11907,35 +11908,33 @@ accessibility infrastructure.") (wrap-program prog `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))) - `("GST_PLUGIN_SYSTEM_PATH" ":" prefix - (,(getenv "GST_PLUGIN_SYSTEM_PATH"))) `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))) #t))))) (native-inputs - `(("intltool" ,intltool) + `( ;; ("docbook-utils" ,docbook-utils) + ("intltool" ,intltool) ("itstool" ,itstool) ("pkg-config" ,pkg-config) ("xmllint" ,libxml2))) (inputs - `(("at-spi2-atk" ,at-spi2-atk) - ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + `(("atk" ,atk) + ("at-spi2-atk" ,at-spi2-atk) + ("at-spi2-core" ,at-spi2-core) ("gstreamer" ,gstreamer) - ("gst-plugins-base" ,gst-plugins-base) - ("gst-plugins-good" ,gst-plugins-good) ("gtk+" ,gtk+) + ("liblouis" ,liblouis) ("python" ,python) + ("python-brlapi" ,brltty) + ("python-louis" ,liblouis "louis") ("python-pygobject" ,python-pygobject) ("python-pyatspi" ,python-pyatspi) - ("python-speechd" ,speech-dispatcher) - ("xkbcomp" ,xkbcomp))) - (synopsis - "Screen reader for individuals who are blind or visually impaired") + ("python-setproctitle" ,python-setproctitle) + ("python-speechd" ,speech-dispatcher))) + (synopsis "Screen reader for GNOME") + (description "Orca is a flexible and extensible screen reader that provides +access to the graphical desktop via speech and refreshable braille.") (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+))) (define-public gspell -- 2.28.0