From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 APuWIrojGmSXWwEASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 22:38:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iPW1IbojGmTVNgEAG6o9tA (envelope-from ) for ; Tue, 21 Mar 2023 22:38:02 +0100 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 54A871AA75 for ; Tue, 21 Mar 2023 22:38:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pejfK-0003fu-QM; Tue, 21 Mar 2023 17:37:11 -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 1pejfI-0003ej-Dg for guix-patches@gnu.org; Tue, 21 Mar 2023 17:37:08 -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 1pejfD-0004B8-FJ for guix-patches@gnu.org; Tue, 21 Mar 2023 17:37:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pejfD-0003Eg-B1 for guix-patches@gnu.org; Tue, 21 Mar 2023 17:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62331] [PATCH v2 1/2] gnu: Add texlive-pict2e. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 21:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62331 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62331@debbugs.gnu.org Received: via spool by 62331-submit@debbugs.gnu.org id=B62331.167943458712351 (code B ref 62331); Tue, 21 Mar 2023 21:37:03 +0000 Received: (at 62331) by debbugs.gnu.org; 21 Mar 2023 21:36:27 +0000 Received: from localhost ([127.0.0.1]:32803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pejec-0003D9-Lx for submit@debbugs.gnu.org; Tue, 21 Mar 2023 17:36:26 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:64069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pejeX-0003CV-Ff for 62331@debbugs.gnu.org; Tue, 21 Mar 2023 17:36:24 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 2596040006 for <62331@debbugs.gnu.org>; Tue, 21 Mar 2023 21:36:14 +0000 (UTC) From: Nicolas Goaziou Date: Tue, 21 Mar 2023 22:36:12 +0100 Message-Id: <20230321213613.372782-2-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230321213613.372782-1-mail@nicolasgoaziou.fr> References: <20230321213613.372782-1-mail@nicolasgoaziou.fr> 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=1679434682; a=rsa-sha256; cv=none; b=UmP053P5HGjt2zZSttIzY37i3rlBA/WHmOx5m0psBHPW0P537YiFqig3EnDr50lCRneq1U 00esfadQ8IrnyFe2GLdOPBczZEHCNXXsTpmv0wULroK7hN7CYwaxklRYtaP/FRyj6M1+Ov 4jYvMpZbAbSqqjsAncgWgLgaylBocBdHIx1EJlwl3FWjep5rqQxEQUnYefUBcxfmLTiDmr HvJwm73SZkdbC67KgDbO0sCpYexCAaBfilKW9nAC0imfW955r/6GarMdHw1HJZNYPUl45/ LdZY5Qf1oze/CyRlVYc0xDlexUySOp+VEhqVkU2Q7jW3SXzSuMqUezM+cJnJiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1679434682; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=gJCUebBfORzlbTgM02QPH1wGd4+GnY55toVBmFtBkFw=; b=Wq8Spwe1RCy2ZSjH5x698VvBIYUkhKBtT9ITzWxmcC9mexDGU0PXq5wV0n20p48lJ8ZxMg sCTNF+9Ejok/UrB5DaWJEt2JSeRKBOXTjqAz0teym4/yo/QShRJMJD4OfaBf2X/cMuImIo kxmGNqVbTSdSlQtESrJgW7wE7eZXr8xEnl2UovqlJ4eO0XUxUKhGYMxQGZSAa+LNOyrFH8 EeIO1Wb010Bu+2fcWvvsJBR0TGTfoJdvZ3cPbGyrnOgtB7vtjrrHviB2JA1JAVR26UCFXV 5LCLAUM5dpdJIKVhvwfzhOQyw2KzIeFu3w/hovqOL9Bs0OIAQJeR5NOGzYmP5w== X-Migadu-Spam-Score: -1.85 X-Spam-Score: -1.85 X-Migadu-Queue-Id: 54A871AA75 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Scanner: scn1.migadu.com X-TUID: zVdT7Pvut8oD * gnu/packages/tex.scm (texlive-pict2e): New variable. --- gnu/packages/tex.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0c4e545edf..89f5ba2942 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4388,6 +4388,55 @@ (define-public texlive-latex-cyrillic language that is written in a Cyrillic alphabet.") (license license:lppl1.3c+))) +(define-public texlive-pict2e + (let ((template (simple-texlive-package + "texlive-pict2e" + (list "doc/latex/pict2e/" + "source/latex/pict2e/" + "tex/latex/pict2e/") + (base32 + "0pazv1khsgjhxc673qrhjrbzlkgmcj53qccb9hw7ygdajxrjc2ba")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/pict2e") + ((#:build-targets _ '()) '(list "pict2e.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/pict2e/"))) + (add-after 'build 'build-doc + (lambda _ + (copy-file "p2e-drivers.dtx" "build/p2e-drivers.dtx") + (with-directory-excursion "build" + (invoke "pdflatex" "p2e-drivers.dtx") + (delete-file "p2e-drivers.dtx") + ;; texlive.tlpbd expects a "pict2e.cfg" configuration file + ;; instead of "pict2e-example.cfg". Please it. + (rename-file "pict2e-example.cfg" "pict2e.cfg")))) + (replace 'copy-files + (lambda* (#:key inputs #:allow-other-keys) + (let ((origin (assoc-ref inputs "source")) + (source (string-append #$output + "/share/texmf-dist/source")) + (doc (string-append #$output:doc + "/share/texmf-dist/doc"))) + (copy-recursively (string-append origin "/source") source) + (copy-recursively (string-append origin "/doc") doc)))))))) + (home-page "https://ctan.org/pkg/pict2e") + (native-inputs + (list (texlive-updmap.cfg))) + (synopsis "New implementation of picture commands") + (description + "This package extends the existing LaTeX @code{picture} environment, +using the familiar technique (the @code{graphics} and @code{color} packages) +of driver files (at present, drivers for dvips, pdfTeX, LuaTeX, XeTeX, VTeX, +dvipdfm, and dvipdfmx are available). The package documentation has a fair +number of examples of use, showing where things are improved by comparison +with the LaTeX @code{picture} environment.") + (license license:lppl1.3+)))) + (define-public texlive-psnfss (let ((template (simple-texlive-package "texlive-psnfss" -- 2.39.2