[Slackbuilds-users] LibreOffice requires

Christoph Willing chris.willing at iinet.net.au
Mon Apr 10 00:18:52 UTC 2017

On 10/04/17 09:56, Christoph Willing wrote:
> On 10/04/17 09:04, Andreas Guldstrand wrote:
>> On 10 April 2017 at 00:57, Christoph Willing <chris.willing at iinet.net.au> wrote:
>>> On 10/04/17 07:00, B Watson wrote:
>>>> On 4/9/17, Andrzej Telszewski <atelszewski at gmail.com> wrote:
>>>>> I guess what Dimitris meant was that "openjdk" depends on "apache-ant",
>>>>> and "LibreOffice" depends on "openjdk", so "apache-ant" might be removed
>>>>> from "LibreOffice" requires, because it is pulled in, when "openjdk" is
>>>>> pulled in.
>>> Thanks all, will fix in next update.
>>> chris
>> Does LibreOffice then not support being built with jdk instead of
>> openjdk? Since regular jdk doesn't depend on apache-ant, then
>> apache-ant won't be pulled in if regular jdk is uses instead of
>> openjdk ... but perhaps apache-ant is only needed when building with
>> openjdk?
>> Would like a bit of clarification on this if possible?
> While openjdk is now the default Java when building LibreOffice, this
> can be changed by setting the JAVA environment variable at build time e.g.
>     JAVA=jdk sh LibreOffice.SlackBuild
> (openjdk8 is another supported option)
> In the case of building with JAVA=jdk, apache-ant is still required and
> would now need to added manually. I'll add that to the README.
Question for admins ...

another possibility is to leave apache-ant in the REQUIRES field. That
accommodates the builder choosing JAVA=jdk, while being merely redundant
for openjdk & openjdk8. Would that be acceptable?


More information about the SlackBuilds-users mailing list