From unknown Sat Jun 14 19:30:55 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45870] [PATCH core-updates 0/3] Allow composing multiple TeX Live trees Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45870@debbugs.gnu.org Cc: Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16106493572523 (code B ref -1); Thu, 14 Jan 2021 18:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 18:35:57 +0000 Received: from localhost ([127.0.0.1]:39165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07TQ-0000ed-Q4 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:35:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:52028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07TP-0000eU-8c for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:35:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l07TL-0004w6-Fa for guix-patches@gnu.org; Thu, 14 Jan 2021 13:35:53 -0500 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:44035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l07TG-0001I2-Nq for guix-patches@gnu.org; Thu, 14 Jan 2021 13:35:51 -0500 Received: by mail-qk1-x731.google.com with SMTP id v126so9197635qkd.11 for ; Thu, 14 Jan 2021 10:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5hdyc8fB/8RFNEJqPQDYYL8mazm6ZPZIMxmhWy01RN8=; b=ceYi+ljYgqQ5fWpu5qYdkGZYN44s1b/xm4koN3nKxPnHw0NqlOdtMbr478jHPSJoMj MomK65QVyWBe8utYo/R2wubadBjYwsTUZOwWZmpizt52CwMr49HM3ZvVX2G6g77nOczW anmOAZv5iE3RDl/wsieTpfDdIvdYk4rBOj7kzsgHjDzYLRo/QTa9WS9mM5MHyn1BPmD2 pxJ3uqyhr/XjTcBc00/cG58h+l1WxWwEqhH1wtVsk0vKk205N9RrVgbwoGCCBc0h0PX3 aTyM+XeA6MbS0PQNJ3KRE7E7/7xOb46sK9Mfq2fTMyuJ1ZaDXbD6/H+9086lryaQbF+r WJsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5hdyc8fB/8RFNEJqPQDYYL8mazm6ZPZIMxmhWy01RN8=; b=qW2JRsmpizHOzGhBwLq/WxY9D7JTgrXzQuQMZOzxMkG4K41TXINlfxYdGERWPSPmdd 6vVwN4UCaaS9jJ1momHTw67Uzl3wkZ4ZoUYagHip+opMo1UE6+zRIyArlyPPs9myJzEL 5K09StDtlXUV5YURbsZuOndJcFWLdodwBPxaK4yZf7mOKXEsYNF2G8RY5oKetcpTwZjL DvDhM6cO4OPIMYhFoLEQq6mD76TTzr9R6UYxonpJoWztzRw5Sb9pB71djc9LdFxO6/jX FJwUgOusCSMsuRFkAKJTv7hBk41mcfys/gwP9CS/Rx1v4Q8nH4RBrwA9AeXBlBZhoCJG bFOA== X-Gm-Message-State: AOAM532J3PeIqRVNq0ieIBCiOaf0NSN1DFtBXnLETZx/mFZRNJTWbVHr Brf8QQKgA0eJnpFimS+Sx+Y+gvPMtmI= X-Google-Smtp-Source: ABdhPJyKPwPI53D8zUpz96BXJQdClNYdOWwPHQvjRkLLv640EKcmX+2S4aQm/q+f8MRirlUGkh8Gxg== X-Received: by 2002:ae9:e64d:: with SMTP id x13mr8478867qkl.464.1610649345478; Thu, 14 Jan 2021 10:35:45 -0800 (PST) Received: from localhost.localdomain (dsl-157-252.b2b2c.ca. [66.158.157.252]) by smtp.gmail.com with ESMTPSA id o30sm3268100qtd.24.2021.01.14.10.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 10:35:44 -0800 (PST) From: Maxim Cournoyer Date: Thu, 14 Jan 2021 13:35:16 -0500 Message-Id: <20210114183516.16554-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x731.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Our default texmf.cnf configuration file used by TeX Live (via kpathsea) to locate its resources can be modified to support multiple TeX Live trees without having to resort to unions. This has the advantage that any TeX Live inputs (including font maps) can composed and propagated, and overall simplifies things. This change requires the patch at '', used as part of the new texlive-updmap.cfg definition. Maxim Cournoyer (3): gnu: texlive-bin: Enable the use of multiple TeX Live trees. gnu: texlive-amsfonts: Adjust to build with texlive-updmap.cfg. gnu: Replace all uses of texlive-union by texlive-updmap.cfg. doc/build.scm | 2 +- gnu/packages/algebra.scm | 2 +- gnu/packages/bioinformatics.scm | 4 +- gnu/packages/chez.scm | 6 +- gnu/packages/docbook.scm | 2 +- gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/engineering.scm | 2 +- gnu/packages/guile-xyz.scm | 4 +- gnu/packages/lisp.scm | 2 +- gnu/packages/maths.scm | 4 +- gnu/packages/music.scm | 2 +- gnu/packages/plotutils.scm | 2 +- gnu/packages/python-xyz.scm | 10 +- gnu/packages/radio.scm | 4 +- gnu/packages/scheme.scm | 2 +- gnu/packages/statistics.scm | 2 +- gnu/packages/tex.scm | 262 ++++++++++++---------------- guix/build/texlive-build-system.scm | 32 +--- guix/profiles.scm | 48 ----- 19 files changed, 141 insertions(+), 253 deletions(-) -- 2.29.2 From unknown Sat Jun 14 19:30:55 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45870] [PATCH core-updates 1/3] gnu: texlive-bin: Enable the use of multiple TeX Live trees. References: <20210114183516.16554-1-maxim.cournoyer@gmail.com> In-Reply-To: <20210114183516.16554-1-maxim.cournoyer@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45870@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 45870-submit@debbugs.gnu.org id=B45870.16106497203125 (code B ref 45870); Thu, 14 Jan 2021 18:42:02 +0000 Received: (at 45870) by debbugs.gnu.org; 14 Jan 2021 18:42:00 +0000 Received: from localhost ([127.0.0.1]:39185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07ZH-0000oK-C5 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:42:00 -0500 Received: from mail-qv1-f41.google.com ([209.85.219.41]:40049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07ZE-0000o6-70 for 45870@debbugs.gnu.org; Thu, 14 Jan 2021 13:41:58 -0500 Received: by mail-qv1-f41.google.com with SMTP id p5so2776027qvs.7 for <45870@debbugs.gnu.org>; Thu, 14 Jan 2021 10:41:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sZqDM68npuP4SESS0aleVt/Fn/9rJGSSB4hQ3E9ORPU=; b=Iln/1jx3hvybPC3SoWqRRY6hVG9ncRClPSF/ZiihRZ1qCkGKB6WKj6Cx7wbg4C17z3 lT6gNLM9KOW0D5Huq+pC5vsXzhNrI8GaOPo+notb3DBRWxLZPPLikTvR3wupJ36ErDo4 sio16/YGjTHYRz3IWAejLEu5kOCkSsx32Zq/7NVvGkRxXEd3XVSWDZ5nghpUVlNyv4bf EMIFW5peOyDouejJGgwgMWqyAsQTaGsfY8YaIbpX0RpaDq/8E8umFxsMWxHG/+ak++90 WNeyt4Euo/2C9iq0cVpYj1+jhPdjykFLKLJQJoCyRYLtjR7ZG1s81YWw2DuOJ+q6m355 iLMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sZqDM68npuP4SESS0aleVt/Fn/9rJGSSB4hQ3E9ORPU=; b=MqJMoDNj1MVXhWGU5EPrZsNmb3U8epBQlXl/4sCsOkphOfhnkWMHtvwmAFO42+mojX /6eRL0oIzMEXs1ULhdH6sXuJT8BUELSsvdR9FZe+pHflRwc9xQo7u6Zm/aEX4VUFL0BE r+GZqZQ4XqM8EqMV64P9o4CzrTlVeZLFh+Iep7d1NWOhJFaonhueHzrI5Fx6YKzuiTPe XcnNtsYDrq9fT6WV2BxfOLXJN/HxGDHD98zSTEl1ttEyDdXrbcyE56XiZ6SFq/cQqZTU JW2gjXG+lzMTw3nTkaV7iJ//rl1Ja4aiuS2vhbz1uKOdFtDumDqru9LYxzOy4m9BNJYi Rm9g== X-Gm-Message-State: AOAM532oqDgULKii5fMDjRmG5T2oPHOC+A6fO5bHywEvw1YZXg4T1PXn owurBjisNGR3/CnkAQQdjq8bklo97GM= X-Google-Smtp-Source: ABdhPJz2v4Lk5dlhtY8zwvgMTEcSqnItVDxJ1zA+Ur7Oj5szfQc4m05vVvQOEcrrztqHm/iUMKbLDA== X-Received: by 2002:ad4:57ab:: with SMTP id g11mr8603065qvx.38.1610649709782; Thu, 14 Jan 2021 10:41:49 -0800 (PST) Received: from localhost.localdomain (dsl-157-252.b2b2c.ca. [66.158.157.252]) by smtp.gmail.com with ESMTPSA id 14sm3471917qkv.25.2021.01.14.10.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 10:41:48 -0800 (PST) From: Maxim Cournoyer Date: Thu, 14 Jan 2021 13:41:25 -0500 Message-Id: <20210114184127.16800-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=yes Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Attempting to compose multiple TeX Live trees (such as can happen when using a texlive-union generated package) proved problematic; only the texmf.cnf configuration file from the union would be honored, causing other TeX Live components to be ignored. This change does away with TeX Live unions, instead relying on the default texmf.cnf configuration file provided by the texlive-bin package to honor individual TeX Live trees referred to via the newly introduced GUIX_TEXMF variable, and replacing the texlive-union procedure by texlive-updmap.cfg, to explicit that generating the fonts map configuration is now its sole purpose. * gnu/packages/tex.scm (texlive-bin)[phases]{customize-texmf}: New phase. {postint}: Move the patching of the texmf.cnf file to the new above phase. Patch the updmap.pl script to find its Perl modules. [native-search-paths]: Rename the TEXMF variable to GUIX_TEXMF. Remove the TEXMFCNF variable. * guix/profiles.scm (texlive-configuration): Remove procedure. (%default-profile-hooks)[texlive-configuration]: Unregister hook. (texlive-union): Alias to what has moved to... (texlivke-updmap.cfg): ... here. Update doc. Do not provide a different texmf.cnf configuration. [inherit]: Do not inherit from texlive-base. [build-system]: Switch to the copy-build-system. [arguments]{install-plan}: New argument. [phases]{regenerate-updmap.cfg}: New phase, which keeps only the fonts map generating code from the previous builder code. [inputs]: Remove bash, and move to ... [propagated-inputs]: ... here. [native-inputs]: Remove field, and move the source of the base updmap.cfg file to... [source]: ... here. [synopsis]: Update. [description]: Likewise. [license]: Delete duplicates. --- gnu/packages/tex.scm | 215 +++++++++++++--------------- guix/build/texlive-build-system.scm | 32 +---- guix/profiles.scm | 48 ------- 3 files changed, 99 insertions(+), 196 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 67fec8b474..fb61a6c1ba 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -35,6 +35,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (guix build-system python) @@ -430,6 +431,32 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use. (substitute-commands iso-8859-1-encoded-scripts)) #t))) + (add-after 'check 'customize-texmf.cnf + ;; The default texmf.cnf is provided by this package, texlive-bin. + ;; Every variable of interest is set relatively to the GUIX_TEXMF + ;; environment variable defined via a search path specification + ;; further below. The configuration file is patched after the test + ;; suite has run, as it relies on the default configuration to find + ;; its paths (and the GUIX_TEXMF variable isn't set yet). + (lambda _ + ;; The current directory is build/ because of the out-of-tree + ;; build. + (let* ((source (first (scandir ".." (cut string-suffix? + "source" <>)))) + (texmf.cnf (string-append "../" source + "/texk/kpathsea/texmf.cnf"))) + (substitute* texmf.cnf + (("^TEXMFROOT = .*") + "TEXMFROOT = {$GUIX_TEXMF}/..\n") + (("^TEXMF = .*") + "TEXMF = {$GUIX_TEXMF}\n") + (("^%TEXMFCNF = .*") + "TEXMFCNF = {$GUIX_TEXMF}/web2c\n") + ;; Don't truncate lines. + (("^error_line = .*$") "error_line = 254\n") + (("^half_error_line = .*$") "half_error_line = 238\n") + (("^max_print_line = .*$") "max_print_line = 1000\n"))) + #t)) (add-after 'install 'postint (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) (let* ((out (assoc-ref outputs "out")) @@ -450,11 +477,7 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use. "/tlpkg")) (config.guess (string-append (assoc-ref inputs "config") "/bin/config.guess"))) - (substitute* (string-append share "/texmf-dist/web2c/texmf.cnf") - ;; Don't truncate lines. - (("^error_line = .*$") "error_line = 254\n") - (("^half_error_line = .*$") "half_error_line = 238\n") - (("^max_print_line = .*$") "max_print_line = 1000\n")) + ;; Create symbolic links for the latex variants and their ;; man pages. (with-directory-excursion (string-append out "/bin/") @@ -477,6 +500,11 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use. (("\\$TEXMFROOT/") (string-append share "/"))) + ;; Likewise for updmap.pl. + (substitute* (string-append scripts "/updmap.pl") + (("\\$TEXMFROOT/tlpkg") + (string-append share "/tlpkg"))) + ;; Likewise for the tlmgr. (substitute* (string-append scripts "/tlmgr.pl") ((".*\\$::installerdir = \\$Master.*" all) @@ -495,13 +523,8 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use. (patch-source-shebangs)))))))) (native-search-paths (list (search-path-specification - (variable "TEXMF") - (files '("share/texmf-dist")) - (separator #f)) - (search-path-specification - (variable "TEXMFCNF") - (files '("share/texmf-dist/web2c")) - (separator #f)))) + (variable "GUIX_TEXMF") + (files '("share/texmf-dist"))))) (synopsis "TeX Live, a package of the TeX typesetting system") (description "TeX Live provides a comprehensive TeX document production system. @@ -3004,7 +3027,7 @@ tables.") ;; The following fonts are propagated as a texlive-union as the font ;; maps need to be recreated for the fonts to be usable. They are ;; required by xmltex through mlnames.sty and unicode.sty. - `(("texlive" ,(texlive-union + `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-babel @@ -3756,127 +3779,81 @@ It includes little more than the required set of LaTeX packages.") '() default-packages))))) -;; For use in package definitions only -(define-public texlive-union +;;; TODO: Add a TeX Live profile hook computing fonts maps (and others?) +;;; configuration from the packages in the profile, similar to what's done +;;; below. +(define-public texlive-updmap.cfg (lambda* (#:optional (packages '())) - "Return 'texlive-union' package which is a union of PACKAGES and the -standard LaTeX packages." + "Return a 'texlive-updmap.cfg' package which contains the fonts map +configuration of a base set of packages plus PACKAGES." (let ((default-packages (match (package-propagated-inputs texlive-base) (((labels packages) ...) packages)))) - (package (inherit texlive-base) - (name "texlive-union") - (build-system trivial-build-system) + (package + (version (number->string %texlive-revision)) + (source (origin + (method url-fetch) + (uri (string-append "https://tug.org/svn/texlive/tags/" + %texlive-tag + "/Master/texmf-dist/web2c/updmap.cfg" + "?revision=" version)) + (file-name "updmap.cfg") + (sha256 + (base32 + "0faqknqxs80qp9ywk0by5k85s0yalg97c4lja4q56lsyblrr4j7i")))) + (name "texlive-updmap.cfg") + (build-system copy-build-system) (arguments - '(#:modules ((guix build union) + '(#:modules ((guix build copy-build-system) (guix build utils) - (guix build texlive-build-system) - (guix build gnu-build-system) - (guix build gremlin) - (guix elf)) - #:builder - (begin - (use-modules (ice-9 match) - (ice-9 popen) - (srfi srfi-26) - (guix build union) - (guix build utils) - (guix build texlive-build-system)) - (let* ((out (assoc-ref %outputs "out")) - (texmf.cnf (string-append out "/share/texmf-dist/web2c/texmf.cnf"))) - ;; Build a modifiable union of all inputs (but exclude bash and - ;; the updmap.cfg file) - (match (filter (match-lambda - ((name . _) - (not (member name '("bash" - "coreutils" - "sed" - "updmap.cfg"))))) - %build-inputs) - (((names . directories) ...) - (union-build (assoc-ref %outputs "out") - directories - #:create-all-directories? #t - #:log-port (%make-void-port "w")))) - - ;; The configuration file "texmf.cnf" is provided by the - ;; "texlive-bin" package. We take it and override only the - ;; setting for TEXMFROOT and TEXMF. This file won't be consulted - ;; by default, though, so we still need to set TEXMFCNF. - (substitute* texmf.cnf - (("^TEXMFROOT = .*") - (string-append "TEXMFROOT = " out "/share\n")) - (("^TEXMF = .*") - "TEXMF = $TEXMFROOT/share/texmf-dist\n")) - (setenv "PATH" (string-append - (assoc-ref %build-inputs "bash") "/bin:" - (assoc-ref %build-inputs "coreutils") "/bin:" - (assoc-ref %build-inputs "sed") "/bin:" - (string-append out "/bin"))) - (for-each - (cut wrap-program <> - `("TEXMFCNF" ":" suffix (,(dirname texmf.cnf))) - `("TEXMF" ":" suffix (,(string-append out "/share/texmf-dist")))) - (find-files (string-append out "/bin") ".*")) - - ;; Remove invalid maps from config file. - (let ((web2c (string-append out "/share/texmf-config/web2c/")) - (maproot (string-append out "/share/texmf-dist/fonts/map/"))) - (mkdir-p web2c) - (copy-file - (assoc-ref %build-inputs "updmap.cfg") - (string-append web2c "updmap.cfg")) - (make-file-writable (string-append web2c "updmap.cfg")) + (ice-9 popen) + (ice-9 textual-ports)) + #:install-plan '(("updmap.cfg" "share/texmf-config/web2c/") + ("map" "share/texmf-dist/fonts/map")) + #:phases + (modify-phases %standard-phases + (add-before 'install 'regenerate-updmap.cfg + (lambda _ + (make-file-writable "updmap.cfg") + ;; Disable unavailable map files. (let* ((port (open-pipe* OPEN_WRITE "updmap-sys" "--syncwithtrees" "--nohash" - (string-append "--cnffile=" web2c "updmap.cfg")))) + "--cnffile" "updmap.cfg"))) (display "Y\n" port) (when (not (zero? (status:exit-val (close-pipe port)))) (error "failed to filter updmap.cfg"))) + + ;; Set TEXMFSYSVAR to a sane and writable value; updmap fails + ;; if it cannot create its log file there. + (setenv "TEXMFSYSVAR" (getcwd)) + ;; Generate maps. (invoke "updmap-sys" - (string-append "--cnffile=" web2c "updmap.cfg") - (string-append "--dvipdfmxoutputdir=" - maproot "dvipdfmx/updmap/") - (string-append "--dvipsoutputdir=" - maproot "dvips/updmap/") - (string-append "--pdftexoutputdir=" - maproot "pdftex/updmap/")) - ;; Having this file breaks all file lookups later. - (delete-file (string-append out "/share/texmf-dist/ls-R"))) - #t)))) - (inputs - `(("bash" ,bash-minimal) - ,@(map (lambda (package) - (list (package-name package) package)) - (append default-packages packages)))) - (native-inputs - `(("coreutils" ,coreutils) - ("sed" ,sed) - ("updmap.cfg" - ,(origin - (method url-fetch) - (uri (string-append "https://tug.org/svn/texlive/tags/" - %texlive-tag "/Master/texmf-dist/web2c/updmap.cfg" - "?revision=" (number->string %texlive-revision))) - (file-name (string-append "updmap.cfg-" - (number->string %texlive-revision))) - (sha256 - (base32 - "0faqknqxs80qp9ywk0by5k85s0yalg97c4lja4q56lsyblrr4j7i")))))) + "--cnffile" "updmap.cfg" + "--dvipdfmxoutputdir" "map/dvipdfmx/updmap/" + "--dvipsoutputdir" "map/dvips/updmap/" + "--pdftexoutputdir" "map/pdftex/updmap/")))))) + (propagated-inputs (map (lambda (package) + (list (package-name package) package)) + (append default-packages packages))) (home-page (package-home-page texlive-bin)) - (synopsis "Union of TeX Live packages") - (description "This package provides a subset of the TeX Live -distribution.") - (license (fold (lambda (package result) - (match (package-license package) - ((lst ...) - (append lst result)) - ((? license:license? license) - (cons license result)))) - '() - (append default-packages packages))))))) + (synopsis "TeX Live fonts map configuration") + (description "This package contains the fonts map configuration file +generated for the base TeX Live packages as well as, optionally, user-provided +ones.") + (license (delete-duplicates + (fold (lambda (package result) + (match (package-license package) + ((lst ...) + (append lst result)) + ((? license:license? license) + (cons license result)))) + '() + (append default-packages packages)))))))) + +;;; Deprecated. +(define texlive-union texlive-updmap.cfg) ;; For use in package definitions only (define-public texlive-tiny diff --git a/guix/build/texlive-build-system.scm b/guix/build/texlive-build-system.scm index a4c81f07cd..4c255700bb 100644 --- a/guix/build/texlive-build-system.scm +++ b/guix/build/texlive-build-system.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2021 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,35 +41,8 @@ (string-append "&" format) file)) -(define* (configure #:key inputs #:allow-other-keys) - (let* ((out (string-append (getcwd) "/.texlive-union")) - (texmf.cnf (string-append out "/share/texmf-dist/web2c/texmf.cnf"))) - ;; Build a modifiable union of all inputs (but exclude bash) - (match inputs - (((names . directories) ...) - (union-build out (filter directory-exists? directories) - #:create-all-directories? #t - #:log-port (%make-void-port "w")))) - - ;; The configuration file "texmf.cnf" is provided by the - ;; "texlive-bin" package. We take it and override only the - ;; setting for TEXMFROOT and TEXMF. This file won't be consulted - ;; by default, though, so we still need to set TEXMFCNF. - (substitute* texmf.cnf - (("^TEXMFROOT = .*") - (string-append "TEXMFROOT = " out "/share\n")) - (("^TEXMF = .*") - "TEXMF = $TEXMFROOT/share/texmf-dist\n")) - (setenv "TEXMFCNF" (dirname texmf.cnf)) - (setenv "TEXMF" (string-append out "/share/texmf-dist")) - - ;; Don't truncate lines. - (setenv "error_line" "254") ; must be less than 255 - (setenv "half_error_line" "238") ; must be less than error_line - 15 - (setenv "max_print_line" "1000")) - (mkdir "build")) - (define* (build #:key inputs build-targets tex-format #:allow-other-keys) + (mkdir "build") (for-each (cut compile-with-latex tex-format <>) (if build-targets build-targets (scandir "." (cut string-suffix? ".ins" <>))))) @@ -85,7 +59,7 @@ (define %standard-phases (modify-phases gnu:%standard-phases (delete 'bootstrap) - (replace 'configure configure) + (delete 'configure) (replace 'build build) (delete 'check) (replace 'install install))) diff --git a/guix/profiles.scm b/guix/profiles.scm index 59a313ea08..deefce2e26 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -1526,53 +1526,6 @@ the entries in MANIFEST." `((type . profile-hook) (hook . manual-database)))) -(define (texlive-configuration manifest) - "Return a derivation that builds a TeXlive configuration for the entries in -MANIFEST." - (define entry->texlive-input - (match-lambda - (($ name version output thing deps) - (if (string-prefix? "texlive-" name) - (cons (gexp-input thing output) - (append-map entry->texlive-input deps)) - '())))) - (define build - (with-imported-modules '((guix build utils) - (guix build union)) - #~(begin - (use-modules (guix build utils) - (guix build union)) - - ;; Build a modifiable union of all texlive inputs. We do this so - ;; that TeX live can resolve the parent and grandparent directories - ;; correctly. There might be a more elegant way to accomplish this. - (union-build #$output - '#$(append-map entry->texlive-input - (manifest-entries manifest)) - #:create-all-directories? #t - #:log-port (%make-void-port "w")) - (let ((texmf.cnf (string-append - #$output - "/share/texmf-dist/web2c/texmf.cnf"))) - (when (file-exists? texmf.cnf) - (substitute* texmf.cnf - (("^TEXMFROOT = .*") - (string-append "TEXMFROOT = " #$output "/share\n")) - (("^TEXMF = .*") - "TEXMF = $TEXMFROOT/share/texmf-dist\n")))) - #t))) - - (with-monad %store-monad - (if (any (cut string-prefix? "texlive-" <>) - (map manifest-entry-name (manifest-entries manifest))) - (gexp->derivation "texlive-configuration" build - #:substitutable? #f - #:local-build? #t - #:properties - `((type . profile-hook) - (hook . texlive-configuration))) - (return #f)))) - (define %default-profile-hooks ;; This is the list of derivation-returning procedures that are called by ;; default when making a non-empty profile. @@ -1584,7 +1537,6 @@ MANIFEST." glib-schemas gtk-icon-themes gtk-im-modules - texlive-configuration xdg-desktop-database xdg-mime-database)) -- 2.29.2 From unknown Sat Jun 14 19:30:55 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45870] [PATCH core-updates 2/3] gnu: texlive-amsfonts: Adjust to build with texlive-updmap.cfg. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45870@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 45870-submit@debbugs.gnu.org id=B45870.16106497353192 (code B ref 45870); Thu, 14 Jan 2021 18:43:02 +0000 Received: (at 45870) by debbugs.gnu.org; 14 Jan 2021 18:42:15 +0000 Received: from localhost ([127.0.0.1]:39191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07ZX-0000pQ-Bg for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:42:15 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:37535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07ZU-0000pC-M2 for 45870@debbugs.gnu.org; Thu, 14 Jan 2021 13:42:13 -0500 Received: by mail-qt1-f178.google.com with SMTP id v3so1981552qtw.4 for <45870@debbugs.gnu.org>; Thu, 14 Jan 2021 10:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aOjv+66IYDdicBT8kUdoux92UE5lJE7odINfEdgo/RE=; b=lhgyWma28VnVN3HTSj+/yrYJXLH9vrwpPsT9J9sbIYDsq1mufgvEkfLddN2ntRY0St phO3d256nGSDpQJWQgpgQGmpN98x3k/S9Erh0v8b27D7kNvjjTm1ayB7xD3vqTbmh+bl XhA9rokf9XAE/Ux2FPu1XO9T3otXfpA3XNkuXpIxkKeH1Nq9BNJXRBEcUh5HVAXfRgAn TYqTdBppXDTlM8/josUaJN+7f8nwQinjE+br28+HA8OqfCohtyOa+MSApK2n8p+Dok5Z 5Xv7iBTLyVHXL8ue0sMLEUWSiK01us3lnOQPI6wcp0TS/G36jqu+Cx5ulAKiD5RQHcbr MVZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aOjv+66IYDdicBT8kUdoux92UE5lJE7odINfEdgo/RE=; b=qYRTnqBDlNIYrmi9lzzwFlC2uczJJ11VjusLqUAor0JpprFwCeZJbq0/05btIh2I7B j47q3GMxtNfWhjuS101PNOp+rovtKE2k8xe2WOCXAaGvbKtw7lFw2B1ztvMZ+dFkdBuX AlpmpLlPi9TH6Nyz2EQqIVyBrrXLhFBZPW+1B3WYkhgJ1heswzxXGE26TroSCU59BaR3 MwSy/JYY8/rehxZe0/Lh4fxW3/T0hEHPr63DqP4a7vHB47XRzM8AOWMYhh/UjrkwRIy7 p/ygIae/M407asAB6cZn8LGaOER7mUdCZjSch9xklwZGNVbM6qbcHXOj9Z7lvFPeCv1d g5Lg== X-Gm-Message-State: AOAM531I5gHNe62g69wqiF92/edQTX/oIJNlQLw84viMxKcLiUQgi31m NR28O/FOsWJ7/GhxpiPhqYPJmvw+PFo= X-Google-Smtp-Source: ABdhPJxcC2AxvTCS1h7hwzXy6+uW6740pyeIkOkQzHyXRw1PLlEv1KOaAShA3E3zxwqTO9LebNGKvA== X-Received: by 2002:aed:2ec6:: with SMTP id k64mr8083565qtd.171.1610649726879; Thu, 14 Jan 2021 10:42:06 -0800 (PST) Received: from localhost.localdomain (dsl-157-252.b2b2c.ca. [66.158.157.252]) by smtp.gmail.com with ESMTPSA id 14sm3471917qkv.25.2021.01.14.10.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 10:42:05 -0800 (PST) From: Maxim Cournoyer Date: Thu, 14 Jan 2021 13:41:26 -0500 Message-Id: <20210114184127.16800-2-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210114184127.16800-1-maxim.cournoyer@gmail.com> References: <20210114184127.16800-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/tex.scm (texlive-amsfonts)[phases] {build-fonts}: Do not set SOURCE_DATE_EPOCH, already done by the build system. Let resources be auto-discovered by TeX Live machinery by simply setting GUIX_TEXMF. Remove references to the texlive-union input. Remove trailing #t. {install-generated-fonts}: Remove trailing #t. [native-inputs]: Replace texlive-union by texlive-updmap.cfg. Remove the texlive-cm and texlive-metafont arguments of texlive-updmap.cfg. --- gnu/packages/tex.scm | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index fb61a6c1ba..3d7aed30c7 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1245,22 +1245,11 @@ Taco Hoekwater.") `(modify-phases ,phases (add-before 'build 'build-fonts (lambda* (#:key inputs #:allow-other-keys) - (let ((mf (assoc-ref inputs "texlive-union")) - (src (string-append (getcwd) "/fonts/source/public/amsfonts/"))) - ;; Make METAFONT reproducible - (setenv "SOURCE_DATE_EPOCH" "1") - ;; Tell mf where to find mf.base - (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c")) - ;; Tell mf where to look for source files - (setenv "MFINPUTS" - (string-append src ":" - src "/cmextra:" - src "/cyrillic:" - src "/dummy:" - src "/symbols:" - mf "/share/texmf-dist/metafont/base:" - (assoc-ref inputs "texlive-cm") - "/share/texmf-dist/fonts/source/public/cm"))) + ;; Allow self fonts sources and other resources to be + ;; discovered. + (setenv "GUIX_TEXMF" (string-append (getenv "GUIX_TEXMF") + ":" (getcwd))) + (let ((build (string-append (getcwd) "/build-fonts"))) (mkdir-p build) (with-directory-excursion "fonts/source/public/amsfonts" @@ -1295,10 +1284,9 @@ Taco Hoekwater.") ;; eufm10.afm to eufm8.pl, and then generate the tfm file from ;; the pl file. (setenv "TEXINPUTS" - (string-append build "//:" + (string-append ":" build "//:" (getcwd) "/fonts/afm/public/amsfonts//:" - (getcwd) "/source/latex/amsfonts//:" - (assoc-ref inputs "texlive-union") "//")) + (getcwd) "/source/latex/amsfonts//:")) (with-directory-excursion build (for-each (match-lambda (((target-base target-size) @@ -1333,19 +1321,16 @@ Taco Hoekwater.") (("eurm6" 6) ("eurm7" 7)) (("eurm8" 8) ("eurm10" 10)) - (("eurm9" 9) ("eurm10" 10)))))) - #t)) + (("eurm9" 9) ("eurm10" 10)))))))) (add-after 'install 'install-generated-fonts (lambda* (#:key inputs outputs #:allow-other-keys) (copy-recursively "build-fonts" (string-append (assoc-ref outputs "out") - "/share/texmf-dist/fonts/tfm/public/amsfonts")) - #t)))))) + "/share/texmf-dist/fonts/tfm/public/amsfonts")))))))) (native-inputs - `(("texlive-union" ,(texlive-union (list texlive-tex-fontinst-base - texlive-cm - texlive-metafont))))) + `(("texlive-updmap.cfg" ,(texlive-updmap.cfg + (list texlive-fontinst))))) (home-page "https://www.ctan.org/pkg/amsfonts") (synopsis "TeX fonts from the American Mathematical Society") (description -- 2.29.2 From unknown Sat Jun 14 19:30:55 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45870] [PATCH core-updates 3/3] gnu: Replace all uses of texlive-union by texlive-updmap.cfg. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45870@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 45870-submit@debbugs.gnu.org id=B45870.16106497393209 (code B ref 45870); Thu, 14 Jan 2021 18:43:02 +0000 Received: (at 45870) by debbugs.gnu.org; 14 Jan 2021 18:42:19 +0000 Received: from localhost ([127.0.0.1]:39194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07Za-0000pg-N5 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:42:19 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:42542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07ZY-0000pG-Ig for 45870@debbugs.gnu.org; Thu, 14 Jan 2021 13:42:17 -0500 Received: by mail-qt1-f181.google.com with SMTP id e15so4257047qte.9 for <45870@debbugs.gnu.org>; Thu, 14 Jan 2021 10:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f5p49mKX5VpY+j9xNen/lY4Vu94C4s1yIRTQyV/HE1o=; b=g5vs6EcnD2jnQWDZBA5+MsR9HUxM2Mf6qXASAI9ygkSN0nM2XOLE+8F9w3BJFEObJR 76CccdrgX+kKX9pkAJTI6X3ly2Ee18pOFHCX96BQG6tPQM7OX58Wt/Bck71K2ab1aoNu JhCvAzWCsOnTmE7aSd+0cKWixZ1X8WDHHxUNenJ3GfJ9vzlVkmFZZpeTB2KxqK6IJME1 8PVAN9qpygGEBwsbg5pUEeUHUztSzGUo2Ye/w3Zuz0M60bqOfCpRxYTVLrYbgJ4xsLWi pNi9jDH7DYDGVn/srkvu6puLg7jFIhud4G875rFQzqfpvVsYF594wdR7DTFhptH2TFuB 6/cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f5p49mKX5VpY+j9xNen/lY4Vu94C4s1yIRTQyV/HE1o=; b=Fw8c0/5TCbNxYvyBPgCVZ9BZhmzmeW/7gUxinVIvDpmUYQSBPJQiN0mSPOWTBjvwiX 6aXnpkwuRHu/gxOsRqd3NH1P9e7HZyYUWRin0eCYowrepuZxEldSNSVQvtEBC4zs6Rm8 bs9ujlaOJdep2Yrd/wcC5lc9bnSU0cUmEiN1m697eeT7WuUAQjdMZ5JPlCee5qNbELbK WDEfDxEmMlmI9DbWhIo2PIesNjjl4ik+faWQOfPw4ehByliYSG64VudP77qX2ZsBW/3z vh9iN+mynVRp8jAAictnSGZASbXMFzdYHdcN+vY+2waeGMkBz4Awd05fL/A2KSc+waJG kpEQ== X-Gm-Message-State: AOAM533Nv02EnnyDzHRxk66eOWF1wwGDdmIk2IQ+YngFSDTJO/0NWAJt 0O7a5FbpYRpq7DXqktxQhcE89MQW7Xc= X-Google-Smtp-Source: ABdhPJyRkRC38XGPKG0a7y0rxFGcbeYEPL7yP5HVAoGSnOIKlYPSUVChcGzt92oYR3kZuoJ7obZMqw== X-Received: by 2002:ac8:51d8:: with SMTP id d24mr8343696qtn.73.1610649730554; Thu, 14 Jan 2021 10:42:10 -0800 (PST) Received: from localhost.localdomain (dsl-157-252.b2b2c.ca. [66.158.157.252]) by smtp.gmail.com with ESMTPSA id 14sm3471917qkv.25.2021.01.14.10.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 10:42:09 -0800 (PST) From: Maxim Cournoyer Date: Thu, 14 Jan 2021 13:41:27 -0500 Message-Id: <20210114184127.16800-3-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210114184127.16800-1-maxim.cournoyer@gmail.com> References: <20210114184127.16800-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * doc/build.scm (pdf-manual) Replace texlive-union by texlive-updmap.cfg. * gnu/packages/algebra.scm (pari-gp): Likewise. * gnu/packages/bioinformatics.scm (discrover, velvet): Likewise. * gnu/packages/chez.scm (chez-scheme, chez-web, chez-sockets): Likewise. * gnu/packages/docbook.scm (dblatex): Likewise. * gnu/packages/emacs-xyz.scm (emacs-auctex): Likewise. * gnu/packages/engineering.scm (fastcap): Likewise. * gnu/packages/guile-xyz.scm (emacsy, guile-cv): Likewise. * gnu/packages/lisp.scm (sbcl): Likewise. * gnu/packages/maths.scm (octave, hypre): Likewise. * gnu/packages/music.scm (lilypond): Likewise. * gnu/packages/plotutils.scm (asymptote): Likewise. * gnu/packages/python-xyz.scm (python-numpy-documentation) (python-matplotlib-documentation, python-ipython-documentation) (python-pypandoc): Likewise. * gnu/packages/radio.scm (gnuradio, libosmo-dsp): Likewise. * gnu/packages/scheme.scm (mit-scheme): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. * gnu/packages/tex.scm (simple-texlive-package) (texlive-xmltex, texlive-tiny, texlive-jadetex, teximpatient, lyx): Likewise. --- doc/build.scm | 2 +- gnu/packages/algebra.scm | 2 +- gnu/packages/bioinformatics.scm | 4 ++-- gnu/packages/chez.scm | 6 +++--- gnu/packages/docbook.scm | 2 +- gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/engineering.scm | 2 +- gnu/packages/guile-xyz.scm | 4 ++-- gnu/packages/lisp.scm | 2 +- gnu/packages/maths.scm | 4 ++-- gnu/packages/music.scm | 2 +- gnu/packages/plotutils.scm | 2 +- gnu/packages/python-xyz.scm | 10 +++++----- gnu/packages/radio.scm | 4 ++-- gnu/packages/scheme.scm | 2 +- gnu/packages/statistics.scm | 2 +- gnu/packages/tex.scm | 10 +++++----- 17 files changed, 31 insertions(+), 31 deletions(-) diff --git a/doc/build.scm b/doc/build.scm index d77fc0a700..abdcf43d96 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -736,7 +736,7 @@ makeinfo OPTIONS." ;; accented letters. ;; ;; (define texlive - ;; (texlive-union (list texlive-tex-texinfo + ;; (texlive-updmap.cfg (list texlive-tex-texinfo ;; texlive-generic-epsf ;; texlive-fonts-ec))) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 0350536061..b425c3b299 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -245,7 +245,7 @@ the real span of the lattice.") "14xs90wrw8mbdx08hxlbhiahp6kgjq6yh27zjw7fvhfjx5nr84f8")))) (build-system gnu-build-system) (native-inputs - `(("texlive" ,(texlive-union + `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts))))) (inputs `(("gmp" ,gmp) ("libx11" ,libx11) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c3b1ec6678..058949618e 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2904,7 +2904,7 @@ data and settings.") ("cairo" ,cairo) ("rmath-standalone" ,rmath-standalone))) (native-inputs - `(("texlive" ,(texlive-union (list texlive-cm + `(("texlive" ,(texlive-updmap.cfg (list texlive-cm texlive-amsfonts texlive-latex-doi @@ -14186,7 +14186,7 @@ to an artifact/contaminant file.") `(("openmpi" ,openmpi) ("zlib" ,zlib))) (native-inputs - `(("texlive" ,(texlive-union (list texlive-latex-graphics + `(("texlive" ,(texlive-updmap.cfg (list texlive-latex-graphics texlive-latex-hyperref))))) (home-page "https://www.ebi.ac.uk/~zerbino/velvet/") (synopsis "Nucleic acid sequence assembler for very short reads") diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index 85a3bb1d1a..11cd04c161 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -88,7 +88,7 @@ ("zlib:static" ,zlib "static") ("stex" ,stex))) (native-inputs - `(("texlive" ,(texlive-union (list texlive-latex-oberdiek + `(("texlive" ,(texlive-updmap.cfg (list texlive-latex-oberdiek texlive-generic-epsf))) ("ghostscript" ,ghostscript) ("netpbm" ,netpbm))) @@ -273,7 +273,7 @@ and 32-bit PowerPC architectures.") (native-inputs `(("chez-scheme" ,chez-scheme) ("ghostscript" ,ghostscript) - ("texlive" ,(texlive-union (list texlive-latex-oberdiek + ("texlive" ,(texlive-updmap.cfg (list texlive-latex-oberdiek texlive-generic-epsf texlive-metapost texlive-fonts-charter @@ -332,7 +332,7 @@ programming in Scheme.") (native-inputs `(("chez-scheme" ,chez-scheme) ("chez-web" ,chez-web) - ("texlive" ,(texlive-union (list texlive-pdftex))))) + ("texlive" ,(texlive-updmap.cfg (list texlive-pdftex))))) (arguments `(#:tests? #f ; no tests #:phases diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index 21a4f7b45f..f797c97cf3 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -397,7 +397,7 @@ the in DocBook SGML DTDs.") (build-system python-build-system) ;; TODO: Add xfig/transfig for fig2dev utility (inputs - `(("texlive" ,(texlive-union (list texlive-amsfonts + `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-latex-anysize texlive-latex-appendix texlive-latex-changebar diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 81ae90ea31..d29eed0687 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2118,7 +2118,7 @@ as a library for other Emacs packages.") `(("perl" ,perl))) (inputs `(("ghostscript" ,ghostscript) - ("texlive" ,(texlive-union (list texlive-amsfonts))))) + ("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts))))) (home-page "https://www.gnu.org/software/auctex/") (synopsis "Integrated environment for TeX") (description diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3b8bcd9194..7928b4d06f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -514,7 +514,7 @@ featuring various improvements and bug fixes."))) ;; FIXME: with texlive-tiny citation references are rendered as question ;; marks. During the build warnings like these are printed: ;; LaTeX Warning: Citation `nabors91' on page 2 undefined on input line 3. - `(("texlive" ,(texlive-union (list texlive-fonts-amsfonts))) + `(("texlive" ,(texlive-updmap.cfg (list texlive-fonts-amsfonts))) ("ghostscript" ,ghostscript))) (arguments `(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all") diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index c5eaa8a2ca..2dd8752fc8 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3144,7 +3144,7 @@ API.") ("perl" ,perl) ("pkg-config" ,pkg-config) ("texinfo" ,texinfo) - ("texlive" ,(texlive-union (list texlive-generic-epsf))))) + ("texlive" ,(texlive-updmap.cfg (list texlive-generic-epsf))))) (inputs `(("dbus-glib" ,dbus-glib) ("guile" ,guile-3.0) @@ -3421,7 +3421,7 @@ feature-set, fully programmable in Guile Scheme.") ("vigra-c" ,vigra-c) ("guile" ,guile-2.2))) (native-inputs - `(("texlive" ,(texlive-union (list texlive-booktabs + `(("texlive" ,(texlive-updmap.cfg (list texlive-booktabs texlive-lm texlive-siunitx texlive-standalone diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index e89d777d2c..7d65bfc887 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -434,7 +434,7 @@ an interpreter, a compiler, a debugger, and much more.") ("ed" ,ed) ("inetutils" ,inetutils) ;for hostname(1) ("texinfo" ,texinfo) - ("texlive" ,(texlive-union (list texlive-tex-texinfo))) + ("texlive" ,(texlive-updmap.cfg (list texlive-tex-texinfo))) ("which" ,which) ("zlib" ,zlib))) (arguments diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4019c7efaf..d46cca8f3a 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2010,7 +2010,7 @@ script files.") ,@(package-inputs octave-cli))) (native-inputs `(("qttools" , qttools) ;for lrelease - ("texlive" ,(texlive-union (list texlive-epsf))) ; for texi2dvi + ("texlive" ,(texlive-updmap.cfg (list texlive-epsf))) ; for texi2dvi ,@(package-native-inputs octave-cli))) (arguments (substitute-keyword-arguments (package-arguments octave-cli) @@ -4464,7 +4464,7 @@ set.") `(("doc++" ,doc++) ("netpbm" ,netpbm) ("perl" ,perl) ; needed to run 'ppmquant' during tests - ("texlive" ,(texlive-union (list texlive-xypic + ("texlive" ,(texlive-updmap.cfg (list texlive-xypic texlive-cm texlive-latex-hyperref texlive-bibtex))) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index b3c25a7943..cf4e068fad 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1342,7 +1342,7 @@ and auto-mapping slices to MIDI note numbers.") ("gettext" ,gettext-minimal) ("imagemagick" ,imagemagick) ("netpbm" ,netpbm) ;for pngtopnm - ("texlive" ,(texlive-union (list texlive-metapost + ("texlive" ,(texlive-updmap.cfg (list texlive-metapost texlive-generic-epsf texlive-lh texlive-latex-cyrillic))) diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index f23b56728a..8928bbddd5 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -226,7 +226,7 @@ colors, styles, options and details.") ("perl" ,perl) ("texinfo" ,texinfo) ;For generating documentation ;; For the manual and the tests. - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-epsf texlive-etoolbox texlive-latex-base diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 75051eca74..89ca39dcd4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4733,7 +4733,7 @@ color scales, and color space conversion easy. It has support for: ("pkg-config" ,pkg-config) ("python-sphinx" ,python-sphinx) ("python-numpydoc" ,python-numpydoc) - ("texlive" ,(texlive-union (list texlive-fonts-cm-super + ("texlive" ,(texlive-updmap.cfg (list texlive-fonts-cm-super texlive-fonts-ec texlive-generic-ifxetex texlive-generic-pdftex @@ -4799,7 +4799,7 @@ color scales, and color space conversion easy. It has support for: (sphinx-theme-checkout (assoc-ref inputs scipy-sphinx-theme)) (pyver ,(string-append "PYVER="))) - ;; FIXME: this is needed to for texlive-union to generate + ;; FIXME: this is needed to for texlive-updmap.cfg to generate ;; fonts, which are not found. (setenv "HOME" "/tmp") @@ -5265,7 +5265,7 @@ toolkits.") ("python-ipykernel" ,python-ipykernel) ("python-mock" ,python-mock) ("graphviz" ,graphviz) - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-latex-amsmath texlive-latex-enumitem texlive-latex-expdlist @@ -7378,7 +7378,7 @@ computing.") `(("python-sphinx" ,python-sphinx) ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme) ;; FIXME: It's possible that a smaller union would work just as well. - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-fonts-ec texlive-generic-ifxetex texlive-pdftex @@ -22905,7 +22905,7 @@ By default it uses the open Python vulnerability database Safety DB.") (propagated-inputs `(("wheel" ,python-wheel))) (native-inputs - `(("texlive" ,(texlive-union (list texlive-amsfonts + `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-fonts-ec texlive-latex-hyperref texlive-latex-oberdiek diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 0a4b623360..f7d348a242 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -303,7 +303,7 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).") ("python-scipy" ,python-scipy) ("python-sphinx" ,python-sphinx) ("swig" ,swig) - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-latex-amsmath ;; TODO: Add newunicodechar. texlive-latex-graphics))) @@ -471,7 +471,7 @@ to access different radio hardware.") ("doxygen" ,doxygen) ("libtool" ,libtool) ("pkg-config" ,pkg-config) - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-latex-amsmath ;; TODO: Add newunicodechar. texlive-latex-graphics))))) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index a5a1793d3a..e16f4dc1b9 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -170,7 +170,7 @@ ("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) - ("texlive" ,(texlive-union (list texlive-tex-texinfo))) + ("texlive" ,(texlive-updmap.cfg (list texlive-tex-texinfo))) ("texinfo" ,texinfo) ("m4" ,m4))) (inputs diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c45544f52e..541753bb4a 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -337,7 +337,7 @@ as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\ ("perl" ,perl) ("pkg-config" ,pkg-config) ("texinfo" ,texinfo) ; for building HTML manuals - ("texlive" ,(texlive-union (list texlive-ae + ("texlive" ,(texlive-updmap.cfg (list texlive-ae texlive-inconsolata texlive-fonts-ec texlive-amsfonts diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3d7aed30c7..fa5a0c6404 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3009,7 +3009,7 @@ tables.") (symlink pdftex (string-append out "/bin/pdfxmltex")) #t))))))) (propagated-inputs - ;; The following fonts are propagated as a texlive-union as the font + ;; The following fonts are propagated as a texlive-updmap.cfg as the font ;; maps need to be recreated for the fonts to be usable. They are ;; required by xmltex through mlnames.sty and unicode.sty. `(("texlive" ,(texlive-updmap.cfg @@ -3843,7 +3843,7 @@ ones.") ;; For use in package definitions only (define-public texlive-tiny (package - (inherit (texlive-union)) + (inherit (texlive-updmap.cfg)) (name "texlive-tiny") (description "This is a very limited subset of the TeX Live distribution. It includes little more than the required set of LaTeX packages."))) @@ -5803,7 +5803,7 @@ Simple Young tableaux. (symlink pdftex (string-append out "/bin/pdfjadetex")) #t))))))) (propagated-inputs - ;; Propagate the texlive-union input used by xmltex, which provides the + ;; Propagate the texlive-updmap.cfg input used by xmltex, which provides the ;; required fonts for its use. `(("texlive-xmltex" ,texlive-xmltex) ("texlive-kpathsea" ,texlive-kpathsea))) ;for fmtutil.cnf template @@ -6685,7 +6685,7 @@ develop documents with LaTeX, in a single application.") (delete-file "book.pdf") #t))))) (native-inputs - `(("texlive" ,(texlive-union (list texlive-amsfonts + `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts texlive-fonts-adobe-palatino texlive-fonts-adobe-zapfding texlive-knuth-lib @@ -6755,7 +6755,7 @@ and Karl Berry.") ("qtsvg" ,qtsvg) ("zlib" ,zlib))) (propagated-inputs - `(("texlive" ,(texlive-union (list texlive-fonts-ec))))) + `(("texlive" ,(texlive-updmap.cfg (list texlive-fonts-ec))))) (native-inputs `(("python" ,python) ("pkg-config" ,pkg-config))) -- 2.29.2 From unknown Sat Jun 14 19:30:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#45870: closed (Re: bug#45870: [PATCH core-updates 0/3] Allow composing multiple TeX Live trees) Message-ID: References: <87zh0rwkvi.fsf@gmail.com> <20210114183516.16554-1-maxim.cournoyer@gmail.com> X-Gnu-PR-Message: they-closed 45870 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 45870@debbugs.gnu.org Date: Fri, 29 Jan 2021 20:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1611952022-2033-1" This is a multi-part message in MIME format... ------------=_1611952022-2033-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45870: [PATCH core-updates 0/3] Allow composing multiple TeX Live trees which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45870@debbugs.gnu.org. --=20 45870: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45870 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1611952022-2033-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45870-done) by debbugs.gnu.org; 29 Jan 2021 20:26:02 +0000 Received: from localhost ([127.0.0.1]:53033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5aLC-0000VL-G9 for submit@debbugs.gnu.org; Fri, 29 Jan 2021 15:26:02 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:46744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5aLA-0000Ur-Ei for 45870-done@debbugs.gnu.org; Fri, 29 Jan 2021 15:26:01 -0500 Received: by mail-qk1-f176.google.com with SMTP id a7so9994414qkb.13 for <45870-done@debbugs.gnu.org>; Fri, 29 Jan 2021 12:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=0/YbGGSf9bXufqysxwDdbsHauEN0jM7Q2Z/Bjgj5iDY=; b=DJmX4D510vZBKvqcM1ig0HRm3h7TgA99egNWdi57BsFUqH/5THejWutktoaWwB103b O4yNILpBWIJSaw6+c77O8OvSWJ+IaLwfcKyW1FBdYW+IKUkuptmPfjrTPVk5D9qP109/ 0GFGb/2LSC4+UbAki7YhuDspanTyATjQVzCuyhqhC9bQY+M6acmP5yYfV2C1IEV+pHhH AneBspF0pZe/zqwmj7ZR1wujzog3o6bHwJBwOxoMoTJHSRbNdguvAlawUZsaiSuDXy99 0TPh9ffYsx4zCZVpDX7aQaH0zBGBOAtsYQ2qCs1QZ/SG0JnlJOisSSCcOOkF+m4SuZDj dRAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0/YbGGSf9bXufqysxwDdbsHauEN0jM7Q2Z/Bjgj5iDY=; b=pxwjG4xuOR9q9G5R19u/3UR3EHcsSbnQoJzJCqyI3D3GHtI6OQXauHKYfL21CPfyQ8 pXhLncw2EgmUipp53jEvtJas2q0nue6uGGnNyQwii2Mwlx/7UGsgY+Js7pR05vVgTqaY T94/7kr2OnO/yjJ+8UYJe307Y5pZITG4Fit9E5rRTHxTwIwfWW5JuaGPGqVtRmoLCcIr EM7gxI377zjp1ZsoJGvCfQ8843oJOkm5hcH8OxTOg0JQ8djvkNldxD2LGj2Jtg5o3Pz+ 6a1TtiOUA52pcoyFqpswtm02XLhVYiuraa0CVpAcZa5uxinZzTUxjOogI2rJzFYW1iUo toPw== X-Gm-Message-State: AOAM533czfK+4wvb9IKPFuHx2u3a/aMjx66Gq6TqU+9OESkMBP6dBVcB kdOOIvvANH+mp9M+YpquGHpOf3nirxc= X-Google-Smtp-Source: ABdhPJy1smqjFsAgfhMVdvXNHKpFbVHDnlGZjQHx3I5IPHG27kp6GW8RinIgxyJWK0PXLxQK2hum8g== X-Received: by 2002:a05:620a:205b:: with SMTP id d27mr3149423qka.159.1611951954639; Fri, 29 Jan 2021 12:25:54 -0800 (PST) Received: from hurd (dsl-148-165.b2b2c.ca. [66.158.148.165]) by smtp.gmail.com with ESMTPSA id p26sm6873339qkk.6.2021.01.29.12.25.53 for <45870-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 12:25:54 -0800 (PST) From: Maxim Cournoyer To: 45870-done@debbugs.gnu.org Subject: Re: bug#45870: [PATCH core-updates 0/3] Allow composing multiple TeX Live trees References: <20210114183516.16554-1-maxim.cournoyer@gmail.com> Date: Fri, 29 Jan 2021 15:25:53 -0500 In-Reply-To: <20210114183516.16554-1-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Thu, 14 Jan 2021 13:35:16 -0500") Message-ID: <87zh0rwkvi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45870-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Maxim Cournoyer writes: > Our default texmf.cnf configuration file used by TeX Live (via kpathsea) to > locate its resources can be modified to support multiple TeX Live trees > without having to resort to unions. This has the advantage that any TeX Live > inputs (including font maps) can composed and propagated, and overall > simplifies things. Pushed to core-updates by the three commits, the last one being 82f5f6b14c. Closing. Maxim ------------=_1611952022-2033-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 18:35:57 +0000 Received: from localhost ([127.0.0.1]:39165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07TQ-0000ed-Q4 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:35:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:52028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l07TP-0000eU-8c for submit@debbugs.gnu.org; Thu, 14 Jan 2021 13:35:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l07TL-0004w6-Fa for guix-patches@gnu.org; Thu, 14 Jan 2021 13:35:53 -0500 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:44035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l07TG-0001I2-Nq for guix-patches@gnu.org; Thu, 14 Jan 2021 13:35:51 -0500 Received: by mail-qk1-x731.google.com with SMTP id v126so9197635qkd.11 for ; Thu, 14 Jan 2021 10:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5hdyc8fB/8RFNEJqPQDYYL8mazm6ZPZIMxmhWy01RN8=; b=ceYi+ljYgqQ5fWpu5qYdkGZYN44s1b/xm4koN3nKxPnHw0NqlOdtMbr478jHPSJoMj MomK65QVyWBe8utYo/R2wubadBjYwsTUZOwWZmpizt52CwMr49HM3ZvVX2G6g77nOczW anmOAZv5iE3RDl/wsieTpfDdIvdYk4rBOj7kzsgHjDzYLRo/QTa9WS9mM5MHyn1BPmD2 pxJ3uqyhr/XjTcBc00/cG58h+l1WxWwEqhH1wtVsk0vKk205N9RrVgbwoGCCBc0h0PX3 aTyM+XeA6MbS0PQNJ3KRE7E7/7xOb46sK9Mfq2fTMyuJ1ZaDXbD6/H+9086lryaQbF+r WJsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5hdyc8fB/8RFNEJqPQDYYL8mazm6ZPZIMxmhWy01RN8=; b=qW2JRsmpizHOzGhBwLq/WxY9D7JTgrXzQuQMZOzxMkG4K41TXINlfxYdGERWPSPmdd 6vVwN4UCaaS9jJ1momHTw67Uzl3wkZ4ZoUYagHip+opMo1UE6+zRIyArlyPPs9myJzEL 5K09StDtlXUV5YURbsZuOndJcFWLdodwBPxaK4yZf7mOKXEsYNF2G8RY5oKetcpTwZjL DvDhM6cO4OPIMYhFoLEQq6mD76TTzr9R6UYxonpJoWztzRw5Sb9pB71djc9LdFxO6/jX FJwUgOusCSMsuRFkAKJTv7hBk41mcfys/gwP9CS/Rx1v4Q8nH4RBrwA9AeXBlBZhoCJG bFOA== X-Gm-Message-State: AOAM532J3PeIqRVNq0ieIBCiOaf0NSN1DFtBXnLETZx/mFZRNJTWbVHr Brf8QQKgA0eJnpFimS+Sx+Y+gvPMtmI= X-Google-Smtp-Source: ABdhPJyKPwPI53D8zUpz96BXJQdClNYdOWwPHQvjRkLLv640EKcmX+2S4aQm/q+f8MRirlUGkh8Gxg== X-Received: by 2002:ae9:e64d:: with SMTP id x13mr8478867qkl.464.1610649345478; Thu, 14 Jan 2021 10:35:45 -0800 (PST) Received: from localhost.localdomain (dsl-157-252.b2b2c.ca. [66.158.157.252]) by smtp.gmail.com with ESMTPSA id o30sm3268100qtd.24.2021.01.14.10.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 10:35:44 -0800 (PST) From: Maxim Cournoyer To: guix-patches@gnu.org Subject: [PATCH core-updates 0/3] Allow composing multiple TeX Live trees Date: Thu, 14 Jan 2021 13:35:16 -0500 Message-Id: <20210114183516.16554-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x731.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Our default texmf.cnf configuration file used by TeX Live (via kpathsea) to locate its resources can be modified to support multiple TeX Live trees without having to resort to unions. This has the advantage that any TeX Live inputs (including font maps) can composed and propagated, and overall simplifies things. This change requires the patch at '', used as part of the new texlive-updmap.cfg definition. Maxim Cournoyer (3): gnu: texlive-bin: Enable the use of multiple TeX Live trees. gnu: texlive-amsfonts: Adjust to build with texlive-updmap.cfg. gnu: Replace all uses of texlive-union by texlive-updmap.cfg. doc/build.scm | 2 +- gnu/packages/algebra.scm | 2 +- gnu/packages/bioinformatics.scm | 4 +- gnu/packages/chez.scm | 6 +- gnu/packages/docbook.scm | 2 +- gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/engineering.scm | 2 +- gnu/packages/guile-xyz.scm | 4 +- gnu/packages/lisp.scm | 2 +- gnu/packages/maths.scm | 4 +- gnu/packages/music.scm | 2 +- gnu/packages/plotutils.scm | 2 +- gnu/packages/python-xyz.scm | 10 +- gnu/packages/radio.scm | 4 +- gnu/packages/scheme.scm | 2 +- gnu/packages/statistics.scm | 2 +- gnu/packages/tex.scm | 262 ++++++++++++---------------- guix/build/texlive-build-system.scm | 32 +--- guix/profiles.scm | 48 ----- 19 files changed, 141 insertions(+), 253 deletions(-) -- 2.29.2 ------------=_1611952022-2033-1--