-
Notifications
You must be signed in to change notification settings - Fork 149
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
Ghostscript is missing #112
Comments
Interesting to note that Ghostscript is also AGPL. |
I am interested in this, too. I tried it by installing But I would prefer a pre-build image of cause. The license seems to be no issue if I underdstand #111 (comment) correctly. I am happy to create a PR if that helps. I used this:
Should |
Thanks for the tip! I created the following FROM docker.io/asciidoctor/docker-asciidoctor
RUN apk add --no-cache ghostscript
RUN gem install rghost and the resulting image now allows me to run |
The major obstacle here is the license issue. Both Ghostscript and HexaPDF are AGPL. Where I'm fuzzy is that we're adding them to a Linux distribution, which potentially already has AGPL software. I'm usually pretty good about being able to make license decisions, but this one has me stumped. We can't add software that threatens our own license. If someone can verify that won't happen, then we can move forward with adding them. Otherwise, I think the best approach is to clearly document in the README how to extend the image. |
From the AGPLv3 license wording: I'm NOT a lawyer, but I'm pretty sure that this clause explicitly allows the inclusion of AGPL software in a software distribution without making everything in that distro AGPL. It should be fine, so long as ascidoctor is calling Ghostscript or HexaPDF as an external tool instead of directly linking to it. |
If the container included Ghostscript, it'd allow the built-in optimisation of asciidoctor-pdf to be used - see #111
The text was updated successfully, but these errors were encountered: