[Debian-med-packaging] Help needed for Java dependencies of Beast2 package

Andreas Tille andreas at an3as.eu
Tue Sep 29 12:07:34 UTC 2015


Hi,

I intend to package Beast2 for the Debian Med team[1].  I was able to
replace nearly all JARs that came with upstream tarball but there are
two remaining ones:

  1. antlr-runtime-4.5.jar
     It seems that we have antlr-runtime version 3 of this in the
     package libantlr3-runtime-java but this does not seem to be
     sufficient regarding some error messages like

    [javac] /tmp/buildd/beast2-mcmc-2.3.1+dfsg/src/beast/util/TreeParser.java:39: error: package org.antlr.v4.runtime does not exist
    [javac] import org.antlr.v4.runtime.*;
    [javac] ^
    [javac] /tmp/buildd/beast2-mcmc-2.3.1+dfsg/src/beast/util/TreeParser.java:40: error: package org.antlr.v4.runtime.misc does not exist
    [javac] import org.antlr.v4.runtime.misc.NotNull;
    [javac]                                 ^

    Is there any effort to package antlr 4.5 (or any simply patch
    to go with the existing package in the beast2 case)?

  2. fest-sources.jar, fest.jar
    I guess besides some packaged libfest-*-java packages also
      git://anonscm.debian.org/pkg-java/fest-swing-1.x.git
    is needed if I look at these messages:

    [javac] /tmp/buildd/beast2-mcmc-2.3.1+dfsg/src/test/beast/app/beauti/BeautiBase.java:6: error: package org.fest.swing.edt does not exist
    [javac] import static org.fest.swing.edt.GuiActionRunner.execute;
    [javac]                                 ^
    [javac] /tmp/buildd/beast2-mcmc-2.3.1+dfsg/src/test/beast/app/beauti/BeautiBase.java:6: error: static import only from classes and interfaces
    [javac] import static org.fest.swing.edt.GuiActionRunner.execute;
    [javac] ^

    However, when I have dealt with fest library when upgrading
    I was advised to rather skip the swing tests.

Any hint how to solve these two dependencies are welcome.

Kind regards

       Andreas.


[1] git://anonscm.debian.org/debian-med/beast2-mcmc.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list