all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Peter Neidhardt <pe.neidhardt@googlemail.com>
Cc: 27217@debbugs.gnu.org
Subject: bug#27217: texlive is too big
Date: Thu, 10 Jan 2019 10:27:59 +0100	[thread overview]
Message-ID: <87va2wdfq8.fsf@gnu.org> (raw)
In-Reply-To: <87lgc42b7i.fsf@gmail.com> (Peter Neidhardt's message of "Mon, 28 May 2018 14:53:21 +0200")

[-- Attachment #1: Type: text/plain, Size: 2106 bytes --]

Hello!

I was also looking at the remaining dependencies on ‘texlive’.  For
‘teximpatient’, it looks like we’d need
<https://ctan.org/pkg/mflogo-font> but:

--8<---------------cut here---------------start------------->8---
$ guix import texlive mflogo-font
ni sekvas la redirektigon al 'https://ctan.org/xml/1.2/pkg/mflogo-font'...
Backtrace:
          10 (primitive-load "/home/ludo/.config/guix/current/bin/guix")
In guix/ui.scm:
  1644:12  9 (run-guix-command _ . _)
In guix/scripts/import.scm:
   115:11  8 (guix-import . _)
In guix/scripts/import/texlive.scm:
    91:19  7 (guix-import-texlive . _)
In guix/memoization.scm:
     98:0  6 (_ #<hash-table 20cd220 0/31> ("mflogo-font" "latex") _)
In unknown file:
           5 (_ #<procedure 20e66e0 at guix/memoization.scm:179:32 ()> #<procedure list _> #<undefined>)
In guix/import/texlive.scm:
   146:23  4 (sxml->package (*TOP* (entry (@ (id "mflogo-font")) (name "mflogo-font") (caption "Metafont…") …)) _)
In guix/utils.scm:
    632:8  3 (call-with-temporary-directory #<procedure 2291180 at guix/svn-download.scm:92:3 (temp)>)
In guix/svn-download.scm:
    95:14  2 (_ "/tmp/guix-directory.lVf6gO")
In guix/build/svn.scm:
     38:2  1 (svn-fetch "svn://www.tug.org/texlive/tags/texlive-2017.1/Master/texmf-dist/source/latex/mflogo-fo…" …)
In guix/build/utils.scm:
    616:6  0 (invoke _ . _)

guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "svn" arguments: ("checkout" "--non-interactive" "--trust-server-cert" "-r" "44591" "svn://www.tug.org/texlive/tags/texlive-2017.1/Master/texmf-dist/source/latex/mflogo-font" "/tmp/guix-directory.lVf6gO") exit-status: 1 term-signal: #f stop-signal: #f] 2219000>)'.
ludo@ribbon ~/src/guix$ guix describe
Generacio 51	Jan 08 2019 10:45:12	(nuna)
  guix b509381
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: b50938108947d47c9e3d37608df83a11020a4d8d
--8<---------------cut here---------------end--------------->8---

WIP patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 926 bytes --]

--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4399,9 +4399,16 @@ develop documents with LaTeX, in a single application.")
                                (assoc-ref inputs "automake")
                                "^install-sh$"))
                              srcdir)
-               (chdir srcdir)))))))
+               (chdir srcdir))))
+         (add-after 'unpack 'set-home
+           (lambda _
+             ;; XXX: Currently tex wants to generate fonts in
+             ;; ~/.texlive2018/texmf-var/fonts, hence this hack.
+             (setenv "HOME" (getcwd))
+             #t)))))
     (native-inputs
-     `(("texlive" ,texlive)
+     `(("texlive" ,(texlive-union (list texlive-fonts-amsfonts
+                                        texlive-fonts-ec)))
        ("automake" ,automake)))
     (home-page "https://www.gnu.org/software/teximpatient/")
     (synopsis "Book on TeX, plain TeX and Eplain")

[-- Attachment #3: Type: text/plain, Size: 12 bytes --]


Ludo’.

  parent reply	other threads:[~2019-01-10  9:29 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-03 19:03 bug#27217: texlive is too big Ricardo Wurmus
2017-11-23 20:51 ` bug#27217: break up TeXlive for guix Matt Wette
2018-01-23 13:20 ` bug#27217: texlive is too big Mathieu Lirzin
2018-05-28 12:02   ` Ricardo Wurmus
2018-05-28 11:07 ` Peter Neidhardt
2018-05-28 11:58   ` Ricardo Wurmus
2018-05-28 12:53     ` Peter Neidhardt
2018-12-15 14:11       ` Pierre Neidhardt
2019-01-10  9:27       ` Ludovic Courtès [this message]
2019-01-10  9:49         ` Pierre Neidhardt
2019-01-10 12:30           ` Ricardo Wurmus
2019-01-10 12:51             ` Pierre Neidhardt
2019-01-10 15:34               ` Ricardo Wurmus
2019-01-10 16:01                 ` Pierre Neidhardt
2019-01-10 16:11                   ` Ricardo Wurmus
2019-01-10 17:47                     ` Pierre Neidhardt
2019-01-10 18:50                       ` Ricardo Wurmus
2019-01-10 18:56                         ` Pierre Neidhardt
2019-01-10 19:01                           ` Ricardo Wurmus
2019-01-10 11:27         ` Ricardo Wurmus
2019-01-10 12:15           ` Ludovic Courtès
2019-01-13 12:21             ` Ricardo Wurmus
2019-01-17  9:36               ` Ludovic Courtès
2019-01-17  9:41                 ` Pierre Neidhardt
2019-01-17 10:39                   ` Ricardo Wurmus
2019-01-17 10:43                     ` Pierre Neidhardt
2019-01-17 11:01                       ` Ricardo Wurmus
2019-03-02 14:13                         ` Pierre Neidhardt
2019-03-03 14:32                           ` Jelle Licht
2019-03-05  8:39                             ` Pierre Neidhardt
2019-03-16 12:59                               ` Pierre Neidhardt
2019-03-18  8:47                                 ` Ludovic Courtès
2019-03-19 21:36                                   ` Ricardo Wurmus
2019-03-20  7:47                                     ` Pierre Neidhardt
2019-03-22 21:01                                       ` Ludovic Courtès
2019-01-17 10:36                 ` Ricardo Wurmus
2019-01-15 15:34 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87va2wdfq8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27217@debbugs.gnu.org \
    --cc=pe.neidhardt@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.