Subject: bug#60978: closed (Re: [bug#60978] [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 25 Jan 2023 18:04:02 +0000

Your bug report

#60978: [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60978: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60978
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#60978] [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.
From: Nicolas Goaziou <[email-masked]>
To: John Kehayias via Guix-patches via <[email-masked]>
Cc: John Kehayias <[email-masked]>, [email-masked]
Date: Wed, 25 Jan 2023 19:02:57 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

John Kehayias via Guix-patches via <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-mu4e-alert): Update to 1.0-0.3c9af8c.
> [source]: Switch to maintained fork.
> [home-page]: Ditto.
> [synopsis]: Update to match main uses of package.

I re-ordered inputs alphabetically while at it, and applied your patch.

I also used "mode line" spelling (instead of modeline and mode-line).

Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.
From: John Kehayias <[email-masked]>
To: Guix-patches <[email-masked]>
Date: Sat, 21 Jan 2023 03:04:39 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi emacs guixers,

Finally getting around to managing my emacs packages with guix and noticed mu4e-alert is broken with current mu4e versions. The original repo is unmaintained for years and MELPA has switched to an active fork. This patch makes that update for us as well.

Thanks,
John
From 0dc7bde0fb4e35015b1dccd2827aefb3dd85ab41 Mon Sep 17 00:00:00 2001
From: John Kehayias <[email-masked]>
Date: Fri, 20 Jan 2023 21:54:32 -0500
Subject: [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.

Original repository is no longer maintained and MELPA has switched to an
active fork, required for compatibility with recent versions of mu4e.  See
<https://github.com/melpa/melpa/pull/7927>.

* gnu/packages/emacs-xyz.scm (emacs-mu4e-alert): Update to 1.0-0.3c9af8c.
[source]: Switch to maintained fork.
[home-page]: Ditto.
[synopsis]: Update to match main uses of package.
---
 gnu/packages/emacs-xyz.scm | 43 ++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dc85764746..e48143e9cb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -120,6 +120,7 @@
 ;;; Copyright © 2022 Thiago Jung Bauermann <[email-masked]>
 ;;; Copyright © 2022 Joeke de Graaf <[email-masked]>
 ;;; Copyright © 2023 Simon Streit <[email-masked]>
+;;; Copyright © 2023 John Kehayias <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -15396,28 +15397,30 @@ (define-public emacs-zones
     (license license:gpl3+)))
 
 (define-public emacs-mu4e-alert
-  (package
-    (name "emacs-mu4e-alert")
-    (version "1.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/iqbalansari/mu4e-alert")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1nvsfbfsma59ilf7c3vjngnmx3aapwvvvaafdy5szm5r6lkicqvg"))))
-    (build-system emacs-build-system)
-    (propagated-inputs
-     (list emacs-alert emacs-s emacs-ht mu))
-    (home-page "https://github.com/iqbalansari/mu4e-alert")
-    (synopsis "Desktop notification for mu4e")
-    (description
-     "This package provides desktop notifications for mu4e.
+  (let ((commit "3c9af8c7994df0a1a4f0703552ea3beffb485ace")
+        (revision "0"))
+    (package
+      (name "emacs-mu4e-alert")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/xzz53/mu4e-alert")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13li5pqqkzj7dwgpnngnk1ff46i100qw9xknlimpy2vf2k5yqv3y"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       (list emacs-alert emacs-s emacs-ht mu))
+      (home-page "https://github.com/xzz53/mu4e-alert")
+      (synopsis "Desktop notifications and modeline display for mu4e")
+      (description
+       "This package provides desktop notifications for mu4e.
 Additionally it can display the number of unread emails in the
 mode-line.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-mu4e-jump-to-list
   (let ((commit "358bba003543b49ffa266e503e54aebd0ebe614b")
-- 
2.39.1