unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: texlive: Drop input texlive-extra.
Date: Thu, 8 Jan 2015 22:11:37 +0100	[thread overview]
Message-ID: <20150108211137.GA16883@debian> (raw)

Hello,

I am currently working a bit on texlive with the goal of simplifying the
recipe and disentangling its two outputs.

This first patch drops texlive-extra-src. We use it only to install its
subdirectory tlpkg, which contains perl files for tlmgr, which we do not
need. According to
   https://www.tug.org/texlive/distro.html :
"System distributions all have their own packaging systems, so tlmgr is not
used for TeX-related package updates by any distro that we know of."

Notice that tlmgr does not work currently either, as it does not find the
perl include files from tlpkg anyway:
$ tlmgr 
Can't locate TeXLive/TLConfig.pm in @INC (@INC contains: /gnu/store/texmf-dist/scripts/texlive /gnu/store/tlpkg /home/enge/.guix-profile/lib/perl5/site_perl/5.16.1/x86_64-linux ...

Currently I am trying the build; okay to push if the build succeeds?

Andreas


* gnu/packages/texlive.scm (texlive-extra-src): Drop variable.
* gnu/packages/texlive.scm (texlive): Drop input texlive-extra-src; it is
    only useful for tlmgr, which is not used in distribution-wide
    installations.
---
 gnu/packages/texlive.scm | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm
index f14bbb8..720fa31 100644
--- a/gnu/packages/texlive.scm
+++ b/gnu/packages/texlive.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -42,13 +42,6 @@
   #:use-module (gnu packages zip)
   #:autoload   (gnu packages texinfo) (texinfo))
 
-(define texlive-extra-src
-  (origin
-    (method url-fetch)
-    (uri "ftp://tug.org/historic/systems/texlive/2014/texlive-20140525-extra.tar.xz")
-    (sha256 (base32
-              "1zlnjysvxskcy05iva6jfklirwv12wqyn3ia119a7xnqlvhpqz33"))))
-
 (define texlive-texmf-src
   (origin
     (method url-fetch)
@@ -66,8 +59,7 @@
             (sha256 (base32
                      "1glmaw2jv42grbsn05kay825j66scimjqqc32776bb1356q4xfq8"))))
    (build-system gnu-build-system)
-   (inputs `(("texlive-extra-src" ,texlive-extra-src)
-             ("texlive-texmf-src" ,texlive-texmf-src)
+   (inputs `(("texlive-texmf-src" ,texlive-texmf-src)
              ("cairo" ,cairo)
              ("fontconfig" ,fontconfig)
              ("fontforge" ,fontforge)
@@ -147,13 +139,6 @@
              ;; Delete texmf-dist from "data", since it will be reinstalled
              ;; from texlive-texmf.
              (system* "rm" "-r" (string-append data "/texmf-dist"))
-             ;; Unpack texlive-extra and install tlpkg.
-             (mkdir "texlive-extra")
-             (with-directory-excursion "texlive-extra"
-               (apply unpack (list #:source texlive-extra))
-               (apply patch-source-shebangs (list #:source texlive-extra))
-               (system* "mv" "tlpkg" data)
-               (chdir ".."))
              ;; Unpack and install texlive-texmf.
              (mkdir "texlive-texmf")
              (with-directory-excursion "texlive-texmf"
-- 
2.2.1

             reply	other threads:[~2015-01-08 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08 21:11 Andreas Enge [this message]
2015-01-08 22:50 ` [PATCH] gnu: texlive: Drop input texlive-extra Andreas Enge
2015-01-09 13:31   ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20150108211137.GA16883@debian \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).