Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129638 - ebuild for dev-java/jgraph-5.9.2.0 (update)
Summary: ebuild for dev-java/jgraph-5.9.2.0 (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 122085
  Show dependency tree
 
Reported: 2006-04-11 15:52 UTC by Matthias Langer
Modified: 2006-10-12 05:22 UTC (History)
2 users (show)

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


Attachments
ebuild for jgraph-5.8.0.0 (jgraph-5.8.0.0.ebuild,558 bytes, text/plain)
2006-04-11 15:54 UTC, Matthias Langer
Details
ebuild for jgraph-5.9.2.0 (jgraph-5.9.2.0.ebuild,560 bytes, text/plain)
2006-09-05 03:35 UTC, Matthias Langer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Langer 2006-04-11 15:52:41 UTC
Attached is an ebuild for the latest version of dev-java/jgraph as the latest version in portage is somehow out of date.
Comment 1 Matthias Langer 2006-04-11 15:54:14 UTC
Created attachment 84470 [details]
ebuild for jgraph-5.8.0.0
Comment 2 Matthias Langer 2006-04-29 13:23:16 UTC
btw: I'm allready using jgraph-5.8.0.0 with this ebuild on two boxes and it seems to work fine (with sun-jdk-1.5.0.06-r2).
Comment 3 David Grant 2006-08-10 12:21:19 UTC
I just renamed to 5.9.2.0 and that worked fine as well.
Comment 4 Matthias Langer 2006-09-05 03:16:20 UTC
(In reply to comment #3)
> I just renamed to 5.9.2.0 and that worked fine as well.
same for me ...
Comment 5 Matthias Langer 2006-09-05 03:35:39 UTC
Created attachment 96048 [details]
ebuild for jgraph-5.9.2.0

this ebuild inherits java-pkg-2 instead of java-pkg; thus a generation 2 compiler (aka java-1.5) will be used by default ... (don't ask me if this is a good idea, but at the moment i like it)
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-10-11 08:05:23 UTC
Commited to CVS, thanks everyone.
Some notes on generation-2 ebuild from here:
- you need to add java-ant-2 in inherit to get proper bytecode in cases where build.xml doesn't specify source and target arguments to <javac> itself
- use doc && antflags="${antflags} doc" can be rewritten to $(use_doc apidoc)
- call eant instead of ant, and you don't need || die ... error handling is in eant itself
- you can stuff everything to one line instead of building $antflags
- specify S="${WORKDIR}" (in this case) and you don't need to prefix everything with WORKDIR or work... that's bad
Comment 7 Matthias Langer 2006-10-12 04:29:53 UTC
well, thanks for your tipps and thanks for adding jgraph-5.9.2.0 to the tree ...
btw.: i think "src" should be substituted with "source" in line 43 of the ebuild ...
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-10-12 05:22:08 UTC
Whoops, thanks, fixed.