From 2fd83e922e0d8f2a70f1212e726efe5e77b20ace Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 2 May 2021 21:48:01 +0000 Subject: texlive-en.tex (create all format files): simplify description since mktexfmt will soon use TEXMFSYSVAR. tlmgr.pl, install-tl, relend.txt: doc, formatting. git-svn-id: svn://tug.org/texlive/trunk@59056 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 39 ++++++++++------------ .../doc/texlive/texlive-en/texlive-en.tex | 12 +++---- Master/texmf-dist/scripts/texlive/NEWS | 4 +++ Master/texmf-dist/scripts/texlive/tlmgr.pl | 10 +++--- Master/tlpkg/doc/releng.txt | 28 ++++++++-------- 5 files changed, 45 insertions(+), 48 deletions(-) diff --git a/Master/install-tl b/Master/install-tl index 58cac20f5b6..4cc5fb795fa 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -1227,8 +1227,10 @@ operations might be disturbed.\n\n"; $errcount += run_postinst_cmd( "fmtutil-sys $common_fmtutil_args --no-strict --all"); } else { - info("not running fmtutil-sys (not installed)\n"); + info("not running fmtutil-sys (script not installed)\n"); } + } else { + info("not running fmtutil-sys (user option create_formats=0)\n"); } # do path adjustments: On Windows add/remove to PATH etc, @@ -2308,30 +2310,23 @@ sub import_settings_from_old_tlpdb { # # now for the settings # set the defaults to what is specified in the tlpdb - $vars{'tlpdbopt_install_docfiles'} = - $previoustlpdb->option_pkg("00texlive.installation", - "install_docfiles"); - $vars{'tlpdbopt_install_srcfiles'} = - $previoustlpdb->option_pkg("00texlive.installation", - "install_srcfiles"); - $vars{'tlpdbopt_create_formats'} = - $previoustlpdb->option_pkg("00texlive.installation", - "create_formats"); + $vars{'tlpdbopt_install_docfiles'} + = $previoustlpdb->option_pkg("00texlive.installation", "install_docfiles"); + $vars{'tlpdbopt_install_srcfiles'} + = $previoustlpdb->option_pkg("00texlive.installation", "install_srcfiles"); + $vars{'tlpdbopt_create_formats'} + = $previoustlpdb->option_pkg("00texlive.installation", "create_formats"); $vars{'tlpdbopt_desktop_integration'} = 1 if win32(); - $vars{'instopt_adjustpath'} = - $previoustlpdb->option_pkg("00texlive.installation", - "path"); + $vars{'instopt_adjustpath'} + = $previoustlpdb->option_pkg("00texlive.installation", "path"); $vars{'instopt_adjustpath'} = 0 if !defined($vars{'instopt_adjustpath'}); $vars{'instopt_adjustpath'} = 1 if win32(); - $vars{'tlpdbopt_sys_bin'} = - $previoustlpdb->option_pkg("00texlive.installation", - "sys_bin"); - $vars{'tlpdbopt_sys_man'} = - $previoustlpdb->option_pkg("00texlive.installation", - "sys_man"); - $vars{'sys_info'} = - $previoustlpdb->option_pkg("00texlive.installation", - "sys_info"); + $vars{'tlpdbopt_sys_bin'} + = $previoustlpdb->option_pkg("00texlive.installation", "sys_bin"); + $vars{'tlpdbopt_sys_man'} + = $previoustlpdb->option_pkg("00texlive.installation", "sys_man"); + $vars{'sys_info'} + = $previoustlpdb->option_pkg("00texlive.installation", "sys_info"); # # import the set of selected architectures my @aar = $previoustlpdb->setting_pkg("00texlive.installation", diff --git a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex index 51291c9845d..5c771ec01a6 100644 --- a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex +++ b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex @@ -17,7 +17,7 @@ \url{https://tug.org/texlive/} } -\date{March 2021} +\date{May 2021} \begin{document} \maketitle @@ -874,13 +874,9 @@ More info on each: short) list of allowed programs is given in the \filename{texmf.cnf}. See the 2010 news (section~\ref{sec:2010news}) for more details. -\item[create all format files:] Although unnecessary format files - take time to generate and disk space to store, it is still recommended - to leave this option checked: if you don't, then format files will be - generated in people's private \dirname{TEXMFVAR} tree as they are - needed. In that location, they will not be updated automatically if - (for example) core packages or hyphenation patterns are updated in the - installation, and thus you could end up with incompatible format files. +\item[create all format files:] We recommend leaving this option + checked, to avoid unnecessary problems when creating formats + dynamically. See the \prog{fmtutil} documentation for more details. \item[install font/macro \ldots\ tree:] Download/install the documentation and source files included in most packages. Unchecking diff --git a/Master/texmf-dist/scripts/texlive/NEWS b/Master/texmf-dist/scripts/texlive/NEWS index 62af094123b..4a9ee40d1eb 100644 --- a/Master/texmf-dist/scripts/texlive/NEWS +++ b/Master/texmf-dist/scripts/texlive/NEWS @@ -1,6 +1,10 @@ (This file public domain. Originally written by Norbert Preining and Karl Berry, 2010.) +

