-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
License issues #174
Comments
Hi Marcel, thanks for letting me know about this. From reading tapeinosyne/hyphenation#17 and the license information for
So a commercial program should probably use the code from To use
dependency line from From reading about the manifest format in Cargo, it seems that it's not actually possible for people to do this today! Hmm... I wonder how one can work around this? Perhaps
to somehow include |
I should note that although the individually licensed pattern files (under What So, as for:
That depends on whether the GPL propagates from the source patterns to the serialized dictionaries, which is unclear to me. (Before that, it is unclear to me how to correctly apply the GPL to something that is rather closer to data than code.) |
Thanks @tapeinosyne for the explanation! I agree that it's hard to see how the GPL should apply to a program that loads a piece of data (the The GPL FAQ has a question about a similar situation where a proprietary program can load a module licensed under the GPL. It boils down to whether the two form a combined program:
The above is about a main program that executed code in a loadable module. It's not well-defined when GPL plugins and a main program become a combined program:
I would argue that the situation is very different when a program uses Ultimately, the licensing question is for the program author to decide. If you write a CLI tool that uses Note that the licenses differ from language to language. Luckily, the en-US hyphenation patterns are under a simple license:
I hope that should be good enough for a majority of use cases. I might even change the @marcelbuesing, thanks for raising the issue in the first place. Based on all the above, I don't think there is a problem in |
Before we would embed hyphenation patterns for all languages, even if the majority of them wouldn't end up being used. Instead we now only embed the US-English hyphenation patterns (about 88 KB of space). The en-US [hyphenation patterns][1] are under a simple license, which makes them safe to redistribute: ``` % licence: % text: > % Copying and distribution of this file, with or without modification, % are permitted in any medium without royalty provided the copyright % notice and this notice are preserved. ``` This is related to #174, where concern was raised over `textwrap` potentially including files licensed under the GPL. With this change, such files are completely avoided. Programs that need hyphenation in other languages can still bundle the necessary hyphenation patterns. [1]: https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex
Before we would embed hyphenation patterns for all languages, even if the majority of them wouldn't end up being used. Instead we now only embed the US-English hyphenation patterns (about 88 KB of space). The en-US hyphenation patterns[1] are under a simple license, which makes them safe to redistribute: % licence: % text: > % Copying and distribution of this file, with or without modification, % are permitted in any medium without royalty provided the copyright % notice and this notice are preserved. This is related to #174, where concern was raised over textwrap potentially including files licensed under the GPL. With this change, such files are completely avoided. Programs that need hyphenation in other languages can still bundle the necessary hyphenation patterns. [1]: https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex
Before we would embed hyphenation patterns for all languages, even if the majority of them wouldn't end up being used. Instead we now only embed the US-English hyphenation patterns (about 88 KB of space). The en-US hyphenation patterns[1] are under a simple license, which makes them safe to redistribute: % licence: % text: > % Copying and distribution of this file, with or without modification, % are permitted in any medium without royalty provided the copyright % notice and this notice are preserved. This is related to #174, where concern was raised over textwrap potentially including files licensed under the GPL. With this change, such files are completely avoided. Programs that need hyphenation in other languages can still bundle the necessary hyphenation patterns. [1]: https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex
Before we would embed hyphenation patterns for all languages, even if the majority of them wouldn't end up being used. Instead we now only embed the US-English hyphenation patterns (about 88 KB of space). The en-US hyphenation patterns[1] are licensed under a permissive license, which makes them safe to redistribute: % licence: % text: > % Copying and distribution of this file, with or without modification, % are permitted in any medium without royalty provided the copyright % notice and this notice are preserved. This is related to #174, where concern was raised over textwrap potentially including files licensed under the GPL. With this change, such files are completely avoided. Programs that need hyphenation in other languages can still bundle the necessary hyphenation patterns. [1]: https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex
I think we can close this now. |
This issue might be problematic:
tapeinosyne/hyphenation#17
Although the hyphenation crate is an optional dependency there are quite a number of files licensed as GPL. I am not a licensing expect but this seem troublesome. It also comes up when using https://fossa.com checking crates that depend on clap. Because clap depends on textwrap, although it does not use the hyphenation feature (Apparently fossa is not aware of cargo features).
The text was updated successfully, but these errors were encountered: