From: Thiago Jung Bauermann via Guix-patches via <guix-patches@gnu.org>
To: 49408@debbugs.gnu.org
Cc: Thiago Jung Bauermann <bauermann@kolabnow.com>
Subject: [bug#49408] [PATCH core-updates 0/5] Update TeX Live to version 2021.3
Date: Sun, 4 Jul 2021 20:44:49 -0300 [thread overview]
Message-ID: <20210704234449.424436-1-bauermann@kolabnow.com> (raw)
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(-)
next reply other threads:[~2021-07-04 23:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-04 23:44 Thiago Jung Bauermann via Guix-patches via [this message]
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
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=20210704234449.424436-1-bauermann@kolabnow.com \
--to=guix-patches@gnu.org \
--cc=49408@debbugs.gnu.org \
--cc=bauermann@kolabnow.com \
/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).