[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help wanted in Java library packaging (JEBL2)



On Sun, Feb 13, 2011 at 11:30 AM, Andreas Tille <andreas@an3as.eu> wrote:
> On Sun, Feb 13, 2011 at 09:54:58AM -0500, Scott Howard wrote:
>> It looks like you got it working, and in a sane way - that's all that matters!
>>
>> > Now to my remaining problem:  If you look at the updated build log
>> > at the given URL I ran into
>> >
>> >    [javac] /home/andreas/debian-maintain/todo/0_debian-med_todo/0phylogeny/figtree/figtree-wo_jam_jebl/figtree-1.3.1/src/figtree/application/FigTreeApplication.java:20: package org.fr
>> >    [javac] import org.freehep.graphicsio.ps.PSGraphics2D;
>> >    [javac]                                 ^
>> >    [javac] /home/andreas/debian-maintain/todo/0_debian-med_todo/0phylogeny/figtree/figtree-wo_jam_jebl/figtree-1.3.1/src/figtree/application/FigTreeApplication.java:21: package org.fr
>> >    [javac] import org.freehep.graphicsio.pdf.PDFGraphics2D;
>> >    [javac]                                  ^

>> You might need to B-D on libfreehep-graphicsio-java [1,2] and include
>> ${deblib}/freehep-graphicsio.jar in your classpath.
>
> I did both:
>
> $ grep libfreehep-graphicsio-java debian/control
>  libfreehep-graphics2d-java, libfreehep-graphicsio-java, libjebl2-java, libjam-java,
>
> $ grep freehep-graphicsio.jar build.xml
>                       classpath="${deblib}/jebl.jar:${deblib}/jam.jar:${deblib}/freehep-graphics2d.jar:${deblib}/freehep-graphicsio.jar:${deblib}/freehep-export.jar:${lib}/iText.jar">
>
> as I hoped to show at
>
>   http://people.debian.org/~tille/packages/figtree-help-wanted/
>
> However, the problem above remained and I have no idea why.

The joy of java libraries... I think we need even more specific
libraries: libfreehep-graphicsio-pdf-java
libfreehep-graphicsio-ps-java [1,2]. I'm away from machines I can use
to build, but I check the debian git repos for those two packages and
they have the .java files you are looking for [3 4

then add the following to the classpath
${deblib}/freehep-graphicsio-pdf.jar
${deblib}/freehep-graphicsio-ps.jar

Cheers,
Scott

[1] http://packages.debian.org/sid/libfreehep-graphicsio-pdf-java
[2] http://packages.debian.org/sid/libfreehep-graphicsio-ps-java
[3] http://git.debian.org/?p=pkg-java/freehep/freehep-graphicsio-pdf.git;a=blob;f=src/main/java/org/freehep/graphicsio/pdf/PDFGraphics2D.java
[4] http://git.debian.org/?p=pkg-java/freehep/freehep-graphicsio-ps.git;a=blob;f=src/main/java/org/freehep/graphicsio/ps/PSGraphics2D.java


Reply to: