MSYS2: Add support for building a stand-alone NSIS installer
authorJoão Valverde <j@v6e.pt>
Sun, 21 May 2023 14:44:35 +0000 (15:44 +0100)
committerJoão Valverde <j@v6e.pt>
Sun, 21 May 2023 23:54:39 +0000 (00:54 +0100)
commitaa6b8368b7efc97e38f65aa89a33d37b5eecb64b
tree0b9b3fecb42ab4ddd3ae94c0e1cd8fd336d4eaed
parent83cebf956375d8c11cb14c32d1831c73fc0f55ac
MSYS2: Add support for building a stand-alone NSIS installer

This changes the existing code for the MSVC installer as little
as possible to allow building the Wireshark .exe Windows installer
using the MinGW-w64 toolchain.

Currently the DLL dependency list is static, this may change in
the future. Ideally we would use CPack and install() logic
to copy the DLLs.

The msys2checkdeps.py script is copied from the Inkscape project[1].
It doesn't have a specific license identifier. The Inkscape project
is licensed under the GPL version 2 or later.

TODO: Download Npcap and USBPcap using CMake instead of requiring
manual action.

[1]https://gitlab.com/inkscape/inkscape

Ping #17771.
CMakeLists.txt
CMakeOptions.txt
README.msys2
docbook/release-notes.adoc
packaging/nsis/CMakeLists.txt
packaging/nsis/InstallMSYS2.cmake [new file with mode: 0644]
packaging/nsis/windeployqt-to-nsis.py [new file with mode: 0644]
packaging/nsis/wireshark.nsi
tools/msys2-setup.sh
tools/msys2checkdeps.py [new file with mode: 0644]