Summary: | app-text/pdftk-1.44: nodrm patch missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mariusz Pękala <mariusz> |
Component: | New packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | java, mao.c.pu, martin, pk1 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | pdftk nodrm patch |
Description
Mariusz Pękala
2010-12-16 11:11:40 UTC
Created attachment 285761 [details, diff] pdftk nodrm patch Maybe you can try this patch, which uses the solution proposed at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531529. Did anyone have the chance to test the proposed patch? Seems to work for me. I have been using the change (although without this specific patch file) for a while now without any issues. Seems like noone wants to put this back in, given the fervent activity on this bug. I suggest you add the patch yourself if you need it (via /etc/portage/patches). Adding the patch via /etc/portage/patches doesn't work because the ebuild doesn't call epatch_user. OK, you can create a file /etc/portage/bashrc to force a call to epatch_user, but why all the trouble? This is just a small patch, which isn't enabled by default. So why don't you add it? If I had the rights, I would do so. If you don't want to add an extra file, there is even a smaller way (nearly a one-liner) to achieve that pdftk can handle encrypted PDF files: if use nodrm; then sed -i 's:passwordIsOwner= false:passwordIsOwner= true:' "${WORKDIR}/${P}"-dist/java/com/lowagie/text/pdf/PdfReader.java || die fi This is the same way how it was done in pdftk-1.41 (see bug #296455) and also works fine with pdftk-1.44. |