]> git.eshelyaron.com Git - emacs.git/commit
* admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst
authorCorwin Brust <corwin@bru.st>
Wed, 25 Dec 2024 05:55:21 +0000 (23:55 -0600)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:17:40 +0000 (21:17 +0100)
commit96645a0266a4f8188537209c2a4ef27f9d2e5157
tree577e3c7e1d54f87cd3608e9c3b201fbb051f3778
parent7dcf07d0226cc9fd1e660989fbf24295579f9241
* admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst

This patch fixes various problems preventing this script from
working. The job of this script is to collect Emacs' dependanicies and
the (MSYS2/MinGW64) source archives for dependancies (including 2nd
etc. order dependancies) into zip archives.  GPL requires distributing such
archives (along with Emacs' own sources) when distributing GPL binaries.

Most principle of the changes is support for MSYS2 "w64" source archives
in zst format; previously this script assumed all sources were available
as tar.gz files.   Additionaly several DLLs are added to list of
required, including sqllite3 and tree-sitter.

In general this is a maintaince fix to ensure others have access to the
code used to create pretest (and, presumably release) version of Emacs
30.  Additional changes are required to progmatically identify changes
in Emacs' dependancies (e.g. after building a new Emacs binary for
distribution).  There is commented out code to this effect in the
changes I've installed which did work, for a brief period in time; I
suspect some changes in MSYS2 made it more difficult (or impossible?) to
invoke the MSYS2 shell (under which this python script must run) from
the MINGW64 (under which Emacs is built).  I may resort to a powershell
script as a way to orchistrate/invoke both MSYS2 and MING64 but I'm
currently still messing with a Makefile based approach (which would run
under MINGW64), in any event I believe we're all agreed this script
must interigate Emacs to create the "starting list" of dependancies to
include as a way to resolve this issue (missing/incorrect deps are
frequent source of broken binary releases).  (bug#65206)

(cherry picked from commit 8b95549e9087fc54be3d849470652d38ec64cbff)
admin/nt/dist-build/build-dep-zips.py