texlive[64402] trunk: l3build (15sep22)
commits+karl at tug.org
commits+karl at tug.org
Thu Sep 15 21:54:50 CEST 2022
Revision: 64402
http://tug.org/svn/texlive?view=revision&revision=64402
Author: karl
Date: 2022-09-15 21:54:50 +0200 (Thu, 15 Sep 2022)
Log Message:
-----------
l3build (15sep22)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/l3build/README.md
trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
trunk/Master/texmf-dist/doc/man/man1/l3build.1
trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
trunk/Master/texmf-dist/scripts/l3build/l3build-install.lua
trunk/Master/texmf-dist/scripts/l3build/l3build.lua
trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
Modified: trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl 2022-09-15 19:54:50 UTC (rev 64402)
@@ -35,7 +35,8 @@
#
# emacs-page
#
-my $ver = "2.29";
+my $ver = "2.30";
+# 2022/09/05 v2.30 (Siep Kroonenberg)
# 2022/08/29 v2.29 (Karl Berry)
# 2018/09/17 v2.28 (Karl Berry)
# * use gswin64c on 64-bit Windows.
@@ -207,11 +208,18 @@
### ghostscript command name
my $GS = "gs";
if ($on_windows) {
+ $GS = "gswin32c";
if ($ENV{"PROCESSOR_ARCHITECTURE"} eq "AMD64"
|| $ENV{"PROCESSOR_ARCHITEW6432"} eq "AMD64") {
- $GS = "gswin64c";
- } else {
- $GS = "gswin32c";
+ # prefer gswin64c.exe if on searchpath
+ my @pdirs = split( /;/, $ENV{"PATH"});
+ foreach $d (@pdirs) {
+ $d = substr ($d, 1, -1) if (substr ($d,1,1) eq '"');
+ if (-f $d . "/gswin64c.exe") {
+ $GS = "gswin64c";
+ last;
+ }
+ }
}
}
Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2022-09-15 19:54:50 UTC (rev 64402)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2022-04-19"
+release_date = "2022-09-15"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2022-09-15 19:54:50 UTC (rev 64402)
@@ -7,6 +7,11 @@
## [Unreleased]
+## [2022-09-15]
+
+### Fixed
+- Copying of nested directories
+
## [2022-04-19]
### Changed
@@ -598,7 +603,8 @@
- Rationalise short option names: removed `-d`, `-E`, `-r`
- Target `cmdcheck`: specific to LaTeX kernel work
-[Unreleased]: https://github.com/latex3/l3build/compare/2022-04-19...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2022-09-15...HEAD
+[2022-09-15]: https://github.com/latex3/l3build/compare/2022-04-19...2022-09-15
[2022-04-19]: https://github.com/latex3/l3build/compare/2022-04-12...2022-04-19
[2022-04-12]: https://github.com/latex3/l3build/compare/2022-03-15...2022-04-12
[2022-03-15]: https://github.com/latex3/l3build/compare/2022-02-24...2022-03-15
Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md 2022-09-15 19:54:50 UTC (rev 64402)
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX
=================================================
-Release 2022-04-19
+Release 2022-09-15
Overview
--------
Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1 2022-09-15 19:54:50 UTC (rev 64402)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2022-04-19"
+.TH l3build 1 "2022-09-15"
.SH NAME
l3build \- Checking and building packages
.SH SYNOPSIS
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-install.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-install.lua 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-install.lua 2022-09-15 19:54:50 UTC (rev 64402)
@@ -327,9 +327,17 @@
if errorlevel ~= 0 then return errorlevel end
+ -- Track created destination directories to avoid overhead from
+ -- repeatedly creating them
+ local destination_dirs = {}
+
-- Files are all copied in one shot: this ensures that cleandir()
-- can't be an issue even if there are complex set-ups
for _,v in ipairs(installmap) do
+ if not destination_dirs[v.dest] then
+ mkdir(v.dest)
+ destination_dirs[v.dest] = true
+ end
errorlevel = cp(v.file,v.source,v.dest)
if errorlevel ~= 0 then return errorlevel end
end
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2022-09-15 19:54:50 UTC (rev 64402)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2022-04-19"
+release_date = "2022-09-15"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2022-09-15 19:54:28 UTC (rev 64401)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2022-09-15 19:54:50 UTC (rev 64402)
@@ -206,7 +206,6 @@
\end{longtable}
\endgroup
}
-\newcommand\code{\texttt}
\newcommand\var{\texttt}
\usepackage[procnames]{listings}
\lstset{
@@ -237,7 +236,7 @@
% }^^A
% }
%
-% \date{Released 2022-04-19}
+% \date{Released 2022-09-15}
%
% \maketitle
% \tableofcontents
@@ -510,7 +509,7 @@
% The documentation compilation is performed with the \var{typesetexe} binary (default \texttt{pdflatex}), with options \var{typesetopts}.
% Additional \TeX{} material defined in \var{typesetcmds} is passed to the document (e.g., for writing |\\PassOptionsToClass{l3doc}{letterpaper}|, and so on---note that backslashes need to be escaped in Lua strings).
%
-% Files that match |typesetsuppfiles| in the |support| directory (|supportdir|) are copied into the |build/local| directory (|localdir|) for the typesetting compilation process.
+% Files that match |typesetsuppfiles| in the |support| directory (|supportdir|) are copied into the |build/doc| directory (|typesetdir|) for the typesetting compilation process.
% Additional dependencies listed in the \var{typesetdeps} variable (empty by default) will also be installed.
%
% Source files specified in \var{sourcefiles} and \var{typesetsourcefiles}
@@ -714,7 +713,7 @@
% \label{fig:configs}
% \end{figure}
%
-% To allow selection of a one or more configurations, and to allow saving of
+% To allow selection of one or more configurations, and to allow saving of
% |.tlg| files in non-standard configurations, the |--config| (|-c|) option may
% be used. This works in the same way as |--engine|: it takes a comma list of
% configurations to apply, overriding \var{checkconfigs}.
@@ -1474,11 +1473,13 @@
% For example, to choose to use \LuaTeX{} for one file when \var{typesetexe}
% is |pdftex|
% \begin{verbatim}
-% specialtypesetting.foo = {cmd = "luatex -interaction=nonstopmode"}
+% specialtypesetting = specialtypesetting or {}
+% specialtypesetting["foo.tex"] = {cmd = "luatex -interaction=nonstopmode"}
% \end{verbatim}
% or to select an entirely different typesetting function
% \begin{verbatim}
-% specialtypesetting.foo = {func = typeset_foo}
+% specialtypesetting = specialtypesetting or {}
+% specialtypesetting["foo.tex"] = {func = typeset_foo}
% \end{verbatim}
%
% \subsection{Automated upload to CTAN}
More information about the tex-live-commits
mailing list.