Re: what in fedora rawhide replaces "pdftk" for extracting pages from PDF file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [1] 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.

Sorry , 
I don't know where I had my mind 
BuildRequires: gcc
BuildRequires: gcc-java
BuildRequires: libgcj
BuildRequires: libgcj-devel
BuildRequires: gcc-c++
#Requires: jre-gcj
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
#include <gcj/cni.h>
                     ^
when I saw that pdftk have a major update, I though in a miracle :) 

Best regards,
-- 
Sérgio M. B.

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux