texlive[71746] Master: extractbb: put in dvipdfmx package since that

commits+karl at tug.org commits+karl at tug.org
Mon Jul 8 23:16:39 CEST 2024


Revision: 71746
          https://tug.org/svn/texlive?view=revision&revision=71746
Author:   karl
Date:     2024-07-08 23:16:39 +0200 (Mon, 08 Jul 2024)
Log Message:
-----------
extractbb: put in dvipdfmx package since that is where it is needed; do not make "incorrect location" check since it fails on MacTeX setup; https://tug.org/pipermail/tex-live/2024-July/050719.html

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/extractbb.lua
    trunk/Master/tlpkg/tlpsrc/dvipdfmx.tlpsrc
    trunk/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc

Modified: trunk/Master/texmf-dist/scripts/texlive/extractbb.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/extractbb.lua	2024-07-08 20:15:15 UTC (rev 71745)
+++ trunk/Master/texmf-dist/scripts/texlive/extractbb.lua	2024-07-08 21:16:39 UTC (rev 71746)
@@ -185,9 +185,11 @@
     error("Empty resolved script path")
 end
 
-if (script_dir ~= interpreter_dir) and (script_path ~= resolved_script_path) then
-    error("The script is in an incorrect location: " .. script_dir)
-end
+-- But on Macs we get /Library/TeX/texbin. What to do?
+-- (Frank msg to tex-live 8jul24.)
+-- if (script_dir ~= interpreter_dir) and (script_path ~= resolved_script_path) then
+--     error("The script is in an incorrect location: " .. script_dir)
+-- end
 
 if script_name ~= SCRIPT_NAME then
     error("Incorrect script name: " .. script_name)

Modified: trunk/Master/tlpkg/tlpsrc/dvipdfmx.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/dvipdfmx.tlpsrc	2024-07-08 20:15:15 UTC (rev 71745)
+++ trunk/Master/tlpkg/tlpsrc/dvipdfmx.tlpsrc	2024-07-08 21:16:39 UTC (rev 71746)
@@ -14,9 +14,15 @@
 binpattern f bin/${ARCH}/dvipdfmx
 binpattern f bin/${ARCH}/dvipdft
 binpattern f bin/${ARCH}/ebb
-# not extractbb; that's a wrapper script in texlive-scripts-extra
+# not the extractbb symlink to xdvipdfmx.
 binpattern f bin/${ARCH}/xdvipdfmx
 #
+# symlink and target. Should move into the dvipdfmx sources, but it's
+# convenient to keep it in the dvipdfmx package, since that's where it's
+# needed, and LaTeX assumes installing this package is enough.
+binpattern f bin/${ARCH}/extractbb
+runpattern f texmf-dist/scripts/texlive/extractbb.lua
+#
 docpattern d texmf-dist/doc/dvipdfm
 docpattern d texmf-dist/doc/dvipdfmx
 docpattern f texmf-dist/doc/man/man1/dvipdfm.*

Modified: trunk/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc	2024-07-08 20:15:15 UTC (rev 71745)
+++ trunk/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc	2024-07-08 21:16:39 UTC (rev 71746)
@@ -14,10 +14,6 @@
 #
 docpattern f texmf-dist/doc/man/man1/kpsepath.*
 binpattern f bin/${ARCH}/kpsepath
-#
-# symlink to extractbb
-runpattern f texmf-dist/scripts/texlive/extractbb.lua
-binpattern f bin/${ARCH}/extractbb
 
 # texconfig support files.
 runpattern f texmf-dist/texconfig/*



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