[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#858655: Please move Java dependencies to libreoffice-java-common



Hi,

On Sun, Mar 26, 2017 at 12:01:53AM +0100, Rene Engelhard wrote:
> On Fri, Mar 24, 2017 at 07:00:22PM -0400, Daniel Richard G. wrote:
> >     # apt-get -s install libreoffice default-jre- | grep '^Inst' | egrep 'jre|jdk|java'
> >     Inst libreoffice-java-common (1:5.2.5-2 Debian:testing [all])
> > 
> > Hunh, that worked. The lo-java-common package went in, even though it's
> > presumably useless without a Java runtime. So what about those
> > aforementioned components that supposedly required Java?

One could argue -java-common should suggest or recommend a JRE, but I am a bit
wary of that, as said, you don't _need_ it for "normal" LO operation.

If LO notices there's no JRE it will tell people. *And* it will also tell
people to install libreoffice-java-common if people want/need Java suport and there's
no JRE.

The necessary mechanism for that is in ure.

> >     # apt-get -s install libreoffice default-jre- | grep '^Inst' | egrep 'nlpsolver|report-builder|wiki-publisher'
> >     Inst libreoffice-report-builder-bin (1:5.2.5-2 Debian:testing [amd64])
> >     Inst libreoffice-wiki-publisher (1.2.0+LibO5.2.5-2 Debian:testing [all])
> > 
> > So nlpsolver didn't go in (reasonable), only the bin package of
> > report-builder was installed (huh?), and wiki-publisher went in just
> > fine (will that even work in light of its hard dep on lo-java-common?).
> 
> That is interesting, though. They are *extensions* to LO, though, whereas
> -sdbc-hsqldb is a _core_ component. But yeah, probably they should depend
> on default-jre etc, too - as -sdbc-hsqldb does.

-nlpsolver does.

Will add a dependency on the JRE to libreoffice-wiki-publisher. That was indeed
missing.

No idea whether it will make stretch, though.

Regards,
 
Rene


Reply to: