orbea 6b4e2cdcfc libreoffice: Update to 5.1.2.2 8 years ago
..
README b50a2f8a9e Fix README 8 years ago
doinst.sh a375cffa9a Added libreoffice 8 years ago
libreoffice.SlackBuild 6b4e2cdcfc libreoffice: Update to 5.1.2.2 8 years ago
libreoffice.info 6b4e2cdcfc libreoffice: Update to 5.1.2.2 8 years ago
slack-desc a375cffa9a Added libreoffice 8 years ago
swlodc.sh 685df5643c Fix copyright date. 8 years ago

README

LibreOffice is a productivity suite that is compatible with other major
office suites, and available on a variety of platforms. It is free
software and therefore free to download, use and distribute.

This script builds a Slackware package from the official source distributed
by The Document Foundation. LibreOffice by default will download many dependencies
to build against, this script will auto detect if these dependencies are already
installed and skip downloading if so. The provided script, swlodc.sh, can test if
these auto detected variables are still sane and show what is already installed.

Be sure to look at the script to see if the compile flags are to your
liking, java is disabled by default.

LibreOffice uses several gb of space to compile and is quite large
so it might be preferable to compile somewhere other than /tmp and
install it in /opt rather than /usr which is default, to do so use
TMP="/foo/tmp/SBo" OPT="yes" ./libreoffice.SlackBuild
Alternatively to install LibreOffice in another location use
LO_PREFIX=/some/install/location ./libreoffice.SlackBuild
This will take quite a bit of time to complete.

If trying to build LibreOffice in a chroot or ssh environment, make
sure $DISPLAY is not set, this can be done with: unset DISPLAY

LibreOffice by default will compile with one job, since compiling it
can be rather taxing on the cpu and may even cause it to overheat.
It is possible to set the number of jobs to compile with by using
NUMBJOBS="2". This can lead to a significantly faster build, but
this should only be done by those that have a sufficiently powerful
enough cpu and know what they are doing.

LibreOffice by default will try compile with ccache if available, to
effectively use it LibreOffice requires the cache size to be at least
8 gb without debug symbols. With debug symbols LibreOffice will need
around 32 gbs. Alternatively to disable compiling with ccache use
CCACHE="no".

To build the myspell dictionaries use DICT="yes". By default help will
not be built into libreoffice, to enable use HELP="yes|common", this will
build the entire local help or bundle the common files.

LibreOffice by default will have en-US, to install additional languages use
LANGUAGES="es sw tu cs sk" To install all the languages use LANGUAGES="ALL".
To see what language codes are supported look here:
https://wiki.documentfoundation.org/Language_support_of_LibreOffice

To chose different themes use something like THEME="galaxy tango",
Possible themes are *breeze, crystal, *galaxy, *hicontrast, human,
industrial, *oxygen, *sifr, *tango, *tango_testing. Those marked by
a * will be included by default.

LibreOffice will by default be built with the system's python3, to disable,
use an internal or fully internal python use PYTHON="no|internal|full". If
the system's python is used and python3 is not installed then an internal
python will be used instead.

To enable building with the gstreamer 0.10 avmedia backend use
GSTREAMER="yes", to disable building with the gstreamer 1.0 avmedia
backend use GSTREAMER1="no". Slackware 14.1 only provides gstreamer
0.10 while current provides both, if gstreamer 1.0 is not installed
this script will automatically enable gstreamer 0.10 and disable
gstreamer 1.0.

To disable using the experimental Gtk+ 3.0 vclplug use GTK3="no", to disable
using the Gtk+ vclplug use GTK="no".

To choose which TLS/SSL and cryptographic implementation to use, use
TLS="openssl|nss". Openssl will be used by default and will not restrict use
of nss while choosing nss will restrict usage of openssl. This doesn't apply
for depending libraries like "neon".

To build the office development kit (ODK) use ODK="yes", if you built the odk
you can also enable doxygen documentation with DOXYGEN="yes".

To build debug symbols use DEBUG="yes|dbg|symbols". this will enable the
debugging information or include debugging symbols while preserving optimization.
When using "dbg" it will make the build ABI incompatible with builds not using
"dbg". Building with debug support will take up quite a bit of space.

To enable compiler plugins that will perform additional checks during
building use COMPILER="yes". This will be enabled automatically by
using "dbg". To make SAL_INFO and SAL_WARN calls do something even
in a non-debug build use SAL="yes". To disable CVE tests from being executed
use CVE="no". To enable the crashdump feature use CRASH="yes". To turn werror
warnings into errors use WERROR="yes". To statically disable some runtime
optimizations (like rtl/alloc.h or JVM JIT) use RUNTIME="no".

If building LibreOffice with MPL="yes" several other options will need to
be selected, including: LOTUSWORDPRO="no" THEME="tango" LPSOLVE="no".
If poppler is not installed PDF="no" will also have to be used.

Introspection can be enabled or disabled, use INTROSPECTION="no|auto|yes".

