GNU bug report logs - #57305
[PATCH] gnu: Add emacs-alarm-clock.

Previous Next

Package: guix-patches;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Sat, 20 Aug 2022 06:57:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 57305 in the body.
You can then email your comments to 57305 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57305; Package guix-patches. (Sat, 20 Aug 2022 06:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun Isaac <arunisaac <at> systemreboot.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 20 Aug 2022 06:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: guix-patches <at> gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>
Subject: [PATCH] gnu: Add emacs-alarm-clock.
Date: Sat, 20 Aug 2022 12:26:27 +0530
* gnu/packages/emacs-xyz.scm (emacs-alarm-clock): New variable.
---
 gnu/packages/emacs-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a3a75c3e07..fe8ba9422d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16,7 +16,7 @@
 ;;; Copyright © 2016, 2019 Alex Griffin <a <at> ajgrf.com>
 ;;; Copyright © 2016-2022 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995 <at> gmail.com>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2016–2022 Arun Isaac <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2017 Christopher Baines <mail <at> cbaines.net>
 ;;; Copyright © 2017, 2018, 2019, 2020, 2022 Mathieu Othacehe <m.othacehe <at> gmail.com>
 ;;; Copyright © 2017, 2018, 2019, 2020, 2021, 2022 Clément Lassieur <clement <at> lassieur.org>
@@ -31992,3 +31992,38 @@ (define-public emacs-vundo
 tree to go back to previous buffer states.  To use vundo, type @kbd{M-x vundo RET} in
 the buffer you want to undo.  An undo tree buffer should pop up.")
     (license license:gpl3+)))
+
+(define-public emacs-alarm-clock
+  (package
+    (name "emacs-alarm-clock")
+    (version "1.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/wlemuel/alarm-clock")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "11afq6lnlqdzbll015fx3031bslwfaz5362qgk2ipgqlk872559h"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'configure
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "alarm-clock.el"
+                     (("\"mpg123\"")
+                      (string-append "\"" (search-input-file inputs "/bin/mpg123") "\""))
+                     (("notify-send")
+                      (search-input-file inputs "/bin/notify-send"))))))))
+    (inputs
+     (list libnotify
+           mpg123))
+    (propagated-inputs
+     (list emacs-f))
+    (home-page "https://github.com/wlemuel/alarm-clock")
+    (synopsis "Alarm clock for Emacs")
+    (description "@code{emacs-alarm-clock} provides an alarm clock for
+Emacs.")
+    (license license:gpl3+)))
-- 
2.37.1





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sat, 27 Aug 2022 09:07:02 GMT) Full text and rfc822 format available.

Notification sent to Arun Isaac <arunisaac <at> systemreboot.net>:
bug acknowledged by developer. (Sat, 27 Aug 2022 09:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 57305-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 57305-done <at> debbugs.gnu.org
Subject: Re: [bug#57305] [PATCH] gnu: Add emacs-alarm-clock.
Date: Sat, 27 Aug 2022 11:05:51 +0200
Hello,

Arun Isaac <arunisaac <at> systemreboot.net> writes:

> * gnu/packages/emacs-xyz.scm (emacs-alarm-clock): New variable.

Applied. Thank you.

> +    (arguments
> +     (list #:phases

I also #:include'd the "alarm.mp3" file, which is required by default.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#57305; Package guix-patches. (Sun, 28 Aug 2022 11:08:02 GMT) Full text and rfc822 format available.

Message #13 received at 57305-done <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 57305-done <at> debbugs.gnu.org
Subject: Re: [bug#57305] [PATCH] gnu: Add emacs-alarm-clock.
Date: Sun, 28 Aug 2022 16:36:55 +0530
Thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 25 Sep 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.