GNU bug report logs -
#27217
texlive is too big
Previous Next
Reported by: Ricardo Wurmus <rekado <at> elephly.net>
Date: Sat, 3 Jun 2017 19:05:02 UTC
Severity: important
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
Message #109 received at 27217 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello people!
Yesterday Jelle and I started getting down to it.
I've created a wip-texlive branch. For now, we can run
(texlive-fetch "xcolor")
and it returns the appropriate parsed entry from the tlpdb from texlive-bin.
@Jelle: see the nice "match"? :D
The first call to texlive-fetch takes some 10-30 seconds because the tlpdb is
some 11MB+ big.
I'm caching the parsed DB, so that should not be a problem during development.
I'm suggesting those following steps:
- Write the package definition generator. We can take inspiration from
opam.scm, it seems to be well written and very similar.
`texlive-fetch' is already aligned with `opam-fetch'.
For testing, we can try to recreate a simple package definition.
texlive-latex-xcolor for instance.
There is an immediate difference already: the name generated by the importer
will be texlive-xcolor and not texlive-latex-xcolor.
- Write texlive-fetch so that we can write definitions with multiple
directories.
- Update the texlive-build-system to accommodate the importer. For instance, we
will probably have to build fonts automatically. We will also have to be
smart about the files that need to be generated, and those that need to be discarded.
- Write an updater (again, following opam.scm, should be trivial).
I'll get started with the first step today. Let me know what you think!
--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 6 years and 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.