Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texlive: 2019 -> 2020 #100121

Merged
merged 6 commits into from Oct 11, 2020
Merged

texlive: 2019 -> 2020 #100121

merged 6 commits into from Oct 11, 2020

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Oct 10, 2020

Motivation for this change

Provide minor fixes for some items in texlive.bin. Update to the latest texlive snapshot.
Closes: #91994

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
nix path-info -h -S /nix/store/vb3l4zhkigrniqh400vl96qly8kpbhd1-texlive-combined-full-2020 -S /nix/store/0rlzarjqrplckcfdydk22na48dfj7zk9-texlive-combined-full-2019
/nix/store/0rlzarjqrplckcfdydk22na48dfj7zk9-texlive-combined-full-2019     3.4G
/nix/store/vb3l4zhkigrniqh400vl96qly8kpbhd1-texlive-combined-full-2020     3.8G

@gebner
Copy link
Member

gebner commented Oct 10, 2020

Builds and works for me (tested on a few latex files).

@gebner
Copy link
Member

gebner commented Oct 11, 2020

This PR is still marked as draft, but pretty much LGTM from my side. Is there anything that you still want to do?

This used to be broken, but recently was fixed.
The ppc64 condition is based on previous reports and was not tested on
actual hardware.
Also change default package version from texlive year to a
revision. The problem with using texlive year is that it will change
on each of our update even if the package itself was not updated. The
texlive SVN revision number should not change unless the package is
updated. This will allow to share more store paths between different
texlive versions.
@veprbl
Copy link
Member Author

veprbl commented Oct 11, 2020

@gebner Just pushed a new changeset. Main difference is a change of default versioning scheme for unversioned packages, it now uses SVN revision number instead of the texlive year. There are also minor tweaks for luajit (cc @CrystalGamma for ppc64 changes).

We usually had major texlive updates sit for a while before getting merged, but we could try merging sooner this time.

@veprbl veprbl marked this pull request as ready for review October 11, 2020 16:41
@veprbl
Copy link
Member Author

veprbl commented Oct 11, 2020

@GrahamcOfBorg build tests.texlive texlive.combined.scheme-full

@gebner
Copy link
Member

gebner commented Oct 11, 2020

We usually had major texlive updates sit for a while before getting merged, but we could try merging sooner this time.

I know, in 2017 I merged the texlive update after it had been sitting around for over a month with no activity, and we only got bug reports after it was merged.

We don't gain much by letting this PR sit longer than necessary. If it builds, then I think we should merge it.

@veprbl veprbl merged commit 2cdd6d1 into NixOS:master Oct 11, 2020
@gebner
Copy link
Member

gebner commented Oct 13, 2020

I ran into one regression, the new biber 2.15 doesn't like authors such as Jean{-}Marc. This is already fixed upstream (but not released yet): plk/biber#329

stripLen = 2;
})
];

# remove when removing synctex-missing-header.patch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this should've been removed before, per:comment?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dtzWill Nice catch, this should have been addressed back in update to 2019. Opened #101016. Thanks!

@veprbl veprbl deleted the pr/texlive_2020 branch December 1, 2020 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TeXLive 2020 update
3 participants