Blame texlive-20230311-texinfo-path-fix.patch

8d896f5
diff -up texlive-base-20230311/source/texk/kpathsea/texmf.cnf.texinfo-fix texlive-base-20230311/source/texk/kpathsea/texmf.cnf
320005a
--- texlive-base-20230311/source/texk/kpathsea/texmf.cnf.texinfo-fix	2023-05-25 10:49:55.510891474 -0400
320005a
+++ texlive-base-20230311/source/texk/kpathsea/texmf.cnf	2023-05-25 11:44:59.261966579 -0400
320005a
@@ -59,7 +59,7 @@
320005a
 % SELFAUTOPARENT (its grandparent = /usr/local/texlive/YYYY), and
320005a
 % SELFAUTOGRANDPARENT (its great-grandparent = /usr/local/texlive).
320005a
 % Sorry for the off-by-one-generation names.
320005a
-TEXMFROOT = $SELFAUTOPARENT
320005a
+TEXMFROOT = /usr/share/texlive
320005a
 
320005a
 % The main tree of distributed packages and programs:
320005a
 TEXMFDIST = $TEXMFROOT/texmf-dist
320005a
@@ -69,10 +69,10 @@ TEXMFDIST = $TEXMFROOT/texmf-dist
320005a
 TEXMFMAIN = $TEXMFDIST
320005a
 
320005a
 % Local additions to the distribution trees.
320005a
-TEXMFLOCAL = $SELFAUTOGRANDPARENT/texmf-local
320005a
+TEXMFLOCAL = /usr/share/texlive/texmf-local
320005a
 
320005a
 % TEXMFSYSVAR, where *-sys store cached runtime data.
320005a
-TEXMFSYSVAR = $TEXMFROOT/texmf-var
320005a
+TEXMFSYSVAR = /var/lib/texmf
320005a
 
320005a
 % TEXMFSYSCONFIG, where *-sys store configuration data.
320005a
 TEXMFSYSCONFIG = $TEXMFROOT/texmf-config
8d896f5
@@ -83,6 +83,9 @@ TEXMFSYSCONFIG = $TEXMFROOT/texmf-config
8d896f5
 % to %USERPROFILE% on Windows, $HOME otherwise.
8d896f5
 TEXMFHOME = ~/texmf
8d896f5
 
8d896f5
+% Texinfo on Fedora lives out of $TEXMFROOT
320005a
+TEXINFOHOME = /usr/share/texmf
8d896f5
+
8d896f5
 % TEXMFVAR, where texconfig/updmap/fmtutil store cached runtime data.
8d896f5
 TEXMFVAR = ~/.texlive2023/texmf-var
8d896f5
 
8d896f5
@@ -108,7 +111,7 @@ TEXMFAUXTREES = {}
8d896f5
 % The odd-looking $TEXMFAUXTREES$TEXMF... construct is so that if no auxtree is
8d896f5
 % ever defined (the 99% common case), no extra elements will be added to
8d896f5
 % the search paths. tlmgr takes care to end any value with a trailing comma.
8d896f5
-TEXMF = {$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
320005a
+TEXMF = {$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXINFOHOME,!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
8d896f5
 
8d896f5
 % Where to look for, and where mktexlsr creates, ls-R files. By default,
8d896f5
 % this is all and only the !! elements of TEXMF, so that mktexlsr does not