From patchwork Mon May 24 20:09:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 29571 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 C531C27BC81; Mon, 24 May 2021 21:10:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9808927BC78 for ; Mon, 24 May 2021 21:10:32 +0100 (BST) Received: from localhost ([::1]:49494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llGuF-0003Tm-RE for patchwork@mira.cbaines.net; Mon, 24 May 2021 16:10:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llGtp-0002sY-Gg for guix-patches@gnu.org; Mon, 24 May 2021 16:10:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llGtp-0002HE-7n for guix-patches@gnu.org; Mon, 24 May 2021 16:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llGtp-0007Ow-3S for guix-patches@gnu.org; Mon, 24 May 2021 16:10:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48622] [PATCH core-updates 36/29] gnu: texlive-latex-tools: Provide array-2016-10-06.sty. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 May 2021 20:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48622 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48622@debbugs.gnu.org Received: via spool by 48622-submit@debbugs.gnu.org id=B48622.162188699128379 (code B ref 48622); Mon, 24 May 2021 20:10:05 +0000 Received: (at 48622) by debbugs.gnu.org; 24 May 2021 20:09:51 +0000 Received: from localhost ([127.0.0.1]:43956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llGtb-0007NY-4f for submit@debbugs.gnu.org; Mon, 24 May 2021 16:09:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llGtW-0007Mn-N4 for 48622@debbugs.gnu.org; Mon, 24 May 2021 16:09:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49320) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llGtR-00021t-JA for 48622@debbugs.gnu.org; Mon, 24 May 2021 16:09:41 -0400 Received: from host-37-191-231-185.lynet.no ([37.191.231.185]:58202 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llGtQ-0007nd-UV for 48622@debbugs.gnu.org; Mon, 24 May 2021 16:09:41 -0400 From: Marius Bakke Date: Mon, 24 May 2021 22:09:22 +0200 Message-Id: <20210524200923.28867-7-marius@gnu.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210524200923.28867-1-marius@gnu.org> References: <20210524144333.15566-1-marius@gnu.org> <20210524200923.28867-1-marius@gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tex.scm (texlive-latex-tools)[arguments]: Add phase that makes array.sty available with a different name. --- gnu/packages/tex.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f896725a82..3cf4e0df23 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3269,7 +3269,19 @@ files have changed. It is based on MD5 checksum, provided by pdfTeX.") (build-system texlive-build-system) (arguments '(#:tex-directory "latex/tools" - #:build-targets '("tools.ins"))) + #:build-targets '("tools.ins") + #:phases (modify-phases %standard-phases + (add-after 'install 'provide-array-2016-10-06.sty + (lambda* (#:key outputs #:allow-other-keys) + ;; XXX: array.sty does: + ;; "DeclareRelease{}{2016-10-06}{array-2016-10-06.sty}" + ;; ...which causes some users (hypre) to look for that + ;; file specifically. Provide it. + (with-directory-excursion (string-append + (assoc-ref outputs "out") + "/share/texmf-dist/tex" + "/latex/tools") + (symlink "array.sty" "array-2016-10-06.sty"))))))) (home-page "https://www.ctan.org/pkg/latex-tools") (synopsis "LaTeX standard tools bundle") (description