runtime dependency
Wolfgang Baer
WBaer@gmx.de
Mon Mar 21 07:48:02 2005
Arnaud Vandyck wrote:
> Tue, 15 Mar 2005 08:42:55 +0100,
> Michael Koch <konqueror@gmx.de> wrote:
>
>
>>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.
>
>
> [...]
>
>
>>>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.
>
>
> I also think we should drop the java{12}-runtime virtual package and
> only have java-runtime.
But how would you then differentiate free and non-free runtimes ?
To depend on j2re1.4 | j2re1.5 is not a real solution as sometime
j2re1.6 will come out. I think we will need a virtual package which
indicates that a non-free runtime is needed.
I think a switch post sarge to free-java-runtime and
non-free-java-runtime would be the less confusing scheme.
Wolfgang