Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231331

Summary: FreeHEP libraries
Product: Gentoo Linux Reporter: Andrey Kislyuk (RETIRED) <weaver>
Component: New packagesAssignee: Andrey Kislyuk (RETIRED) <weaver>
Status: RESOLVED FIXED    
Severity: enhancement CC: gentoo, java, theli.ua
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://java.freehep.org/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 209696, 215877    
Attachments: avail-ebuilds
freehep-aid-2.0.ebuild
depscan.pl
depscan.out
depscan.pl
depscan.out
make-maven-ebuild.pl
maven-proto.ebuild
make-maven-ebuild.pl

Description Andrey Kislyuk (RETIRED) gentoo-dev 2008-07-09 19:36:25 UTC
The FreeHEP libraries are a dependency of cytoscape (bug 215877) and seem to be a nice package to have in the tree.

NB: They use Maven as a build system.
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2008-07-09 20:52:18 UTC
List of bundled freehep jars:

freehep-export-2.1.1.jar
freehep-graphics2d-2.1.1.jar
freehep-graphicsio-2.1.1.jar
freehep-graphicsio-java-2.1.1.jar
freehep-graphicsio-ps-2.1.1.jar
freehep-graphicsio-svg-2.1.1.jar
freehep-io-2.0.2.jar
freehep-jas-plotter-2.2.jar
freehep-swing-2.0.3.jar
freehep-util-2.0.2.jar
freehep-xml-2.1.1.jar
Comment 2 René 'Necoro' Neumann 2008-08-10 00:25:11 UTC
I have a package (sdedit) also needing freehep and having it bundled. Before writing an ebuild for this package, it would be great to have a FreeHEP ebuild.

Here are the freehep-jars needed additionally to ones listed above:

freehep-graphicsio-emf-2.1.1.jar  
freehep-graphicsio-pdf-2.1.1.jar  
freehep-graphicsio-swf-2.1.1.jar 
Comment 3 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 05:13:22 UTC
I'm not sure if I'll have the willpower to get this package done, because its dependencies are such a pain to pull in. But I'm attaching some results I've had so far, using the java-mvn-src eclass. The ebuilds are all the same so far, I attach a list of their names and the text of one of them. I also scanned all dependencies and mapped internal dependencies, but external deps need a lot of manual work to specify.
Comment 4 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 05:14:18 UTC
Created attachment 177542 [details]
avail-ebuilds
Comment 5 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 05:14:47 UTC
Created attachment 177543 [details]
freehep-aid-2.0.ebuild
Comment 6 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 05:15:13 UTC
Created attachment 177545 [details]
depscan.pl
Comment 7 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 05:16:31 UTC
Created attachment 177547 [details]
depscan.out
Comment 8 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 05:19:36 UTC
p.s. the java-mvn-src eclass is in the java-experimental overlay.
Comment 9 Serkan Kaba (RETIRED) gentoo-dev 2009-01-06 20:25:54 UTC
(In reply to comment #6)
> Created an attachment (id=177545) [edit]
> depscan.pl
> 

Upstream already has helpful pages reporting dependencies (built by maven) See http://java.freehep.org/freehep-io/dependencies.html as an example for freehep-io
Comment 10 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 22:38:07 UTC
Created attachment 177608 [details]
depscan.pl

a better bastardized way to scan maven dependencies
Comment 11 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-06 22:38:26 UTC
Created attachment 177610 [details]
depscan.out
Comment 12 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-09 22:10:51 UTC
Upstream's repository is horrible and their dependency matrix is broken. I've made ebuilds for the packages that cytoscape depends on, and might do the extras for sdedit shortly. If someone needs more packages from this project, please fix the dependencies yourself.

Comment 13 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-09 22:12:17 UTC
Created attachment 177912 [details]
make-maven-ebuild.pl
Comment 14 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-09 22:13:42 UTC
Created attachment 177913 [details]
maven-proto.ebuild
Comment 15 Serkan Kaba (RETIRED) gentoo-dev 2009-01-10 09:39:44 UTC
(In reply to comment #12)
> Upstream's repository is horrible and their dependency matrix is broken. I've
> made ebuilds for the packages that cytoscape depends on, and might do the
> extras for sdedit shortly. If someone needs more packages from this project,
> please fix the dependencies yourself.
> 
Thank you for the effort.
Comment 16 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-10 15:33:36 UTC
Created attachment 177972 [details]
make-maven-ebuild.pl
Comment 17 Andrey Kislyuk (RETIRED) gentoo-dev 2009-01-10 15:35:06 UTC
I've commited these to java-experimental:

dev-java/freehep-record-2.0
dev-java/freehep-graphicsio-swf-2.1.1
dev-java/freehep-graphicsio-svg-2.1.1
dev-java/freehep-graphicsio-ps-2.1.1
dev-java/freehep-graphicsio-pdf-2.1.1
dev-java/freehep-graphicsio-java-2.1.1
dev-java/freehep-graphicsio-emf-2.1.1
dev-java/freehep-xml-2.1.2
dev-java/freehep-graphicsio-tests-2.1.1
dev-java/freehep-graphicsio-2.1.1
dev-java/freehep-graphics2d-2.1.1
dev-java/freehep-export-2.1.1
dev-java/freehep-io-2.0.2
dev-java/freehep-swing-2.0.3
dev-java/freehep-util-2.0.2
dev-java/freehep-misc-deps-0.1

dev-java/freehep-mcfio-2.0.1
dev-java/freehep-parameterdatabase-2.0
dev-java/freehep-rootio-2.0.9
dev-java/freehep-rtti-2.0
dev-java/freehep-sio-2.0
dev-java/freehep-stdhep-2.0.2
dev-java/freehep-xdr-2.0.3

Please test.

Check the freehep maven site (http://java.freehep.org/maven2) for packages that need work.
Comment 18 Anton Romanov 2009-05-13 08:44:08 UTC
well, since java-experimental states "MOVED to gcj-overlay" and gcj-overlay does not contain this ... where ebuilds can be found? :)
Comment 19 Andrey Kislyuk (RETIRED) gentoo-dev 2009-05-13 12:28:59 UTC
They're still in java-experimental: http://overlays.gentoo.org/proj/java/browser/java-experimental/dev-java/
Comment 20 Andrey Kislyuk (RETIRED) gentoo-dev 2010-01-29 01:29:27 UTC
In main tree