By default this script will install a relatively default build with
upstream settings. many optional flags can be set by passing variables
to the script (VAR="yes/no" ./libreoffice.SlackBuild):
AVAHI="yes" - requires avahi
BARCODE="yes" - enable the Barcode extension
BUNDLE="yes" - bundle the MariaDB Connector/LibreOffice extension when using MariaDB/MYSQL system libraries
CT2N="yes" - enable the ConvertTextToNumber extension
DIAGRAM="yes" - enable the SmART Gallery (Diagram) extension
EOT="yes" - enable support for Embedded OpenType fonts
EPM="yes" - build epm
EXTRAFONT="yes" - add extra font content
GALLERY="yes" - add extra gallery content
GOOGLEDOC="yes" - enable the Google Docs extension
HARDLINK="yes" - turns files into hardlinks to save space and speed up compiling
HUNART="yes" - enable the Hungarian Cross-reference Toolbar extension
KDE="yes" - use the QT4/KDE4 vclplug
LANGUAGETOOL="yes" - enable the LanguageTool extension
LTO="yes" - enable link-time for optimization for speed, slower compile (this may not work)
MARIADB="yes" - enable build of the mariaDB/mySQL connector extension
MPL="yes" - only compile code which is MPL or more liberally licensed
NPSOLVER="yes" - enable the NLPSolver extension
NUMBERTEXT="yes" - enable the Numbertext extension
ORCUS="yes" - extra file import featurs for Calc
PCH="yes" - enables precompiled header support for C++
SAMPLE="yes" - add extra sample content
TEMPLATE="yes" - add extra template content
TYPO="yes" - enable the Typography Toolbar extension
VALIDATOR="yes" - enable the Validator extension
WATCH="yes" - enable the Watch Window extension
WIKI="yes" - enable the Wiki Publisher extension

Disable features:
CANVAS="no" - disables building the Cairo Canvas
COLLADA="no" - disable collada support (rendering 3d models stored in *.dae and *.kmz)
CUPS="no" - disable building cups support
COINMP="no" - disable building the CoinMP solver
DBUS="no" - disable features that rely on dbus (Presentation mode and screensaver control)
DCONF="no" - disable the dconf configuration backend (enabled by default where available)
FIREBIRD="no" - disable buildin the Firebird-SDBC driver
FONT="no" - do not include third-party fonts
LANGTAG="no" - disable use of the liblangtag and use own simple implementation
LARGEFILE="no" - omit support for large files
LOTUSWORDPRO="no" - disables building the Lotus Word Pro filter
LPSOLVE="no" - disables building the lp solve solver
GIO="no" - disables using the GIO support
GLTF="no" - disables building libraries related to glTF 3D model rendering
GRAPHITE="no" - disables the graphite smart font rendering
NEON="no" - disables neon and building of webdav binding
OOENV="no" - disable ooenv for the instdir installation
PDF="no" - disable building the PDF import feature
POSTGRESQL="no" - disable building the PostgreSQL-SDBC driver
RANDR="no" - disable RandR support in the vcl project
RANDRLINK="no" - disable linking libXrandr, instead dynamically open it at runtime
REPORT="no" - disable the Report Builder
SDREMOTE="no" - disable the Impress remote control (i.e. the server component)
SDRBLUETOOTH="no" - disables building the sdremote with bluetooth support, requires dbus
SYSTRAY="no" - disable building the systray quickstarter
XORG="no" - don't use the X Window System

Experimental features, probably best to ignore these unless you know what you are doing,
use ./configure --help to learn more about them.
AVMEDIA="no" - disables displaying and inserting AV media in documents
CHART="yes" - executes chart XShape tests
DATABASE="no" - disables various database connectivity
EXTENSION="no" - disables all add-on extension functionality
EXPORT="no" - disable some code for document export
ICECREAM="yes" - use the icecream distributed compiling tool (requires icecream)
LOADING="no" - disables any use of dynamc loading of code
MERGELIB="yes" - enables linking of big, merged, library
OPENSSL="no" - disables using libssl/libcrypto from OpenSSl, will use GNUTLS or NSS instead
SCRIPT="no" - disables BASIC, Java and Python
VLC="yes" - enable building with the VLC avmedia backend (requires vlc)

Optional dependencies:
CoinMP, cppunit, glm, graphite2, libabw, libatomic_ops, libcdr, libcmis, libe-book, libeot,
libetonyek, libexttextcat, libfreehand, libgltf, liblangtag, libmspub, libmwaw, liborcus,
libpagemaker, libvisio, libwpg, libwps, lpsolve, mdds, mysql-connector-c++, mythes,
opencollada, openjpeg2, postgresql, python3, serf, uccp, vigra

Some more optional dependencies which do not seem available in slackware or at SBo yet are:
altlinuxhyph, apache-commons, beanshell, collada2gltf, firebird, hsqldb, jfreereport

Slackware current provides libvisio, libwpg, openjpeg2, serf and the libatomic_ops libraries in the gc package.