From patchwork Sun Jul 31 01:08:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 41065 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 2D01E27BBEB; Sun, 31 Jul 2022 02:10:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 B0AE027BBE9 for ; Sun, 31 Jul 2022 02:10:49 +0100 (BST) Received: from localhost ([::1]:42492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHxTk-0000dm-TM for patchwork@mira.cbaines.net; Sat, 30 Jul 2022 21:10:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHxTA-00006P-Sm for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHxT0-00071s-C3 for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHxT0-0002SS-6s for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56849] [PATCH 1/8] gnu: Add texlive-abstract. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Jul 2022 01:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56849@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 56849-submit@debbugs.gnu.org id=B56849.16592297529291 (code B ref 56849); Sun, 31 Jul 2022 01:10:02 +0000 Received: (at 56849) by debbugs.gnu.org; 31 Jul 2022 01:09:12 +0000 Received: from localhost ([127.0.0.1]:36000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHxSC-0002Pn-0N for submit@debbugs.gnu.org; Sat, 30 Jul 2022 21:09:12 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:44670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHxSA-0002PW-Dk for 56849@debbugs.gnu.org; Sat, 30 Jul 2022 21:09:10 -0400 Received: by mail-qk1-f176.google.com with SMTP id b25so6180605qka.11 for <56849@debbugs.gnu.org>; Sat, 30 Jul 2022 18:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=mTgxzxyG2hj8GY47s5U1rLAJIItaa4ThFVWCkDmNYcM=; b=aug03HFqQAcLqjpMx8zv9avi54K5bMuLXP9p7qsRUgL+R/49Y8aFD3+wjCiJy/cCI4 VwppZxNM+7PL3wgE51mY9ZQf4oLFBNapcmXnDb7TwHDvXrvY4pxOGkrpA1KsaVYscbuj IgNuAD/92EZheQHiCq5Bt78Zxk5q+9Kx7DlLY2DLprlgvudjJAWrbnpYR9VQnY7grSL+ /Z3RKG+WLDEOBwvUCbuXIKwJMyu30JB2v17W/9xqdHgeIpUDmj/1EUnTdXfZsKgG0JX2 GN+QSXUUjHHdQQ65twuVusLk1gw5X/UJ02sYJiUNkvb/5hi+wGcpEIBJueaWMSA9Sjow ONUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=mTgxzxyG2hj8GY47s5U1rLAJIItaa4ThFVWCkDmNYcM=; b=cC1AzkkE3W4O2W681kWr/SjEH/2XyXKdEkCzzdaHF+BxNizqv+1/6lDG7hLVIGCLC/ wXGmd14cF3hxIzrLJtkPeNNgmVW22EHzvu37FOEGCTUWsoti5Ka96SsHc5XCQwcCB9fx nVVXHOpHDMgdKqE6B0sEpvrdyk/hsun5AlgkVbV4BJq4SaL9dQTGp01xQJsWTDMknutV lsJ681kT7zfOuIZRu5DRtzYSjkUsKYtIztA5hheRIv76UoDQab56v4jmmgVY5Oe526Ey TIqrlWER+FANyCCIiA2wzEggm95uYeY+tV5NLvYYsfZ7M4Q3sHMmiEDgY9+I5aEm4gnr Yh0g== X-Gm-Message-State: AJIora9Lx7T/uiCCWlT09n/iG+LfbTXt1QvE+LwjQAzLEKsvXFhC3AYu hxxjrKEMYX1/mydPnBgcAJOO/Sbht2d5uQh/ X-Google-Smtp-Source: AGRyM1vSh4HVSYa/bmwUZUolzgaydri2HWxqUPFTK87KXp8Fu9K90FvBN8DtsRu4bOgrm12EtPPywQ== X-Received: by 2002:a05:620a:4913:b0:6b6:300:54ad with SMTP id ed19-20020a05620a491300b006b6030054admr7657552qkb.68.1659229743852; Sat, 30 Jul 2022 18:09:03 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id bs11-20020a05620a470b00b006b5ef0aff29sm5883346qkb.87.2022.07.30.18.09.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jul 2022 18:09:03 -0700 (PDT) From: Philip McGrath Date: Sat, 30 Jul 2022 21:08:43 -0400 Message-Id: <46ec2b0cf7570e846fb0f7aae4a44d21cf197adb.1659229280.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: 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-abstract): New variable. --- gnu/packages/tex.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index ddcd0043c4..768cce2550 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2021 Thiago Jung Bauermann ;;; Copyright © 2022 Jack Hill +;;; Copyright © 2022 Philip McGrath ;;; ;;; This file is part of GNU Guix. ;;; @@ -11082,3 +11083,39 @@ (define-public texlive-babel-danish Danish in @code{babel}. It provides all the necessary macros, definitions and settings to typeset Danish documents.") (license license:lppl1.3c+)))) + +(define-public texlive-abstract + (let ((template (simple-texlive-package + "texlive-abstract" + '("/doc/latex/abstract/" + "/source/latex/abstract/") + (base32 + "1v8ks9gn28ixlpb9cih02xds3c807027370ax3fbsymll1jx2rjg")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #f) + "latex/abstract") + ((#:build-targets _ #t) + #~(list "abstract.ins")) + ((#:phases std-phases) + #~(modify-phases #$std-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "source/latex/abstract"))) + (add-before 'copy-files 'unchdir + (lambda args + (chdir "../../.."))) + (add-after 'copy-files 'remove-extra-files + (lambda args + (delete-file-recursively + (string-append #$output + "/share/texmf-dist" + "/source/latex/abstract/build")))))))) + (home-page "https://ctan.org/pkg/abstract") + (synopsis "Control the typesetting of the abstract environment") + (description "The abstract package gives you control over the typesetting +of the abstract environment, and in particular provides for a one column +abstract in a two column paper.") + (license license:lppl))))