guix-kakafarm-channel

Kaka Farm's GNU Guix channel.
git clone https://kaka.farm/~git/guix-kakafarm-channel
Log | Files | Refs | README | LICENSE

commit 81a7a85f69d2718c89205e82f6939ce677ff17c8
parent a822a17356947682e24ab637be709936b7032023
Author: Yuval Langer <yuval.langer@gmail.com>
Date:   Mon, 30 Sep 2024 11:45:48 +0300

Upgrade to emacs-greader-mode version 0.11.18.

Diffstat:
Mkakafarm/packages/emacs-xyz.scm | 23+++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/kakafarm/packages/emacs-xyz.scm b/kakafarm/packages/emacs-xyz.scm @@ -18,8 +18,8 @@ ;;; <http://www.gnu.org/licenses/>. (define-module (kakafarm packages emacs-xyz) - #:use-module ((guix licenses) - #:prefix license:) + #:use-module (guix gexp) + #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages speech) #:use-module (gnu packages) #:use-module (guix build-system emacs) @@ -81,13 +81,13 @@ Speaking is done using espeak-ng.") (license license:gpl3+)))) (define-public emacs-greader-mode - (let ((commit "336b9b3608cf24c7cd20f7d32e2fe05e3c9f5150") + (let ((commit "e163aec6109ba24ec543f087d9be7bf6b6efa389") (revision "1") (git-repository-url "https://gitlab.com/michelangelo-rodriguez/greader")) (package (name "emacs-greader-mode") - (version (git-version "0.9.21" revision commit)) + (version (git-version "0.11.18" revision commit)) (home-page git-repository-url) (source (origin @@ -95,12 +95,23 @@ Speaking is done using espeak-ng.") (url git-repository-url) (commit commit))) (method git-fetch) + #; (patches (search-patches "kakafarm/packages/patches/emacs-greader-mode-0.9.21-require-greader-espeaker.patch")) (file-name (git-file-name name version)) (sha256 - (base32 "14gkx685nkkf1jad7rg4ybl13p64piljxjba8xp3n0zzq6g7dnrc")))) + (base32 "054jlv1vrb7wbhr0w97xirjwp42mx0k07j7f0383jxsjn08qik5g")))) (build-system emacs-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'add-requires + (lambda _ + (substitute* "greader-dict.el" + ((";;; Code:") + ";;; Code: +(require 'greader) +"))))))) (inputs (list espeak-ng)) (synopsis "Gnamù Reader - greader-mode, send buffer contents to a speech engine") @@ -109,7 +120,7 @@ Speaking is done using espeak-ng.") A text-to-speech like engine @code{espeak-ng} or @code{speech-dispatcher} are already supported, plus limited bakend support native to macOS. The mode supports timer reading, automatic scrolling of buffers in modes -like `info-mode', repeating reading of regions or the whole buffer, +like @code{info-mode}, repeating reading of regions or the whole buffer, includes a feature to facilitate the compilation of espeak-ng pronunciations, and other features.") (license license:gpl3+))))