pkgsrc/print/tex-tetex/patches/patch-bin_fmtutil
markd cef6fb0bd8 Updated to TexLive 2016:
Updated print/cjkutils to 4.8.4nb1
	Updated print/dviljk to 2.6.5nb7
	Updated print/dvipdfmx to 20160307
	Updated print/dvipsk to 5.996
	Updated print/kpathsea to 6.2.2
	Updated print/lacheck to 1.28nb1
	Updated print/luatex to 0.95
	Updated print/ptexenc to 1.3.4
	Updated print/seetexk to 1.1nb2
	Updated print/tex4ht to 0.0.20160522
	Updated print/vlna to 1.5nb2
	Updated print/web2c to 2016
	Updated print/xdvik to 22.87.03
	Updated print/xetex to 0.99996
	Updated print/xpdfopen to 0.86nb1
	Updated print/tex-IEEEtran{,-doc} to 1.8b
	Updated print/tex-abc{,-doc} to 2.0b
	Updated print/tex-aleph to 0.2.40768
	Updated print/tex-algorithm2e{,-doc} to 5.1
	Updated print/tex-algorithms{,-doc} to 0.1
	Updated print/tex-amsmath{,-doc} to 2.15b
	Updated print/tex-babel{,-doc} to 3.9r
	Updated print/tex-babel-bosnian to 1.1
	Updated print/tex-babel-estonian to 1.1a
	Updated print/tex-babel-french to 3.2c
	Updated print/tex-babel-friulan to 1.3
	Updated print/tex-babel-greek to 1.9f
	Updated print/tex-babel-hungarian to 1.5c
	Updated print/tex-babel-icelandic to 1.2b
	Updated print/tex-babel-latin to 3.5
	Updated print/tex-babel-russian to 1.3h
	Updated print/tex-babel-spanish to 5.0p
	Updated print/tex-babel-vietnamese to 1.4
	Updated print/tex-babel-welsh to 1.1a
	Updated print/tex-biblatex{,-doc} to 3.4
	Updated print/tex-booktabs{,-doc} to 1.618033
	Updated print/tex-breqn to 0.98d
	Updated print/tex-caption{,-doc} to 20160202
	Updated print/tex-chess-problem-diagrams{,-doc} to 1.12
	Updated print/tex-cjk-gs-integrate{,-doc} to 20160115.0
	Updated print/tex-cjk-ko{,-doc} to 1.8
	Updated print/tex-cjkpunct{,-doc} to 4.8.4
	Updated print/tex-context{,-doc} to 2016
	Updated print/tex-csplain to 2016
	Updated print/tex-csquotes{,-doc} to 5.1g
	Updated print/tex-ctable to 1.31
	Updated print/tex-cweb{,-doc} to 3.64af
	Updated print/tex-datatool{,-doc} to 2.25
	Updated print/tex-dvipdfmx{,-doc} to 2016
	Updated print/tex-dvipdfmx-def to 4.08
	Updated print/tex-dvips{,-doc} to 2016
	Updated print/tex-eplain{,-doc} to 3.8
	Updated print/tex-etex-pkg{,-doc} to 2.6
	Updated print/tex-europasscv{,-doc} to 2016
	Updated print/tex-fix2col{,-doc} to 0.04
	Updated print/tex-font-change{,-doc} to 2015.2
	Updated print/tex-glossaries{,-doc} to 4.23
	Updated print/tex-graphics{,-doc} to 1.0r
	Updated print/tex-hausarbeit-jura{,-doc} to 1.4
	Updated print/tex-hyperref{,-doc} to 6.83n
	Updated print/tex-hyph-utf8{,-doc} to 2016
	Updated print/tex-hyphen-afrikaans to 2016
	Updated print/tex-hyphen-ancientgreek to 2016
	Updated print/tex-hyphen-arabic to 2016
	Updated print/tex-hyphen-armenian to 2016
	Updated print/tex-hyphen-base to 2016
	Updated print/tex-hyphen-basque to 2016
	Updated print/tex-hyphen-bulgarian to 2016
	Updated print/tex-hyphen-catalan to 2016
	Updated print/tex-hyphen-chinese to 2016
	Updated print/tex-hyphen-coptic to 2016
	Updated print/tex-hyphen-croatian to 2016
	Updated print/tex-hyphen-czech to 2016
	Updated print/tex-hyphen-danish to 2016
	Updated print/tex-hyphen-dutch to 2016
	Updated print/tex-hyphen-english to 2016
	Updated print/tex-hyphen-esperanto to 2016
	Updated print/tex-hyphen-estonian to 2016
	Updated print/tex-hyphen-ethiopic to 2016
	Updated print/tex-hyphen-farsi to 2016
	Updated print/tex-hyphen-finnish to 2016
	Updated print/tex-hyphen-french to 2016
	Updated print/tex-hyphen-friulan to 2016
	Updated print/tex-hyphen-galician to 2016
	Updated print/tex-hyphen-georgian to 2016
	Updated print/tex-hyphen-german to 2016
	Updated print/tex-hyphen-greek to 2016
	Updated print/tex-hyphen-hungarian to 2016
	Updated print/tex-hyphen-icelandic to 2016
	Updated print/tex-hyphen-indic to 2016
	Updated print/tex-hyphen-indonesian to 2016
	Updated print/tex-hyphen-interlingua to 2016
	Updated print/tex-hyphen-irish to 2016
	Updated print/tex-hyphen-italian to 2016
	Updated print/tex-hyphen-kurmanji to 2016
	Updated print/tex-hyphen-latin to 3.1.2016
	Updated print/tex-hyphen-latvian to 2016
	Updated print/tex-hyphen-lithuanian to 2016
	Updated print/tex-hyphen-mongolian to 2016
	Updated print/tex-hyphen-norwegian to 2016
	Updated print/tex-hyphen-piedmontese to 2016
	Updated print/tex-hyphen-polish to 3.0a.2016
	Updated print/tex-hyphen-portuguese to 2016
	Updated print/tex-hyphen-romanian to 2016
	Updated print/tex-hyphen-romansh to 2016
	Updated print/tex-hyphen-russian to 2016
	Updated print/tex-hyphen-sanskrit to 2016
	Updated print/tex-hyphen-serbian to 1.0a.2016
	Updated print/tex-hyphen-slovak to 2016
	Updated print/tex-hyphen-slovenian to 2016
	Updated print/tex-hyphen-spanish to 4.5.2016
	Updated print/tex-hyphen-swedish to 2016
	Updated print/tex-hyphen-thai to 2016
	Updated print/tex-hyphen-turkish to 2016
	Updated print/tex-hyphen-turkmen to 2016
	Updated print/tex-hyphen-ukrainian to 2016
	Updated print/tex-hyphen-uppersorbian to 2016
	Updated print/tex-hyphen-welsh to 2016
	Updated print/tex-ifluatex{,-doc} to 1.4
	Updated print/tex-koma-script to 3.20
	Updated print/tex-kotex-oblivoir{,-doc} to 2.1.7
	Updated print/tex-kotex-plain{,-doc} to 2.1.1.a
	Updated print/tex-kotex-utf{,-doc} to 2.1.2
	Updated print/tex-kotex-utils{,-doc} to 2.1.0
	Updated print/tex-kpathsea{,-doc} to 2016
	Updated print/tex-latex{,-doc} to 2016
	Updated print/tex-latex-bin to 2016
	Updated print/tex-latexconfig to 2016
	Updated print/tex-leaflet{,-doc} to 1.1a
	Updated print/tex-lettrine{,-doc} to 1.9
	Updated print/tex-lollipop{,-doc} to 1.06
	Updated print/tex-luatex to 0.95
	Updated print/tex-mathtools to 1.18
	Updated print/tex-media9{,-doc} to 0.68
	Updated print/tex-memoir{,-doc} to 3.7f
	Updated print/tex-mhchem{,-doc} to 4.04
	Updated print/tex-microtype{,-doc} to 2.6a
	Updated print/tex-minted{,-doc} to 2.1
	Updated print/tex-musixtex{,-doc} to 1.22
	Updated print/tex-oberdiek{,-doc} to 2016
	Updated print/tex-pageslts to 1.2f
	Updated print/tex-paralist{,-doc} to 2.5
	Updated print/tex-pdfcomment{,-doc} to 2.3b
	Updated print/tex-pdfpages{,-doc} to 0.5f
	Updated print/tex-pdftex{,-doc} to 2016
	Updated print/tex-pgf{,-doc} to 3.0.1a
	Updated print/tex-pgfplots{,-doc} to 1.13
	Updated print/tex-pict2e{,-doc} to 0.3b
	Updated print/tex-plain to 3.141592653.40274
	Updated print/tex-polyglossia{,-doc} to 1.42.4
	Updated print/tex-powerdot to 1.5a
	Updated print/tex-preview{,-doc} to 11.89
	Updated print/tex-ptex to 3.2pl41220
	Updated print/tex-realscripts{,-doc} to 0.3d
	Updated print/tex-schwalbe-chess{,-doc} to 2.1
	Updated print/tex-showlabels{,-doc} to 1.7
	Updated print/tex-siunitx{,-doc} to 2.6q
	Updated print/tex-sttools{,-doc} to 1.8
	Updated print/tex-tetex{,-doc} to 3.0.41059
	Updated print/tex-tex4ht{,-doc} to 2016
	Updated print/tex-texinfo to 5.1.40618
	Updated print/tex-texlive-scripts to 2016
	Updated print/tex-texlive.infra to 2016
	Updated print/tex-titlesec{,-doc} to 2.10.2
	Updated print/tex-tools{,-doc} to 2016
	Updated print/tex-toptesi{,-doc} to 5.91
	Updated print/tex-udesoftec{,-doc} to 1.5.2
	Updated print/tex-xcjk2uni{,-doc} to 0.6
	Updated print/tex-xcolor{,-doc} to 2.12
	Updated print/tex-xetex{,-doc} to 2016
	Updated print/tex-xetex-def to 4.08
	Updated print/tex-xetexconfig to 2016
	Updated print/tex-xltxtra{,-doc} to 0.6
	Added print/tex-pbibtex-base{,-doc} version 0.0.2016
	Added print/tex-ptex-base{,-doc} version 0.0.2016
	Added print/tex-tex-ini-files{,-doc} version 2016
	Added print/tex-unicode-data{,-doc} version 1.4a
	Added print/tex-updmap-map version 2016
