From unknown Sun Jul 27 00:55:52 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#44388] Update emacs-ledger-mode. Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Nov 2020 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44388 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 44388@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160431256011707 (code B ref -1); Mon, 02 Nov 2020 10:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Nov 2020 10:22:40 +0000 Received: from localhost ([127.0.0.1]:39882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWz1-00032l-Hm for submit@debbugs.gnu.org; Mon, 02 Nov 2020 05:22:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:54502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWyz-00032c-J5 for submit@debbugs.gnu.org; Mon, 02 Nov 2020 05:22:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZWyz-00075f-BR for guix-patches@gnu.org; Mon, 02 Nov 2020 05:22:37 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:35438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZWyu-0001qA-KM for guix-patches@gnu.org; Mon, 02 Nov 2020 05:22:36 -0500 Received: by mail-wm1-x329.google.com with SMTP id h22so8961805wmb.0 for ; Mon, 02 Nov 2020 02:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=yZNLr4TOTWQkLMhNwPC52Y6iXXM6JRxgknntIJrAtbE=; b=Bds4lJGN3Ugb6LoTVlbAPQGnM+X/CssFGmtCn/k7ZGF08hXs3TXByyCHGPG58bh5ew NAVR8NvuzyyknWcV8CSr2NAUDi+KYw/E3CGN5gXRWAxKiH5G+CzA8vs2cJI5q9y1d3g/ j0+koZ3a2xBFgexhL/+860OxyP6u7kg1t0ZOgUqt3+dGzYtlniGxQ1CEQolkx+9FrZL+ lxsMpisGGeIR/ea71q5hMZyad1zXdM/EVYFMISj/6h/AlT9qkfDuSbZMKMloAJ14jmk8 8LWVeFghqhId2rnyM8tCUZJQC7E9Qga2bLQFF48JgmZarRfvMQlqm6qOpKJE87+nTyoD kMDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=yZNLr4TOTWQkLMhNwPC52Y6iXXM6JRxgknntIJrAtbE=; b=Fc6rMcMGqV0JIkOcTj3/w0GuIBKQZSQ6OqnHSvWrjsMVl4izqJP+ObRgF8VlaJ6eDY 5JoxypMNZDwIAL7II1uI8tdDIOPLKJc7OGx3XT+enSDwYMaQpkCdfcIJSPCUSTjmRCvE O1UmPxlJ5JEPtFeDPADxarokqKU48n48CmBuO+OQUddk08OhhYuJprBguoN4Y7cFSJJS kdjn06EaTjc2VPGUHBFvbReKiUZBwBaC3aN2wCRdNYeK7Tu2IrlQie28TXrwdcFhurNC Uvgt1qU3DwZL0zRCNlwVzni8/hkdR4P4M9WojBLa9qx7nLeyHZ3IXmBgn+/PPzryQGZU 8/aQ== X-Gm-Message-State: AOAM531p05p7qlHadwyOOh+Fx72f39uwPKuQxKUIFxQag/JytjM+wdGO n2rOo/ScNyFJ1x+Jmn3oGMucV36QPfA= X-Google-Smtp-Source: ABdhPJzkdLNEoKkXhnkHzyXxOYOmTZGG5/TJCU0h5wv0GHUkDaxgAYOcUdPHf9ydXEEQ8s9JyP4iHA== X-Received: by 2002:a1c:ddd7:: with SMTP id u206mr16146108wmg.27.1604312549147; Mon, 02 Nov 2020 02:22:29 -0800 (PST) Received: from guixSD (host-87-8-141-238.retail.telecomitalia.it. [87.8.141.238]) by smtp.gmail.com with ESMTPSA id s12sm14973737wmc.6.2020.11.02.02.22.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 02:22:28 -0800 (PST) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Mon, 02 Nov 2020 11:22:10 +0100 Message-ID: <871rhc9hyl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=anothersms@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi guix! This patch updetes emacs-ledger-mode to latest tagged version (v4.0.0, November 2019). I also enabled tests. Since I moved form the untagged to the tagged release, I had to change the indentation. Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (anothersms[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.6 SPOOFED_FREEMAIL No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi guix! This patch updetes emacs-ledger-mode to latest tagged version (v4.0.0, November 2019). I also enabled tests. Since I moved form the untagged to the tagged release, I had to change the indentation. Thanks, Nicol=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-emacs-ledger-mode-Update-to-4.0.0.patch >From 2c847283ae6ff4783067734ce6d5e101ef72a142 Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 2 Nov 2020 11:15:06 +0100 Subject: [PATCH] gnu: emacs-ledger-mode: Update to 4.0.0. [arguments]<#:tests?>: Remove argument. [phases] check: Replace with working check phase. --- gnu/packages/finance.scm | 124 +++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4397cf8ba8..802fb9cc6f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -293,67 +293,67 @@ in ability, and easy to use.") "See src/wcwidth.cc in the distribution."))))) (define-public emacs-ledger-mode - ;; There have been no new releases since 2016. - (let ((commit "253a20dc62e137ed0ed8e1dd8614ecba116610ea") - (revision "1")) - (package - (name "emacs-ledger-mode") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ledger/ledger-mode") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "06wrgkqpgvk17vibrk2qikdlqn8y63jg86marp1wgmram92mb3jk")))) - (build-system cmake-build-system) - (arguments - `(#:modules ((guix build cmake-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%cmake-build-system-modules - (guix build emacs-utils)) - #:tests? #f ; there are none - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-site-dir - (lambda _ - (substitute* "CMakeLists.txt" - (("DESTINATION share/emacs/site-lisp/ledger-mode") - "DESTINATION share/emacs/site-lisp")) - #t)) - (add-before 'build 'patch-path - (lambda* (#:key inputs #:allow-other-keys) - (let ((ledger (assoc-ref inputs "ledger"))) - (make-file-writable "ledger-exec.el") - (emacs-substitute-variables "ledger-exec.el" - ("ledger-binary-path" (string-append ledger "/bin/ledger")))) - #t)) - (add-after 'build 'build-doc - (lambda* (#:key outputs #:allow-other-keys) - (let ((target (string-append (assoc-ref outputs "out") - "/share/info"))) - (mkdir-p target) - (invoke "makeinfo" "-o" target - "../source/doc/ledger-mode.texi")) - #t)) - (add-after 'install 'generate-autoload - (lambda* (#:key outputs #:allow-other-keys) - (let* ((site-dir (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp"))) - (emacs-generate-autoloads ,name site-dir)) - #t))))) - (inputs - `(("ledger" ,ledger))) - (native-inputs - `(("emacs-minimal" ,emacs-minimal) - ("texinfo" ,texinfo))) - (home-page "https://ledger-cli.org/") - (synopsis "Command-line double-entry accounting program") - (description - "Ledger is a powerful, double-entry accounting system that is + (package + (name "emacs-ledger-mode") + (version "4.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ledger/ledger-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1r5rcyxd6d1rqwamzpvqdbkbdf1zbj75aaciqijrklnm59ps244y")))) + (build-system cmake-build-system) + (arguments + `(#:modules ((guix build cmake-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%cmake-build-system-modules + (guix build emacs-utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-site-dir + (lambda _ + (substitute* "CMakeLists.txt" + (("DESTINATION share/emacs/site-lisp/ledger-mode") + "DESTINATION share/emacs/site-lisp")) + #t)) + (add-before 'build 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((ledger (assoc-ref inputs "ledger"))) + (make-file-writable "ledger-exec.el") + (emacs-substitute-variables "ledger-exec.el" + ("ledger-binary-path" (string-append ledger "/bin/ledger")))) + #t)) + (add-after 'build 'build-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((target (string-append (assoc-ref outputs "out") + "/share/info"))) + (mkdir-p target) + (invoke "makeinfo" "-o" target + "../source/doc/ledger-mode.texi")) + #t)) + (add-after 'install 'generate-autoload + (lambda* (#:key outputs #:allow-other-keys) + (let* ((site-dir (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp"))) + (emacs-generate-autoloads ,name site-dir)) + #t)) + (replace 'check + (lambda _ + (with-directory-excursion "../source/test" + (invoke "make" "test-batch"))))))) + (inputs + `(("ledger" ,ledger))) + (native-inputs + `(("emacs-minimal" ,emacs-minimal) + ("texinfo" ,texinfo))) + (home-page "https://ledger-cli.org/") + (synopsis "Command-line double-entry accounting program") + (description + "Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, since there is no flashy UI, but for those who want unparalleled reporting access to their data there are few alternatives. @@ -367,7 +367,7 @@ a graph or html instead. Ledger is simple in concept, surprisingly rich in ability, and easy to use. This package provides the Emacs mode.") - (license license:gpl2+)))) + (license license:gpl2+))) (define-public geierlein (package -- 2.29.1 --=-=-=-- From unknown Sun Jul 27 00:55:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Subject: bug#44388: closed (Re: [bug#44388] Update emacs-ledger-mode.) Message-ID: References: <871rhbna3s.fsf@gnu.org> <871rhc9hyl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> X-Gnu-PR-Message: they-closed 44388 X-Gnu-PR-Package: guix-patches Reply-To: 44388@debbugs.gnu.org Date: Mon, 02 Nov 2020 13:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1604324942-15804-1" This is a multi-part message in MIME format... ------------=_1604324942-15804-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44388: Update emacs-ledger-mode. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44388@debbugs.gnu.org. --=20 44388: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44388 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1604324942-15804-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44388-done) by debbugs.gnu.org; 2 Nov 2020 13:48:17 +0000 Received: from localhost ([127.0.0.1]:40163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZaC1-00045r-1r for submit@debbugs.gnu.org; Mon, 02 Nov 2020 08:48:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZaBz-00045b-Hr for 44388-done@debbugs.gnu.org; Mon, 02 Nov 2020 08:48:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46086) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZaBt-0001bq-K3; Mon, 02 Nov 2020 08:48:10 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51164 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kZaBs-0000QG-Am; Mon, 02 Nov 2020 08:48:09 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Nicol=C3=B2?= Balzarotti Subject: Re: [bug#44388] Update emacs-ledger-mode. References: <871rhc9hyl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Mon, 02 Nov 2020 14:48:07 +0100 In-Reply-To: <871rhc9hyl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (=?utf-8?Q?=22Nicol=C3=B2?= Balzarotti"'s message of "Mon, 02 Nov 2020 11:22:10 +0100") Message-ID: <871rhbna3s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 44388-done Cc: 44388-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hi, Nicol=C3=B2 Balzarotti skribis: >>>From 2c847283ae6ff4783067734ce6d5e101ef72a142 Mon Sep 17 00:00:00 2001 > From: nixo > Date: Mon, 2 Nov 2020 11:15:06 +0100 > Subject: [PATCH] gnu: emacs-ledger-mode: Update to 4.0.0. > > [arguments]<#:tests?>: Remove argument. > [phases] check: Replace with working check phase. > --- > gnu/packages/finance.scm | 124 +++++++++++++++++++-------------------- > 1 file changed, 62 insertions(+), 62 deletions(-) I tweaked the commit log and applied it, thanks! Ludo=E2=80=99. ------------=_1604324942-15804-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Nov 2020 10:22:40 +0000 Received: from localhost ([127.0.0.1]:39882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWz1-00032l-Hm for submit@debbugs.gnu.org; Mon, 02 Nov 2020 05:22:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:54502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWyz-00032c-J5 for submit@debbugs.gnu.org; Mon, 02 Nov 2020 05:22:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZWyz-00075f-BR for guix-patches@gnu.org; Mon, 02 Nov 2020 05:22:37 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:35438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZWyu-0001qA-KM for guix-patches@gnu.org; Mon, 02 Nov 2020 05:22:36 -0500 Received: by mail-wm1-x329.google.com with SMTP id h22so8961805wmb.0 for ; Mon, 02 Nov 2020 02:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=yZNLr4TOTWQkLMhNwPC52Y6iXXM6JRxgknntIJrAtbE=; b=Bds4lJGN3Ugb6LoTVlbAPQGnM+X/CssFGmtCn/k7ZGF08hXs3TXByyCHGPG58bh5ew NAVR8NvuzyyknWcV8CSr2NAUDi+KYw/E3CGN5gXRWAxKiH5G+CzA8vs2cJI5q9y1d3g/ j0+koZ3a2xBFgexhL/+860OxyP6u7kg1t0ZOgUqt3+dGzYtlniGxQ1CEQolkx+9FrZL+ lxsMpisGGeIR/ea71q5hMZyad1zXdM/EVYFMISj/6h/AlT9qkfDuSbZMKMloAJ14jmk8 8LWVeFghqhId2rnyM8tCUZJQC7E9Qga2bLQFF48JgmZarRfvMQlqm6qOpKJE87+nTyoD kMDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=yZNLr4TOTWQkLMhNwPC52Y6iXXM6JRxgknntIJrAtbE=; b=Fc6rMcMGqV0JIkOcTj3/w0GuIBKQZSQ6OqnHSvWrjsMVl4izqJP+ObRgF8VlaJ6eDY 5JoxypMNZDwIAL7II1uI8tdDIOPLKJc7OGx3XT+enSDwYMaQpkCdfcIJSPCUSTjmRCvE O1UmPxlJ5JEPtFeDPADxarokqKU48n48CmBuO+OQUddk08OhhYuJprBguoN4Y7cFSJJS kdjn06EaTjc2VPGUHBFvbReKiUZBwBaC3aN2wCRdNYeK7Tu2IrlQie28TXrwdcFhurNC Uvgt1qU3DwZL0zRCNlwVzni8/hkdR4P4M9WojBLa9qx7nLeyHZ3IXmBgn+/PPzryQGZU 8/aQ== X-Gm-Message-State: AOAM531p05p7qlHadwyOOh+Fx72f39uwPKuQxKUIFxQag/JytjM+wdGO n2rOo/ScNyFJ1x+Jmn3oGMucV36QPfA= X-Google-Smtp-Source: ABdhPJzkdLNEoKkXhnkHzyXxOYOmTZGG5/TJCU0h5wv0GHUkDaxgAYOcUdPHf9ydXEEQ8s9JyP4iHA== X-Received: by 2002:a1c:ddd7:: with SMTP id u206mr16146108wmg.27.1604312549147; Mon, 02 Nov 2020 02:22:29 -0800 (PST) Received: from guixSD (host-87-8-141-238.retail.telecomitalia.it. [87.8.141.238]) by smtp.gmail.com with ESMTPSA id s12sm14973737wmc.6.2020.11.02.02.22.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 02:22:28 -0800 (PST) From: =?utf-8?Q?Nicol=C3=B2_Balzarotti?= To: guix-patches@gnu.org Subject: Update emacs-ledger-mode. Date: Mon, 02 Nov 2020 11:22:10 +0100 Message-ID: <871rhc9hyl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=anothersms@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi guix! This patch updetes emacs-ledger-mode to latest tagged version (v4.0.0, November 2019). I also enabled tests. Since I moved form the untagged to the tagged release, I had to change the indentation. Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (anothersms[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.6 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi guix! This patch updetes emacs-ledger-mode to latest tagged version (v4.0.0, November 2019). I also enabled tests. Since I moved form the untagged to the tagged release, I had to change the indentation. Thanks, Nicol=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-emacs-ledger-mode-Update-to-4.0.0.patch >From 2c847283ae6ff4783067734ce6d5e101ef72a142 Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 2 Nov 2020 11:15:06 +0100 Subject: [PATCH] gnu: emacs-ledger-mode: Update to 4.0.0. [arguments]<#:tests?>: Remove argument. [phases] check: Replace with working check phase. --- gnu/packages/finance.scm | 124 +++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4397cf8ba8..802fb9cc6f 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -293,67 +293,67 @@ in ability, and easy to use.") "See src/wcwidth.cc in the distribution."))))) (define-public emacs-ledger-mode - ;; There have been no new releases since 2016. - (let ((commit "253a20dc62e137ed0ed8e1dd8614ecba116610ea") - (revision "1")) - (package - (name "emacs-ledger-mode") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ledger/ledger-mode") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "06wrgkqpgvk17vibrk2qikdlqn8y63jg86marp1wgmram92mb3jk")))) - (build-system cmake-build-system) - (arguments - `(#:modules ((guix build cmake-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%cmake-build-system-modules - (guix build emacs-utils)) - #:tests? #f ; there are none - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-site-dir - (lambda _ - (substitute* "CMakeLists.txt" - (("DESTINATION share/emacs/site-lisp/ledger-mode") - "DESTINATION share/emacs/site-lisp")) - #t)) - (add-before 'build 'patch-path - (lambda* (#:key inputs #:allow-other-keys) - (let ((ledger (assoc-ref inputs "ledger"))) - (make-file-writable "ledger-exec.el") - (emacs-substitute-variables "ledger-exec.el" - ("ledger-binary-path" (string-append ledger "/bin/ledger")))) - #t)) - (add-after 'build 'build-doc - (lambda* (#:key outputs #:allow-other-keys) - (let ((target (string-append (assoc-ref outputs "out") - "/share/info"))) - (mkdir-p target) - (invoke "makeinfo" "-o" target - "../source/doc/ledger-mode.texi")) - #t)) - (add-after 'install 'generate-autoload - (lambda* (#:key outputs #:allow-other-keys) - (let* ((site-dir (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp"))) - (emacs-generate-autoloads ,name site-dir)) - #t))))) - (inputs - `(("ledger" ,ledger))) - (native-inputs - `(("emacs-minimal" ,emacs-minimal) - ("texinfo" ,texinfo))) - (home-page "https://ledger-cli.org/") - (synopsis "Command-line double-entry accounting program") - (description - "Ledger is a powerful, double-entry accounting system that is + (package + (name "emacs-ledger-mode") + (version "4.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ledger/ledger-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1r5rcyxd6d1rqwamzpvqdbkbdf1zbj75aaciqijrklnm59ps244y")))) + (build-system cmake-build-system) + (arguments + `(#:modules ((guix build cmake-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%cmake-build-system-modules + (guix build emacs-utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-site-dir + (lambda _ + (substitute* "CMakeLists.txt" + (("DESTINATION share/emacs/site-lisp/ledger-mode") + "DESTINATION share/emacs/site-lisp")) + #t)) + (add-before 'build 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((ledger (assoc-ref inputs "ledger"))) + (make-file-writable "ledger-exec.el") + (emacs-substitute-variables "ledger-exec.el" + ("ledger-binary-path" (string-append ledger "/bin/ledger")))) + #t)) + (add-after 'build 'build-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((target (string-append (assoc-ref outputs "out") + "/share/info"))) + (mkdir-p target) + (invoke "makeinfo" "-o" target + "../source/doc/ledger-mode.texi")) + #t)) + (add-after 'install 'generate-autoload + (lambda* (#:key outputs #:allow-other-keys) + (let* ((site-dir (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp"))) + (emacs-generate-autoloads ,name site-dir)) + #t)) + (replace 'check + (lambda _ + (with-directory-excursion "../source/test" + (invoke "make" "test-batch"))))))) + (inputs + `(("ledger" ,ledger))) + (native-inputs + `(("emacs-minimal" ,emacs-minimal) + ("texinfo" ,texinfo))) + (home-page "https://ledger-cli.org/") + (synopsis "Command-line double-entry accounting program") + (description + "Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, since there is no flashy UI, but for those who want unparalleled reporting access to their data there are few alternatives. @@ -367,7 +367,7 @@ a graph or html instead. Ledger is simple in concept, surprisingly rich in ability, and easy to use. This package provides the Emacs mode.") - (license license:gpl2+)))) + (license license:gpl2+))) (define-public geierlein (package -- 2.29.1 --=-=-=-- ------------=_1604324942-15804-1--