From patchwork Mon Dec 26 20:55:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 45592 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1963227BBEB; Mon, 26 Dec 2022 20:56:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AFEE327BBE9 for ; Mon, 26 Dec 2022 20:56:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9uVw-0002kJ-3K; Mon, 26 Dec 2022 15:56:04 -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 1p9uVu-0002jw-IT for guix-patches@gnu.org; Mon, 26 Dec 2022 15:56:02 -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 1p9uVu-0001Jy-AX for guix-patches@gnu.org; Mon, 26 Dec 2022 15:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9uVu-0001qM-60 for guix-patches@gnu.org; Mon, 26 Dec 2022 15:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60343] [PATCH] gnu: latex2html: Update to 2022.2, use new package style. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Dec 2022 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60343 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60343@debbugs.gnu.org Cc: kiasoc5 X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16720881337043 (code B ref -1); Mon, 26 Dec 2022 20:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2022 20:55:33 +0000 Received: from localhost ([127.0.0.1]:54177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9uVR-0001pX-9c for submit@debbugs.gnu.org; Mon, 26 Dec 2022 15:55:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:42114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9uVN-0001pO-ST for submit@debbugs.gnu.org; Mon, 26 Dec 2022 15:55:32 -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 1p9uVL-0002bd-J2 for guix-patches@gnu.org; Mon, 26 Dec 2022 15:55:29 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9uVI-0001Bv-Nf for guix-patches@gnu.org; Mon, 26 Dec 2022 15:55:27 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8523D40821; Mon, 26 Dec 2022 21:55:22 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKPlHZJZgyw6; Mon, 26 Dec 2022 21:55:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1672088121; bh=ws90AUn+NCgi1dA+4TlOoySbPbmbUWa45ZOQ+vWND3Q=; h=From:To:Cc:Subject:Date; b=PtecIwf6GsCn54efkvE+07yVrKfEon2SMcaCmCgGWQuDjdu8oB6gJkU7HlbPotONS ULWE7g63hWyaFYvPVyMdnRANoa/DjJYqg86IgQJDrsM0dLasvwzPJrnCfQ4HuNxln5 2Rdo7qfdxG2TECVJ+B9ChMfsSDwoumHNMTvS8qsXbq8b/W4lY/po7Zg+KQSAaab92k 4lF9GOlwJCo5wFxU9IQtTNHqQzrRLyZ6CSuLd1RG5PkyCqFvfZPYxyrFHyun00499k Us1aU34X8JVmBVQnxb9lHwDrIgbognpgJQtZpkJaY2npQZxe+R9tenEc+dk2MW+ay4 8KyRh4rscALSg== Date: Mon, 26 Dec 2022 15:55:16 -0500 Message-Id: <20221226205516.14502-1-kiasoc5@disroot.org> MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/documentation.scm (latex2html): Update to 2022.2. [arguments]: Use G-expressions. Remove trailing #t. Use #$output instead of assoc-ref. --- gnu/packages/documentation.scm | 41 ++++++++++++++++------------------ 1 file changed, 19 insertions(+), 22 deletions(-) base-commit: 7c476873e0300711bf92668cf01abd28f7295ead diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm index 3ded8e1cac..f0cc10bc49 100644 --- a/gnu/packages/documentation.scm +++ b/gnu/packages/documentation.scm @@ -66,7 +66,7 @@ (define-module (gnu packages documentation) (define-public latex2html (package (name "latex2html") - (version "2020.2") + (version "2022.2") (source (origin (method git-fetch) @@ -76,29 +76,26 @@ (define-public latex2html (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1icyl6kl60wh7cavprgbd8q6lpjwr7wn24m34kpiif7ahknhcbcm")))) + (base32 "1z71anjzxy5jsdlaqba4w9spncc6iycldarnr2z1dq8xmk6yhpjn")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-configure - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "configure" - (("/usr/local") - (assoc-ref outputs "out")) - (("\\$\\{CONFIG_SHELL-/bin/sh\\}") - (which "bash"))) - #t)) - (replace 'configure - (lambda _ - (invoke "./configure") - #t)) - (add-after 'configure 'patch-cfgcache - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "cfgcache.pm" - (("/usr/local") - (assoc-ref outputs "out"))) - #t))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "configure" + (("/usr/local") + #$output) + (("\\$\\{CONFIG_SHELL-/bin/sh\\}") + (which "bash"))))) + (replace 'configure + (lambda _ + (invoke "./configure"))) + (add-after 'configure 'patch-cfgcache + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "cfgcache.pm" + (("/usr/local") + #$output))))))) (inputs (list perl)) (synopsis "LaTeX documents to HTML")