summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
AgeCommit message (Collapse)Author
2024-01-07Set HTTPS_CA_FILE for LWP to work on global cert-free systemsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@69327 c570f23f-e606-0410-a88d-b1316a301751
2023-09-15tlmgr: on update test that we can remove files (deal with ro dirs)Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@68283 c570f23f-e606-0410-a88d-b1316a301751
2023-03-07User proper null device on WindowsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@66420 c570f23f-e606-0410-a88d-b1316a301751
2023-02-27run mtxrun --generate and context --luatex --generate as post-install ↵Karl Berry
actions, only if the luametatex binary is operational git-svn-id: svn://tug.org/texlive/trunk@66236 c570f23f-e606-0410-a88d-b1316a301751
2023-02-23switch to df -Pk in hopes of ignoring BLOCKSIZE etc. settingsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@66112 c570f23f-e606-0410-a88d-b1316a301751
2023-02-21(diskfree): show actual output from df -P when debugging.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@66040 c570f23f-e606-0410-a88d-b1316a301751
2023-02-21disable debug outputNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@66005 c570f23f-e606-0410-a88d-b1316a301751
2023-02-20more win32->windows, doc, copyright 2023Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@65994 c570f23f-e606-0410-a88d-b1316a301751
2023-02-20win32->windows continuesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@65958 c570f23f-e606-0410-a88d-b1316a301751
2023-02-20Transition 32-bit => 64-bit for Windows; ,pm filesSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@65950 c570f23f-e606-0410-a88d-b1316a301751
2022-09-25tl-update-tlpdb (suredef): new fn, replacing equal strings.Karl Berry
(tlpobj_catalogue_equal): use it to avoid dumb undef value warnings when printing values. Also, show tlp[AB]->catalogue values. TLUtils.pm (debug, ddebug, dddebug): return immediately if verbosity < 1; this may avoid unnecessary warnings when the arguments contain undef (and is trivially faster). This was occasioned by a warning from the --catalogue-compare run: Use of uninitialized value $_[5] in join or string at tlpkg/bin/../TeXLive/TLUtils.pm line 3715. D:bibtexu: longdesc now: An enhanced, portable C version ... vs. compare db: With new packages, a tlp value in the old package may indeed be undef. releng.txt: unrelated doc updates. git-svn-id: svn://tug.org/texlive/trunk@64503 c570f23f-e606-0410-a88d-b1316a301751
2022-06-18(platform_desc): avoid Perl warning if no -OS inKarl Berry
platform spec, e.g., -force-platform foo. git-svn-id: svn://tug.org/texlive/trunk@63645 c570f23f-e606-0410-a88d-b1316a301751
2022-06-13install-tl (GetOptions): new options -no-installation, no-interaction,Karl Berry
-debug-setup-vars, -paper; also -texdir and other directory trees. (set_var_from_alternatives, set_standard_var): generalize method for setting the dir values. Expand tildes. (update_default_{scheme,paper}): new fns so scheme and paper size options are set before we go into the menus. (check_env): don't complain about INFOPATH or MANPATH; mention TEXLIVE_INSTALL_ENV_NOCHECK. Document new options; give a few examples. TLUtils.pm (get_user_home, expand_tilde): new fns. install-menu-text.pl: call them. git-svn-id: svn://tug.org/texlive/trunk@63571 c570f23f-e606-0410-a88d-b1316a301751
2022-04-18Revert "work on win64 support"Norbert Preining
This reverts commit daa265a214b9e12e2a9bab636398c2dd699f7cd4. git-svn-id: svn://tug.org/texlive/trunk@63068 c570f23f-e606-0410-a88d-b1316a301751
2022-04-18work on win64 supportNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@63066 c570f23f-e606-0410-a88d-b1316a301751
2022-04-11Disk space code for Windows reinstatedSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@63002 c570f23f-e606-0410-a88d-b1316a301751
2022-03-20Reverting windows diskfree; not enough time for testingSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@62822 c570f23f-e606-0410-a88d-b1316a301751
2022-03-18diskfree for windows >= 8Siep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@62794 c570f23f-e606-0410-a88d-b1316a301751
2022-03-08doc updatesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@62529 c570f23f-e606-0410-a88d-b1316a301751
2022-03-05wordingKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@62459 c570f23f-e606-0410-a88d-b1316a301751
2022-03-05installer and free disk space improvementsNorbert Preining
- factor free disk space computation into a new TLUtils function - save (and update) the free disk space for the current TEXDIR in %vars - display the free disk space (if it is available) in the text menu git-svn-id: svn://tug.org/texlive/trunk@62431 c570f23f-e606-0410-a88d-b1316a301751
2022-03-05install-tl: if df is available, check for free disk spaceNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@62426 c570f23f-e606-0410-a88d-b1316a301751
2022-02-28doc,syncKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@62297 c570f23f-e606-0410-a88d-b1316a301751
2022-02-20install-tl: add --debug-fakenetNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@62112 c570f23f-e606-0410-a88d-b1316a301751
2022-02-14More resilient installationNorbert Preining
split installation of packages into two stages: first those which are absolutely necessary for the installation process to continue (fmtutil, updmap, tlmgr, ...), and those which are just normal packages which can be installed afterwards for fixing. For now, the option --continue needs to be passed. git-svn-id: svn://tug.org/texlive/trunk@62016 c570f23f-e606-0410-a88d-b1316a301751
2022-02-12(query_ctan_mirror): double-quote the curl arg for Windows.Karl Berry
https://tug.org/pipermail/tex-live/2022-February/047748.html git-svn-id: svn://tug.org/texlive/trunk@61996 c570f23f-e606-0410-a88d-b1316a301751
2022-02-09(check_on_working_mirror): redirect stdout as wellKarl Berry
as stderr, to avoid creating "nul" file on Windows. Use our nulldev() fn. Report from Jan Netik, tex-live 9 Feb 2022 21:26:28. git-svn-id: svn://tug.org/texlive/trunk@61960 c570f23f-e606-0410-a88d-b1316a301751
2022-02-05Fix path of ca bundleNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@61892 c570f23f-e606-0410-a88d-b1316a301751
2022-02-05try to fix curl cacert on some macosNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@61891 c570f23f-e606-0410-a88d-b1316a301751
2022-02-05Start working on cacert support for old darwinNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@61888 c570f23f-e606-0410-a88d-b1316a301751
2022-01-23work around "only used once" warnings with uglyKarl Berry
assignments in the BEGIN block, since the "package PKGNAME BLOCK" was invented for perl 5.14.0 (2011), and that is too new for OpenCSW on Solaris 10. git-svn-id: svn://tug.org/texlive/trunk@61711 c570f23f-e606-0410-a88d-b1316a301751
2021-12-21use strict; use warnings; declarations, filehandle barewords, our @disabledKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@61372 c570f23f-e606-0410-a88d-b1316a301751
2021-12-05enable use strict; use warnings; and add needed declarations.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@61225 c570f23f-e606-0410-a88d-b1316a301751
2021-10-21misc doc updates: clisp build, gpg procedure, setup_sys_user_mode() argsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@60823 c570f23f-e606-0410-a88d-b1316a301751
2021-10-04tlmgr/perl: Use TEXMFROOT instead of SELFAUTOPARENT (from Daniel Nachun, ↵Norbert Preining
homebrew) git-svn-id: svn://tug.org/texlive/trunk@60693 c570f23f-e606-0410-a88d-b1316a301751
2021-07-18maillog:Jul 7 23:31:37 tug sendmail[32133]: 167LVCWJ032133: ↵Karl Berry
from=<texhax-bounces+r.turner=auckland.ac.nz@tug.org>, size=3336, class=-30, nrcpts=3, msgid=<bc257caf-9f8a-3d7-6f42-86df1922669@tug.org>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] maillog:Jul 7 23:31:41 tug sendmail[32499]: 167LVCWJ032133: to=<r.turner@auckland.ac.nz>, delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=237336, relay=au-smtp-inbound-2.mimecast.com. [103.13.69.122], dsn=2.0.0, stat=Sent (SmtpThread-15917402-1625693501741@au-mta-95.au.mimecast.lan Received OK [bBwoTzxBNLaVKr_ihVkItg.au95]) git-svn-id: svn://tug.org/texlive/trunk@59982 c570f23f-e606-0410-a88d-b1316a301751
2021-05-18prepend --no-check-certificate to arg list, notKarl Berry
append, since list ends with -O. oops. git-svn-id: svn://tug.org/texlive/trunk@59259 c570f23f-e606-0410-a88d-b1316a301751
2021-05-17TLUtils: detect non-ssl wgetNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@59237 c570f23f-e606-0410-a88d-b1316a301751
2021-05-16(platform): look for a shell that can handleKarl Berry
$(...) in order to execute config.guess. git-svn-id: svn://tug.org/texlive/trunk@59234 c570f23f-e606-0410-a88d-b1316a301751
2021-05-16update pod descriptions, httpsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@59224 c570f23f-e606-0410-a88d-b1316a301751
2021-05-09TLUtils::query_ctan_mirror_curl: fix for Windows quotingNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@59149 c570f23f-e606-0410-a88d-b1316a301751
2021-05-09fmtutil and tlmgr improvementsNorbert Preining
fmtutil.pl - if run as mktexfmt and TEXMFSYSVAR is writable, use it instead of TEXMFVAR (actual code in TLUtils.pm). - add --dry-run | -n option it is not guaranteed to be 100% dry-run, though - add --status-file=FILE where the status of each format creating is written to - warn on running fmtutil in user mode the first time (similar to updmap) - warn on shadowing formats - documentation fixes tlmgr.pl - use fmtutil --status-file and report back failed format rebuilds - regeneration all formats now only exists existing formats (use --refresh with fmtutil) - report when commands are logged to the respective log file - documentation fixes TLUtils.pm - update setup_sys_user_mode for the fmtutil/mktexfmt changes mentioned above - documentation fixes git-svn-id: svn://tug.org/texlive/trunk@59143 c570f23f-e606-0410-a88d-b1316a301751
2021-05-07glorious typoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@59127 c570f23f-e606-0410-a88d-b1316a301751
2021-05-07(download_file): also -L to dereference symlink,Karl Berry
in case. Mail from Vincenzo Luca Mantova, 7 May 2021 21:22:26. git-svn-id: svn://tug.org/texlive/trunk@59126 c570f23f-e606-0410-a88d-b1316a301751
2021-05-06(writeout): dddebug, since this happens on every package in tlpdb; other ↵Karl Berry
debugging tweaks git-svn-id: svn://tug.org/texlive/trunk@59098 c570f23f-e606-0410-a88d-b1316a301751
2021-05-06TLUtils: fix file:// URI scheme - thanks to Vincenzo MantovaNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@59095 c570f23f-e606-0410-a88d-b1316a301751
2021-05-01(query_ctan_mirror): use curl if present in preference to wget.Karl Berry
(query_ctan_mirror_curl): new fn. (query_ctan_mirror_wget): new fn, was (essentially) query_ctan_mirror. (give_ctan_mirror_base): use https for backbone https://www.ctan.org. Add some ddebugging throughout for mirror resolution. Doc, formatting tweaks. New code from Norbert. git-svn-id: svn://tug.org/texlive/trunk@59044 c570f23f-e606-0410-a88d-b1316a301751
2021-04-22Revert accidently committed changesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@58961 c570f23f-e606-0410-a88d-b1316a301751
2021-04-22fmtutil: only try to use TEXMFSYSVAR for mktexfmtNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@58956 c570f23f-e606-0410-a88d-b1316a301751
2021-04-22fmtutil/mktexfmt: switch to texmfsysvar if writableNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@58947 c570f23f-e606-0410-a88d-b1316a301751