Archived
1
0
Fork 0

gnu: emacspeak: Update to 52.0.

* gnu/packages/emacs-xyz.scm (emacspeak): Update to 52.0.
[arguments]: Add phase to remove a non-existing file.  Change executable.
[inputs]: Use espeak-ng instead of espeak.
[description]: Typographic fix.
This commit is contained in:
Nicolas Goaziou 2020-06-01 10:54:22 +02:00
parent 48fd0de962
commit fabfe0b99c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -9853,7 +9853,7 @@ highlights quasi-quoted expressions.")
(define-public emacspeak (define-public emacspeak
(package (package
(name "emacspeak") (name "emacspeak")
(version "50.0") (version "52.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -9861,14 +9861,17 @@ highlights quasi-quoted expressions.")
"https://github.com/tvraman/emacspeak/releases/download/" "https://github.com/tvraman/emacspeak/releases/download/"
version "/emacspeak-" version ".tar.bz2")) version "/emacspeak-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32 "0x5b0s38r5ih2lk7f5hasi9arrgxlmmq5jaddadbxi8in2gw2jzl"))))
"0rsj7rzfyqmyidfsjrhjnxi2d43axx6r3gac1fhv5xkkbiiqzqkb"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags (list (string-append "prefix=" '(#:make-flags (list (string-append "prefix="
(assoc-ref %outputs "out"))) (assoc-ref %outputs "out")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'delete-broken-symlink
(lambda _
(delete-file "lisp/sudoku.el")
#t))
(replace 'configure (replace 'configure
(lambda _ (lambda _
(setenv "SHELL" (which "sh")) (setenv "SHELL" (which "sh"))
@ -9893,12 +9896,12 @@ highlights quasi-quoted expressions.")
'("etc" "info" "js" "lisp" "media" "servers" "sounds" '("etc" "info" "js" "lisp" "media" "servers" "sounds"
"stumpwm" "xsl")) "stumpwm" "xsl"))
;; Make sure emacspeak is loaded from the correct directory. ;; Make sure emacspeak is loaded from the correct directory.
(substitute* "etc/emacspeak.sh" (substitute* "run"
(("/lisp/emacspeak-setup.el") (("\\./lisp/emacspeak-setup.el")
(string-append lisp "/lisp/emacspeak-setup.el"))) (string-append lisp "/lisp/emacspeak-setup.el")))
;; Install the convenient startup script. ;; Install the convenient startup script.
(mkdir-p bin) (mkdir-p bin)
(copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak"))) (copy-file "run" (string-append bin "/emacspeak")))
#t)) #t))
(add-after 'install 'wrap-program (add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
@ -9911,10 +9914,10 @@ highlights quasi-quoted expressions.")
(wrap-program emacspeak (wrap-program emacspeak
`("DTK_PROGRAM" ":" prefix (,espeak))) `("DTK_PROGRAM" ":" prefix (,espeak)))
#t)))) #t))))
#:tests? #f)) ; no check target #:tests? #f)) ; no check target
(inputs (inputs
`(("emacs" ,emacs) `(("emacs" ,emacs)
("espeak" ,espeak) ("espeak" ,espeak-ng)
("perl" ,perl) ("perl" ,perl)
("tcl" ,tcl) ("tcl" ,tcl)
("tclx" ,tclx))) ("tclx" ,tclx)))
@ -9922,12 +9925,12 @@ highlights quasi-quoted expressions.")
(synopsis "Audio desktop interface for Emacs") (synopsis "Audio desktop interface for Emacs")
(description (description
"Emacspeak is a speech interface that allows visually impaired users to "Emacspeak is a speech interface that allows visually impaired users to
interact independently and efficiently with the computer. Audio formatting interact independently and efficiently with the computer. Audio
--a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS) formatting---a technique pioneered by AsTeR---and full support for W3C's Aural
allows Emacspeak to produce rich aural presentations of electronic information. CSS (ACSS) allows Emacspeak to produce rich aural presentations of electronic
By seamlessly blending all aspects of the Internet such as Web-surfing and information. By seamlessly blending all aspects of the Internet such as
messaging, Emacspeak speech-enables local and remote information via a Web-surfing and messaging, Emacspeak speech-enables local and remote
consistent and well-integrated user interface.") information via a consistent and well-integrated user interface.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public emacs-adaptive-wrap (define-public emacs-adaptive-wrap