tlmgr 58938 (released 21apr21): +

  • adapt to https://mirror.ctan.org now being available. +
  • when install option create_formats=0, only refresh existing formats. +

    tlmgr 57705 (released 12feb21):

  • use pure Perl solution to rmdir TL tree for uninstall. diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 78221b0616d..4e51181f658 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -869,11 +869,11 @@ sub handle_execute_actions { my $sysmode = ($opts{"usermode"} ? "-user" : "-sys"); my $invoke_fmtutil = "fmtutil$sysmode $common_fmtutil_args"; - # of create_formats is unset (NOT the default) we add --refresh so that + # if create_formats is false (NOT the default) we add --refresh so that # only existing formats are recreated if (!$localtlpdb->option("create_formats")) { $invoke_fmtutil .= " --refresh"; - debug("only existing formats will be refreshed per user option (create_formats=0)\n"); + debug("refreshing only existing formats per user option (create_formats=0)\n"); } if ($::files_changed) { @@ -1006,9 +1006,9 @@ sub handle_execute_actions { } # ::regenerate_all_formats comes from TLPaper updates - # so we just refresh formats instead of generating all that have not been there + # --refresh existing formats to avoid generating new ones. if ($::regenerate_all_formats) { - info("Regenerating available formats, this may take some time ..."); + info("Regenerating existing formats, this may take some time ..."); # --refresh might already be in $invoke_fmtutil, but we don't care $errors += do_cmd_and_check("$invoke_fmtutil --refresh --all"); info("done\n"); @@ -7216,7 +7216,7 @@ and the repository are not compatible: if ($remotetlpdb->config_frozen) { my $frozen_msg = <&out Do a test build, commit when successful. Ask for rebuilds, When (enough) rebuilds are done, commit to the branch and make another tag: - bcr=nnnnn # branch commit revision, e.g., 51236 - bt=n # branch tag, e.g., 2019.3 + brev=nnnnn # branch commit revision, e.g., 51236 + btag=yyyy.n # branch tag, e.g., 2019.3 #svn copy -r $bcr -m'texlive-$bt tag based on r$bcr, with fix' \ # svn://tug.org/texlive/branches/branch2019 \ # svn://tug.org/texlive/tags/texlive-$bt @@ -503,8 +505,8 @@ all_frozen=false after TC release: - texcollection -hy=/home/ftp/historic/systems/texcollection -mkdir -p $hy/$this/packaging +hy=/home/ftp/historic/systems +mkdir -p $hy/texcollection/$this/packaging # # copy files from DVD: mount /mnt/tc @@ -512,12 +514,13 @@ cd /mnt/tc # check that it's the current release cp -pR [A-T]* index* setup /home/ftp/historic/systems/texcollection/$this # # copy ctan snapshot for TUG members: -ls -l ~www/members/ctan*20*.tar # how many links? -du !$ -rm -i ~www/members/ctan*20*.tar # assuming it's hard-linked, else move! -nice -19 tar cf ~www/members/ctan`date +%y`-200413.tar ctan # update date! +du -h ~www/members/ctan*20*.tar # just to compare +mkdir $hy/ctancd/$prev +mv ~www/members/ctan*20*.tar !$ +ls -lt ctan/ | head # note date of last update +nice -19 tar cf ~www/members/ctan`date +%y`-0410.tar ctan # update date! chmod a=r ~www/members/ctan*.tar -ls -l !$; du !$ +ls -l !$; du -h !$ # edit members/index.html mkdir /home/ftp/historic/systems/ctancd/$this ln -v ~www/members/ctan*.tar !$ @@ -526,13 +529,12 @@ cd && umount /mnt/tc # cd $hy/$this/packaging # copy in files from texcollection svn: -svn update ~/src/texcollection/ +svn -q update ~/src/texcollection/ cp -p ~/src/texcollection/$this/packaging/* . # # make small image for web page: -pdftoppm -gray -r 222 texcoll-cover.pdf temp -# edit temp*.pgm to be just the cover. -pnmcrop temp*.pgm | pnmtopng >~www/texcollection/texcollection$this.png +pdftoppm -r 222 texcoll-label.pdf temp +pnmcrop temp*.ppm | pnmtopng >~www/texcollection/texcollection$this.png cp texcoll-cover.pdf ~www/texcollection/texcollection$this.pdf # ~www/texcollection/index.html -- cgit v1.2.3