summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2020-08-31 12:10:16 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:26:52 +0700
commitfeff38e6a69c36cef7681adfdfa0098db3c1f213 (patch)
tree6d8aa857382d9186eaef96baf48ef87efe5f9fca
parent9f5bd9e1366e7c081e30a87b38dbf650087460e7 (diff)
downloadslackbuilds-feff38e6a69c36cef7681adfdfa0098db3c1f213.tar.gz
office/LibreOffice: Mention clearing of environment variables
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/LibreOffice/README20
1 files changed, 13 insertions, 7 deletions
diff --git a/office/LibreOffice/README b/office/LibreOffice/README
index 69c212624c..dc7ee5981e 100644
--- a/office/LibreOffice/README
+++ b/office/LibreOffice/README
@@ -35,10 +35,10 @@ Build time environment variables that may be set to vary features are as follows
VLC="yes"
This requires the vlc package (available from SBo) to be installed.
-3. disable kde4 support (enabled by default) with:
+2. disable kde4 support (enabled by default) with:
KDE4="no"
-4. support additional languages by overriding the LOLANGS variable, whose
+3. 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
@@ -46,7 +46,7 @@ Build time environment variables that may be set to vary features are as follows
Additionally, setting LOLANGS="ALL" will build in support for all available
languages.
-5. A number of Java Development Kits are suitable for building LibreOffice.
+4. A number of Java Development Kits are suitable for building LibreOffice.
The default JDK for this SlackBuild is openjdk7. Others may be chosen by
setting the JAVA environment variable when running the SlackBuild. Recognised
values are openjdk7 (the default, not explicitly required), openjdk8 and jdk
@@ -58,7 +58,7 @@ Build time environment variables that may be set to vary features are as follows
apache-ant package is needed to build LibreOffice.
Finally, setting JAVA=no will build LibreOffice without any Java support.
-6. The number of parallel make jobs used by the LibreOffice build system defaults
+5. The number of parallel make jobs used by the LibreOffice build system defaults
to the number of available cpu cores. If the MAKEFLAGS environment variable
contains the -j option e.g.
MAKEFLAGS=-j6
@@ -69,7 +69,7 @@ Build time environment variables that may be set to vary features are as follows
which would limit building to a single make process, overriding any value set
with the -j option in MAKEFLAGS.
-7. Use of ccache during building is turned off by default to save disk space (and
+6. Use of ccache during building is turned off by default to save disk space (and
possible build failure due to lack of disk space). It may be reinstated by
setting the USE_CCACHE environment to "yes" e.g.
USE_CCACHE=yes sh LibreOffice.SlackBuild
@@ -90,5 +90,11 @@ to locate and open the downloaded .oxt file. The new dictionary will now appear
in the Extension Manager.
Some people have experienced difficulties building LibreOffice while a previoius
-version is still installed. It is therefore recommended that any previous version
-is removed while building LibreOffice.
+version is still installed. It is therefore recommended that any previous
+version should be removed before building LibreOffice. As well as removing any
+LibreOffice installation, it is important to also clear environment variables
+that were set by the installation i.e.
+ /sbin/removepkg LibreOffice
+ unset UNO_PATH
+ unset URE_BOOTSTRAP
+