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 ms9.migadu.com with LMTPS id dSs1MYEtPmTdSgAASxT56A (envelope-from ) for ; Tue, 18 Apr 2023 07:41:21 +0200 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 eX5ZMIEtPmRXagAA9RJhRA (envelope-from ) for ; Tue, 18 Apr 2023 07:41:21 +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 74FB62EEDB for ; Tue, 18 Apr 2023 07:41:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poe5S-0006WF-Dn; Tue, 18 Apr 2023 01:41:06 -0400 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 1poe5O-0006W0-Iz for guix-patches@gnu.org; Tue, 18 Apr 2023 01:41:02 -0400 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 1poe5O-0008Be-AE for guix-patches@gnu.org; Tue, 18 Apr 2023 01:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poe5N-0005Q5-S6 for guix-patches@gnu.org; Tue, 18 Apr 2023 01:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62514] [PATCH v4] gnu: gnucash: Update to 5.0 References: <20230329064901.13800-1-atai@atai.org> In-Reply-To: <20230329064901.13800-1-atai@atai.org> Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 05:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62514@debbugs.gnu.org Cc: Andy Tai Received: via spool by 62514-submit@debbugs.gnu.org id=B62514.168179642020770 (code B ref 62514); Tue, 18 Apr 2023 05:41:01 +0000 Received: (at 62514) by debbugs.gnu.org; 18 Apr 2023 05:40:20 +0000 Received: from localhost ([127.0.0.1]:57507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poe4i-0005Ov-Ab for submit@debbugs.gnu.org; Tue, 18 Apr 2023 01:40:20 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:53609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poe4g-0005Oj-C5 for 62514@debbugs.gnu.org; Tue, 18 Apr 2023 01:40:18 -0400 Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-24735727c83so710808a91.3 for <62514@debbugs.gnu.org>; Mon, 17 Apr 2023 22:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681796412; x=1684388412; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=wOTwqTeyKtZDq84ijbNnJtaR8W1X6rvstoOrA/BiaQA=; b=dhTCBIh/XHuU9MCRHEhFeuznzl/9UbvnzCafo87fRPvg0KjGePgYyVNrDUIiXW6XZc Qjmfn1LwOP/C4WN6+VxW1ceqz/n4IC1qjw3rfIKwGdMTd5S2b07rliN7KZI3TPZ4+aLG 5qC0ma4LyTjWq5fyBHyCChxvFk/P2a6EUYI1CL3JsxOIyYmBWZyPGhHpDYgGpiCvWLSV QlKrSfSqvKnxiSjcqBqvOFbZLbney0ZGNkT2b9JPpTqF2z2OFXXjVKDHdfA+CJJiQL81 4KM97n4Vfpi9B+t2y1pxs1cNzvOSkuOkLRjriWfbHPzG7jhFEQoPy/4YYmpjQhthMeJ9 lxBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681796412; x=1684388412; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wOTwqTeyKtZDq84ijbNnJtaR8W1X6rvstoOrA/BiaQA=; b=d6PClkucV62ymAwgVxObB4Lu5eKuHkJ9DmW0WLlkznJXL7Iff0DRD3ZNN9ImkIkWos l5XREgnK2Hf6HjL/Bg+xRp0gyxnYCK+RIr4SHDdDRttmVx0Y/xjJa70uggDKBk5OSj+Y SQafw2oXF+tTqCvQr81s/AUHlaCZjbq8UaopIlKpn4lIgp8N7uWOQ7MRZQ2WxMkz1Qbt QO1v4sKWYiaHFfPWJja5Cevsa3iGvraWU+FF2tftCqfZ4EdsvriytaK1UlZ0L6PLrY+D Nst3NlpmY9ElLjZ/48wfmSC5/To62cDUYsg0raA0aIXkB0EBgPU5pkjDMeSvCsKdzP9H UqkQ== X-Gm-Message-State: AAQBX9daVEtcynadiUU90IqRED17X0kNzXl1MBPJZv9lh/gmdgTAsMR5 V9GdHnGdOng+svu8+LCAGMeLl1C6P5U= X-Google-Smtp-Source: AKy350b/oKHrAp1NOWNVkTgQS7c4NmbYOZG5Txb5Pao+o3D4wxFCmSOAek0iJDMXS9gUImLDNeJH1w== X-Received: by 2002:a17:90b:170e:b0:249:6050:d7ef with SMTP id ko14-20020a17090b170e00b002496050d7efmr953418pjb.34.1681796411826; Mon, 17 Apr 2023 22:40:11 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id a24-20020a17090abe1800b00247164c1947sm862274pjs.0.2023.04.17.22.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 22:40:11 -0700 (PDT) From: Andy Tai Date: Mon, 17 Apr 2023 22:40:07 -0700 Message-Id: <20230418054007.29925-1-atai@atai.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Seal: i=1; s=key1; d=yhetil.org; t=1681796481; a=rsa-sha256; cv=none; b=OI4+zuQA7rTkwdUNb7rRqGOqO+eEt+SIS1VUVLcDv4FItotl1BLfFALl/ZwLbv539eUSDw 4gT7ubx8vrWh/I4zZ75dDxwRaSLqeKRZR9cffly8smJ1PEkACKhGHR1C3V1w59TUuop0my vFiPH94jEizYdkq32Ef0kHaZ6G9lTzqHdahfRHH+I3ktJMFtQQzCjqB46eKLYIzpPRP4RR KqduYOn3rMS3ozF04CT9o00RPwXCpquKPND5Z5w3QwqU/5jApdVnlUfodXOinwh01fpS9X hWOKncuLtvllDg2da98IZ42B/6B4S6teOUJha59GIvplA12+bsgRI0PZ+hV8qg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="dhTCBIh/"; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681796481; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=wOTwqTeyKtZDq84ijbNnJtaR8W1X6rvstoOrA/BiaQA=; b=NGwv1wegOJDqHpvZ+WV0JTRVyUhSmyB5DgCsb2ugNwKGYhsArSYpKWA8UugdQpiIFvhWOD Ynw1sUx0+gQqcxe79v9RmPLneo/9COXIkNIyGKEUZYJBlAIz46O6IdnxathvKhFz9Dq1dn pbnhp6y3VoWi2R7AaYxmtBOerdq8JoluWTpdPTgMG20URWoN67ZtamTp14yoEJn9MlPd1f ugvxxQZCPJ6iRs96l3T0E88qf6xcAtX7h6Saf8XQVThzRYDY9sysulxqyRlX5PY/Jij0qn /A87TMr2lkJQXTvqo/3hoqNvEEu9eukIXfhAosgcncVnflnd5eQSipEMUbW0kw== X-Migadu-Queue-Id: 74FB62EEDB X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="dhTCBIh/"; dmarc=none; 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: 2.28 X-Spam-Score: 2.28 X-TUID: FmkTeN3bwnkJ * gnu/packages/gnucash.scm (gnucash): Update to 5.0 [arguments]: Patch out unsupported tests. Remove references in patching code to removed source files upstream * gnu/packages/gnucash.scm (gnucash-doc): Update to 5.0 --- gnu/packages/gnucash.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index 0386910ce6..54a7cc0969 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -47,6 +47,7 @@ (define-module (gnu packages gnucash) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages swig) + #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages webkit) @@ -64,14 +65,14 @@ (define-public gnucash ;; directory. (package (name "gnucash") - (version "4.11") + (version "5.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" version "/gnucash-" version ".tar.bz2")) (sha256 - (base32 "069b216dkpjs9hp32s4bhi6f76lbc81qvbmjmz0dxq3v1piys57q")))) + (base32 "09482f1w4yawrdw5c2wi0jb8hwlp1x9mdvq552bf9n5f66mkphfg")))) (outputs '("out" "doc" "debug" "python")) (build-system cmake-build-system) (arguments @@ -87,6 +88,13 @@ (define-public gnucash (guix build utils)) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'disable-unsupported-test + ;; test test-gnc-quotes neeeds perl JSON::Parse + ;; not packaged in Guix yet + (lambda _ + (substitute* "libgnucash/app-utils/test/CMakeLists.txt" + (("gnc_add_test\\(test-gnc-quotes") + "#gnc_add_test\\(test-gnc-quotes")))) (add-after 'unpack 'set-env-vars (lambda* (#:key inputs #:allow-other-keys) ;; At least one test is time-related and requires this @@ -95,12 +103,6 @@ (define-public gnucash (substitute* "CMakeLists.txt" (("set\\(SHELL /bin/bash\\)") (string-append "set(SHELL " (which "bash") ")"))))) - ;; After wrapping gnc-fq-check and gnc-fq-helper we can no longer - ;; execute them with perl, so execute them directly instead. - (add-after 'unpack 'fix-finance-quote-check - (lambda _ - (substitute* "gnucash/price-quotes.scm" - (("\"perl\" \"-w\" ") "")))) ;; The qof test requires the en_US, en_GB, and fr_FR locales. (add-before 'check 'install-locales (lambda _ @@ -155,9 +157,7 @@ (define-public gnucash (assoc l (package-inputs this-package))) '("perl-finance-quote"))))))))) '("gnucash" - "gnc-fq-check" - "gnc-fq-helper" - "gnc-fq-dump")))) + "gnc-fq-update")))) (add-after 'install 'glib-or-gtk-compile-schemas (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) (add-after 'install 'glib-or-gtk-wrap @@ -217,7 +217,7 @@ (define gnucash-docs "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" version "/gnucash-docs-" version revision ".tar.gz")) (sha256 - (base32 "162qq8p76grczdnsd4qbpxn1d8ap6l2n1a00a601v5hij7rqwfx8")))) + (base32 "1cgdb5qrwrx6yf6dsc8zlhi67lbyjs1g82i0n53sw6n6v38dd882")))) (build-system cmake-build-system) ;; These are native-inputs because they are only required for building the ;; documentation. base-commit: 9a5e1dc1f16f5f8c056e64f2077b035784003673 prerequisite-patch-id: 2fe043491619f0182074f836ad7b0c91f725637e -- 2.39.2