unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73953] Add new emacs-greader-mode package definition.
@ 2024-10-22 17:01 Yuval Langer
  0 siblings, 0 replies; only message in thread
From: Yuval Langer @ 2024-10-22 17:01 UTC (permalink / raw)
  To: 73953

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

Hi,

attached is a Guix package definition for Michelangelo Rodriguez's
Gnamù reader (greader) text to speech minor mode, version 0.11.18 .

Please review.

Thank you,
Yuval Langer.

[-- Attachment #2: 0001-gnu-Add-emacs-greader-mode.patch --]
[-- Type: text/x-patch, Size: 2614 bytes --]

From 061ee5cd89e6da4ccfcb88761be51563f9167b3b Mon Sep 17 00:00:00 2001
Message-Id: <061ee5cd89e6da4ccfcb88761be51563f9167b3b.1729616173.git.yuval.langer@gmail.com>
From: Yuval Langer <yuval.langer@gmail.com>
Date: Tue, 22 Oct 2024 19:54:42 +0300
Subject: [PATCH] gnu: Add emacs-greader-mode.

* gnu/packages/emacs-xyz.scm (emacs-greader-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0be1ac83bc..5b04d3ecf0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7535,6 +7535,46 @@ generally filled correctly with no fuss.")
 column by drawing a thin line down the length of the editing window.")
     (license license:gpl3+)))
 
+(define-public emacs-greader-mode
+  (let ((commit "e163aec6109ba24ec543f087d9be7bf6b6efa389")
+        (revision "1")
+        (git-repository-url
+         "https://gitlab.com/michelangelo-rodriguez/greader"))
+    (package
+      (name "emacs-greader-mode")
+      (version (git-version "0.11.18" revision commit))
+      (home-page git-repository-url)
+      (source
+       (origin
+         (uri (git-reference
+               (url git-repository-url)
+               (commit commit)))
+         (method git-fetch)
+         (file-name (git-file-name name version))
+         (sha256
+          (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:\n(require 'greader)\n")))))))
+      (inputs (list espeak-ng))
+      (synopsis
+       "Gnamù Reader - greader-mode, send buffer contents to a speech engine")
+      (description
+       "Greader is a module that allows you to send any emacs buffer to a TTS.
+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 @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+))))
+
 (define-public emacs-grep-a-lot
   (package
     (name "emacs-grep-a-lot")
-- 
2.30.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-22 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 17:01 [bug#73953] Add new emacs-greader-mode package definition Yuval Langer

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).