From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpJh7-0006HB-C2 for guix-patches@gnu.org; Mon, 13 Aug 2018 16:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpJh4-0008K6-5p for guix-patches@gnu.org; Mon, 13 Aug 2018 16:44:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpJh4-0008K2-1v for guix-patches@gnu.org; Mon, 13 Aug 2018 16:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fpJh3-0006Ew-Os for guix-patches@gnu.org; Mon, 13 Aug 2018 16:44:01 -0400 Subject: [bug#32432] [PATCH 1/2] gnu: texlive-latex-base: Include support files. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpJgW-0006Gm-9A for guix-patches@gnu.org; Mon, 13 Aug 2018 16:43:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpJgT-00087P-1R for guix-patches@gnu.org; Mon, 13 Aug 2018 16:43:28 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:35738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpJgS-000870-QE for guix-patches@gnu.org; Mon, 13 Aug 2018 16:43:24 -0400 Received: by mail-wm0-x236.google.com with SMTP id o18-v6so10162303wmc.0 for ; Mon, 13 Aug 2018 13:43:24 -0700 (PDT) Received: from localhost.localdomain (jof81-3-78-242-177-83.fbx.proxad.net. [78.242.177.83]) by smtp.gmail.com with ESMTPSA id l4-v6sm15804096wrv.23.2018.08.13.13.43.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 13:43:22 -0700 (PDT) From: Pierre Neidhardt Date: Mon, 13 Aug 2018 22:43:18 +0200 Message-Id: <20180813204318.25635-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32432@debbugs.gnu.org * gnu/packages/tex.scm (texlive-latex-base)[native-inputs]: Include support files. --- gnu/packages/tex.scm | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e33a98a9f..e5406e9b3 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1005,12 +1005,13 @@ book).") '("dviluatex" "dvilualatex" "luatex" "lualatex")) #t)) (replace 'install - (lambda* (#:key outputs #:allow-other-keys) + (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (target (string-append out "/share/texmf-dist/tex/latex/base")) (web2c (string-append - out "/share/texmf-dist/web2c"))) + out "/share/texmf-dist/web2c")) + (support-files (assoc-ref inputs "texlive-latex-base-support-files"))) (mkdir-p target) (mkdir-p web2c) (for-each delete-file (find-files "." "\\.(log|aux)$")) @@ -1022,6 +1023,14 @@ book).") ;; doesn't have its own format file, we need to copy it. (copy-file "web2c/pdfetex.fmt" (string-append web2c "/pdftex.fmt")) + ;; "source" is missing the support files as per doc/latex/base/manifest.txt. + ;; FIXME: We are probably not packaging this right. + (for-each (lambda (file) + (install-file + (string-append support-files "/" file) + target)) + '("ltxguide.cls" "ltnews.cls" "minimal.cls" "idx.tex" + "lablst.tex" "testpage.tex" "ltxcheck.tex")) #t)))))) (native-inputs `(("texlive-bin" ,texlive-bin) @@ -1044,6 +1053,18 @@ book).") ("texlive-generic-config" ,(texlive-dir "tex/generic/config/" "19vj088p4kkp6xll0141m4kl6ssgdzhs3g10i232khb07aqiag8s")) + ("texlive-latex-base-support-files" + ,(origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/base")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "16bs9pi3nq407xhg59glklqv43v102cg3yim6k3zcri5d9nkbv3a")))) ("texlive-tex-plain" ,texlive-tex-plain) ("texlive-fonts-cm" ,texlive-fonts-cm) ("texlive-fonts-latex" ,texlive-fonts-latex) -- 2.18.0