在 2026-10-22 22:54, Zhongteng Gui 写道:
Hi, I'm cleaning up MSYS2's PKGBUILDs for MinGW-w64, and I'm a bit confused about the license.Currently, MSYS2's mingw-w64-{crt,headers} install all 3 license: COPYING, COPYING.MinGW-w64/COPYING.MinGW-w64.txt, COPYING.MinGW-w64-runtime/COPYING.MinGW-w64-runtime.txt, mingw-w64-headers additionally installs mingw-w64-headers/ddk/readme.txt. Are they all needed? It looks a bit redundant for the headers part to install runtime license.
The license for headers applies to the headers. The license is there to allow you to modify the headers.For example, some headers are licensed under LGPL. If you modify such a header, you create a 'work based on the library' and must follow LGPL; if you compile your own code with a header, then your code is a 'work that uses the library', and the license does not apply to your source code, but under some circumstances it could apply to the object code.
Besides, for mingw-w64-libraries/{libmangle,winpthreads,winstorecompat} and
mingw-w64-tools/{gendef,genidl,genpeimg,widl}, is it enough to install their
own COPYING, or
should the root COPYING be installed as well?
I think there are probably some wording issues. It looks to me that the root COPYING applies to a part only if such part isn't 'prominently marked' as a different license. For example winstorecompat has an MIT license which is clearly not 'Public Domain, BSD, or LGPL', but it should be excluded.
Of course you can include both licenses which will not otherwise cause violations. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
