GNU bug report logs - #55017
[PATCH] gnu: Add worklog.

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Tue, 19 Apr 2022 07:28:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

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 55017 in the body.
You can then email your comments to 55017 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#55017; Package guix-patches. (Tue, 19 Apr 2022 07:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 19 Apr 2022 07:28:01 GMT) Full text and rfc822 format available.

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

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add worklog.
Date: Tue, 19 Apr 2022 07:27:29 +0000
* gnu/packages/task-management.scm (worklog): New variable.
---
 gnu/packages/task-management.scm | 36 ++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index c349081f01..04cbc2e780 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2021 Eric Bavier <bavier <at> posteo.net>
 ;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
 ;;; Copyright © 2021 LibreMiami <packaging-guix <at> libremiami.org>
+;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -32,6 +33,7 @@
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
@@ -141,6 +143,40 @@ Done time management method.  It supports network synchronization, filtering
 and querying data, exposing task data in multiple formats to other tools.")
     (license license:expat)))
 
+(define-public worklog
+  (let ((commit "0f545ad6697ef4de7f68d92cd7cc5c6a4c60517b")
+        (revision "1"))
+    (package
+      (name "worklog")
+      (version (git-version "2.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/atsb/worklog")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "18dkmy168ks9gcnfqri1rfl0ag0dmh9d6ppfmjfcdd6g9gvi6zll"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             (string-append "BIN=" %output "/bin")
+             (string-append "MAN=" %output "/share/man"))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+       #:tests? #f))  ; No "check" target.
+    (inputs (list ncurses))
+    (home-page "https://github.com/atsb/worklog")
+    (synopsis "A program for keeping track of time spent on different projects")
+    (description
+     "@code{worklog} is a program that helps you keep track of your time.
+@code{worklog} is a simple ncurses based based program that runs a clock and
+logs time to a logfile.")
+    (license license:public-domain))))
+
 (define-public dstask
   (package
     (name "dstask")

base-commit: 6b677f4299f38ea70e1852388086ee95c2c48622
-- 
2.25.1





Information forwarded to guix-patches <at> gnu.org:
bug#55017; Package guix-patches. (Tue, 19 Apr 2022 08:48:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>, 55017 <at> debbugs.gnu.org
Subject: Re: [bug#55017] [PATCH] gnu: Add worklog.
Date: Tue, 19 Apr 2022 10:47:17 +0200
[Message part 1 (text/plain, inline)]
Foo Chuan Wei schreef op di 19-04-2022 om 07:27 [+0000]:
> +             (string-append "BIN=" %output "/bin")
> +             (string-append "MAN=" %output "/share/man"))

%output is undocumented, use #$output instead:

  (arguments
    (list #:make-flags
          #~(list (string-append "CC=" #$(cc-for-target))
                  (string-append "BIN=" #$output "/bin")
                  ...)
          #:phases
          #~(modify-phases ...)
          ...))

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Wed, 27 Apr 2022 09:25:02 GMT) Full text and rfc822 format available.

Notification sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
bug acknowledged by developer. (Wed, 27 Apr 2022 09:25:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: 55017-done <at> debbugs.gnu.org
Cc: chuanwei.foo <at> hotmail.com
Subject: Re: bug#55017: [PATCH] gnu: Add worklog.
Date: Wed, 27 Apr 2022 11:24:25 +0200
Pushed with the following modifications:

--8<---------------cut here---------------start------------->8---
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -160,24 +160,24 @@ (define-public worklog
          (file-name (git-file-name name version))
          (sha256
           (base32 "18dkmy168ks9gcnfqri1rfl0ag0dmh9d6ppfmjfcdd6g9gvi6zll"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:make-flags
-       (list (string-append "CC=" ,(cc-for-target))
-             (string-append "BIN=" %output "/bin")
-             (string-append "MAN=" %output "/share/man"))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))
-       #:tests? #f))  ; No "check" target.
-    (inputs (list ncurses))
-    (home-page "https://github.com/atsb/worklog")
-    (synopsis "A program for keeping track of time spent on different projects")
-    (description
-     "@code{worklog} is a program that helps you keep track of your time.
+      (build-system gnu-build-system)
+      (arguments
+       `(#:make-flags
+         ,#~(list (string-append "CC=" #$(cc-for-target))
+                  (string-append "BIN=" #$output "/bin")
+                  (string-append "MAN=" #$output "/share/man"))
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure))
+         #:tests? #f))  ; No "check" target.
+      (inputs (list ncurses))
+      (home-page "https://github.com/atsb/worklog")
+      (synopsis "Program keeping track of time spent on different projects")
+      (description
+       "@code{worklog} is a program that helps you keep track of your time.
 @code{worklog} is a simple ncurses based based program that runs a clock and
 logs time to a logfile.")
-    (license license:public-domain))))
+      (license license:public-domain))))
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




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

This bug report was last modified 1 year and 308 days ago.

Previous Next


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