mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
0c8bcb9058
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
52 lines
2.8 KiB
Text
52 lines
2.8 KiB
Text
LibreOffice is a powerful office suite; its clean interface and powerful tools
|
|
let you unleash your creativity and grow your productivity. LibreOffice embeds
|
|
several applications that make it the most powerful Free & Open Source Office
|
|
suite on the market: Writer, the word processor, Calc, the spreadsheet
|
|
application, Impress, the presentation engine, Draw, our drawing and
|
|
flowcharting application, Base, our database and database frontend,
|
|
and Math for editing mathematics.
|
|
|
|
This SlackBuild builds the entire project from its source code. In seeking a
|
|
fully functional LibreOffice, most optional features are included by default.
|
|
Build time environment variables that may set to vary features are as follows:
|
|
1. enable the experimental VLC avmedia backend (disabled by default) with:
|
|
VLC="yes"
|
|
This requires the vlc package (available from SBo) to be installed.
|
|
|
|
2. enable avahi support (disabled by default) with:
|
|
AVAHI="yes"
|
|
This requires the avahi package (available from SBo) to be installed.
|
|
|
|
3. disable kde4 support (enabled by default) with:
|
|
KDE4="no"
|
|
|
|
4. support additional languages by overriding the LOLANGS variable, whose
|
|
default setting is LOLANGS="de es fr id it ja nl vi zh-CN". Note that en-US
|
|
is always added to whatever LOLANGS is set. Thus building with, for example,
|
|
LOLANGS="de" sh LibreOffice
|
|
would build LibreOffice with support for german and US english languages.
|
|
Additionally, setting LOLANGS="ALL" will build in support for all available
|
|
languages.
|
|
|
|
5. A number of Java Development Kits are suitable for building LibreOffice.
|
|
The default JDK for this SlackBuild is openjdk. Others may be chosen by
|
|
setting the JAVA environment variable when running the SlackBuild. Recognised
|
|
values are openjdk (the default, not explicitly required), openjdk8 and jdk
|
|
e.g. JAVA=jdk (to use SBo jdk package with Oracle binary version). Using an
|
|
alternate JDK will require presesnce of the appropriate package when building
|
|
LibreOffice. Setting JAVA=no will build LibreOffice without any Java support.
|
|
|
|
For performance reasons, this Slackbuild sets GTK2 to be used at runtime.
|
|
Alternatives (gen, gtk3, kde4) may still be used by setting SAL_USE_VCLPLUGIN
|
|
in the user environment.
|
|
|
|
Spell checking of documents at runtime requires installation of a suitable
|
|
wordlist for the language concerned. This can be achieved in either of two
|
|
ways:
|
|
1. Build & install hunspell-en (or hunspell-es, hunspell-pl) from SBo
|
|
2. Search for the desired language dictionary at:
|
|
http://extensions.libreoffice.org/extension-center?getCategories=Dictionary
|
|
and download the relevant file e.g. dict-en.oxt. Now open LO's extension
|
|
manager and press the "Add..." button which will open a file browser with which
|
|
to locate and open the downloaded .oxt file. The new dictionary will now appear
|
|
in the Extension Manager.
|