what in fedora rawhide replaces "pdftk" for extracting pages from PDF file?
sergio at serjux.com
Wed Apr 23 03:39:06 UTC 2014
On Ter, 2014-04-22 at 20:45 -0600, Orion Poplawski wrote:
> On 04/22/2014 08:06 PM, Sérgio Basto wrote:
> > On Ter, 2014-04-22 at 18:39 -0600, Michal Jaegermann wrote:
> >> On Wed, Apr 23, 2014 at 12:37:26AM +0200, drago01 wrote:
> >>> Port pdftk to openjdk?
> >> I am not sure if there is really anything to port. At
> >> http://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/
> >> you can find pdftk-2.02-1.el6.src.rpm. I do not now about rawhide
> >> but out of curiosity I tried on a Fedora 20 installation:
> >> rpmbuild --rebuild pdftk-2.02-1.el6.src.rpm
> >> OTOH after light testing
> >> pdftk binary seems to work just fine and it appears to be somwewhat
> >> faster then the one from pdftk-1.44-11.fc19.x86_64 (the last one
> >> available on Fedora 64-bits mirrors) although I did not try to do any
> >> measurements.
> > So pdftk 2.02 already port to openjdk ! ,
> > we could undeprecated pdftk  and update to 2.02, checking pdftk.spec
> > from 2.02 is pretty cool spec
> No, it isn't. It still uses gcj, still bundles lots of java.
I don't know where I had my mind
Requires: libstdc++ libgcj
so I was trying rebuild pdftk-1.44-11.fc19 with openjdk , when I mixed
up things compiling pdftk.spec ends up with
attachments.cc:33:21: fatal error: gcj/cni.h: No such file or directory
when I saw that pdftk have a major update, I though in a miracle :)
Sérgio M. B.
More information about the test