Improve the PDF / PocketMod export plugin to get rid of the pdftk-java dependency #984
Labels
dependencies
Pull requests that update a dependency file
enhancement
patch-or-wont-happen
Core maintainers would like this, but lack time/energy. Contribute a patch or it won't happen.
plugins
Plugins and extra backends
priority:low
It turns out that by using pdftk we accidentally depend on Java, which is hilarious and sad at the same time 🫠
Indeed, the pdftk project reportedly rewrote their codebase to Java some years ago. I had never noticed because the GTG package had disappeared from Fedora, but it actually exists in Debian, so whoever installs Debian's/Ubuntu's GTG package gets
pdftk-java
pulled in as part of the dependencies. I'm not even sure it actually works with that pdftk-java thing installed, in practice…This is not urgent, but eventually after 0.7 is done (see #737) and released, as part of #974 it would be a "nice thing to have" to get rid of this dependency. Maybe by doing MarkDown export as a first-class citizen instead of PDF, and leaving PDF generation to the various Markdown conversion tools?
The text was updated successfully, but these errors were encountered: