Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43929 - [new ebuild] app-text/pdftk-0.92
Summary: [new ebuild] app-text/pdftk-0.92
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-03-06 17:45 UTC by TGL
Modified: 2004-03-14 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
app-text/pdftk/pdftk-0.92.ebuild (pdftk-0.92.ebuild,1.12 KB, text/plain)
2004-03-06 17:46 UTC, TGL
Details
app-text/pdftk/files/pdftk.1 (pdftk.1,7.00 KB, text/plain)
2004-03-06 17:47 UTC, TGL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2004-03-06 17:45:59 UTC
From the homepage:
"
Pdftk is a simple tool for doing everyday things with PDF documents:
  * Merge PDF Documents
  * Split PDF Pages into a New Document
  * Decrypt Input as Necessary (Password Required)
  * Encrypt Output as Desired
  * Burst a PDF Document into Single Pages
  * Report on PDF Metrics, including Metadata and Bookmarks
  * Uncompress and Re-Compress Page Streams
  * Repair Corrupted PDF (Where Possible)
"

Working a lot with PDF files, I personnaly find this tool *very* useful, as it is the only one I know that allow manipulating this files without converting them to PS, which is always more or less destructive.


Misc. notes about the ebuild:
 - The program itself is C++, but makes heavy use of some Java classes, to be compiled with gcj.  Thus it can only be compiled if gcc has been emerged with the java use flag.  The ebuild try to check this, but it would benefit of bug #2272 if it ever happens.  
 - I've added a manpage found in the debian package, otherwise the package comes with no documentation.
 - gcj is called with no particular optimisation flags.  Should I use CFLAGS?  Or maybe adding a GCJFLAGS in make.conf would make sense?  Or maybe we don't really care...

Reproducible: Always
Steps to Reproduce:
Comment 1 TGL 2004-03-06 17:46:40 UTC
Created attachment 26967 [details]
app-text/pdftk/pdftk-0.92.ebuild
Comment 2 TGL 2004-03-06 17:47:19 UTC
Created attachment 26968 [details]
app-text/pdftk/files/pdftk.1
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-14 05:56:27 UTC
The upstream released pdftk-0.93 and it includes manpage from Debian.
I'll check and add the ebuild (looks ok) once I get time to build gcj...
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-14 10:53:24 UTC
I successfully emerged it and worked great :) It is really useful i
think. However, it didn't compile with gcc-3.2.3-r5, so I forced
the gcc version to >=sys-devel/gcc-3.3. I'm afraid we better keep
GCJFLAGS untouched since gcj isn't stable enough yet (FYI, I couldn't
compile pdftk on alpha box). I've just added it to CVS tree. Thanks
for introducing such a powerful tool to us.