From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#27217: texlive is too big Date: Thu, 10 Jan 2019 10:27:59 +0100 Message-ID: <87va2wdfq8.fsf@gnu.org> References: <87tw3w7v1m.fsf@elephly.net> <87po1g2g43.fsf@gmail.com> <87fu2chu02.fsf@elephly.net> <87lgc42b7i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghWe9-0005WQ-3K for bug-guix@gnu.org; Thu, 10 Jan 2019 04:29:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghWe7-0005ZJ-VF for bug-guix@gnu.org; Thu, 10 Jan 2019 04:29:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53662) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghWe6-0005Yk-9Q for bug-guix@gnu.org; Thu, 10 Jan 2019 04:29:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ghWe5-0003qY-MY for bug-guix@gnu.org; Thu, 10 Jan 2019 04:29:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lgc42b7i.fsf@gmail.com> (Peter Neidhardt's message of "Mon, 28 May 2018 14:53:21 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Peter Neidhardt Cc: 27217@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello! I was also looking at the remaining dependencies on =E2=80=98texlive=E2=80= =99. For =E2=80=98teximpatient=E2=80=99, it looks like we=E2=80=99d need 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 (_ # ("mflogo-font" "latex") _) In unknown file: 5 (_ # # #) In guix/import/texlive.scm: 146:23 4 (sxml->package (*TOP* (entry (@ (id "mflogo-font")) (name "mfl= ogo-font") (caption "Metafont=E2=80=A6") =E2=80=A6)) _) In guix/utils.scm: 632:8 3 (call-with-temporary-directory #) 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/Mast= er/texmf-dist/source/latex/mflogo-fo=E2=80=A6" =E2=80=A6) 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 `(#)'. 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: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- 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") --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpMdWRv4oCZLg0K --=-=-=--