Stephen Eisenhauer <[email protected]> wrote: > Debian already packages the PDFBox library (as libpdfbox-java and > libpdfbox2-java), but does not yet package these utilities or the included > PDF Debugger. I just filed https://bugs.debian.org/1129390 because, although it's very hard to tell, the libpdfbox2-java package does indeed ship the utilities but not in a proper way that's intuitive for a user. For a quick-and-dirty trick to use the utilities in PDFBox 2 right now on Debian, you can invoke it like this:
$ CLASSPATH="/usr/share/java/pdfbox2-tools.jar:/usr/share/java/pdfbox2.jar" java org.apache.pdfbox.tools.PDFBox PDFBox version: "2.0.29" Usage: java -jar pdfbox-app-x.y.z.jar <command> <args..> Possible commands are: Decrypt Encrypt ExtractText ExtractXMP ExtractImages OverlayPDF PrintPDF PDFMerger PDFReader PDFSplit PDFToImage TextToPDF WriteDecodedDoc The FDF and XFDF-related commands are omitted there, probably due to a mistake, but if you want those you can do this instead: $ CLASSPATH="/usr/share/java/pdfbox2-tools.jar:/usr/share/java/pdfbox2.jar:/usr/share/java/commons-logging-api.jar" java org.apache.pdfbox.tools.ImportFDF usage: org.apache.pdfbox.tools.ImportFDF <pdf-file> <fdf-file> <output-file> That said, PDFBox 3 is not yet in Debian and work still needs to be done there. Precedent has been to introduce new source packages for major versions here.
signature.asc
Description: This is a digitally signed message part

