From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SPQmOIMLaWJMBAAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 11:23:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aHBJOIMLaWL/BgEA9RJhRA (envelope-from ) for ; Wed, 27 Apr 2022 11:23:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 394883F145 for ; Wed, 27 Apr 2022 11:23:15 +0200 (CEST) Received: from localhost ([::1]:41720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njdtC-0000ib-8o for larch@yhetil.org; Wed, 27 Apr 2022 05:23:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njdr5-0006OF-2f for guix-patches@gnu.org; Wed, 27 Apr 2022 05:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njdr3-0005bb-T7 for guix-patches@gnu.org; Wed, 27 Apr 2022 05:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njdr3-0002nT-ON for guix-patches@gnu.org; Wed, 27 Apr 2022 05:21:01 -0400 Subject: bug#55018: [PATCH] gnu: Add wtime. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 09:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 55018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55018-done@debbugs.gnu.org Cc: chuanwei.foo@hotmail.com Mail-Followup-To: 55018@debbugs.gnu.org, othacehe@gnu.org, chuanwei.foo@hotmail.com Received: via spool by 55018-done@debbugs.gnu.org id=D55018.165105120310637 (code D ref 55018); Wed, 27 Apr 2022 09:21:01 +0000 Received: (at 55018-done) by debbugs.gnu.org; 27 Apr 2022 09:20:03 +0000 Received: from localhost ([127.0.0.1]:41261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njdq6-0002lP-7P for submit@debbugs.gnu.org; Wed, 27 Apr 2022 05:20:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njdq4-0002ky-2D for 55018-done@debbugs.gnu.org; Wed, 27 Apr 2022 05:20:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njdpy-00054v-6x; Wed, 27 Apr 2022 05:19:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=stvYBbfPoIHtFMqAklDUc5D78hDyLl2q963WgReUPnk=; b=mkKoyAQkCTfwZnjdMbfw xZjr3NKDq2sB08NVhnDiTHv/h1VOVWFAtOlhPUOuC5UXfWxX6ZIRPHZ5gYrIWSHOeYlmaeOi3+abf 6XQhhfukZampNp2UJZZL+3P5C/1UuJQDrpumDXxgBw+JPluORxAhHBaL8Q/bm5XbNF2U/vWkYY0/7 33NzWTeka355ddAM/aIcHGfoMGSswHmkqb67u4I8wlVMibSVBeCpLxxNc8+CrnPgdeC6aWNpCKe/F C631F9UvYZm2+sfXenX6BNpgs8hSlGWJTcTTktURgTjE4EUVCwti22hHMMzUWlJcNOCKAEER20ahV R3Hbet3Jvof2OA==; Received: from 71.125.192.77.rev.sfr.net ([77.192.125.71]:42328 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njdpx-0004tx-QC; Wed, 27 Apr 2022 05:19:54 -0400 From: Mathieu Othacehe References: Date: Wed, 27 Apr 2022 11:19:50 +0200 In-Reply-To: (Foo Chuan Wei's message of "Tue, 19 Apr 2022 07:26:54 +0000") Message-ID: <878rrqlw7d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651051395; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=stvYBbfPoIHtFMqAklDUc5D78hDyLl2q963WgReUPnk=; b=tCw40Mn5/P3+sC7HkDgXXUNrnjIeTPqvxmcaTh/nBqKz7OaZ6bADKmrppvJ1hpUv91ImxH FpbqIxD8ci2fS5hPtWb2RKgM8/FJZKZ1dKRUvHbgKFMchK/yfaOsjVFuKHy3GgrYrf/cIw uIR2s2EX8VuKC2BfdvmAt1L4mazKDZAbIgIqDIb7I4J9TQXmAaRMsavi99OymQQqb7xGr2 7/t12r93hnFBqfg0Lw2Otz9qKLCF0r3TS6mmzMBvsIPD14DWAZapv3SVthuzIY4XTt6n8Z tcimDKy4R7ZUHqYGVIp0vWb5s+kAZHt4HNzr4cxsLp9sAex8xSBN+hIqteWlIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651051395; a=rsa-sha256; cv=none; b=aT+0T740aKgL0mX5xhm6L0A1KkIslmUmYZY/i5ZkrHvsL/m8IK0d+xM19V9RpAtQ4JrtCN h88Krfrg0u8iAang5Y6e5LCEEqf8AqKXl/2XAX7syYe81Irlt17rS0MaCBNGDlx5k4S1tQ zaX9daHZc4J00kYBcqqtJ26pt6r94LhMciD8gdrAPlVTK7ej1bFSWbpU0jYel+tBzFuqWS LXVEVp/NNQKtokYmKpCIfwtm2TjIdMbSKNpY7mFxsjijLLgcqTpXvDj+lOJSJPMJXDHPFJ jqwnNa+SwrumtE1sAKP1mc0REpgUlS5BqRdYPeDtyGpOQ/mSVEBSi87EUohFNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mkKoyAQk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mkKoyAQk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 394883F145 X-Spam-Score: -5.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5rha6wO5Z3hf Hello, > * gnu/packages/task-management.scm (wtime): New variable. Pushed with the following modifications: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 17fb8c335e..65b3dc8699 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -23,6 +23,7 @@ (define-module (gnu packages task-management) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (gnu packages check) #:use-module (gnu packages freedesktop) @@ -43,6 +44,7 @@ (define-module (gnu packages task-management) #:use-module (guix hg-download) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix build-system python)) @@ -259,8 +261,8 @@ (define-public wtime (build-system gnu-build-system) (arguments `(#:make-flags - (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" %output)) + ,#~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) #:phases (modify-phases %standard-phases (delete 'configure) @@ -271,10 +273,10 @@ (define-public wtime #:tests? #f)) ; No "check" target. (home-page "http://wtime.sourceforge.net") (synopsis - "Command-line utility for tracking time spent working on arbitrary tasks") + "Command-line utility for tracking time spent on arbitrary tasks") (description - "@code{wtime} is a command-line utility for tracking time spent working on -arbitrary tasks. All the time data is saved in files residing in the + "@code{wtime} is a command-line utility for tracking time spent working +on arbitrary tasks. All the time data is saved in files residing in the @code{.wtimed} directory in the user's home directory.") (license license:x11))) --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu