GNU bug report logs -
#59604
[PATCH] gnu: emacs-rec-mode: Patch executable paths.
Previous Next
Reported by: "(" <paren <at> disroot.org>
Date: Sat, 26 Nov 2022 10:10:02 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59604 in the body.
You can then email your comments to 59604 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#59604
; Package
guix-patches
.
(Sat, 26 Nov 2022 10:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"(" <paren <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 26 Nov 2022 10:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/databases.scm (emacs-rec-mode)[source]: Add FILE-NAME.
[arguments]: Use G-expressions.
<#:phases>{'patch-program-paths}: New phase.
[inputs]: Add RECUTILS.
---
gnu/packages/databases.scm | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e4dde1b22b..d9930de8fd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1625,24 +1625,32 @@ (define-public emacs-rec-mode
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"rec-mode-" version ".tar"))
+ (file-name (string-append name "-" version ".tar"))
+ (snippet #~(delete-file "rec-mode.info"))
(sha256
(base32
- "1w1q6kh567fd8xismq9i6wr1y893lypd30l452yvydi1qjiq1n6x"))
- (snippet '(begin (delete-file "rec-mode.info")))))
+ "1w1q6kh567fd8xismq9i6wr1y893lypd30l452yvydi1qjiq1n6x"))))
(build-system emacs-build-system)
(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
- (list texinfo))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-program-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "rec-mode.el"
+ ("rec-recfix" (search-input-file inputs "bin/recfix"))
+ ("rec-recinf" (search-input-file inputs "bin/recinf"))
+ ("rec-recsel" (search-input-file inputs "bin/recsel")))))
+ (add-before 'install 'make-info
+ (lambda _
+ (invoke "makeinfo" "--no-split"
+ "-o" "rec-mode.info" "rec-mode.texi"))))))
+ (inputs (list recutils))
+ (native-inputs (list texinfo))
(home-page "https://www.gnu.org/software/recutils/")
(synopsis "Emacs mode for working with recutils database files")
- (description "This package provides an Emacs major mode @code{rec-mode}
-for working with GNU Recutils text-based, human-editable databases. It
+ (description
+ "This package provides an Emacs major mode @code{rec-mode} for
+working with GNU Recutils text-based, human-editable databases. It
supports editing, navigation, and querying of recutils database files
including field and record folding.")
(license license:gpl3+)))
base-commit: 4a97591d0a13e88037b3073bd891bcdf35352f87
--
2.38.1
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Sat, 26 Nov 2022 12:30:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"(" <paren <at> disroot.org>
:
bug acknowledged by developer.
(Sat, 26 Nov 2022 12:30:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 59604-done <at> debbugs.gnu.org (full text, mbox):
Am Samstag, dem 26.11.2022 um 10:09 +0000 schrieb (:
> * gnu/packages/databases.scm (emacs-rec-mode)[source]: Add FILE-NAME.
> [arguments]: Use G-expressions.
> <#:phases>{'patch-program-paths}: New phase.
> [inputs]: Add RECUTILS.
> ---
Split into two smaller commits, fixed up commit log and pushed.
Cheers
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59604
; Package
guix-patches
.
(Sat, 26 Nov 2022 12:30:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 59604-done <at> debbugs.gnu.org (full text, mbox):
On Sat Nov 26, 2022 at 12:28 PM GMT, Liliana Marie Prikler wrote:
> Split into two smaller commits, fixed up commit log and pushed.
Thanks for the speedy merge! :)
-- (
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Dec 2022 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 233 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.