unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60978] [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.
@ 2023-01-21  3:04 John Kehayias via Guix-patches via
  2023-01-25 18:02 ` bug#60978: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: John Kehayias via Guix-patches via @ 2023-01-21  3:04 UTC (permalink / raw)
  To: 60978

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-emacs-mu4e-alert-Update-to-1.0-0.3c9af8c.patch --]
[-- Type: text/x-patch; name=0001-gnu-emacs-mu4e-alert-Update-to-1.0-0.3c9af8c.patch, Size: 3222 bytes --]

From 0dc7bde0fb4e35015b1dccd2827aefb3dd85ab41 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
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 <bauermann@kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net>
 ;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
 ;;;
 ;;; 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


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

* bug#60978: [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.
  2023-01-21  3:04 [bug#60978] [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c John Kehayias via Guix-patches via
@ 2023-01-25 18:02 ` Nicolas Goaziou
  2023-01-25 18:17   ` [bug#60978] " John Kehayias via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2023-01-25 18:02 UTC (permalink / raw)
  To: John Kehayias via Guix-patches via; +Cc: John Kehayias, 60978-done

Hello,

John Kehayias via Guix-patches via <guix-patches@gnu.org> 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




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

* [bug#60978] [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c.
  2023-01-25 18:02 ` bug#60978: " Nicolas Goaziou
@ 2023-01-25 18:17   ` John Kehayias via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: John Kehayias via Guix-patches via @ 2023-01-25 18:17 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 60978-done, 60978

Hi,

On Wed, Jan 25, 2023 at 07:02 PM, Nicolas Goaziou wrote:

> Hello,
>
> John Kehayias via Guix-patches via <guix-patches@gnu.org> 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).
>

Thanks for both! As I mentioned, using Guix now to manage my Emacs packages so I'll likely be looking to do more patches on fixes and updates and appreciate the style notes.

> Thank you.
>
> Regards,





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

end of thread, other threads:[~2023-01-25 18:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-21  3:04 [bug#60978] [PATCH] gnu: emacs-mu4e-alert: Update to 1.0-0.3c9af8c John Kehayias via Guix-patches via
2023-01-25 18:02 ` bug#60978: " Nicolas Goaziou
2023-01-25 18:17   ` [bug#60978] " John Kehayias via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).