diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-21 17:56:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-21 17:56:03 +0000 |
commit | 3e7076615c70dc952983d6425a00711927c9cea4 (patch) | |
tree | d972ee70def102fb7d4a31db94be97be03ce0860 /Build/source/texk | |
parent | 9af5dded6e7b0117accd4db32ff1c36e95896d19 (diff) |
doc,sync
git-svn-id: svn://tug.org/texlive/trunk@53479 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/tests/TeXLive/TLUtils.pm | 41 | ||||
-rwxr-xr-x | Build/source/texk/texlive/w32_wrapper/runscript.tlu | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/NEWS | 8 |
3 files changed, 46 insertions, 9 deletions
diff --git a/Build/source/texk/tests/TeXLive/TLUtils.pm b/Build/source/texk/tests/TeXLive/TLUtils.pm index f66bee26754..61ed174cc07 100644 --- a/Build/source/texk/tests/TeXLive/TLUtils.pm +++ b/Build/source/texk/tests/TeXLive/TLUtils.pm @@ -1,11 +1,11 @@ # TeXLive::TLUtils.pm - the inevitable utilities for TeX Live. -# Copyright 2007-2019 Norbert Preining, Reinhard Kotucha +# Copyright 2007-2020 Norbert Preining, Reinhard Kotucha # This file is licensed under the GNU General Public License version 2 # or any later version. package TeXLive::TLUtils; -my $svnrev = '$Revision: 53225 $'; +my $svnrev = '$Revision: 53343 $'; my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown"; sub module_revision { return $_modulerevision; } @@ -1519,6 +1519,7 @@ sub install_packages { $totalsize += $tlpsizes{$p}; } my $starttime = time(); + my @packs_again; # packages that we failed to download and should retry later foreach my $package (@packs) { my $tlpobj = $tlpobjs{$package}; my $reloc = $tlpobj->relocated; @@ -1531,7 +1532,21 @@ sub install_packages { foreach my $h (@::install_packages_hook) { &$h($n,$totalnr); } - # return false if something went wrong + # push $package to @packs_again if download failed + if (!$fromtlpdb->install_package($package, $totlpdb)) { + tlwarn("TLUtils::install_packages: Failed to install $package\n" + ."Will be retried later.\n"); + push @packs_again, $package; + } else { + $donesize += $tlpsizes{$package}; + } + } + # try to download packages in @packs_again again + foreach my $package (@packs_again) { + my $infostr = sprintf("Retrying to install: $package [%dk]", + int($tlpsizes{$package}/1024) + 1); + info("$infostr\n"); + # return false if download failed again if (!$fromtlpdb->install_package($package, $totlpdb)) { return 0; } @@ -3601,7 +3616,7 @@ sub process_logging_options { =head2 Miscellaneous -Some ideas from Fabrice Popineau's C<FileUtils.pm>. +A few ideas from Fabrice Popineau's C<FileUtils.pm>. =over 4 @@ -4469,7 +4484,7 @@ sub setup_sys_user_mode { print STDERR "" . "$prg [ERROR]: Either -sys or -user mode is required.\n" . "$prg [ERROR]: In nearly all cases you should use $prg -sys.\n" . - "$prg [ERROR]: For special cases see http://tug.org/texlive/scripts-sys-user.html\n" ; + "$prg [ERROR]: For special cases see https://tug.org/texlive/scripts-sys-user.html\n" ; exit(1); } return ($texmfconfig, $texmfvar); @@ -4539,6 +4554,12 @@ sub repository_to_array { } +=back + +=head2 JSON + +=over 4 + =item C<encode_json($ref)> Returns the JSON representation of the object C<$ref> is pointing at. @@ -4561,7 +4582,10 @@ bless $TLFalse, 'TLBOOLEAN'; our $jsonmode = ""; +=pod + =item C<True()> + =item C<False()> These two crazy functions must be used to get proper JSON C<true> and @@ -4709,8 +4733,13 @@ sub array_to_json { my $ret = "[" . join(",", map { encode_json(\$_) } @$hr) . "]"; return($ret); } + +=pod + =back + =cut + 1; __END__ @@ -4723,7 +4752,7 @@ C<tl-update-tlpdb>), the documentation in C<Master/tlpkg/doc/>, etc. =head1 AUTHORS AND COPYRIGHT This script and its documentation were written for the TeX Live -distribution (L<http://tug.org/texlive>) and both are licensed under the +distribution (L<https://tug.org/texlive>) and both are licensed under the GNU General Public License Version 2 or later. =cut diff --git a/Build/source/texk/texlive/w32_wrapper/runscript.tlu b/Build/source/texk/texlive/w32_wrapper/runscript.tlu index d2dfb6182b7..3e1cd160348 100755 --- a/Build/source/texk/texlive/w32_wrapper/runscript.tlu +++ b/Build/source/texk/texlive/w32_wrapper/runscript.tlu @@ -1,7 +1,7 @@ -local svnrevision = string.match("$Revision: 53144 $", "%d+") or "0" -local svndate = string.match("$Date: 2019-12-16 14:40:08 +0100 (Mon, 16 Dec 2019) $", "[-%d]+") or "2009-12-04" +local svnrevision = string.match("$Revision: 53431 $", "%d+") or "0" +local svndate = string.match("$Date: 2020-01-17 06:29:55 +0100 (Fri, 17 Jan 2020) $", "[-%d]+") or "2009-12-04" local bannerstr = "runscript wrapper utility (rev. " .. svnrevision .. ", " .. svndate .. ")\n" .. "usage: runscript script-name [arguments]\n" .. @@ -800,7 +800,7 @@ elseif progname == 'dviout' then end local par = [["-gen=']] .. string.gsub(TEXDIR, '/', '\\') .. [[\tlpkg\dviout\gen_pk'" "-TEXROOT=']] .. - table.concat(texrt, ';') .. [['" "-gsx=']] .. GSEXE .. [['"]]; + table.concat(texrt, ';') .. [['" "-gsx=']] .. GSEXE .. ' -dDELAYSAFER' .. [['"]]; ARGV = {[0]=TEXDIR..'/tlpkg/dviout/dviout.exe', 'dviout', par} elseif progname == 'mkluatexfontdb' then progname = 'luaotfload-tool' diff --git a/Build/source/texk/web2c/pdftexdir/NEWS b/Build/source/texk/web2c/pdftexdir/NEWS index 99442e23812..acca2571ade 100644 --- a/Build/source/texk/web2c/pdftexdir/NEWS +++ b/Build/source/texk/web2c/pdftexdir/NEWS @@ -1,3 +1,11 @@ +pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020) +- changes: + - new primitive \pdfmajorversion; this merely changes the version + number in the PDF output, has no effect on PDF content. + - new option --cnf-line. + - have \pdfximage etc. do same search for image files as for input files, + - (un)compress .fmt files (with zlib). + pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019) - changes: - new primitive \expanded (from unreleased pdftex 1.50 branch + luatex). |