Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41064 - new ebuild for itext 2.02 (java pdf library)
Summary: new ebuild for itext 2.02 (java pdf library)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal
Assignee: Java team
URL: http://www.lowagie.com/iText/index.html
Whiteboard:
Keywords:
Depends on:
Blocks: 41262
  Show dependency tree
 
Reported: 2004-02-09 19:30 UTC by Matthew Gregory Sr.
Modified: 2004-02-17 20:25 UTC (History)
1 user (show)

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


Attachments
da ebuild (itext-2.02.ebuild,862 bytes, text/plain)
2004-02-09 19:32 UTC, Matthew Gregory Sr.
Details
proper tarball of the source... see comments in bug report for why I repackaged it. (itext-2.02.tar.bz2,550.66 KB, application/octet-stream)
2004-02-09 19:34 UTC, Matthew Gregory Sr.
Details
retouched eclass (itext-2.02.ebuild,737 bytes, text/plain)
2004-02-11 09:18 UTC, Matthew Gregory Sr.
Details
USE THIS EBUILD (itext-2.02.ebuild,734 bytes, text/plain)
2004-02-11 09:29 UTC, Matthew Gregory Sr.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Gregory Sr. 2004-02-09 19:30:34 UTC
I created an ebuild for itext (see url: api for PDF creation in java).
Everything should be here, and I have had no build issues.  

The example url is the repackaged source.  The source from the website comes as 3 parts.  A build.xml for ant, src.tar.gz and srcXML.tar.gz.  I have repackaged it as itext-2.02.tar.bz2.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Matthew Gregory Sr. 2004-02-09 19:32:09 UTC
Created attachment 25311 [details]
da ebuild
Comment 2 Matthew Gregory Sr. 2004-02-09 19:34:32 UTC
Created attachment 25312 [details]
proper tarball of the source... see comments in bug report for why I repackaged it.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-02-09 19:43:56 UTC
Comments:

Use header.txt from $PORTDIR for the first lines.  This will always be right
and you'll avoid things like getting the copyright date wrong.

No need to cd to ${S} in src_compile() and src_install() - that's the default.

put packages in DEPEND and RDEPEND on separate lines.  it's easier to read.

otherwise, pretty nice. ;-)
Comment 4 Matthew Gregory Sr. 2004-02-11 09:18:17 UTC
Created attachment 25416 [details]
retouched eclass

I retouched the ebuild as suggested.
Comment 5 Matthew Gregory Sr. 2004-02-11 09:29:20 UTC
Created attachment 25417 [details]
USE THIS EBUILD

I've noticed that I had an error in the test for the J2EE_HOME evar where the
test always returns true.  I've fixed that, and the header.  This ebuild should
now be fairly robust.
Comment 6 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-17 20:25:59 UTC
In portage. Thanks.