Bug#588379: using jh_depends when a .jar exists in one than one package

Scott Howard showard314 at gmail.com
Wed Jul 7 21:03:10 UTC 2010


Package: javahelper
Version: 0.31
Severity: wishlist

When using jh_depends in the "arduino" package (and soon to be
packaged "processing-java" package), jh_depends correctly identifies
tools.jar and rt.jar to be from openjdk-6-jdk. However, those jars are
also available in sun-java6-jdk.

Users asked that the package depend on: openjdk-6-jdk | sun-java6-jdk.

Would it be possible to have a "quirk" where if jh_depends finds jars
from openjdk-6-jdk it replaces java:Depends with "openjdk-6-jdk |
sun-java6-jdk"?

Right now I'm not using the substitution variable and listing the
packages individually so I can have "Depends: openjdk-6-jdk |
sun-java6-jdk"





More information about the pkg-java-maintainers mailing list