unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49408] [PATCH core-updates 0/5] Update TeX Live to version 2021.3
@ 2021-07-04 23:44 Thiago Jung Bauermann via Guix-patches via
  2021-07-05  0:00 ` [bug#49408] [PATCH core-updates 1/5] gnu: TeX Live: Use IniTeX to build a couple of packages Thiago Jung Bauermann via Guix-patches via
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Thiago Jung Bauermann via Guix-patches via @ 2021-07-04 23:44 UTC (permalink / raw)
  To: 49408; +Cc: Thiago Jung Bauermann

Hello,

I verified the signatures of the
texlive-20210325-{source,extra,texmf}.tar.xz files. However, I don’t know
how I could verify the authenticity of the many texlive packages that are
obtained via svn checkout, so in those case I merely updated the expected
hash to match the one reported by Guix. It’s worth noting that the svn://
protocol is neither encrypted nor authenticated.

This is how I decided to organize the patch series, feel free to suggest a
different way:

• Patch 1 changes texlive-latex-l3kernel and texlive-latex-l3packages to be
  built with IniTeX so that they don’t create a dependency loop when the
  second patch is applied.

• Patch 2 updates all hashes for all packages except
  texlive-latex-pdftexcmds, which will be updated in the last patch. It also
  include the changes needed to make `guix pull` succeed.

• Patch 3 adds package texlive-latex-l3backend, which is a new dependency
  for texlive-latex-xkeyval.

• Patch 4 makes texlive-latex-xkeyval depend on texlive-latex-l3backend.

• Patch 5 updates the paths and hash for texlive-latex-pdftexcmds, which was
  moved to a new location since TeX Live 2020.

Between patches 2 and 5, texlive packages which don’t get built by
`guix pull` are broken. Please let me know if this is a problem.

I noticed that not all packages in the TeX Live repository are in Guix.
Since I don’t know what criteria are used to decide what to include, I’m not
adding any new package that became available since TeX Live 2020.

I tested that all packages matching “texlive*” build after this series is
applied using the following script:

--8<---------------cut here---------------start------------->8---
#!/bin/bash

set -e

LOG_FILE="$1"
ROUNDS=$2

function verify_package() {
    local package="$1"
    local log_file="$2"

    if ! guix build "$package"; then
        echo "failure while building $package" >> "$log_file"
        return
    fi

    echo "success while building $package" >> "$log_file"

    if [ "$ROUNDS" -eq 0 ]; then
        return
    fi

    if ! guix build --check --rounds=$ROUNDS "$package"; then
        echo "failure while checking $package" >> "$log_file"
        return
    fi

    echo "success while checking $package" >> "$log_file"

    return
}

guix describe >> "$LOG_FILE"
echo rounds = "$ROUNDS" >> "$LOG_FILE"
echo >> "$LOG_FILE"

for package in $(guix package --list-available='^texlive' | cut -f1)
do
    verify_package $package "$LOG_FILE"
done
--8<---------------cut here---------------end--------------->8---

This series is applied on top of the patch submitted for bug 48064¹.

It’s available in branch ‘texlive-2021-pdftex-by-default-patches’ at
https://gitlab.com/bauermann/guix.git

-- 
Thanks,
Thiago

¹ https://issues.guix.gnu.org/48064#15


Thiago Jung Bauermann (5):
  gnu: TeX Live: Use IniTeX to build a couple of packages
  gnu: TeX Live: Update to TeX Live 2021
  gnu: TeX Live: Add texlive-latex-l3backend
  gnu: TeX Live: Add new dependency to texlive-latex-xkeyval
  gnu: TeX Live: Update texlive-latex-pdftexcmds

 gnu/packages/tex.scm                | 292 +++++++++++++++++-----------
 guix/build-system/texlive.scm       |  13 +-
 guix/build/texlive-build-system.scm |  12 +-
 3 files changed, 195 insertions(+), 122 deletions(-)





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-07-21 19:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-04 23:44 [bug#49408] [PATCH core-updates 0/5] Update TeX Live to version 2021.3 Thiago Jung Bauermann via Guix-patches via
2021-07-05  0:00 ` [bug#49408] [PATCH core-updates 1/5] gnu: TeX Live: Use IniTeX to build a couple of packages Thiago Jung Bauermann via Guix-patches via
2021-07-05  0:01   ` [bug#49408] [PATCH core-updates 2/5] gnu: TeX Live: Update to TeX Live 2021 Thiago Jung Bauermann via Guix-patches via
2021-07-05  0:01   ` [bug#49408] [PATCH core-updates 3/5] gnu: TeX Live: Add texlive-latex-l3backend Thiago Jung Bauermann via Guix-patches via
2021-07-05  0:01   ` [bug#49408] [PATCH core-updates 4/5] gnu: TeX Live: Add new dependency to texlive-latex-xkeyval Thiago Jung Bauermann via Guix-patches via
2021-07-05  0:01   ` [bug#49408] [PATCH core-updates 5/5] gnu: TeX Live: Update texlive-latex-pdftexcmds Thiago Jung Bauermann via Guix-patches via
2021-07-06  0:42 ` [bug#49408] [PATCH core-updates 0/5] Update TeX Live to version 2021.3 Thiago Jung Bauermann via Guix-patches via
2021-07-08 12:44 ` [bug#49408] [PATCH 1/2] gnu: perl-text-bibtex: update to 0.88 Nathan Benedetto Proença
2021-07-12  1:41   ` Thiago Jung Bauermann via Guix-patches via
2021-07-09 13:42 ` [bug#49408] Biber update Nathan Benedetto Proença
2021-07-09 13:45 ` [bug#49408] [PATCH 2/2] gnu: biber: Update to 2.16 Nathan Benedetto Proença
2021-07-12  1:42   ` Thiago Jung Bauermann via Guix-patches via
2021-07-13 13:19     ` Nathan Benedetto Proença
2021-07-13 21:22       ` Thiago Jung Bauermann via Guix-patches via
2021-07-19 14:55         ` [bug#49408] [PATCH core-updates 0/5] Update TeX Live to version 2021.3 Ludovic Courtès
2021-07-19 15:23           ` Thiago Jung Bauermann via Guix-patches via
2021-07-19 15:24           ` Nathan Proença
2021-07-21 14:06             ` Ludovic Courtès
2021-07-21 19:43               ` Thiago Jung Bauermann via Guix-patches via

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).