head 1.3; access; symbols pkgsrc-2026Q1:1.2.0.24 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.22 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.20 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.18 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.16 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.14 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.12 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.10 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.8 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.6 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.4 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.1.0.24 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.22 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.20 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.18 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.16 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.14 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.12 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.10 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.8 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2026.04.04.05.10.10; author markd; state Exp; branches; next 1.2; commitid j9daTInJUTP7gBAG; 1.2 date 2023.04.11.00.09.23; author markd; state Exp; branches; next 1.1; commitid 4QruFgrzgbOfBCkE; 1.1 date 2020.05.10.03.56.44; author markd; state Exp; branches; next ; commitid 6jxkTXO6lRjCYD7C; desc @@ 1.3 log @tex-texlive-scripts{,-doc}: update to 2026 changes unknown @ text @$NetBSD: patch-bin_fmtutil,v 1.2 2023/04/11 00:09:23 markd Exp $ use full path for commands --- bin/fmtutil.orig 2026-01-09 16:20:28.000000000 +0000 +++ bin/fmtutil @@@@ -30,7 +30,7 @@@@ BEGIN { $Master = "$Master/../.."; } $ENV{"PATH"} = "$bindir:$ENV{PATH}"; - $TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`; + $TEXMFROOT = `@@KPSEWHICH@@ -var-value=TEXMFROOT`; if ($? || ! $TEXMFROOT) { warn "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n"; warn "$0: got TEXMFROOT value: $TEXMFROOT" if $TEXMFROOT; @@@@ -94,12 +94,12 @@@@ TeXLive::TLUtils::prepend_own_path(); # this function checks by itself whether it is running on windows or not reset_root_home(); -chomp(our $TEXMFDIST = `kpsewhich --var-value=TEXMFDIST`); -chomp(our $TEXMFVAR = `kpsewhich -var-value=TEXMFVAR`); -chomp(our $TEXMFSYSVAR = `kpsewhich -var-value=TEXMFSYSVAR`); -chomp(our $TEXMFCONFIG = `kpsewhich -var-value=TEXMFCONFIG`); -chomp(our $TEXMFSYSCONFIG = `kpsewhich -var-value=TEXMFSYSCONFIG`); -chomp(our $TEXMFHOME = `kpsewhich -var-value=TEXMFHOME`); +chomp(our $TEXMFDIST = `@@KPSEWHICH@@ --var-value=TEXMFDIST`); +chomp(our $TEXMFVAR = `@@KPSEWHICH@@ -var-value=TEXMFVAR`); +chomp(our $TEXMFSYSVAR = `@@KPSEWHICH@@ -var-value=TEXMFSYSVAR`); +chomp(our $TEXMFCONFIG = `@@KPSEWHICH@@ -var-value=TEXMFCONFIG`); +chomp(our $TEXMFSYSCONFIG = `@@KPSEWHICH@@ -var-value=TEXMFSYSCONFIG`); +chomp(our $TEXMFHOME = `@@KPSEWHICH@@ -var-value=TEXMFHOME`); # make sure that on windows *everything* is in lower case for comparison if (wndws()) { @@@@ -316,7 +316,7 @@@@ sub main { for my $e (sort @@all_engines) { my $hf = $alldata->{'merged'}{$f}{$e}{'hyphen'}; next if ($hf eq '-'); - my $ff = `kpsewhich -progname='$f' -format=tex '$hf'`; + my $ff = `@@KPSEWHICH@@ -progname='$f' -format=tex '$hf'`; chomp($ff); if ($ff ne "") { if ($#all_engines > 0) { @@@@ -628,13 +628,13 @@@@ sub select_and_rebuild_format { if ($fmthyp ne '-') { if ($whatarg =~ m!^/!) { # $whatarg is a full path, we need to expand $fmthyp, too - chomp (my $fmthyplong = `kpsewhich -progname=$fmt -engine=$eng $fmthyp`) ; + chomp (my $fmthyplong = `@@KPSEWHICH@@ -progname=$fmt -engine=$eng $fmthyp`) ; if ($fmthyplong) { $fmthyp = $fmthyplong; } else { # we might have searched language.dat --engine=tex --progname=tex # which will not work. Search again without engine/format - chomp ($fmthyplong = `kpsewhich $fmthyp`) ; + chomp ($fmthyplong = `@@KPSEWHICH@@ $fmthyp`) ; if ($fmthyplong) { $fmthyp = $fmthyplong; } else { @@@@ -756,7 +756,7 @@@@ sub rebuild_one_format { else { $prgswitch .= $fmt; } # check for existence of ini file before doing anything else - if (system("kpsewhich -progname=$fmt -format=$kpsefmt $inifile >$nul 2>&1") != 0) { + if (system("@@KPSEWHICH@@ -progname=$fmt -format=$kpsefmt $inifile >$nul 2>&1") != 0) { # we didn't find the ini file, skip print_deferred_warning("inifile $inifile for $fmt/$eng not found.\n"); # The original script just skipped it but in TeX Live we expect that @@@@ -785,7 +785,7 @@@@ sub rebuild_one_format { $texargs = $addargs; } if ($pool) { - chomp (my $poolfile = `kpsewhich -progname=$eng $pool.pool 2>$nul`); + chomp (my $poolfile = `@@KPSEWHICH@@ -progname=$eng $pool.pool 2>$nul`); if ($poolfile && -f $poolfile) { print_verbose("attempting to create localized format " . "using pool=$pool and tcx=$tcx.\n"); @@@@ -1247,7 +1247,7 @@@@ sub determine_config_files { # if $f is a pure file name, that is dirname $f == ".", # then try to find it via kpsewhich if (dirname($f) eq ".") { - chomp(my $kpfile = `kpsewhich $f`); + chomp(my $kpfile = `@@KPSEWHICH@@ $f`); if ($kpfile ne "") { $f = $kpfile; } else { @@@@ -1264,7 +1264,7 @@@@ sub determine_config_files { # in the list is the one where changes will be written to. ($changes_config_file) = @@{$opts{'cnffile'}}; } else { - my @@all_files = `kpsewhich -all $fn`; + my @@all_files = `@@KPSEWHICH@@ -all $fn`; chomp(@@all_files); my @@used_files; for my $f (@@all_files) { @@@@ -1274,10 +1274,10 @@@@ sub determine_config_files { my $TEXMFLOCALVAR; my @@TEXMFLOCAL; if (wndws()) { - chomp($TEXMFLOCALVAR =`kpsewhich --expand-path=\$TEXMFLOCAL`); + chomp($TEXMFLOCALVAR =`@@KPSEWHICH@@ --expand-path=\$TEXMFLOCAL`); @@TEXMFLOCAL = map { lc } split(/;/ , $TEXMFLOCALVAR); } else { - chomp($TEXMFLOCALVAR =`kpsewhich --expand-path='\$TEXMFLOCAL'`); + chomp($TEXMFLOCALVAR =`@@KPSEWHICH@@ --expand-path='\$TEXMFLOCAL'`); @@TEXMFLOCAL = split /:/ , $TEXMFLOCALVAR; } # @ 1.2 log @tex-texlive-scripts{,-doc}: update to 2023 TeX Live 2023 @ text @d1 1 a1 1 $NetBSD: patch-bin_fmtutil,v 1.1 2020/05/10 03:56:44 markd Exp $ d5 1 a5 1 --- bin/fmtutil.orig 2023-02-20 21:52:59.000000000 +0000 d7 4 a10 4 @@@@ -14,7 +14,7 @@@@ my $TEXMFROOT; BEGIN { $^W = 1; d13 4 a16 4 if ($?) { die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n"; } @@@@ -76,12 +76,12 @@@@ TeXLive::TLUtils::prepend_own_path(); d35 1 a35 1 @@@@ -297,7 +297,7 @@@@ sub main { d44 1 a44 1 @@@@ -596,13 +596,13 @@@@ sub select_and_rebuild_format { d60 1 a60 1 @@@@ -724,7 +724,7 @@@@ sub rebuild_one_format { d69 1 a69 1 @@@@ -753,7 +753,7 @@@@ sub rebuild_one_format { d78 10 a87 1 @@@@ -1208,7 +1208,7 @@@@ sub determine_config_files { d96 1 a96 1 @@@@ -1218,10 +1218,10 @@@@ sub determine_config_files { @ 1.1 log @texlive: update to 2020 General: * The \input primitive in all TeX engines, including tex, now also accepts a group-delimited filename argument, as a system-dependent extension. The usage with a standard space/token-delimited filename is completely unchanged. The group-delimited argument was previously implemented in LuaTeX; now it is available in all engines. ASCII double quote characters (") are removed from the filename, but it is otherwise left unchanged after tokenization. This does not currently affect LaTeX’s \input command, as that is a macro redefinition of the standard \input primitive. * New option –cnf-line for kpsewhich, tex, mf, and all other engines, to support arbitrary configuration settings on the command line. * The addition of various primitives to various engines in this and previous years is intended to result in a common set of functionality available across all engines. epTeX, eupTeX: New primitives \Uchar, \Ucharcat, \current(x)spacingmode, \ifincsname; revise \fontchar?? and \iffontchar. For eupTeX only: \currentcjktoken. LuaTeX: Integration with HarfBuzz library, available as new engines luahbtex (used for lualatex) and luajithbtex. New primitives: \eTeXgluestretchorder, \eTeXglueshrinkorder. pdfTeX: New primitive \pdfmajorversion; this merely changes the version number in the PDF output; it has no effect on any PDF content. \pdfximage and similar now search for image files in the same way as \openin. pTeX: New primitives \ifjfont, \iftfont. Also in epTeX, upTeX, eupTeX. XeTeX: Fixes for \Umathchardef, \XeTeXinterchartoks, \pdfsavepos. Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities. @ text @d1 1 a1 1 $NetBSD: patch-bin_fmtutil,v 1.5 2018/05/13 10:41:47 markd Exp $ d5 1 a5 1 --- bin/fmtutil.orig 2020-03-14 22:04:10.000000000 +0000 d16 1 a16 1 @@@@ -70,12 +70,12 @@@@ TeXLive::TLUtils::prepend_own_path(); d34 2 a35 2 if (win32()) { @@@@ -254,7 +254,7 @@@@ sub main { d44 1 a44 1 @@@@ -494,13 +494,13 @@@@ sub select_and_rebuild_format { d60 1 a60 1 @@@@ -597,7 +597,7 @@@@ sub rebuild_one_format { d69 1 a69 1 @@@@ -626,7 +626,7 @@@@ sub rebuild_one_format { d78 1 a78 1 @@@@ -1060,7 +1060,7 @@@@ sub determine_config_files { d87 1 a87 1 @@@@ -1070,10 +1070,10 @@@@ sub determine_config_files { d90 1 a90 1 if (win32()) { @