[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about packaging TexLive

From: Simon Tournier
Subject: Question about packaging TexLive
Date: Wed, 19 Apr 2023 10:47:21 +0200


CC: TeX team

For context, TeX (broad meaning) is deep in the graph, thus its
preservation is important when considering time-travel.  And because TeX
packages relies on Subversion, it raises some questions – for the
interesting reader, see [1].

Here, I would like to open a discussion about the way we are packaging
TeX, quoting Nicolas from [2]:

        There are two approaches going on here. `simple-texlive-package' tries
        to provide a tessellation of the full texlive, i.e., if you install
        (assuming they are defined in Guix) every standalone texlive package,
        you will get the exact full texlive distribution, whereas
        `texlive-ref' + `texlive-build-system' tries to generate a minimal (a
        bit too minimal considering missing documentation) working system.
        I think the old way is error prone.

        So, do we (not only the two of us, obviously) agree on the
        `simple-texlive-package' approach? If so, what should we do about


Other said, any objection to go from this pattern:

--8<---------------cut here---------------start------------->8---
(define-public texlive-foo
    (name "texlive-foo")
    (version (number->string %texlive-revision))
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (string-append "svn://"
                                        %texlive-tag "/Master/texmf-dist"))
                    (locations '("/metafont/"
                    (revision %texlive-revision)))
              (file-name (string-append name "-" version "-checkout"))
    (build-system gnu-build-system)
     `(#:tests? #f ; no test target
--8<---------------cut here---------------end--------------->8---

to this pattern:

--8<---------------cut here---------------start------------->8---
(define-public texlive-foo
    (inherit (simple-texlive-package
              (list "/tex/generic/foo")
              #:trivial? #t))
--8<---------------cut here---------------end--------------->8---

It is about ~35 packages, if I count correctly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]