Skip to content
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 clarification #96

Closed
mariuszpala opened this issue Mar 30, 2022 · 4 comments
Closed

License clarification #96

mariuszpala opened this issue Mar 30, 2022 · 4 comments

Comments

@mariuszpala
Copy link

mariuszpala commented Mar 30, 2022

Hi,

I was about to use asciidoctorj-pdf for my project (commercial), but I noticed that although that project is under Apache 2.0 licence, it contains ttfunk gem which seems to be under GPL. That means we cannot really use it without sharing our source code.
Is my understanding correct? In general asciidoctorj-pdf uses jruby which includs prawn which includes ttfunk. Just ttfunk in the whole dependency tree is under GPL and not Ruby license.
Can you please clarify whether this prevents us using the parent library in a commercial project?

For reference: asciidoctor/asciidoctorj-pdf#69

@mariuszpala mariuszpala changed the title Licence clarification License clarification Mar 30, 2022
@pointlessone
Copy link
Member

  1. TTFunk is a multi-license gem (as Prawn, pdf-core, and prawn-table are, too). You can chose which license to use. The licenses are GPL2, GPL3, or Prawn license (based on Ruby license). Here's a copy.
  2. Even under GPL you don't need to share you code if you're just using asciidoctor-pdf as a stand-alone tool. For example, your app/lib code doesn't need to be published if you're using asciidoctor for documentation. Only the extensions to asciidoctor-pdf might need to be published if you have any.

@mariuszpala
Copy link
Author

That's the point, I want to use asciidoctorj-pdf library embedded in the app which would convert the AsciiDoc docs into PDF from Java app, which means embedded jruby with embedded ttfunk gem. From the license conditions it seems not allowed. Basically using ascidoctorj seems not be allowed for commercial use as it is then distributed with the software.

@pointlessone
Copy link
Member

I can't say anything for asciidoctor but you can distribute prawn gems under Prawn license without having to release your source code. Specifically, according to paragraph 3 it should be enough to link to Prawn somewhere in your docs to satisfy the license.

To clarify, you can chose one of the three licenses. You don't have to satisfy all three at the same time (I'm not sure that's even possible). From what I gathered you want to chose the Prawn license.

@mariuszpala
Copy link
Author

Thank you for the clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants