Pardon me for digging this one up from the grave, but there seems to be a somewhat-recent change in status of pdftk; it's become hard-masked, at least in the following profile:
Code: Select all
# cat /usr/portage/metadata/timestamp.chk
Mon, 19 Feb 2018 17:30:01 +0000
# eselect profile list
...
[19] default/linux/amd64/17.0/desktop/plasma (stable)
[20] default/linux/amd64/17.0/desktop/plasma/systemd (stable) *
[21] default/linux/amd64/17.0/developer (stable)
...
# eix pdftk
* app-text/pdftk
Verfügbare Versionen: [M]2.02
Startseite: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
Beschreibung: A tool for manipulating PDF documents
I hesitate to install a hard masked packages on my system without really deep knowledge about the origin, so it's now time to evaluate whatever alternatives exist...
I found a substitute ghostscript command for one of the main functions that I used pdftk for:
Concatenate a series of individual PDF pages into a single PDF document:
Code: Select all
# gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=outfile.pdf *.pdf- Encrypting the PDF in a way that the proprietary PDF readers can decrypt it with a pre-shared password/key
- Decrypt ones with standard encrypting and a pre-shared password/key
- Break (burst) a single PDF in to many individual PDF's, 1-page-per-file
I see that a dependency of pdfshuffler is PYPDF2:
Code: Select all
# eix pypdf
* dev-python/PyPDF2
Verfügbare Versionen: 1.26.0 {examples PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6"}
Startseite: https://pypi.python.org/pypi/PyPDF2/ https://github.com/mstamy2/PyPDF2
Beschreibung: Python library to work with pdf files


