[BACK]Return to patch-bin_updmap CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / tex-texlive-scripts / patches

File: [cvs.NetBSD.org] / pkgsrc / print / tex-texlive-scripts / patches / patch-bin_updmap (download)

Revision 1.1, Sun May 10 03:56:44 2020 UTC (2 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD

texlive: update to 2020

General:
* The \input primitive in all TeX engines, including tex, now also accepts a
  group-delimited ■«í═ename argument, as a system-dependent extension. The usage
  with a standard space/token-delimited ■«í═ename 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ŃÓĐď \input command, as that is a macro redefinition of the standard
  \input primitive.
* New option ŃÓ┼─nf-line for kpsewhich, tex, mf, and all other engines, to support
  arbitrary con■«í╚uration 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.

$NetBSD: patch-bin_updmap,v 1.1 2020/05/10 03:56:44 markd Exp $

use full path for commands

--- bin/updmap.orig	2019-06-07 16:36:59.000000000 +0000
+++ bin/updmap
@@ -19,7 +19,7 @@ my $svnid = '$Id: updmap.pl 51338 2019-0
 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";
   }
@@ -46,12 +46,12 @@ use TeXLive::TLUtils qw(mkdirhier mktexu
 # see more comments at the definition of this function.
 reset_root_home();
 
-chomp(my $TEXMFDIST = `kpsewhich --var-value=TEXMFDIST`);
-chomp(my $TEXMFVAR = `kpsewhich -var-value=TEXMFVAR`);
-chomp(my $TEXMFSYSVAR = `kpsewhich -var-value=TEXMFSYSVAR`);
-chomp(my $TEXMFCONFIG = `kpsewhich -var-value=TEXMFCONFIG`);
-chomp(my $TEXMFSYSCONFIG = `kpsewhich -var-value=TEXMFSYSCONFIG`);
-chomp(my $TEXMFHOME = `kpsewhich -var-value=TEXMFHOME`);
+chomp(my $TEXMFDIST = `@KPSEWHICH@ --var-value=TEXMFDIST`);
+chomp(my $TEXMFVAR = `@KPSEWHICH@ -var-value=TEXMFVAR`);
+chomp(my $TEXMFSYSVAR = `@KPSEWHICH@ -var-value=TEXMFSYSVAR`);
+chomp(my $TEXMFCONFIG = `@KPSEWHICH@ -var-value=TEXMFCONFIG`);
+chomp(my $TEXMFSYSCONFIG = `@KPSEWHICH@ -var-value=TEXMFSYSCONFIG`);
+chomp(my $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 {
     # in the list is the one where changes will be written to.
     ($changes_config_file) = @{$opts{'cnffile'}};
   } else {
-    my @all_files = `kpsewhich -all updmap.cfg`;
+    my @all_files = `@KPSEWHICH@ -all updmap.cfg`;
     chomp(@all_files);
     my @used_files;
     for my $f (@all_files) {
@@ -249,10 +249,10 @@ sub main {
     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;
     }
     #
@@ -1281,7 +1281,7 @@ sub mkMaps {
 
   sub check_mismatch {
     my ($mm, $d, $f, $prog) = @_;
-    chomp (my $kpsefound = `kpsewhich --progname=$prog $f`);
+    chomp (my $kpsefound = `@KPSEWHICH@ --progname=$prog $f`);
     if (lc("$d/$f") ne lc($kpsefound)) {
       $mm->{$f} = $kpsefound;
     }
@@ -1397,7 +1397,7 @@ listed below).
 
 sub locateMap {
   my $map = shift;
-  my $ret = `kpsewhich --format=map $map`;
+  my $ret = `@KPSEWHICH@ --format=map $map`;
   chomp($ret);
   return $ret;
 }
@@ -2072,7 +2072,7 @@ sub read_map_files {
     $alldata->{'maps'}{$m}{'origin'} = 'builtin';
   }
   @maps = sort_uniq(@maps);
-  my @fullpath = `kpsewhich --format=map @maps`;
+  my @fullpath = `@KPSEWHICH@ --format=map @maps`;
   chomp @fullpath;
   foreach my $map (@maps) {
     # in case they give an absolute path (not needed/desired, but ...);