From patchwork Thu Jun 22 11:55:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: reza X-Patchwork-Id: 51178 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 1B59527BBE9; Thu, 22 Jun 2023 12:56:13 +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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,PDS_BAD_THREAD_QP_64,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no 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 E6CD027BBE2 for ; Thu, 22 Jun 2023 12:56:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCIuz-0006de-01; Thu, 22 Jun 2023 07:56:05 -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 1qCIuy-0006cy-BY for guix-patches@gnu.org; Thu, 22 Jun 2023 07:56:04 -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 1qCIuw-0002J9-PM for guix-patches@gnu.org; Thu, 22 Jun 2023 07:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCIuw-0008Uk-JE; Thu, 22 Jun 2023 07:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64225] [PATCH 1/9] gnu: Add texlive-filehook. Resent-From: reza Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64225 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64225@debbugs.gnu.org <64225@debbugs.gnu.org> Cc: reza , Ricardo Wurmus X-Debbugs-Original-Xcc: Ricardo Wurmus Received: via spool by 64225-submit@debbugs.gnu.org id=B64225.168743494932585 (code B ref 64225); Thu, 22 Jun 2023 11:56:02 +0000 Received: (at 64225) by debbugs.gnu.org; 22 Jun 2023 11:55:49 +0000 Received: from localhost ([127.0.0.1]:35040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCIuj-0008TV-4I for submit@debbugs.gnu.org; Thu, 22 Jun 2023 07:55:49 -0400 Received: from a2-59.smtp-out.eu-west-1.amazonses.com ([54.240.2.59]:48523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <01020188e2f5bdbe-3f1c5d58-8ce3-411b-ba87-715786d3a3d2-000000@mail.housseini.me>) id 1qCIug-0008TE-TW for 64225@debbugs.gnu.org; Thu, 22 Jun 2023 07:55:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=solmzk3ljecfoypi3q6x2mqs3bucnhjw; d=housseini.me; t=1687434935; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References:Message-Id; bh=3pEVumxfTyDaHvffTvfPv7cPGqtZKAoWEQ6hCE8gEwA=; b=DxLt3cQgvYNkK7KJHM8+iudcUEl5R1UXXLOrylPC1QYCCXDPbYeiZDE3Pqm2hgEx EXX4bfrr3Fasdao1PO+rOftnS8MQWIzwSOCwtCUNy8lVBszMyU9DRMnGVKKfHKYlXSE w5Zyn5d9+i2Ubg+b473rfdNpxw2N7N8fgVznMFBI= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=shh3fegwg5fppqsuzphvschd53n6ihuv; d=amazonses.com; t=1687434935; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References:Message-Id:Feedback-ID; bh=3pEVumxfTyDaHvffTvfPv7cPGqtZKAoWEQ6hCE8gEwA=; b=vdrL132lsFqUYstSEvdSxuSFJTivwyeOGsELuGxi4pKNikklgX84kgOSlJGDx+z9 a4jPIcBKujMpLmPxcim5irdWhYZy0v7cQlFFFch7hGUzvQKrspr+Lb+AeptvScrH2ct 4ldygCyy7xL2Hu0TZNFjZymxjbRgL+zZ8x8HXv/g= Date: Thu, 22 Jun 2023 11:55:35 +0000 Mime-Version: 1.0 In-Reply-To: References: X-Mailer: Amazon WorkMail Thread-Index: AQHZpQAvocCHBXgJR2m2LHsRUln4/QAAESlZ Thread-Topic: [PATCH 1/9] gnu: Add texlive-filehook. X-Wm-Sent-Timestamp: 1687434934 X-Original-Mailer: git-send-email 2.40.1 Message-ID: <01020188e2f5bdbe-3f1c5d58-8ce3-411b-ba87-715786d3a3d2-000000@eu-west-1.amazonses.com> Feedback-ID: 1.eu-west-1.b24dn6frgCi6dh20skzbuMRr7UL8M6Soir/3ogtEjHQ=:AmazonSES X-SES-Outgoing: 2023.06.22-54.240.2.59 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: reza X-ACL-Warn: , reza via Guix-patches X-Patchwork-Original-From: reza via Guix-patches via From: reza 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/tex.scm (texlive-filehook): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.40.1 diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b55dd2a5fd..82eb93c941 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3397,6 +3397,26 @@ (define-public texlive-filecontents (define-deprecated-package texlive-latex-filecontents texlive-filecontents) +(define-public texlive-filehook + (package + (inherit (simple-texlive-package + "texlive-filehook" + (list "doc/latex/filehook/" + "source/latex/filehook/" + "tex/latex/filehook/") + (base32 + "03dsnv8fn111kn8h2fa281w2jvcdrqag1im6mkkfahvjgl1apk6k") + #:trivial? #t)) + (home-page "https://ctan.org/macros/latex/contrib/filehook") + (synopsis "Hooks for input files") + (description + "The package provides several file hooks (AtBegin, AtEnd, ...) for files read by +\\input, \\include and \\InputIfFileExists. General hooks for all such files (e.g. + all \\included ones) and file specific hooks only used for named files are +provided; two hooks are provided for the end of \\included files -- one before, +and one after the final \\clearpage.") + (license license:lppl1.3+))) + (define-public texlive-epsf (package (inherit (simple-texlive-package