[PATCH 0/2] gnu: emacs-mu4e-patch: Rename and update

DoneSubmitted by Dominic Martinez.
Details
2 participants
  • Dominic Martinez
  • Ludovic Courtès
Owner
unassigned
Severity
normal
D
D
Dominic Martinez wrote on 11 Apr 19:52 +0200
(address . guix-patches@gnu.org)(name . Dominic Martinez)(address . dom@dominicm.dev)
20220411175229.20924-1-dom@dominicm.dev
This patch series updates emacs-mu4e-patch to the latest version, and also
reflects the name change that occurred upstream since this package works with
both mu4e and gnus.

Dominic Martinez (2):
gnu: emacs-mu4e-patch: Rename to emacs-message-view-patch
gnu: emacs-message-view-patch: Update to 0.2.0-40bc2e5

gnu/packages/emacs-xyz.scm | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)


base-commit: 6413d0898b92efda8213b3ced0b6d1c736726b89
--
2.34.0
D
D
Dominic Martinez wrote on 11 Apr 19:58 +0200
[PATCH 1/2] gnu: emacs-mu4e-patch: Rename to emacs-message-view-patch
(address . 54861@debbugs.gnu.org)(name . Dominic Martinez)(address . dom@dominicm.dev)
20220411175845.21799-1-dom@dominicm.dev
The name was changed upstream to reflect that this extension works for both
mu4e and gnus.

* gnu/packages/emacs-xyz.scm (emacs-mu4e-patch): Deprecate it.
(emacs-message-view-patch): Renamed from emacs-mu4e-patch. Description,
synopsis, and inputs adjusted to reflect that mu4e is not required.
---
gnu/packages/emacs-xyz.scm | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 005f34e569..2c085cfe1e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13300,32 +13300,33 @@ (define-public emacs-mu4e-jump-to-list
 automatically discovered and presented in recency order.")
       (license license:gpl3+))))
 
-(define-public emacs-mu4e-patch
+(define-public emacs-message-view-patch
   (let ((commit "522da46c1653b1cacc79cde91d6534da7ae9517d")
         (revision "1"))
     (package
-      (name "emacs-mu4e-patch")
+      (name "emacs-message-view-patch")
       (version (git-version "0.1.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
-                      (url "https://github.com/seanfarley/mu4e-patch")
+                      (url "https://github.com/seanfarley/message-view-patch")
                       (commit commit)))
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
                   "10lzf3b70pk6rzdrgx0ww0gc94v0ydh9zj1gbsa20xw27ds7hmfn"))))
       (build-system emacs-build-system)
-      (propagated-inputs
-       (list mu))
       (home-page "https://github.com/seanfarley/mu4e-patch")
-      (synopsis "Colorize patch-like emails in mu4e")
+      (synopsis "Colorize patch-like emails in mu4e or gnus")
       (description
-        "Extension for mu4e to colorize patch-like emails with diff-mode.
+       "Extension for mu4e or gnus to colorize patch-like emails with diff-mode.
 This is based on Frank Terbeck's @code{gnus-article-treat-patch.el} but has
-been adapted to work with mu4e.")
+been adapted to also work with mu4e.")
       (license license:gpl3+))))
 
+(define-public emacs-mu4e-patch
+  (deprecated-package "emacs-mu4e-patch" emacs-message-view-patch))
+
 (define-public emacs-pretty-mode
   (package
     (name "emacs-pretty-mode")
-- 
2.34.0
D
D
Dominic Martinez wrote on 11 Apr 19:58 +0200
[PATCH 2/2] gnu: emacs-message-view-patch: Update to 0.2.0-40bc2e5
(address . 54861@debbugs.gnu.org)(name . Dominic Martinez)(address . dom@dominicm.dev)
20220411175845.21799-2-dom@dominicm.dev
* gnu/packages/emacs-xyz (emacs-message-view-patch): Update it.
---
gnu/packages/emacs-xyz.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2c085cfe1e..55d06c5909 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13301,11 +13301,11 @@ (define-public emacs-mu4e-jump-to-list
       (license license:gpl3+))))
 
 (define-public emacs-message-view-patch
-  (let ((commit "522da46c1653b1cacc79cde91d6534da7ae9517d")
-        (revision "1"))
+  (let ((commit "40bc2e554fc1d0b6f0c403192c0a3ceaa019a78d")
+        (revision "2"))
     (package
       (name "emacs-message-view-patch")
-      (version (git-version "0.1.0" revision commit))
+      (version (git-version "0.2.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -13314,8 +13314,9 @@ (define-public emacs-message-view-patch
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "10lzf3b70pk6rzdrgx0ww0gc94v0ydh9zj1gbsa20xw27ds7hmfn"))))
+                  "0cmkiggrl42sjx31dwnzac32bs3q2ksmamkq1pjjl8fwshp4g8sv"))))
       (build-system emacs-build-system)
+      (inputs (list emacs-magit))
       (home-page "https://github.com/seanfarley/mu4e-patch")
       (synopsis "Colorize patch-like emails in mu4e or gnus")
       (description
-- 
2.34.0
L
L
Ludovic Courtès wrote on 15 Apr 19:12 +0200
Re: bug#54861: [PATCH 0/2] gnu: emacs-mu4e-patch: Rename and update
(name . Dominic Martinez)(address . dom@dominicm.dev)(address . 54861-done@debbugs.gnu.org)
877d7q2ruh.fsf@gnu.org
Hi,

Dominic Martinez <dom@dominicm.dev> skribis:

Toggle quote (8 lines)
> This patch series updates emacs-mu4e-patch to the latest version, and also
> reflects the name change that occurred upstream since this package works with
> both mu4e and gnus.
>
> Dominic Martinez (2):
> gnu: emacs-mu4e-patch: Rename to emacs-message-view-patch
> gnu: emacs-message-view-patch: Update to 0.2.0-40bc2e5

Applied both, thanks!

But actually, I use Gnus and patches have always been colorized. Am I
missing something?

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54861@debbugs.gnu.org