texlive[52829] Master: split luajittex to its own package

commits+karl at tug.org commits+karl at tug.org
Sun Nov 17 17:17:57 CET 2019


Revision: 52829
          http://tug.org/svn/texlive?view=revision&revision=52829
Author:   karl
Date:     2019-11-17 17:17:57 +0100 (Sun, 17 Nov 2019)
Log Message:
-----------
split luajittex to its own package

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
    trunk/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
    trunk/Master/tlpkg/tlpsrc/luatex.tlpsrc
    trunk/Master/tlpkg/tlpsrc/mflua.tlpsrc

Added Paths:
-----------
    trunk/Master/tlpkg/tlpsrc/luajittex.tlpsrc

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2019-11-17 16:03:34 UTC (rev 52828)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2019-11-17 16:17:57 UTC (rev 52829)
@@ -5686,7 +5686,7 @@
       # luahbtex is special until we build it everywhere for TL'20.
       # 
       # We do not want to have error messages here, so we do the following:
-      # * if tlpkg/tlpsrc/luatex.tlpsrc is available, then load it
+      # * if tlpkg/tlpsrc/luajittex.tlpsrc is available, then load it
       #   and filter away those archs that are excluded with f/!...
       # * similarly for the other partial-support engines; too much
       #   trouble to reverse-map to package names, so just hardwire;
@@ -5694,7 +5694,7 @@
       #   the development tree) we just ignore it completely.
       my $pkg;
       if ($engine eq "luajittex") {
-        $pkg = "luatex";
+        $pkg = "luajittex";
       } elsif ($engine eq "luahbtex") {
         $pkg = "latex-bin-dev";
       } elsif ($engine eq "mfluajit") {

Modified: trunk/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc	2019-11-17 16:03:34 UTC (rev 52828)
+++ trunk/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc	2019-11-17 16:17:57 UTC (rev 52829)
@@ -57,6 +57,7 @@
 depend ltxfileinfo
 depend ltximg
 depend listings-ext
+depend luajittex
 depend make4ht
 depend match_parens
 depend mflua

Added: trunk/Master/tlpkg/tlpsrc/luajittex.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/luajittex.tlpsrc	                        (rev 0)
+++ trunk/Master/tlpkg/tlpsrc/luajittex.tlpsrc	2019-11-17 16:17:57 UTC (rev 52829)
@@ -0,0 +1,28 @@
+category TLCore
+
+# must keep in sync with luatex.tlpsrc.
+tlpsetvar fmtdeps cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,\
+unicode-data
+
+# keep in sync with mflua.tlpsrc.
+tlpsetvar no_luajit_platforms x86_64-solaris
+#
+binpattern f/!${no_luajit_platforms} bin/${ARCH}/luajittex
+binpattern f/!${no_luajit_platforms} bin/${ARCH}/texluajit
+binpattern f/!${no_luajit_platforms} bin/${ARCH}/texluajitc
+#
+binpattern f bin/win32/luajit51.dll
+binpattern f bin/win32/luajittex.dll
+#
+binpattern f/i386-cygwin   bin/i386-cygwin/cygtexluajit*.dll
+binpattern f/x86_64-cygwin bin/x86_64-cygwin/cygtexluajit*.dll
+
+# On platforms where there is no luajittex, it will be ignored
+# due to the special --no-error-if-no-engine option in fmtutil,
+# invoked by specifications in TLConfig.pm and tlmgr.pl.
+execute AddFormat name=luajittex engine=luajittex options="luatex.ini" \
+  patterns=language.def,language.dat.lua \
+  fmttriggers=${fmtdeps}
+
+# can't have luajittex without luatex.
+depend luatex

Modified: trunk/Master/tlpkg/tlpsrc/luatex.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/luatex.tlpsrc	2019-11-17 16:03:34 UTC (rev 52828)
+++ trunk/Master/tlpkg/tlpsrc/luatex.tlpsrc	2019-11-17 16:17:57 UTC (rev 52829)
@@ -1,5 +1,6 @@
 category TLCore
 #
+# keep in sync with luajit.tlpsrc.
 tlpsetvar fmtdeps cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,\
 unicode-data
 #
@@ -11,13 +12,6 @@
   patterns=language.def,language.dat.lua \
   fmttriggers=${fmtdeps}
 #
-# On platforms where there is no luajittex, it will be ignored
-# due to the special --no-error-if-no-engine option in fmtutil,
-# invoked by specifications in TLConfig.pm and tlmgr.pl.
-execute AddFormat name=luajittex engine=luajittex options="luatex.ini" \
-  patterns=language.def,language.dat.lua \
-  fmttriggers=${fmtdeps}
-#
 docpattern d texmf-dist/doc/luatex/base
 docpattern f texmf-dist/doc/man/man1/luatex.*
 docpattern f texmf-dist/doc/man/man1/texlua*
@@ -31,26 +25,14 @@
 binpattern f bin/${ARCH}/texlua
 binpattern f bin/${ARCH}/texluac
 #
-binpattern f/i386-cygwin bin/i386-cygwin/cygtexlua*.dll
-binpattern f/x86_64-cygwin bin/x86_64-cygwin/cygtexlua*.dll
-#
-# luahbtex.dll in latex-bin-dev until TL'20, so not:
-# binpattern f bin/win32/lua*.dll
 binpattern f bin/win32/lua53.dll
-binpattern f bin/win32/luajit51.dll
-binpattern f bin/win32/luajittex.dll
 binpattern f bin/win32/luatex.dll
 #
+binpattern f/i386-cygwin   bin/i386-cygwin/cygtexlua5*.dll
+binpattern f/x86_64-cygwin bin/x86_64-cygwin/cygtexlua5*.dll
+#
 # Visual Studio 2015 (for C++11) dlls for LuaTeX.
 binpattern f bin/win32/api-ms-win-*.dll
 binpattern f bin/win32/pdfddeservername.txt
 binpattern f bin/win32/ucrtbase.dll
 binpattern f bin/win32/vcruntime140.dll
-
-# duplicated in mflua.tlpsrc, sigh.
-tlpsetvar no_luajit_platforms \
-  x86_64-solaris
-#
-binpattern f/!${no_luajit_platforms} bin/${ARCH}/luajittex
-binpattern f/!${no_luajit_platforms} bin/${ARCH}/texluajit
-binpattern f/!${no_luajit_platforms} bin/${ARCH}/texluajitc

Modified: trunk/Master/tlpkg/tlpsrc/mflua.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/mflua.tlpsrc	2019-11-17 16:03:34 UTC (rev 52828)
+++ trunk/Master/tlpkg/tlpsrc/mflua.tlpsrc	2019-11-17 16:17:57 UTC (rev 52829)
@@ -15,9 +15,8 @@
 binpattern f bin/${ARCH}/mflua
 binpattern f bin/${ARCH}/mflua-nowin
 
-# duplicated in luatex.tlpsrc, sigh.
-tlpsetvar no_luajit_platforms \
-  x86_64-solaris
+# keep in sync with luatex.tlpsrc.
+tlpsetvar no_luajit_platforms x86_64-solaris
 #
 binpattern f/!${no_luajit_platforms} bin/${ARCH}/mfluajit
 binpattern f/!${no_luajit_platforms} bin/${ARCH}/mfluajit-nowin



More information about the tex-live-commits mailing list