unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73095] [PATCH] gnu: remind: Update to 05.00.05.
@ 2024-09-07 10:58 Luis Henriques
  2024-09-27 21:39 ` bug#73095: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Henriques @ 2024-09-07 10:58 UTC (permalink / raw)
  To: 73095; +Cc: Luís Henriques

From: Luís Henriques <henrix@camandro.org>

* gnu/packages/calendar.scm (remind): Update to 05.00.05.
[properties]: Add tcl output synopsis.
[arguments]<#:phases>: Update list of files to include in tcl output.
There's only one tcltk script now.
[native-inputs]: Add tzdata.

Change-Id: I729d48a8e538039ef5d8c9cb8bd232b3946b5f76
---
 gnu/packages/calendar.scm | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 05c00df082..fbe23c4b1a 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -227,7 +227,7 @@ (define-public khal
 (define-public remind
   (package
     (name "remind")
-    (version "3.3.7")
+    (version "5.0.5")
     (source
      (origin
        (method url-fetch)
@@ -238,7 +238,9 @@ (define-public remind
                                         ".")
                            ".tar.gz"))
        (sha256
-        (base32 "0gca7f5gc0zr111c28hxw4hycz1hr9z7s912bpzm92g1s4llxjc7"))))
+        (base32 "0yc0lfrl0zzc1bn5fkigararg44bdryis7vjnm8vzs21as9r0dbz"))))
+    (properties
+     `((output-synopsis "tcl" "graphical front-end to Remind calendar program")))
     (build-system gnu-build-system)
     (outputs (list "out"
                    "tcl"))           ; more than doubles the closure by >110 MiB
@@ -255,24 +257,24 @@ (define-public remind
                   (let ((from (string-append out "/" file))
                         (to   (string-append tcl "/" file)))
                     (mkdir-p (dirname to))
-                    (rename-file from to)
-                    ;; For simplicity, wrap all scripts with the same variables
-                    ;; even though, e.g., inetutils is not needed by cm2rem.tcl.
-                    ;; XXX Using WRAP-SCRIPT currently breaks tkremind.
-                    (wrap-program to
-                      `("PATH" ":" prefix
-                        ,(map (lambda (dir)
-                                (string-append dir "/bin"))
-                              (append (list out tcl)
-                                      (map (lambda (input)
-                                             (assoc-ref inputs input))
-                                           (list "tcl" "tk" "inetutils")))))
-                      `("TCLLIBPATH" " " =
-                        (,(getenv "TCLLIBPATH"))))))
-                (list "bin/cm2rem.tcl"
-                      "bin/tkremind"))))))))
+                    (rename-file from to)))
+                (list "bin/tkremind"
+                      "share/man/man1/tkremind.1"
+                      "share/pixmaps/tkremind.png"
+                      "share/applications/tkremind.desktop"))
+               (wrap-program (string-append tcl "/bin/tkremind")
+                 `("PATH" ":" prefix
+                   ,(map (lambda (dir)
+                           (string-append dir "/bin"))
+                         (append (list out tcl)
+                                 (map (lambda (input)
+                                        (assoc-ref inputs input))
+                                      (list "tcl" "tk" "inetutils")))))
+                 `("TCLLIBPATH" " " =
+                   (,(getenv "TCLLIBPATH"))))))))))
     (inputs
      (list bash-minimal inetutils tcl tcllib tk))
+    (native-inputs (list tzdata)) ; required for some tests
     (home-page "https://dianne.skoll.ca/projects/remind/")
     (synopsis "Sophisticated calendar and alarm program")
     (description

base-commit: 993d6d2e7be4dac738629c76a51058f4dc5bc449
prerequisite-patch-id: 756e7e982cd0fa0a1490e95e7bb6abdada32b75a




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

end of thread, other threads:[~2024-09-27 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-07 10:58 [bug#73095] [PATCH] gnu: remind: Update to 05.00.05 Luis Henriques
2024-09-27 21:39 ` bug#73095: " Ludovic Courtès

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).