I have come to rely on pdftk, which has disappeared in opensuse 11.2
I tried just cloning the package from 11.1 into factory & 11.2 in OBS, which didn’t work. I tried tracking that down and got bogged down in a maze of dependancies and ultimately some incompatibility with the latest g++ or gcj which I failed to figure out. I see the errors in the build log, I just don’t see what’s wrong with the code, especially since it builds fine on 11.1. It looks like maybe it was always technically incorrect code, but only now gcj or g++ refuses to accept it. But I can’t tell what’s actually wrong with it. And the home site hasn’t been updated in 3 years so no luck there.
Has anyone managed to build pdftk on 11.2 ?
Or, is there some other package that can do what pdftk does ? (non-interactive pdf manipulation)
I see debian and ubuntu still have it in their latest versions. So next I’m going to try just importing a .deb with alien or maybe try porting their patch set over to my OBS package.
Well I wouldn’t mind doing that but I’m not sure I have the time or ability to meet the quality level expected according to the intro docs.
My ability and/or time I have available basically goes as far as “get it to build”, staying up to date with upstream and with opensuse, applying patches others provide.
Things my reading of the Contrib doc implies, which I would mostly not be able to do:
Fix bugs.
Fix security issues.
Audit patches others may supply for quality to decide if they should actually be applied or not, or corrected before applying.
Test or even build for any other platform besides i386 and x86_64. I could let OBS try to build the other platforms but wouldn’t be able to test and probably wouldn’t be able to actually fix any problems.
The closest I could come would be a completely lame parasitic cheat, ie, I could just find someone elses package that has a real maintainer, like maybe debian’s, and just track their package the same as, or instead of, tracking upstream.
But if that’s actually good enough I’d do that no problem.
Otherwise, just deal with getting it from the home:aljex repo.
You can also alternatively use gs:
gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf input1.pdf input2.pdf …
Anyway thank for the instruction to compile pdftk. I am trying that right now. I have more confidence in pdftk then gs as it can crash with some characters.
What I tend to do is grab someone else’s spec file (from 11.1) and see if I can build it under 11.2. ie with something like:
rpmbuild --rebuild pdftk-1.41-103.1.src.rpm
I’m rattling that syntax off the top of my head, so I may have it wrong.
One can go here under 11.1, and find many users who package pdftk for 11.1 and then go to their repos directory, find the “src” directory, and drag one of their source files back: Webpin search for pdftk in openSUSE-11.1
I have not checked, but some of them may have already packaged pdftk for 11.2. Webpin is still not functioning for 11.2, making 11.2 application searches a bit more difficult.