On Sun, Feb 13, 2011 at 5:09 AM, Andreas Tille <andr...@an3as.eu> wrote: > When using > > dh --with javahelper > > jh_linkjars seems to be called automatically (but I probably need to > provide an input file for this. However if this does not work with > java:Depends I'm not in favour of this method anyway.
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] ^ > ... > > even after having the classpath adapted to include > > ${deblib}/freehep-graphics2d.jar > > (deblib:=/usr/share/java). Any further ideas? You might need to B-D on libfreehep-graphicsio-java [1,2] and include ${deblib}/freehep-graphicsio.jar in your classpath. Also, now that you are properly setting the classpaths for your jars, you can make the figtree's Depends in debian/control be: Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}. That should add default-jre | sun-java and also try to resolve which java libraries you are using. Debhelper won't do that automatically through dh_shlibdeps. See jh_depends manpage. Cheers, Scott [1] http://packages.debian.org/sid/libfreehep-graphicsio-java [2] http://java.freehep.org/vectorgraphics/apidocs/org/freehep/graphicsio/pdf/PDFGraphics2D.html -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktinut6gbmqcgnatrpfr8vbjw8ws4h8n-qvwja...@mail.gmail.com