texlive[66204] Master: initial attempts at supporting lmtx, which is

commits+karl at tug.org commits+karl at tug.org
Sun Feb 26 23:10:42 CET 2023


Revision: 66204
          http://tug.org/svn/texlive?view=revision&revision=66204
Author:   karl
Date:     2023-02-26 23:10:41 +0100 (Sun, 26 Feb 2023)
Log Message:
-----------
initial attempts at supporting lmtx, which is not available on all platforms

Modified Paths:
--------------
    trunk/Master/install-tl
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
    trunk/Master/tlpkg/TeXLive/TLConfig.pm
    trunk/Master/tlpkg/TeXLive/TLPSRC.pm
    trunk/Master/tlpkg/tlpsrc/context.tlpsrc
    trunk/Master/tlpkg/tlpsrc/graphics.tlpsrc
    trunk/Master/tlpkg/tlpsrc/stubs.tlpsrc

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/install-tl	2023-02-26 22:10:41 UTC (rev 66204)
@@ -1351,7 +1351,7 @@
 
   # luatex/context setup.
   if (exists($install{"context"}) && $install{"context"} == 1
-      && -x "$plat_bindir/texlua$progext"
+      && -x "$plat_bindir/luametatex$progext"
       && !exists $ENV{"TEXLIVE_INSTALL_NO_CONTEXT_CACHE"}) {
     info("setting up ConTeXt cache: ");
     $errcount += run_postinst_cmd("mtxrun --generate");

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2023-02-26 22:10:41 UTC (rev 66204)
@@ -883,7 +883,6 @@
   my $status_file = TeXLive::TLUtils::tl_tmpfile();
   my $fmtutil_args = "$common_fmtutil_args --status-file=$status_file";
 
-
   # if create_formats is false (NOT the default) we add --refresh so that
   # only existing formats are recreated
   if (!$localtlpdb->option("create_formats")) {
@@ -894,7 +893,7 @@
   if ($::files_changed) {
     $errors += do_cmd_and_check("mktexlsr");
     if (defined($localtlpdb->get_package('context'))
-	    && (-x "$bindir/texlua" || -x "$bindir/texlua.exe")) {
+	    && (-x "$bindir/luametatex" || -x "$bindir/luametatex.exe")) {
       $errors += do_cmd_and_check("mtxrun --generate");
       $errors += do_cmd_and_check("context --luatex --generate");
     }

Modified: trunk/Master/tlpkg/TeXLive/TLConfig.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfig.pm	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/tlpkg/TeXLive/TLConfig.pm	2023-02-26 22:10:41 UTC (rev 66204)
@@ -257,7 +257,7 @@
 our $WindowsMainMenuName = "TeX Live $ReleaseYear";
 
 # Comma-separated list of engines which do not exist on all platforms.
-our $PartialEngineSupport = "luajithbtex,luajittex,mfluajit";
+our $PartialEngineSupport = "luametatex,luajithbtex,luajittex,mfluajit";
 
 # Flags for error handling across the scripts and modules
 # all fine

Modified: trunk/Master/tlpkg/TeXLive/TLPSRC.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPSRC.pm	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/tlpkg/TeXLive/TLPSRC.pm	2023-02-26 22:10:41 UTC (rev 66204)
@@ -499,7 +499,7 @@
     }
     # now @todoarchs contains only those archs for which we want
     # to match the pattern
-    foreach my $arch (@todoarchs) {
+    foreach my $arch (sort @todoarchs) {
       # get only those files matching the pattern
       my @archfiles = $tltree->get_matching_files('bin',$finalp, $pkgname, $arch);
       if (!@archfiles) {
@@ -536,7 +536,7 @@
     }
     # now @todoarchs contains only those archs for which we want
     # to match the pattern
-    foreach my $arch (@todoarchs) {
+    foreach my $arch (sort @todoarchs) {
       # get only those files matching the pattern
       my @archfiles = $tltree->get_matching_files('bin', $finalp, $pkgname, $arch);
       if (!@archfiles) {

Modified: trunk/Master/tlpkg/tlpsrc/context.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/context.tlpsrc	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/tlpkg/tlpsrc/context.tlpsrc	2023-02-26 22:10:41 UTC (rev 66204)
@@ -30,7 +30,6 @@
 # See longdesc in mptopdf.tlpsrc
 runpattern +!d texmf-dist/tex/context/base/mkii
 runpattern +!f texmf-dist/scripts/context/perl/mptopdf.pl
-runpattern +!f texmf-dist/scripts/context/stubs/mswin/mptopdf.exe
 runpattern +!f texmf-dist/tex/generic/context/mptopdf/mptopdf.tex
 docpattern +!f texmf-dist/doc/context/scripts/mkii/mptopdf.man
 #depend mptopdf - not anymore
@@ -49,8 +48,13 @@
 docpattern +f texmf-dist/doc/man/man1/mtx-*
 docpattern +f texmf-dist/doc/man/man1/mtxrun.*
 #
-binpattern f bin/${ARCH}/context
-binpattern f bin/${ARCH}/context.lua
-binpattern f bin/${ARCH}/luametatex
-binpattern f bin/${ARCH}/mtxrun
-binpattern f bin/${ARCH}/mtxrun.lua
+# Not all platforms provide this.
+tlpsetvar no_lmtx_platforms \
+  amd64-netbsd,i386-netbsd,i386-solaris,universal-darwin,\
+x86_64-cygwin,x86_64-darwinlegacy,x86_64-solaris
+#
+binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context
+binpattern f/!${no_lmtx_platforms} bin/${ARCH}/context.lua
+binpattern f/!${no_lmtx_platforms} bin/${ARCH}/luametatex
+binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun
+binpattern f/!${no_lmtx_platforms} bin/${ARCH}/mtxrun.lua

Modified: trunk/Master/tlpkg/tlpsrc/graphics.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/graphics.tlpsrc	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/tlpkg/tlpsrc/graphics.tlpsrc	2023-02-26 22:10:41 UTC (rev 66204)
@@ -1,6 +1,5 @@
 catalogue latex-graphics
 #
-runpattern +!d texmf-dist/scripts/context/ruby/graphics
 runpattern +!d texmf-dist/tex/latex-dev/graphics
 docpattern +!d texmf-dist/doc/latex-dev/graphics
 srcpattern +!d texmf-dist/source/latex-dev/graphics

Modified: trunk/Master/tlpkg/tlpsrc/stubs.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/stubs.tlpsrc	2023-02-26 21:56:36 UTC (rev 66203)
+++ trunk/Master/tlpkg/tlpsrc/stubs.tlpsrc	2023-02-26 22:10:41 UTC (rev 66204)
@@ -1 +0,0 @@
-runpattern +!d texmf-dist/scripts/context/stubs



More information about the tex-live-commits mailing list.