runtime dependency

Michael Koch konqueror@gmx.de
Tue Mar 15 00:47:11 2005


On Tue, Mar 15, 2005 at 08:26:34AM +0100, Wolfgang Baer wrote:
> Hi all,
> 
> I just got a bug report (#299551) against the new libbsf-java package
> about wrong runtime dependencies.
> 
> Bevor I prepare a new version I would like to discuss this as I see
> most packages have rather different view on the runtime dependenies.
> 
> Some have only java-runtime, some only java-common ....
> 
> The libbsf-java depends is kaffe | java1-runtime. I thought the
> java-package generated SUN/BD 1.4/1.5 packages provide all virtual
> packages (java-runtime, java1-runtime, java2-runtime). But was wrong.
> 
> Is it concens that only gnu derived runtimes provide java1-runtime and
> therefore I should depend on java1-runtime | java2-runtime or should
> maybe java-package generated runtimes also provide java1-runtime ?

I think the Debian Java policy [1] can be a bit more concrete on this
subject. Its not stated there that packages providing java2-runtime
also have to provide java1-runtime too. I think the most common solution
in our packaging is the use of "foovm | java1-runtime | java2-runtime".
The policy should say this.


Michael


[1] http://www.debian.org/doc/packaging-manuals/java-policy/
-- 
Java Trap: http://www.gnu.org/philosophy/java-trap.html