texlive[49758] Build/source/texk/web2c: Adapt the 'common' module to

commits+ascherer at tug.org commits+ascherer at tug.org
Sat Jan 19 19:17:36 CET 2019


Revision: 49758
          http://tug.org/svn/texlive?view=revision&revision=49758
Author:   ascherer
Date:     2019-01-19 19:17:35 +0100 (Sat, 19 Jan 2019)
Log Message:
-----------
Adapt the 'common' module to the new TL setting.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebboot.cin
    trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch

Modified: trunk/Build/source/texk/web2c/cwebboot.cin
===================================================================
--- trunk/Build/source/texk/web2c/cwebboot.cin	2019-01-19 17:15:05 UTC (rev 49757)
+++ trunk/Build/source/texk/web2c/cwebboot.cin	2019-01-19 18:17:35 UTC (rev 49758)
@@ -179,7 +179,7 @@
 
 #define _(STRING) gettext(STRING)  \
 
-#define TEXMF_LOCALE "$TEXMFLOCALEFILES" \
+#define TEXMF_LOCALE "$TEXMFLOCALEDIR" \
 
 #define kpse_find_cweb(name) kpse_find_file(name,kpse_cweb_format,true)  \
 

Modified: trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch	2019-01-19 17:15:05 UTC (rev 49757)
+++ trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch	2019-01-19 18:17:35 UTC (rev 49758)
@@ -1250,21 +1250,21 @@
 
 Plans for \TeX~Live are to store NLS catalogs inside the ``\TeX\ Directory
 Structure'' (TDS) and look them up with the help of the configuration variable
-``|TEXMFLOCALEFILES|'' (subject to change in the final setup).  Below we use
-the \Kpathsea/ function |kpse_var_expand| to evaluate this variable from
-various origins and redirect the ``GNU~gettext utilities'' to a possibly
-different location than the canonical \.{/usr/share/locale}.
+``|TEXMFLOCALEDIR|,'' which should contain a single absolute path definition.
+Below we use the \Kpathsea/ function |kpse_var_expand| to evaluate this
+variable from various origins and redirect the ``GNU~gettext utilities''
+to a possibly different location than the canonical \.{/usr/share/locale}.
 
-There are several ways to set |TEXMFLOCALEFILES|:
+There are several ways to set |TEXMFLOCALEDIR|:
 \smallskip
 {\parindent5em
-\item{(a)} a user-set environment variable \.{TEXMFLOCALEFILES}\hfil\break
-    (overridden by \.{TEXMFLOCALEFILES\_cweb});
+\item{(a)} a user-set environment variable \.{TEXMFLOCALEDIR}\hfil\break
+    (overridden by \.{TEXMFLOCALEDIR\_cweb});
 \item{(b)} a line in \Kpathsea/ configuration file \.{texmf.cnf},\hfil\break
-    e.g., \.{TEXMFLOCALEFILES=\$TEXMFDIST/locale}\hfil\break
-    or \.{TEXMFLOCALEFILES.cweb=\$TEXMFDIST/locale}.\par}
+    e.g., \.{TEXMFLOCALEDIR=\$TEXMFMAIN/locale}\hfil\break
+    or \.{TEXMFLOCALEDIR.cweb=\$TEXMFMAIN/locale}.\par}
 
- at d TEXMF_LOCALE "$TEXMFLOCALEFILES"
+ at d TEXMF_LOCALE "$TEXMFLOCALEDIR"
 
 @<Set locale...@>=
 setlocale(LC_MESSAGES, setlocale(LC_CTYPE, ""));



More information about the tex-live-commits mailing list