summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/LibreOffice/LibreOffice.SlackBuild4
-rw-r--r--office/LibreOffice/README7
2 files changed, 9 insertions, 2 deletions
diff --git a/office/LibreOffice/LibreOffice.SlackBuild b/office/LibreOffice/LibreOffice.SlackBuild
index 047ba69a35..7bdcd23dad 100644
--- a/office/LibreOffice/LibreOffice.SlackBuild
+++ b/office/LibreOffice/LibreOffice.SlackBuild
@@ -28,7 +28,7 @@ PRGNAM=LibreOffice
SRCNAM=libreoffice
VERSION=${VERSION:-5.3.3.2}
SHORT_VERSION=${VERSION%.*.*}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PACKAGER=${PACKAGER:-"AnonymousCoward"}
@@ -87,6 +87,7 @@ avahi="" ; [ "${AVAHI:-no}" != "no" ] && avahi="--enable-avahi"
vlc="" ; [ "${VLC:-no}" != "no" ] && vlc="--enable-vlc"
kde4="--enable-kde4" ; [ "${KDE4:-yes}" != "yes" ] && kde4="--disable-kde4"
LOLANGS=${LOLANGS:-"de es fr id it ja nl vi zh-CN"}
+use_ccache="--disable-ccache" ; [ "${USE_CCACHE:-no}" != "no" ] && use_ccache=""
# By default, LibreOffice ignores MAKEFLAGS -j option and uses all available cpu cores.
parallel=""
@@ -130,6 +131,7 @@ fi
$avahi \
$vlc \
$kde4 \
+ $use_ccache \
$use_java \
$parallel \
--with-x \
diff --git a/office/LibreOffice/README b/office/LibreOffice/README
index 0e1df33c67..344e25882f 100644
--- a/office/LibreOffice/README
+++ b/office/LibreOffice/README
@@ -51,9 +51,14 @@ Build time environment variables that may 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
+ 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
+
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.
+in the user's runtime 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