unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 27296@debbugs.gnu.org
Subject: [bug#27296] [PATCH 35/35] guix: Add texlive importer.
Date: Thu, 15 Jun 2017 17:01:18 +0200	[thread overview]
Message-ID: <87bmpp9txd.fsf@elephly.net> (raw)
In-Reply-To: <87wp8li4kr.fsf@gnu.org>


Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> * guix/import/texlive.scm: New file.
>> * guix/scripts/import/texlive.scm: New file.
>> * Makefile.am (MODULES): Add them.
>> * guix/scripts/import.scm (importers): Add texlive importer.
>
> Could you add a note in guix.texi as well as a basic test (possibly
> with mock of ‘http-get’) in tests/texlive.scm?

Done.

>> +         (checkout   (with-store store (download-svn-to-store store ref))))
>
> Note that as soon as we leave the dynamic extent of ‘with-store’, the
> checkout can be GC’d.  Thus, it’s safer to wrap the whole body in
> ‘with-store’.

Okay.

> Any plans for an updater in that module?

I wouldn’t know how.  Updates are done by changing the variables
%texlive-tag and %texlive-revision in (guix build-system texlive) and
then changing the package expressions.

Since the version strings on CTAN differ from the revision of the TeX
Live SVN repo I don’t see how we can make this robust.  For most
packages we use the SVN revision.  This is much larger (“44445”) than
the version string for packages on CTAN (e.g. “2.6a”).

> I think we’ll probably want a ‘texlive-full’ meta-package equivalent to
> our current ‘texlive’ package for some or our users (hi Andreas! :-)).

Yes, we should package all the other TeX packages that are part of TeX
Live, including those that appear to be just supporting files (e.g. the
“generic” sub-directory).

> Apart from that it’ll be interesting to see how many of the packages
> currently depending on ‘texlive’ can use ‘texlive-tiny’.

I think we may need to enlarge “texlive-tiny” a little to make it more
useful.  I’ve only tested it with fastcap, and noticed that it misses
some bibtex files.

Anyway, the foundation is there and I don’t think it would take too much
effort to get us to “texlive-full” soon.

I’m pushing this to master in a few minutes.  Thanks for the review!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2017-06-15 15:02 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09 10:42 bug#27296: Modular Texlive Ricardo Wurmus
2017-06-09 10:45 ` bug#27296: [PATCH 01/35] guix: Add download-svn-to-store Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 02/35] guix: Add common TeX and LaTeX licenses Ricardo Wurmus
2017-06-09 14:45     ` Ludovic Courtès
2017-06-10  2:15       ` Arun Isaac
2017-06-09 10:45   ` bug#27296: [PATCH 03/35] gnu: Add texlive-dvips Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 04/35] gnu: Add texlive-generic-unicode-data Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 05/35] gnu: Add texlive-generic-dehyph-exptl Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 06/35] gnu: Add texlive-generic-tex-ini-files Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 07/35] gnu: Add texlive-generic-hyph-utf8 Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 08/35] gnu: Add texlive-metafont-base Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 09/35] gnu: Add texlive-fonts-cm Ricardo Wurmus
2017-06-09 14:41     ` Ludovic Courtès
2017-06-09 15:00       ` Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 10/35] gnu: Add texlive-fonts-knuth-lib Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 11/35] gnu: Add texlive-fonts-latex Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 12/35] gnu: Add texlive-tex-plain Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 13/35] gnu: Add texlive-latex-base Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 14/35] build-system: Add 'texlive-build-system' Ricardo Wurmus
2017-06-09 14:50     ` Ludovic Courtès
2017-06-14  7:24       ` [bug#27296] " Ricardo Wurmus
2017-06-14  7:41         ` Ludovic Courtès
2017-06-09 10:45   ` bug#27296: [PATCH 15/35] gnu: Add texlive-latex-filecontents Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 16/35] gnu: Add texlive-generic-ifxetex Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 17/35] gnu: Add texlive-latex-fancyvrb Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 18/35] gnu: Add texlive-latex-graphics Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 19/35] gnu: Add texlive-latex-xcolor Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 20/35] gnu: Add texlive-latex-hyperref Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 21/35] gnu: Add texlive-latex-oberdiek Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 22/35] gnu: Add texlive-latex-tools Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 23/35] gnu: Add texlive-latex-url Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 24/35] gnu: Add texlive-latex-l3kernel Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 25/35] gnu: Add texlive-latex-l3packages Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 26/35] gnu: Add texlive-latex-fontspec Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 27/35] gnu: Add texlive-luatex-lualibs Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 28/35] gnu: Add texlive-latex-amsmath Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 29/35] gnu: Add texlive-latex-amscls Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 30/35] gnu: Add texlive-latex-babel Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 31/35] gnu: texlive-latex-cyrillic Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 32/35] gnu: Add texlive-latex-psnfss Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 33/35] gnu: Add texlive-union Ricardo Wurmus
2017-06-09 14:57     ` Ludovic Courtès
2017-06-09 15:06       ` Ricardo Wurmus
2017-06-09 15:12         ` Ludovic Courtès
2017-06-09 15:51           ` Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 34/35] gnu: Add texlive-tiny Ricardo Wurmus
2017-06-09 10:45   ` bug#27296: [PATCH 35/35] guix: Add texlive importer Ricardo Wurmus
2017-06-09 15:05     ` Ludovic Courtès
2017-06-15 15:01       ` Ricardo Wurmus [this message]
2017-06-16 15:06         ` [bug#27296] " Ludovic Courtès
2017-06-16 16:12           ` Ricardo Wurmus
2017-06-09 14:38   ` bug#27296: [PATCH 01/35] guix: Add download-svn-to-store Ludovic Courtès
2017-06-15 15:04 ` bug#27296: Modular Texlive 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

  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=87bmpp9txd.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=27296@debbugs.gnu.org \
    --cc=ludo@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).