From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id APBJAlD8+2NTfwAAbAwnHQ (envelope-from ) for ; Mon, 27 Feb 2023 01:41:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6CNCAlD8+2PoGwEA9RJhRA (envelope-from ) for ; Mon, 27 Feb 2023 01:41:52 +0100 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 C922624D44 for ; Mon, 27 Feb 2023 01:41:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWRZk-0004lL-MB; Sun, 26 Feb 2023 19:41:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWRZg-0004iI-Fn for guix-patches@gnu.org; Sun, 26 Feb 2023 19:41:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWRZg-0005mw-6w for guix-patches@gnu.org; Sun, 26 Feb 2023 19:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWRZg-0006FD-2k for guix-patches@gnu.org; Sun, 26 Feb 2023 19:41:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60827] [PATCH v6 4/4] gnu: Add dozenal. Resent-From: Jake Leporte Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Feb 2023 00:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60827@debbugs.gnu.org Cc: Jake Leporte Received: via spool by 60827-submit@debbugs.gnu.org id=B60827.167745842123913 (code B ref 60827); Mon, 27 Feb 2023 00:41:04 +0000 Received: (at 60827) by debbugs.gnu.org; 27 Feb 2023 00:40:21 +0000 Received: from localhost ([127.0.0.1]:45388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWRYy-0006DY-Hi for submit@debbugs.gnu.org; Sun, 26 Feb 2023 19:40:21 -0500 Received: from mail-co1nam11olkn2095.outbound.protection.outlook.com ([40.92.18.95]:46999 helo=NAM11-CO1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWRYs-0006CD-8u for 60827@debbugs.gnu.org; Sun, 26 Feb 2023 19:40:14 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jDUjJOCwsnglAUzQwoX+LsVU5vUw8Sh1x4xxps+AqkFTtAOkIYpRzB3ZFEiEkiKc9XmkrRpdRq8VwcsdvxFUKR+KVo3du7uDLfiHb415eOCpzCYrWJM1MBMqt3teKvt9M9ho+tsqXc2jr9ZACPH7PyBN6+UMpkYYyl7MjvHPbC56yvlohbw5idEWGa1iiBF9CoAOp3ov3B3RqG9zDRYA9qtcQqJ1PB9I3RLfadwKJ5MsDPtkSQ3dOjDIZR+4ASioUGLMXOP7tnePGjViMllQI2elXVOT+PipFDv8oOnYlkQw7HGGMp5c0D3CNn6q8qT7V7b1HgG8ovVI1OR5NqKMnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dJ4hiMcUtH4dla6w3p8D+TyV29fPvCecXNQpWhLW584=; b=NxiwupDPioSNGS3pHTIz5v+rOcOjYDo3LDn3L4P0AmO7jpwrj0p7KG6/CP0THxrgkVzGnG4nG7P1T2gX1C78fTOg4wrrAxLX9OdMqifNtyoiV2TXP7Hyzo3Gf4UGGBwQbzmpw9pQt3GT7EZwLsf0S3zCifmcLYFcDAp9eQv4DMotHsD37hVu0VXmOS17IXtarU+U+3A/qVX/2XrNt+M6cxpPZZqek/tAtcMCUFvT2D1vMVPFn2/Crc2uz6f0L8JZZ7/qdnmxakwzin8YdWdfz7/S7i3/e8pu7dRZ+39nPqNVyi1ByzHw2MQiIDa8D0+f9FvVzmNw7AsX1Ccg/n5wuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dJ4hiMcUtH4dla6w3p8D+TyV29fPvCecXNQpWhLW584=; b=NoziBVFIGt8iZoGgWXPsyROsIv/duQPAobWWrCyCR5ITaTvc6wnv+hpw+9WOSUMnrU76oa4fMJAiQEcGmdxll0EDFWALT8Yh9nVOG1wbct9hlJE6ScMFVjiylnR/0TWe1Kxdz1G/hdFj8LcIx8Wg4tGPO2D+/StmuGH2KasNgVPr8hGSXeF1EUfQVq3eSw9T+7mHqr/MaLCEH2u37bWUdRQ36QxiuUldn6cBkMNEMEmQD9BDmY6OsWa3QDqKYsA/2WK5oiEQlKVcR46maurlUz06RK3/IPxmlQVGNJDdD5MQA5EsWIb0nEMfbo0fj1bszbQR8Y3xqchUIfR4dcnaYQ== Received: from MN2PR20MB2605.namprd20.prod.outlook.com (2603:10b6:208:ea::18) by PH8PR20MB5316.namprd20.prod.outlook.com (2603:10b6:510:1bc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.26; Mon, 27 Feb 2023 00:40:05 +0000 Received: from MN2PR20MB2605.namprd20.prod.outlook.com ([fe80::54e4:62df:c788:9c14]) by MN2PR20MB2605.namprd20.prod.outlook.com ([fe80::54e4:62df:c788:9c14%3]) with mapi id 15.20.6134.025; Mon, 27 Feb 2023 00:40:05 +0000 From: Jake Leporte Date: Sun, 26 Feb 2023 18:39:47 -0600 Message-ID: X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230227003947.25934-1-jakeleporte@outlook.com> References: <20230227003947.25934-1-jakeleporte@outlook.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [dHJHrszotCuilqIx1nljhcIgO3MXgdwqRu6zPDmDslLe3W2zPNambg==] X-ClientProxiedBy: CH2PR08CA0017.namprd08.prod.outlook.com (2603:10b6:610:5a::27) To MN2PR20MB2605.namprd20.prod.outlook.com (2603:10b6:208:ea::18) X-Microsoft-Original-Message-ID: <20230227003947.25934-5-jakeleporte@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR20MB2605:EE_|PH8PR20MB5316:EE_ X-MS-Office365-Filtering-Correlation-Id: 237df332-9ecc-467f-2b87-08db185b2b5c X-MS-Exchange-SLBlob-MailProps: V85gaVfRD4+aG4arYjbCs6hKknv2gzmuv87ib92CnF4SrQy8nt0z33V/+eEZNLKzgfNpkOi4FcDbiUXqCyr4CsOtfhL/GpVLrHgb6AckoHQ2ii9XsuJ3xTqhzl9dIHbkqpJFCMyAaOUI4Lz7ZXupASaHrVhnL2xnUes7pWf5mUmEwq/n1rwE/cLadYTWi5TQsVeEq1+3qhxLpe9dgT+IDpXd35Jz05LouHBIqdl3JsKjoR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lRTLJ0agUGFtgg5mSIQE/VvLLw0AuAyAZHvZaBQl9yRG+MGtx82ygpQysgHTPZiCsGmDkWLqhtcT55kUuTX3UueOBe0paIYTDJWoeADEeTBXCq0Zg6piOpbKK/VR/BImi3e2tkmx9qj6XBYvWWfdVBPY0dglF3HXB9QDKicwNjoit17O/o477CVPjPjUVJIDr lA+uIeSqGYhPnhWHAtdLPEq6F1wkrmZ596Y8Ziw+hrYwaKHqr7DyAXsZfdtPDFWIIV/jYe8T6Sjfq3es4FlQfifHBE+wJDnRCsJlTdnug9LBNh7IW8/McbBAS9xCqOddv8Si1gdJ/YWxnFX1s/ncNDMAkh9DR40Y+/iUoPhhZGKRid4lhjzoZjuq+IaDDExxKfoYLCuaC7yDr49JitjsyJAgT07BuCx87tZ8qPdWVnkMJg7ehrTvExoD8g5DlJ+INLgMiRVaj/GptnRFpeq4p7wLQZqzvHozQVsZeQQ7EtKjkwBKi+hF5tYkTry6NI2VKcb+5/2sG+og2p1nXa3ktA3Gp2IBmXb8u8UWgdX19fPKKVn+wn5kGfO8xgHISE1l X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 237df332-9ecc-467f-2b87-08db185b2b5c X-MS-Exchange-CrossTenant-AuthSource: MN2PR20MB2605.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 00:40:05.4733 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR20MB5316 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=NoziBVFI; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1677458511; a=rsa-sha256; cv=fail; b=eKRMmMxOQarmx3b5hvMXXiLfb4A7govc/mCFPgworaxJXS71E/VWh/qoCkh2fVWn8jl5Dx 8Tsf8fogV2UF+Spht9hRtpjjTxmuwJd9fH3Z4IBy9PajTxftUzltDMD+kXXemt3Z2y8w8L nBghqZRspm9wFVE1bNktpG9UegxzC/YUlTFuuBWSTQ8nMgYckopDxbYCGkh7yyALb0LUqX iTXLQHtidv4IgE0R4KlFJKc7bq7EsXkwhXzsH1IKRsNYmSiZw7toucZ6c1k8YGea9yl0UA bvVWHyFZuvKiCoHZ1w2Roc9N9BJYRVwk71uZg9eOdIwQ4zVqx+TLe2tfr4GGMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677458511; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=dJ4hiMcUtH4dla6w3p8D+TyV29fPvCecXNQpWhLW584=; b=oNM3HPwKo8IoItkYkeeVkgqbnJEJc8otq4In3R+zy+NPTNqO4BS2WfDPMWNPKWshBTif5S ZdohSzQLWeW2BqC+BAtrDLuhxHh54IGVe0OsKsy3+eWCr/C0Y6pEUEngBBz7LYeIHNR2c/ awI/pkJ91ll5czRxthuxzSkS3Wjijf6mClQg5pia37kRhJOG89x7a/32010lmzMO8QfEMQ +xPcpTIDf1sxAj0Kqv4fcEQkOzTWO9ltyauE1eQnd9Wrk28V8HWDsz4/cenRcGMqsMPwBz aKpuiQcC5iV3c8PR5rsMONZ7fKc8lv5Oi89Mq2Fx4MNBP+NN5bO1vkh7IGZufQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=NoziBVFI; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") X-Migadu-Spam-Score: 0.91 X-Spam-Score: 0.91 X-Migadu-Queue-Id: C922624D44 X-TUID: lry0R4+g1bu7 * gnu/packages/maths.scm (dozenal): New variable. --- gnu/packages/maths.scm | 105 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 280465e..86beb33 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -103,6 +103,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) + #:use-module (gnu packages calendar) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) @@ -124,6 +125,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) #:use-module (gnu packages graphviz) + #:use-module (gnu packages groff) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) @@ -172,6 +174,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages wxwidgets) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) @@ -455,6 +458,108 @@ (define-public dionysus (license license:gpl3+) (home-page "https://www.gnu.org/software/dionysus/"))) +(define-public dozenal + (let ((revision "1") + (commit "328bc03ad544179f2cccda36763358c4216f188e")) + (package + (name "dozenal") + (version (git-version "12010904-3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/dgoodmaniii/dozenal") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0knwfwjqdv854l5ny7csdpvp7r0md6a2k43a1l2lkyw9k3cglpph")))) + (build-system gnu-build-system) + (arguments + (list + ;; Some test scripts are included, but no makefile-driven + ;; tests, and they are all quite manual to run and check + #:tests? #f + ;; Running with `make -j' causes the build to fail. + ;; This is likely because this project uses the + ;; "recursive make" structure, where each + ;; subdirectory contains its own make file, which is + ;; called by the top-level makefile. + #:parallel-build? #f + #:make-flags + #~(list (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "dozenal"))) + (add-after 'chdir 'patch-lua-references + (lambda _ + (let ((lua-name (strip-store-file-name #$lua))) + (substitute* '("dozcal/Makefile" + "dozlua/Makefile") + (("lua52") + (string-take lua-name + (string-rindex lua-name #\.))))))) + (delete 'configure) + (add-before 'install 'make-bin-dir + (lambda _ + (mkdir-p (string-append #$output "/bin")))) + (add-after 'install 'install-html-docs + (lambda _ + (invoke "make" + (string-append "prefix=" #$output) + "installhtml"))) + (add-after 'install-html-docs 'split-outputs + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (prog) + (let ((orig (string-append #$output "/bin/" prog)) + (dst (string-append #$output:gui "/bin/" prog)) + (man-orig (string-append #$output + "/share/man/man1/" + prog ".1")) + (man-dst (string-append #$output:gui + "/share/man/man1/" + prog ".1"))) + (mkdir-p (dirname dst)) + (copy-file orig dst) + (delete-file orig) + (mkdir-p (dirname man-dst)) + (copy-file man-orig man-dst) + (delete-file man-orig))) + '("xdozdc" "gdozdc")) + (wrap-program + (string-append #$output:gui "/bin/" "gdozdc") + `("PATH" = + (,(string-append #$output "/bin"))) + `("PERL5LIB" = + (,(getenv "PERL5LIB"))))))))) + (outputs '("out" "gui")) + (native-inputs (list groff pkg-config)) + (inputs (list bash-minimal ;since wrap-program is used + ncurses + libhdate + lua + perl + perl-tk + perl-par + xforms)) + (synopsis + "Suite of dozenal programs, including converters, a calculator, and date +program") + (description + "The dozenal suite is a set of programs designed to assist with +working in the dozenal (also called \"duodecimal\" or \"base twelve\") +system. It includes number converters (dozenal-to-decimal and +decimal-to-dozenal), an RPN calculator, a graphical calculator, a +metric system converter (works with imperial, U.S. customary, SI +metric, and the dozenal TGM), a pretty-printer for dozenal numbers, a +date-and-time program, and a dozenal calendar programs, complete with +events and to-dos.") + (home-page "https://codeberg.org/dgoodmaniii/dozenal") + (license license:gpl3+)))) + (define-public dsfmt (package (name "dsfmt") -- 2.39.1