> Cordova does too, so Jan may be able to answer. Apache Cordova fortunately only _uses_ it via APIs that are offered by the OS, and does not _include_ it (or any of its code) - so this problem never came up.
-J Am Di., 11. Juni 2019 um 18:32 Uhr schrieb Myrle Krantz <[email protected]>: > On Tue, Jun 11, 2019 at 2:20 PM 申远 <[email protected]> wrote: > > > > > > > But you say "a mixture of LGPL and BSD license at runtime". What do > you > > > mean by that? Is there a way to reduce that to just BSD? Or are you > > using > > > WebCore or JavaScriptCore? > > > > > > According to the document, "WebKit is open source software with portions > > licensed under the LGPL and BSD licenses available here." [1] and Weex > just > > has a dynamic link to the shared library of WebKit. IMO, the license of > > Webkit is really a mess, I really don't know whether Weex will invoke > LGPL > > part of Webkit at runtime, or there is a call chain will will lead to > LGPL > > code eventually, like Weex.apiA-> Webkit.BSD.apiA -> Webkit.BSD.apiB -> > > Webkit.LGPL.apiC > > > > I suggest asking on the [email protected] list. With luck, > you'll find someone there who's looked at this more deeply. (Actually > Flex seems to use some part from webkit, so Justin may be able to answer > this question. Cordova does too, so Jan may be able to answer.) And if > not, they may send you on to the [email protected] list. My guess is that, > if you're only using the parts that you can access using the BSD-licensed > headers, that you can consider it to be licensed under BSD. I hope this is > true. But I don't actually know. > > But what I do know is that all of the header files of a certain directory > > [2] in Webkit are under BSD License. And after some major change, Weex > > could just import the header file I mentioned at compiling stage, though > at > > runtime Weex has to dynamic link to the shared library of Webkit as > before. > > As for glibc(sorry for my misspelling, it's not glic, it's glibc), which > is > > also under LGPL license, any serious program could invoke the glibc by > > simply a *malloc* function in a *.c file. I don't see any difference > there > > between Weex using Webkit and any other C program using glibc. > > > > The point is that, if there are alternatives (which there are for the c > runtime), then the dependency is optional for your user. Optional > dependencies are treated differently than required dependencies for ASF > release policy. But again, I suggest asking on [email protected]. > > Best Regards, > Myrle >
