Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

pdftk hard masked? :(

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
geeksheik
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 99
Joined: Sun Sep 07, 2003 10:04 pm
Location: Zürich, Switzerland

pdftk hard masked? :(

  • Quote

Post by geeksheik » Mon Feb 19, 2018 11:20 pm

[Moderator note: this post and the first response were originally attached to the four year old topic [topic=960206]splitting a pdf file in its pages [SOLVED][/topic]. Although linked by their mutual interest in pdftk, these threads are otherwise independent. -Hu]

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 really liked pdftk. Perhaps enough to pay for it. Can anyone offer some perspective as to why this might have happened?

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
However, I don't have solutions for my other use cases at the moment:
  • 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
pdfshuffler looks interesting and is not masked, but it's described as a GUI app and I need something scriptable, without any GUI dependencies

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
It also seems to handle the encryption and decryption of some set of formats. ...but a Python library is a bit low-level for what I'm trying to accomplish. I just want pdftk.
Top
hika
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Fri Mar 13, 2009 5:55 pm
Location: Utrecht

  • Quote

Post by hika » Tue Feb 20, 2018 12:15 am

As far as I know there are two possible main reasons for this kind of masking:
- The program is no longer maintained, so no updates on upcoming issues can be expected and possibly one has come up.
- There is no longer a Gentoo package maintainer for the program

So I suggest to first take a look at the program home site.

Hika
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Feb 20, 2018 2:50 am

Why not get the canonical answer?

Code: Select all

# emerge -pv pdftk

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "pdftk" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-text/pdftk-2.02::gentoo (masked by: package.mask)
/usr/portage/profiles/releases/17.0/package.mask:
# Andreas K. Huettel <dilfridge@gentoo.org> (1 Dec 2017)
# The following packages require GCC 5 or earlier and are therefore
# masked in the 17.0 profiles.
The solution is that someone needs to address whatever issue(s) cause this package not to work under gcc-6, at which point it can be unmasked. Unfortunately, according to [bug=562568#c12]=app-text/pdftk-2.02 calls gcj directly, comment #12[/bug]:
James Le Cuirot wrote:It is very telling that upstream promised a non-gcj version some two years ago and still haven't delivered. No wonder Fedora stopped packaging it. I know this software is quite unique but be prepared to let it go if upstream don't deliver.
I read this to mean that the fix is non-trivial, upstream promised to deliver it, and has not made good on that promise despite considerable lead time. It is therefore unlikely that this package can be saved, at least in the short term.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Feb 20, 2018 7:06 am

Also see https://forums.gentoo.org/viewtopic-t-1 ... pdftk.html
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic