Hi Emmanuel,
I tried with my admittedly close to zero Java skills to follow your
advise given in your mail.
On Sun, Feb 22, 2015 at 10:31:13PM +0100, Emmanuel Bourg wrote:
> I conducted a quick experiment: I removed the hep.aida.bin package from
> Colt, removed/patched the code using it and built the reverse
> dependencies. I ended up with these classes removed:
>
> src/cern/colt/GenericSortingTest.java
> src/cern/colt/matrix/bench/BenchmarkMatrix.java
> src/cern/colt/matrix/doublealgo/DoubleMatrix1DComparator.java
> src/cern/colt/matrix/doublealgo/DoubleMatrix2DComparator.java
> src/cern/colt/matrix/doublealgo/Formatter.java
> src/cern/colt/matrix/doublealgo/Partitioning.java
> src/cern/colt/matrix/doublealgo/Sorting.java
> src/cern/colt/matrix/doublealgo/Statistic.java
> src/cern/colt/matrix/doublealgo/Stencil.java
> src/cern/colt/matrix/doublealgo/Transform.java
> src/cern/colt/matrix/doublealgo/package.html
> src/cern/colt/matrix/impl/BenchmarkMatrix2D.java
> src/cern/colt/matrix/impl/TestMatrix2D.java
> src/cern/jet/random/Benchmark.java
> src/cern/jet/stat/quantile/Quantile1Test.java
> src/hep/aida/ref/Converter.java
> src/hep/aida/ref/Test2.java
I did so using Files-Excluded and created a new tarball. I think it is
a good idea to provide it as a separate package libcolt-free-java (feel
free to suggest a better name).
> and I also had to make minor modifications to the following classes (I
> commented the toString() and viewSorted() methods):
>
> src/cern/colt/matrix/DoubleMatrix1D.java
> src/cern/colt/matrix/DoubleMatrix2D.java
> src/cern/colt/matrix/DoubleMatrix3D.java
I think I've got this.
> src/cern/colt/matrix/linalg/Property.java
Not sure what to do here.
I also fetched the files from freehep jaida with the same names and
moved them into place. I commited this to
git://anonscm.debian.org/debian-med/libcolt-free-java.git
and you can find the files I fetched from freehep jaida in
debian/freehep-jaida (and the script I used to fetch the files to make
it reproducible what I did). The freehep files are moved right into
the old place in d/rules.
Unfortunately I'm not as lucky as you since my attempt to build failed
with
[javac]
/tmp/buildd/libcolt-free-java-1.2.0+dfsg/src/hep/aida/IAxis.java:11: error:
package hep.aida.jni does not exist
[javac] import hep.aida.jni.AIDAJNIUtil;
[javac] ^
[javac]
/tmp/buildd/libcolt-free-java-1.2.0+dfsg/src/hep/aida/IAxis.java:13: error:
duplicate class: hep.aida.swig.IAxis
[javac] public class IAxis implements hep.aida.IAxis {
[javac] ^
[javac]
/tmp/buildd/libcolt-free-java-1.2.0+dfsg/src/hep/aida/IAxis.java:13: error:
cannot access IAxis
[javac] public class IAxis implements hep.aida.IAxis {
[javac] ^
[javac] bad source file:
/tmp/buildd/libcolt-free-java-1.2.0+dfsg/src/hep/aida/IAxis.java
[javac] file does not contain class hep.aida.IAxis
[javac] Please remove or make sure it appears in the correct
subdirectory of the sourcepath.
BUILD FAILED
/tmp/buildd/libcolt-free-java-1.2.0+dfsg/build.xml:156: Compile failed; see the
compiler error output for details.
Unfortunately I have no idea what to do next.
> I've successfully rebuilt beast-mcmc, spread-phy and libjung-java with
> this stripped down version of libcolt-java. I haven't been able to
> create a source tarball for beast2-mcmc, libdsol1-java and libssj-java
> so I don't know for these packages, but this result is promising.
I'd be happy to reproduce this if I get some hints how to build
libcolt-free-java.
> At this point I think freehep aida/jaida should be packaged, then a new
> colt-free package could be created using freehep-aida and the
> modifications I made. This will allow you to free at least 3 packages
> from contrib.
The question in my other mail where I responded to your mail above was
how we actually should proceed packaging freehep aida/jaida. I would
need more exact advise how you would obtain the tarball of what really
needs to be packaged. I fail to understand all the files in their SVN
and how they are organised and what part we will really need.
So this boild down to two questions:
1. Is there any chance to get libcolt-free-java building and working
with this as a quick and dirty solution
2. Could any kind soul give a kickstart for freehep aida/jaida
packaging. I would try to help finishing it to get a cleaner
solution than the code copy above.
Kind regards
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]