[Slackbuilds-users] LibreOffice without Java?

Vasily Sora khronosschoty at utmail.net
Sun Feb 26 13:11:27 UTC 2017


I just wanted to point out this SlackBuild here:
https://notabug.org/orbea/Slackbuilds/src/master/office/libreoffice. I
have no actual experience working with LibreOffice without Java; but I
hear its pretty close to fully functional; and  that most users wont
miss whats missing.

On 02/26/2017 04:53 AM, slackbuilds-users-request at slackbuilds.org wrote:
> Send SlackBuilds-users mailing list submissions to
> 	slackbuilds-users at slackbuilds.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> or, via email, send a message with subject or body 'help' to
> 	slackbuilds-users-request at slackbuilds.org
>
> You can reach the person managing the list at
> 	slackbuilds-users-owner at slackbuilds.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SlackBuilds-users digest..."
>
>
> Today's Topics:
>
>    1. Re: openjdk was: Re: Updates - 20170225.1 (Rich Shepard)
>    2. Re: openjdk was: Re: Updates - 20170225.1 (Christoph Willing)
>    3. Weechat maintainer wanted (firebird209)
>    4. Re: openjdk was: Re: Updates - 20170225.1 (B Watson)
>    5. Re: Weechat maintainer wanted (Benjamin Trigona-Harany)
>    6. Re: Weechat maintainer wanted (firebird209)
>    7. Re: openjdk was: Re: Updates - 20170225.1 (Christoph Willing)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 25 Feb 2017 15:57:51 -0800 (PST)
> From: Rich Shepard <rshepard at appl-ecosys.com>
> To: "SlackBuilds.org Users List" <slackbuilds-users at slackbuilds.org>
> Subject: Re: [Slackbuilds-users] openjdk was: Re: Updates - 20170225.1
> Message-ID: <alpine.LNX.2.11.1702251556510.32153 at localhost>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Sun, 26 Feb 2017, Andrzej Telszewski wrote:
>
>> I've been building openjdk (version 7) on 64 bits just fine. Please take a
>> look at the README, as it has many pointers on what might go wrong.
>    I built and use openjdk-8 on both 32- and 64-bit machines. JabRef (and
> Jgnash before I switched to GnuCash) work just fine with openjdk.
>
> Rich
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 26 Feb 2017 14:20:27 +1000
> From: Christoph Willing <chris.willing at iinet.net.au>
> To: slackbuilds-users at slackbuilds.org
> Subject: Re: [Slackbuilds-users] openjdk was: Re: Updates - 20170225.1
> Message-ID: <39182867-607c-87e6-59a9-d52b98703467 at iinet.net.au>
> Content-Type: text/plain; charset=utf-8
>
> On 26/02/17 09:53, Christoph Willing wrote:
>> On 26/02/17 09:25, Christoph Willing wrote:
>>> On 25/02/17 18:12, B Watson wrote:
>>>> On 2/24/17, Christoph Willing <chris.willing at iinet.net.au> wrote:
>>>>> Over time, I've had many suggestions and reminders that LibreOffice will
>>>>> build successfully without the jdk package. I prefer a build with as
>>>>> full functionality as is made possible upstream, so I prefer that it
>>>>> remain as a requirement. Java haters are welcome to add --without-java
>>>>> or --with-java=no to their local versions - which reminds me I could add
>>>>> a JAVA=no option to the SlackBuild at the next version update.
>>>> Will it work with openjdk rather than Oracle's jdk?
>>>>
>>>> That's probably a question that should be asked about any of the builds
>>>> mentioned in this thread.
>>>>
>>>> If the answer is "it requires a JDK, and will work with either jdk or
>>>> openjdk", what's the best way to handle that? List jdk in REQUIRES,
>>>> and say "you can use openjdk instead of jdk" in the README? Or, list
>>>> neither in REQUIRES, and in the README say "you need one of either jdk
>>>> or openjdk"?
>>>>
>>>> Or, maybe openjdk should be listed in REQUIRES, as it's easier to deal
>>>> with (doesn't require jumping through hoops to download like jdk does)?
>>>> In which case the README would say "you can use jdk instead of openjdk"?
>>> I haven't tried openjdk for a long time - there were often problems
>>> running it with the java apps I was using at that time and the Oracle
>>> version always just worked. However that was some time ago and your
>>> comment about being 'easier to deal with' (in automated build systems,
>>> at least) is a good point.
>>>
>>> Therefore I tried building openjdk in a fresh 14.2 64bit VM and very
>>> soon had the following failure:
>>>
>>> compile:
>>>     [javac] Compiling 2760 source files to
>>> /tmp/SBo/openjdk/icedtea-build/openjdk.build-boot/jaxws/build/classes
>>>     [javac] Annotation processing got disabled, since it requires a 1.6
>>> compliant JVM
>>>     [javac] java.lang.NullPointerException
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.batch.CompilationUnit.getContents(CompilationUnit.java:77)
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.batch.Main$2.acceptResult(Main.java:2962)
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:609)
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:527)
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:4099)
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1689)
>>>     [javac]    at
>>> org.eclipse.jdt.internal.compiler.batch.Main.main(Main.java:1400)
>>>     [javac]
>>>
>>> BUILD FAILED
>>> /tmp/SBo/openjdk/icedtea-build/openjdk-boot/jaxws/build.xml:155: Compile
>>> failed; see the compiler error output for details.
>>>
>>> Total time: 1 second
>>> Makefile:150: recipe for target 'all' failed
>>>
>>>
>>>
>>> This morning I've just started a build in a 32bit VM which is not
>>> complete yet but seems to be progressing just fine. Is there a known
>>> problem with openjdk on 64bit? Does anyone recognize the failure above
>>> and/or know a possible solution?
>>>
>> Well the 32bit version finished building so I was encouraged to try the
>> 64bit build again. This time it has passed the previous point of failure
>> and seems also to be progressing just fine.
>>
>> In the meantime, I see that the 32bit build produced
>> openjdk-7u111b01-i486-1_SBo.txz which seems pretty old. Looking around I
>> found there was also a SlackBuild for openjdk8 (and even older
>> openjdk6). Wanting to try the openjdk8, I found it has a requirement for
>> openjdk (not just apache-ant, as is the case for openjdk & openjdk6). Is
>> that just a typo (should require apache-ant, not openjdk)?
>>
> Answering my own question; no it's not a typo.
>
> To test, I changed the openjdk8's REQUIRES field from openjdk to
> apache-ant but the build failed because JAVA_HOME hadn't been set up
> i.e. no jdk or openjdk installed. When I reverted the REQUIRES field to
> openjdk, the build of openjdk8 succeeded.
>
> Furthermore, openjdk's own README-builds.html states that before
> attempting to build:
>     "Install a Bootstrap JDK. All OpenJDK builds require access to a
> previously released JDK called the bootstrap JDK or boot JDK. The
> general rule is that the bootstrap JDK must be an instance of the
> previous major release of the JDK."
>
> The question for me now is whether changing LibreOffice's jdk
> requirement to openjdk really makes building LibreOffice much more
> straightforward. While it may build with openjdk, I'd personally be
> uncomfortable with using an out of date version. However to use openjdk8
> as the requirement means that a builder of LibreOffice needs to build
> openjdk first, then openjdk8.
>
> Apart from the complication of downloading the Oracle jdk, building it
> (repackaging it) seems simpler, not to mention much faster.
>
> Any other views on using openjdk* instead of jdk as requirement for
> LibreOffice?
>
> chris
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 26 Feb 2017 01:47:17 -0600
> From: firebird209 <firebird209 at gmail.com>
> To: SlackBuilds-users at slackbuilds.org
> Subject: [Slackbuilds-users] Weechat maintainer wanted
> Message-ID: <3a8a1942-3c49-3941-ee73-f83705a4eaa4 at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> Anyone out there who'd like to take over maintaining weechat? I
> maintained it for a while now, and actually let a couple versions slip
> past so it needs updating to current release. I've just no interest in
> maintaining it anymore so wanting to pass the torch to someone else.
>
> Thank you.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 26 Feb 2017 03:13:46 -0500
> From: B Watson <yalhcru at gmail.com>
> To: "SlackBuilds.org Users List" <slackbuilds-users at slackbuilds.org>
> Subject: Re: [Slackbuilds-users] openjdk was: Re: Updates - 20170225.1
> Message-ID:
> 	<CAN1hMuAtfnPsjL2YVUd-eW_Gh2gn8AUJavsj0+GFUQeVO9+XpQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On 2/25/17, Christoph Willing <chris.willing at iinet.net.au> wrote:
>
>> Apart from the complication of downloading the Oracle jdk, building it
>> (repackaging it) seems simpler, not to mention much faster.
>>
>> Any other views on using openjdk* instead of jdk as requirement for
>> LibreOffice?
> I haven't really got a horse in this race (have never used LibreOffice),
> but I'm full of ideas. Which you can ignore, if you think they're bad
> ideas (I won't be offended).
>
> What's needed is a way to say "either-or" in REQUIRES. Which isn't
> likely to happen (nobody wants the added complexity, for good & valid
> reasons). So instead...
>
> You could leave both jdk and openjdk out of REQUIRES, and in the README
> say "For a full-featured LibreOffice build, you will require either jdk
> or openjdk8". For bonus points, have the script auto-detect which is
> installed and use that. If neither is installed, act as though JAVA=no
> was set.
>
> Is it even possible to install both jdk and openjdk8 without them
> stepping on each other? If so, the user should be able to set JAVA=jdk
> or JAVA=openjdk8, and if he doesn't, and both are installed, I guess
> give precedence to jdk.
>
> For more bonus points, make the slack-desc say:
>
> This package was built with %JAVA%.
>
> ...and instead of "cat $CWD/slack-desc > $PKG/install/slack-desc", do this:
>
> sed "s,%JAVA%,$JAVA," $CWD/slack-desc > $PKG/install/slack-desc
>
> Where JAVA is set to one of "jdk", "openjdk8", or "no Java support". I
> do this in quite a few of my own builds, if only to help myself keep
> track of what options a package was built with.
>
> Whether this is actually a good idea depends on exactly what functionality
> is missing from LibreOffice if it's built without Java. I have no idea,
> but not having one or the other in REQUIRES is going to lead to a lot
> of non-README-reading users building without it.
>
> Another facet: some people will prefer openjdk because of
> licensing. People who care about the "Libre" in the LibreOffice name
> might care about this.
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 26 Feb 2017 01:10:07 -0800
> From: Benjamin Trigona-Harany <slackbuilds at jaxartes.net>
> To: "SlackBuilds.org Users List" <slackbuilds-users at slackbuilds.org>
> Subject: Re: [Slackbuilds-users] Weechat maintainer wanted
> Message-ID: <5787067.1AXnrqdngX at wintermute>
> Content-Type: text/plain; charset="us-ascii"
>
> On Saturday, February 25, 2017 11:47:17 PM PST firebird209 wrote:
>> Anyone out there who'd like to take over maintaining weechat? I
>> maintained it for a while now, and actually let a couple versions slip
>> past so it needs updating to current release. I've just no interest in
>> maintaining it anymore so wanting to pass the torch to someone else.
>>
>> Thank you.
> Sure, I can take it.
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 26 Feb 2017 03:38:42 -0600
> From: firebird209 <firebird209 at gmail.com>
> To: "SlackBuilds.org Users List" <slackbuilds-users at slackbuilds.org>
> Subject: Re: [Slackbuilds-users] Weechat maintainer wanted
> Message-ID: <ababc93c-dfc1-91f3-00ae-805bfa901e17 at gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Great, if you want to take it, I shall pass the torch on to you then :)
>
> Thank you.
>
> On 2/26/2017 3:10 AM, Benjamin Trigona-Harany wrote:
>> On Saturday, February 25, 2017 11:47:17 PM PST firebird209 wrote:
>>> Anyone out there who'd like to take over maintaining weechat? I
>>> maintained it for a while now, and actually let a couple versions slip
>>> past so it needs updating to current release. I've just no interest in
>>> maintaining it anymore so wanting to pass the torch to someone else.
>>>
>>> Thank you.
>> Sure, I can take it.
>>
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 26 Feb 2017 22:53:20 +1000
> From: Christoph Willing <chris.willing at iinet.net.au>
> To: slackbuilds-users at slackbuilds.org
> Subject: Re: [Slackbuilds-users] openjdk was: Re: Updates - 20170225.1
> Message-ID: <c08607d2-8acc-5e7d-6d68-d590d52eef83 at iinet.net.au>
> Content-Type: text/plain; charset=utf-8
>
> On 26/02/17 18:13, B Watson wrote:
>> On 2/25/17, Christoph Willing <chris.willing at iinet.net.au> wrote:
>>
>>> Apart from the complication of downloading the Oracle jdk, building it
>>> (repackaging it) seems simpler, not to mention much faster.
>>>
>>> Any other views on using openjdk* instead of jdk as requirement for
>>> LibreOffice?
>> I haven't really got a horse in this race (have never used LibreOffice),
>> but I'm full of ideas. Which you can ignore, if you think they're bad
>> ideas (I won't be offended).
>>
>> What's needed is a way to say "either-or" in REQUIRES. Which isn't
>> likely to happen (nobody wants the added complexity, for good & valid
>> reasons). So instead...
>>
>> You could leave both jdk and openjdk out of REQUIRES, and in the README
>> say "For a full-featured LibreOffice build, you will require either jdk
>> or openjdk8". For bonus points, have the script auto-detect which is
>> installed and use that. If neither is installed, act as though JAVA=no
>> was set.
>>
>> Is it even possible to install both jdk and openjdk8 without them
>> stepping on each other? If so, the user should be able to set JAVA=jdk
>> or JAVA=openjdk8, and if he doesn't, and both are installed, I guess
>> give precedence to jdk.
>>
>> For more bonus points, make the slack-desc say:
>>
>> This package was built with %JAVA%.
>>
>> ...and instead of "cat $CWD/slack-desc > $PKG/install/slack-desc", do this:
>>
>> sed "s,%JAVA%,$JAVA," $CWD/slack-desc > $PKG/install/slack-desc
>>
>> Where JAVA is set to one of "jdk", "openjdk8", or "no Java support". I
>> do this in quite a few of my own builds, if only to help myself keep
>> track of what options a package was built with.
>>
>> Whether this is actually a good idea depends on exactly what functionality
>> is missing from LibreOffice if it's built without Java. I have no idea,
>> but not having one or the other in REQUIRES is going to lead to a lot
>> of non-README-reading users building without it.
>>
>> Another facet: some people will prefer openjdk because of
>> licensing. People who care about the "Libre" in the LibreOffice name
>> might care about this.
>>
> Thanks for the suggestions - I'll ponder on them ...
>
> chris
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>
>
> ------------------------------
>
> End of SlackBuilds-users Digest, Vol 130, Issue 41
> **************************************************
>



More information about the SlackBuilds-users mailing list