2016-06-16 04:05:58 +00:00

97 lines
4.2 KiB
Text

$NetBSD: patch-bin_fmtutil,v 1.4 2016/06/16 04:06:16 markd Exp $
--- bin/fmtutil.orig 2016-04-22 13:16:07.000000000 +0000
+++ bin/fmtutil
@@ -14,7 +14,7 @@ my $TEXMFROOT;
BEGIN {
$^W = 1;
- $TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`;
+ $TEXMFROOT = `@KPSEWHICH@ -var-value=TEXMFROOT`;
if ($?) {
die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n";
}
@@ -67,12 +67,12 @@ my @deferred_stdout;
# 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 (win32()) {
@@ -239,7 +239,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) {
@@ -473,13 +473,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 {
@@ -557,7 +557,7 @@ sub rebuild_one_format {
}
# 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
@@ -578,7 +578,7 @@ sub rebuild_one_format {
$texargs = $addargs;
}
if ($pool) {
- chomp ( my $poolfile = `kpsewhich -progname=$eng $pool.poo 2>$nul` );
+ chomp ( my $poolfile = `@KPSEWHICH@ -progname=$eng $pool.poo 2>$nul` );
if ($poolfile && -f $poolfile) {
print_verbose("attempting to create localized format "
. "using pool=$pool and tcx=$tcx.\n");
@@ -1002,7 +1002,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) {
@@ -1012,10 +1012,10 @@ sub determine_config_files {
my $TEXMFLOCALVAR;
my @TEXMFLOCAL;
if (win32()) {
- 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;
}
#