mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-git-email: Update to 0.6.0.
* gnu/packages/emacs-xyz.scm (emacs-git-email): Update to 0.6.0. [source]: Switch to actively maintained fork on codeberg. [home-page]: Adjust accordingly. [propagated-inputs]: Move to… [inputs]: … here. Add emacs-piem. * gnu/packages/patches/emacs-git-email-missing-parens.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Unregister it. Change-Id: I47f5aa12cfa676772e281a45cdc9ec3bb3eae544 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
7e25d04228
commit
09e0035168
3 changed files with 25 additions and 66 deletions
|
@ -1188,7 +1188,6 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/emacs-disable-jit-compilation.patch \
|
%D%/packages/patches/emacs-disable-jit-compilation.patch \
|
||||||
%D%/packages/patches/emacs-exec-path.patch \
|
%D%/packages/patches/emacs-exec-path.patch \
|
||||||
%D%/packages/patches/emacs-fix-scheme-indent-function.patch \
|
%D%/packages/patches/emacs-fix-scheme-indent-function.patch \
|
||||||
%D%/packages/patches/emacs-git-email-missing-parens.patch \
|
|
||||||
%D%/packages/patches/emacs-helpful-fix-tests.patch \
|
%D%/packages/patches/emacs-helpful-fix-tests.patch \
|
||||||
%D%/packages/patches/emacs-highlight-stages-add-gexp.patch \
|
%D%/packages/patches/emacs-highlight-stages-add-gexp.patch \
|
||||||
%D%/packages/patches/emacs-json-reformat-fix-tests.patch \
|
%D%/packages/patches/emacs-json-reformat-fix-tests.patch \
|
||||||
|
|
|
@ -22281,44 +22281,31 @@ created by @code{git format-patch}, from @code{magit}, @code{dired} and
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-git-email
|
(define-public emacs-git-email
|
||||||
;; Use latest commit since latest tagged release is missing important
|
|
||||||
;; changes.
|
|
||||||
(let ((commit "b5ebade3a48dc0ce0c85699f25800808233c73be")
|
|
||||||
(revision "0"))
|
|
||||||
(package
|
(package
|
||||||
(name "emacs-git-email")
|
(name "emacs-git-email")
|
||||||
(version (git-version "0.2.0" revision commit))
|
(version "0.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://git.sr.ht/~yoctocell/git-email")
|
(url "https://codeberg.org/suhail/git-email")
|
||||||
(commit commit)))
|
(commit version)))
|
||||||
(patches
|
|
||||||
(search-patches "emacs-git-email-missing-parens.patch"))
|
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1lk1yds7idgawnair8l3s72rgjmh80qmy4kl5wrnqvpmjrmdgvnx"))))
|
(base32 "1cx6a4dxvdggnjn95a9fhcidd1140srpzw9lx9hi65kancnyjsci"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; piem is not yet packaged in Guix.
|
|
||||||
(add-after 'unpack 'remove-piem
|
|
||||||
(lambda _
|
|
||||||
(delete-file "git-email-piem.el")))
|
|
||||||
(add-before 'install 'makeinfo
|
(add-before 'install 'makeinfo
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "makeinfo" "doc/git-email.texi"))))))
|
(invoke "makeinfo" "doc/git-email.texi"))))))
|
||||||
(native-inputs
|
(inputs (list mu emacs-magit emacs-notmuch emacs-piem))
|
||||||
(list texinfo))
|
(native-inputs (list texinfo))
|
||||||
(propagated-inputs
|
|
||||||
(list mu emacs-magit emacs-notmuch))
|
|
||||||
(license license:gpl3+)
|
(license license:gpl3+)
|
||||||
(home-page "https://sr.ht/~yoctocell/git-email")
|
(home-page "https://suhail.codeberg.page/git-email")
|
||||||
(synopsis "Format and send Git patches in Emacs")
|
(synopsis "Format and send Git patches in Emacs")
|
||||||
(description "This package provides utilities for formatting and
|
(description "This package provides utilities for formatting and
|
||||||
sending Git patches via Email, without leaving Emacs."))))
|
sending Git patches via Email, without leaving Emacs.")))
|
||||||
|
|
||||||
(define-public emacs-erc-hl-nicks
|
(define-public emacs-erc-hl-nicks
|
||||||
(package
|
(package
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
From 820ad7eb2e919e3f880bec22bd4f737fa55c4d22 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Niklas Eklund <niklas.eklund@posteo.net>
|
|
||||||
Date: Thu, 5 May 2022 12:43:49 +0200
|
|
||||||
Subject: [PATCH] Fix missing parens in git-email-mu4e.el
|
|
||||||
|
|
||||||
The incorrect number of parens in this file lead to Emacs failing to
|
|
||||||
parse the file.
|
|
||||||
---
|
|
||||||
git-email-mu4e.el | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/git-email-mu4e.el b/git-email-mu4e.el
|
|
||||||
index d5b8770..9220bf9 100644
|
|
||||||
--- a/git-email-mu4e.el
|
|
||||||
+++ b/git-email-mu4e.el
|
|
||||||
@@ -51,7 +51,7 @@ from Lisp, enable the mode if ARG is omitted or nil."
|
|
||||||
;; built in context feature.
|
|
||||||
(seq-filter (lambda (header)
|
|
||||||
(not (eq (car header) 'from)))
|
|
||||||
- headers)
|
|
||||||
+ headers))))
|
|
||||||
(setq git-email-compose-email-function 'message-mail)))
|
|
||||||
|
|
||||||
(provide 'git-email-mu4e)
|
|
||||||
--
|
|
||||||
2.34.0
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue