all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode.
@ 2021-12-11 19:39 Morgan.J.Smith
  2021-12-11 19:46 ` [bug#52439] [PATCH 2/2] gnu: emacs-recutils: Deprecate in favor of emacs-rec-mode Morgan.J.Smith
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Morgan.J.Smith @ 2021-12-11 19:39 UTC (permalink / raw)
  To: 52439; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/emacs-xyz.scm (emacs-rec-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 4fdc5f1bb3..aada2b17ce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22004,6 +22004,46 @@ (define-public emacs-org-brain
 wiki.")
     (license license:expat)))
 
+(define-public emacs-rec-mode
+  ;; Compilation issues with latest release.  When updating to a proper
+  ;; version, we should change the origin to elpa.
+  (let ((commit "646962cff4f728cfa56c72ed43de8936713c8bb6")
+        (revision "0"))
+    (package
+      (name "emacs-rec-mode")
+      (version (git-version "1.8.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.savannah.gnu.org/git/recutils/rec-mode.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1f5d5kf4rc84v8208qh0l8f5ac92fjqvrlgz0hhgj764v8w2ahpq"))
+                (modules '((guix build utils)))
+                (snippet '(begin (delete-file "rec-mode.info")))))
+      (arguments
+       '(#:phases
+         (modify-phases %standard-phases
+           (add-before 'install 'make-info
+             (lambda _
+               (invoke "makeinfo" "--no-split"
+                       "-o" "rec-mode.info" "rec-mode.texi"))))))
+      (native-inputs
+       `(("texinfo" ,texinfo)))
+      (build-system emacs-build-system)
+      (home-page "https://www.gnu.org/software/recutils/")
+      (synopsis "Major mode for viewing/editing rec files")
+      (description "Rec Mode is a mode for browsing and editing recfiles,
+which are text files containing data structured in fields and records.  It is
+part of the GNU recutils suite.
+
+Recfiles are text-based databases which are easy to read and write manually
+using a text editor.  At the same time they feature enough structure so they
+can be read, edited and processed automatically by programs.")
+      (license license:gpl3+))))
+
 (define-public emacs-recent-addresses
   (let ((commit "afbbfdc43b81e620acf827ca20d297e0c517b6eb")
         (revision "1"))
--
2.34.0





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

end of thread, other threads:[~2021-12-14 20:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-11 19:39 [bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode Morgan.J.Smith
2021-12-11 19:46 ` [bug#52439] [PATCH 2/2] gnu: emacs-recutils: Deprecate in favor of emacs-rec-mode Morgan.J.Smith
2021-12-11 22:35 ` [bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode Liliana Marie Prikler
2021-12-12  0:09   ` Morgan Smith
2021-12-12  0:39     ` Liliana Marie Prikler
2021-12-12  1:15       ` Morgan Smith
2021-12-13 19:39         ` Liliana Marie Prikler
2021-12-14  0:54 ` [bug#52439] [PATCH] gnu: emacs-recutils: Update to 1.8.2-0.058dbe4 Morgan.J.Smith
2021-12-14 19:36   ` Liliana Marie Prikler
2021-12-14 20:34     ` bug#52439: " Liliana Marie Prikler

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.