source: xsoft/office/libreoffice.xml@ be307b9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since be307b9 was be307b9, checked in by Ken Moffat <ken@…>, 6 years ago

libreoffice-6.0.1.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19742 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 28.8 KB
RevLine 
[d2d3fc5]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[37a1fc56]7<!-- FIXME please retest system poppler with versions of LO > 6.0.0.1
8 or poppler > 0.62.0, the build fails within a few minutes on broken versions -->
[c20bced]9 <!ENTITY libreoffice-dl "http://download.documentfoundation.org/libreoffice/src/&libreoffice-version;">
10
11 <!ENTITY libreoffice-core-download-http "&libreoffice-dl;/libreoffice-&libreoffice-dlversion;.tar.xz">
[be307b9]12 <!ENTITY libreoffice-core-md5sum "dbd43dd3edffd7d287aa4507d4d8e176">
13 <!ENTITY libreoffice-core-size "194 MB">
[c20bced]14
15 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[be307b9]16 <!ENTITY libreoffice-dict-md5sum "5728262270a88191938762b9021aafcd">
[33d86da]17 <!ENTITY libreoffice-dict-size "40 MB">
[c20bced]18
19 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[be307b9]20 <!ENTITY libreoffice-help-md5sum "9b63e89901110c3dc8eb993b1b4f1976">
21 <!ENTITY libreoffice-help-size "2.9 MB">
[c20bced]22
23 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[be307b9]24 <!ENTITY libreoffice-translations-md5sum "97add88b7745c78d91213c597564523d">
25 <!ENTITY libreoffice-translations-size "133 MB">
[514797f]26
27
[be307b9]28 <!-- full size still accurate for 6.0.1, reconfiguring and rebuilding
29 the built source after initial DESTDIR install doesn't take a vast time -->
30 <!ENTITY libreoffice-buildsize "8.4 GB (767 MB installed). Installing the whole set of languages has been reported to require up to 26 GB (2.9 GB installed)">
31 <!ENTITY libreoffice-time "48 SBU with parallelism=4 + download time">
[33569f0f]32
[d2d3fc5]33]>
34
[cbdad90b]35<sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-dlversion;">
[d2d3fc5]36 <?dbhtml filename="libreoffice.html"?>
37
38 <sect1info>
39 <othername>$LastChangedBy$</othername>
40 <date>$Date$</date>
41 </sect1info>
42
[d2bea743]43 <title>LibreOffice-&libreoffice-version;</title>
[d2d3fc5]44
45 <indexterm zone="libreoffice">
[8c853a1]46 <primary sortas="a-LibreOffice">LibreOffice</primary>
[d2d3fc5]47 </indexterm>
48
49 <sect2 role="package">
[fa29663]50 <title>Introduction to LibreOffice</title>
[d2d3fc5]51
52 <para>
[fa29663]53 <application>LibreOffice</application> is a full-featured office suite.
54 It is largely compatible with <application>Microsoft Office</application>
[8c853a1]55 and is descended from <application>OpenOffice.org</application>.
[d2d3fc5]56 </para>
57
[11ab831]58 &lfs81_checked;
[d2d3fc5]59
60 <bridgehead renderas="sect3">Package Information</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>
[9e1dd1b]64 Core Download: <ulink url="&libreoffice-core-download-http;"/>
[d2d3fc5]65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Core Download MD5 sum: &libreoffice-core-md5sum;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Core Download size: &libreoffice-core-size;
75 </para>
76 </listitem>
[c20bced]77 <listitem>
78 <para>
[9e1dd1b]79 Estimated disk space required: &libreoffice-buildsize;
[c20bced]80 </para>
81 </listitem>
82 <listitem>
83 <para>
[9e1dd1b]84 Estimated build time: &libreoffice-time;
[c20bced]85 </para>
86 </listitem>
[9e1dd1b]87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
90 <itemizedlist spacing="compact">
[c20bced]91 <listitem>
92 <para>
[9e1dd1b]93 Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
[c20bced]94 </para>
95 </listitem>
[c4e1c2a0]96
[c20bced]97 <listitem>
98 <para>
[9e1dd1b]99 Dictionaries MD5 sum: &libreoffice-dict-md5sum;
[c20bced]100 </para>
101 </listitem>
[c4e1c2a0]102
[c20bced]103 <listitem>
104 <para>
[9e1dd1b]105 Dictionaries size: &libreoffice-dict-size;
[c20bced]106 </para>
107 </listitem>
[c4e1c2a0]108
[d2d3fc5]109 <listitem>
110 <para>
[9e1dd1b]111 Help Files: <ulink url="&libreoffice-help-download-http;"/>
[d2d3fc5]112 </para>
113 </listitem>
[c4e1c2a0]114
[d2d3fc5]115 <listitem>
116 <para>
[9e1dd1b]117 Help Files MD5 sum: &libreoffice-help-md5sum;
[d2d3fc5]118 </para>
119 </listitem>
[c4e1c2a0]120
[c20bced]121 <listitem>
122 <para>
[9e1dd1b]123 Help Files size: &libreoffice-help-size;
[c20bced]124 </para>
125 </listitem>
[c4e1c2a0]126
[c20bced]127 <listitem>
128 <para>
[9e1dd1b]129 Translations: <ulink url="&libreoffice-translations-download-http;"/>
[c20bced]130 </para>
131 </listitem>
[c4e1c2a0]132
[c20bced]133 <listitem>
134 <para>
[9e1dd1b]135 Translations MD5 sum: &libreoffice-translations-md5sum;
[c20bced]136 </para>
137 </listitem>
[c4e1c2a0]138
[c20bced]139 <listitem>
140 <para>
[9e1dd1b]141 Translations size: &libreoffice-translations-size;
[c20bced]142 </para>
143 </listitem>
[f436e5b3]144<!--
[199671b8]145 <listitem>
[efc0d11]146 <para>
[cc9c627]147 Required patch to fix building with system <xref linkend="icu"/>:
148 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-icu_58-1.patch"/>
[efc0d11]149 </para>
[cc9c627]150 </listitem>
[f436e5b3]151-->
[c20bced]152 </itemizedlist>
[fa29663]153 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
[d2d3fc5]154
155 <bridgehead renderas="sect4">Required</bridgehead>
156 <para role="required">
[d6d4ea1]157 <xref linkend="perl-archive-zip"/>,
[d97601a]158 <xref linkend="unzip"/>,
[c20bced]159 <xref linkend="wget"/>,
[d6d4ea1]160 <xref linkend="which"/>, and
[c20bced]161 <xref linkend="zip"/>
[d2d3fc5]162 </para>
163
164 <bridgehead renderas="sect4">Recommended</bridgehead>
165 <note>
166 <para>
[601a838]167 Most of these packages are recommended because if they're not installed,
[ceadeab]168 the build process will compile and install its own (often older)
[d8ddab5]169 version, with the side effect of increasing build and installed disk
170 space and build time.
[d2d3fc5]171 </para>
172 </note>
173
174 <para role="recommended">
[909868fa]175 <xref linkend="apache-ant"/>,
[d8ddab5]176 <xref linkend="apr"/>,
[cc9c627]177 <xref linkend="boost"/>,
[7f5a588]178 <xref linkend="clucene"/>,
[87dfe6b]179 <xref linkend="cups"/>,
[c20bced]180 <xref linkend="curl"/>,
[059ff67]181 <xref linkend="dbus-glib"/>,
[76df61c]182 <xref linkend="libjpeg"/>,
183 <xref linkend="glu"/>,
[2a75b9b]184 <xref linkend="graphite2"/>,
[c20bced]185 <xref linkend="gst10-plugins-base"/>,
[ae93d7e]186 <xref linkend="gtk3"/> and
187 <xref linkend="gtk2"/> (see <quote>Command Explanations</quote>),
[2a75b9b]188 <xref linkend="harfbuzz"/>,
[efc0d11]189 <xref linkend="icu"/>,
[d8ddab5]190 <xref linkend="libatomic_ops"/>,
[c20bced]191 <xref linkend="lcms2"/>,
[d2d3fc5]192 <xref linkend="librsvg"/>,
[c20bced]193 <xref linkend="libxml2"/> and
194 <xref linkend="libxslt"/>,
[7a395d1]195 <xref linkend="mesa"/>,
[d2d3fc5]196 <xref linkend="neon"/>,
197 <xref linkend="nss"/>,
[86d09e6]198 <xref linkend="openldap"/> (if connecting to an LDAP server),
[037fc0be]199 <xref linkend="openssl"/> or
200 <xref linkend="gnutls"/>,
[be307b9]201 <xref linkend="poppler"/>,
[d8ddab5]202 <xref linkend="postgresql"/>,
203 <xref linkend="redland"/>,
204 <xref linkend="serf"/>, and
[c20bced]205 <xref linkend="unixodbc"/>
[d2d3fc5]206 </para>
207
208 <bridgehead renderas="sect4">Optional</bridgehead>
209 <para role="optional">
[4469169]210 <xref linkend="avahi"/>,
[c20bced]211 <xref linkend="bluez"/>,
[d8ddab5]212 <xref linkend="dconf"/>,
[a76bd33]213 <xref linkend="desktop-file-utils"/>,
[4469169]214 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
[f4bb9987]215 <xref linkend="gdb"/>,
[909868fa]216 <xref linkend="junit"/>,
[9e04432]217<!-- <xref linkend="kdelibs"/>, -->
[b33ea6fa]218 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
219 <xref linkend="mitkrb"/>,
[037fc0be]220 <xref linkend="nasm"/>,
[b33ea6fa]221 <xref linkend="sane"/>,
[037fc0be]222 <xref linkend="valgrind"/>,
[b33ea6fa]223 <xref linkend="vlc"/>,
[037fc0be]224 <ulink url="https://commons.apache.org/proper/commons-codec/">Apache Commons Codec</ulink>,
225 <ulink url="https://hc.apache.org/httpclient-3.x/">Apache Commons HttpClient</ulink>,
226 <ulink url="https://commons.apache.org/proper/commons-lang/">Apache Commons Lang</ulink>,
227 <ulink url="https://commons.apache.org/proper/commons-logging/">Apache Commons Logging</ulink>,
228 <ulink url="http://www.beanshell.org/">BeanShell</ulink>,
[64812ba3]229 <ulink url="https://projects.coin-or.org/CoinMP/">CoinMP</ulink>,
[b33ea6fa]230 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
[037fc0be]231 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
[64419b7]232 <ulink url="http://downloads.sourceforge.net/glew/">glew (OpenGL Extension Wrangler Library)</ulink>,
[d8ddab5]233 <ulink url="https://github.com/behdad/glyphy">glyphy</ulink>,
[037fc0be]234 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/">Gnome VFS</ulink>,
235
[0e719c4]236 <ulink url="https://github.com/hamcrest/JavaHamcrest/releases">hamcrest</ulink>,
237 <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
[b33ea6fa]238 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[0e719c4]239 <ulink url="http://include-what-you-use.org/">iwyu</ulink>,
[5892480]240 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libabw">libabw</ulink>,
241 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
[83bc811e]242 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
[b33ea6fa]243 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
[7313b4b]244 <ulink url="https://wiki.documentfoundation.org/Libexttextcat">libexttextcat</ulink>,
[5892480]245 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>,
[0191062b]246 <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
[5892480]247 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub">libmspub</ulink>,
[b33ea6fa]248 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
[885af2e]249 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
[5892480]250 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker">libpagemaker</ulink>,
[64419b7]251 <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
[5892480]252 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
[b33ea6fa]253 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
254 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
255 <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
256 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
[0e719c4]257 <ulink url="https://gitlab.com/mdds/mdds">mdds</ulink>,
[d97601a]258 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
[64419b7]259 <ulink url="http://sourceforge.net/projects/ogl-math/">ogl-math - OpenGL Mathematics (GLM)</ulink>,
[64812ba3]260 <ulink url="https://github.com/KhronosGroup/OpenCOLLADA/">OpenCOLLADA</ulink>,
[037fc0be]261 <ulink url="https://gitlab.com/orcus/orcus">Orcus</ulink>,
[534c8e9]262 <phrase revision="sysv"><ulink url="http://telepathy.freedesktop.org/releases/telepathy-glib/">telepathy-glib</ulink></phrase>
263 <phrase revision="systemd"><xref linkend="telepathy-glib"/></phrase>,
[037fc0be]264 <ulink url="https://ukoethe.github.io/vigra/">VIGRA</ulink>, and
[534c8e9]265 <phrase revision="sysv"><ulink url="&gnome-download-http;/zenity/">Zenity</ulink></phrase>
266 <phrase revision="systemd"><xref linkend="zenity"/></phrase>
[d2d3fc5]267 </para>
268
[f4bb9987]269 <para>There are many optional dependencies not listed here. They can be
270 found in <quote>download.lst</quote> (source directory).
271 </para>
272
[d2d3fc5]273 <para condition="html" role="usernotes">
274 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
275 </para>
276 </sect2>
277
278 <sect2 role="installation">
[fa29663]279 <title>Installation of LibreOffice</title>
[2dc8feb]280
[89e6d61]281 <important>
[7d38d9a]282 <para>
[7313b4b]283 Unlike the other packages, we assume that you have not yet unpacked the
284 package. This is because the <option>--no-overwrite-dir</option>
[d8ddab5]285 switch is needed in case you unpack as the <systemitem
286 class="username">root</systemitem> user.
[7d38d9a]287 </para>
[89e6d61]288 </important>
[7d38d9a]289
290<screen><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
[c20bced]291cd libreoffice-&libreoffice-dlversion;</userinput></screen>
[d97601a]292
[d2d3fc5]293 <para>
[7f380f4]294 Create symlinks to tarballs from the source directory so they won't
295 get downloaded again:
[d2d3fc5]296 </para>
297
[420c072]298<screen><userinput>install -dm755 external/tarballs &amp;&amp;
[89e6d61]299ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
300ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]301
[ed2cf3c]302 <para>
303 If you have downloaded the translations tarball, create a symlink:
304 </para>
305
[89e6d61]306<screen><userinput>ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]307
[c20bced]308 <note>
309 <para>
310 During the build process, some packages will be downloaded (including
311 the ones listed as recommended and optional dependencies) if they are
[89e6d61]312 not present on the system. Because of this, build time may vary from the
313 published time more than usual.
[c20bced]314 </para>
315 </note>
[0d7900a]316
[0c77b5ab]317 <para>
318 Due to the large size of the package, you may prefer to install it in
[d83f555]319 <filename class="directory">/opt</filename>, instead of
[14ea7e8]320 <filename class="directory">/usr</filename>. Depending on your choice,
321 replace <replaceable>&lt;PREFIX&gt;</replaceable> by
322 <filename class="directory">/usr</filename> or by
[0c77b5ab]323 <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
324 </para>
325
326<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
[f436e5b3]327<!--
[199671b8]328 <para>
[cc9c627]329 Fix build failures introduced by <xref linkend="icu"/>:
[efc0d11]330 </para>
331
[cc9c627]332<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-icu_58-1.patch</userinput></screen>
[f436e5b3]333-->
[7f380f4]334 <para>
[d2bea743]335 Locales "fr" and "en-GB", you will find below, are just examples; you
[7f380f4]336 should change them to suit your needs - you might want to read the
337 "Command Explanations", further below, before proceeding.
338 </para>
339
[0c77b5ab]340 <para>
341 Prepare <application>LibreOffice</application> for compilation by running
342 the following commands:
[d2d3fc5]343 </para>
344
[64812ba3]345<screen><userinput>sed -e "/gzip -f/d" \
[c20bced]346 -e "s|.1.gz|.1|g" \
[7f380f4]347 -i bin/distro-install-desktop-integration &amp;&amp;
[ed2cf3c]348
[5153eb9]349sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
[14ea7e8]350
[0c77b5ab]351./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]352 --sysconfdir=/etc \
[d8ddab5]353 --with-vendor=BLFS \
[201a54c]354 --with-lang='fr en-GB' \
[14ea7e8]355 --with-help \
[7f380f4]356 --with-myspell-dicts \
[14ea7e8]357 --with-alloc=system \
[cc9c627]358 --without-junit \
[7f380f4]359 --without-system-dicts \
[d8ddab5]360 --disable-dconf \
[14ea7e8]361 --disable-odk \
362 --enable-release-build=yes \
[5153eb9]363 --enable-python=system \
[d8ddab5]364 --with-system-apr \
[cc9c627]365 --with-system-boost \
[14ea7e8]366 --with-system-cairo \
[d8ddab5]367 --with-system-clucene \
[14ea7e8]368 --with-system-curl \
369 --with-system-expat \
[2a75b9b]370 --with-system-graphite \
[14ea7e8]371 --with-system-harfbuzz \
[3d3bcee]372 --with-system-icu \
[14ea7e8]373 --with-system-jpeg \
374 --with-system-lcms2 \
[d8ddab5]375 --with-system-libatomic_ops \
[14ea7e8]376 --with-system-libpng \
377 --with-system-libxml \
378 --with-system-neon \
379 --with-system-nss \
380 --with-system-odbc \
381 --with-system-openldap \
382 --with-system-openssl \
[be307b9]383 --with-system-poppler \
[d8ddab5]384 --with-system-postgresql \
[14ea7e8]385 --with-system-redland \
[d8ddab5]386 --with-system-serf \
[ff13fdc2]387 --with-system-zlib</userinput></screen>
[ceadeab]388
[d2d3fc5]389 <para>
[c20bced]390 The instructions below will only build the package without running
391 any unit tests. If you prefer to run the unit tests, replace
[34fbc15b]392 <command>make build-nocheck</command> with <command>make build</command>
393 or (as a regular user only) just <command>make</command>, but do not be
394 surprised if a unit test fails right at the end of the build and
395 breaks it.
[d2d3fc5]396 </para>
397
398 <para>
[33569f0f]399 Build the package:
[d2d3fc5]400 </para>
401
[34fbc15b]402<screen><userinput>make build-nocheck</userinput></screen>
[d2d3fc5]403
404 <para>
[c20bced]405 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]406 </para>
407
[34fbc15b]408<screen role="root"><userinput>make distro-pack-install</userinput></screen>
[c20bced]409
[d83f555]410 <para>
[cbdad90b]411 If installed in <filename
412 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[64812ba3]413 some additional steps are necessary. Issue the following commands, as
414 <systemitem class="username">root</systemitem> user:
[d83f555]415 </para>
416
[cbdad90b]417<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]418
[64812ba3]419 # This symlink is necessary for the desktop menu entries
[e43a76ca]420 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]421
[64812ba3]422 # Icons
[20f09631]423 mkdir -vp /usr/share/pixmaps
[63e837a6]424 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]425 ln -svf $i /usr/share/pixmaps
[defca61]426 done &amp;&amp;
[cbdad90b]427
[64812ba3]428 # Desktop menu entries
[e43a76ca]429 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
430 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
431 done &amp;&amp;
[64812ba3]432
433 # Man pages
434 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]435 ln -svf $i /usr/share/man/man1/
[5a3365b]436 done
437
[e43a76ca]438 unset i
[a76bd33]439fi</userinput></screen>
[64812ba3]440
[a76bd33]441 <para>
442 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
443 to update the MIME database, issue, as the <systemitem class="username">
444 root</systemitem> user:
445 </para>
446
447<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]448
[514797f]449 <para>
450 The suite and main modules can be started from the menu. From a terminal,
451 the suite can be started with <command>libreoffice</command> command and
452 the modules with <command>libreoffice
453 --<replaceable>&lt;module&gt;</replaceable></command> command,
454 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
455 base, calc, draw, impress, math or writer. Modules cannot be started using
456 their shell starting script names (see "Installed Programs", below), if
[7313b4b]457 LO_PREFIX is other than <filename class='directory'>/usr</filename>,
[514797f]458 unless <filename class='directory'>$LO_PREFIX/bin</filename> directory is
459 appended to the PATH.
460 </para>
461
[c20bced]462 </sect2>
463
464 <sect2 role="commands">
465 <title>Command Explanations</title>
[4c796cf]466
[d2d3fc5]467 <para>
[89e6d61]468 <command>sed -e ...</command>: The first sed prevents compression of the
[7313b4b]469 manual pages and the second one prevents the install from failing.
[ed2cf3c]470 </para>
471
[d2d3fc5]472 <para>
[ed2cf3c]473 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[be307b9]474 the vendor which is mentioned when you click "About" from the Help menu
475 on the toolbar.
[d2d3fc5]476 </para>
[4c796cf]477
[ed2cf3c]478 <para>
[201a54c]479 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]480 what languages to support. To list several languages, separate them with
481 a space. For all languages, use
482 <parameter>--with-lang=ALL</parameter>.
[ed2cf3c]483 </para>
484
[7f380f4]485 <note>
486 <para>
[01c0bb8]487 For a list of the available languages, look in
488 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]489 </para>
490 </note>
[ffc716b]491
492 <para>
493 <parameter>--with-help</parameter>: Without this switch, the help files
494 are not built.
[d2d3fc5]495 </para>
496
[7f380f4]497 <para>
498 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
499 dictionaries to the <application>LibreOffice</application> installation
500 set.
501 </para>
502
[d2d3fc5]503 <para>
[c20bced]504 <parameter>--with-alloc=system</parameter>: This switch tells
[7313b4b]505 <application>LibreOffice</application> to use the system allocator
506 instead of its internal one.
[d2d3fc5]507 </para>
508
[d8ddab5]509 <para>
[cc9c627]510 <parameter>--with-system-boost</parameter>: This switch enables using
511 system boost. From time to time, recent versions of boost break
512 the build of libreoffice. In this case, it is possible to use the
513 bundled copy of boost, by removing this flag.
[d8ddab5]514 </para>
515
516 <para>
517 <parameter>--disable-dconf</parameter>: This switch disables compiling
518 <application>LibreOffice</application> with the
519 <application>GNOME DConf</application> configuration system support.
520 </para>
[28370fe]521
[7f380f4]522 <para>
[cc9c627]523 <parameter>--without-junit</parameter>: This switch disables the HSQLDB
524 tests (the HSQLDB driver is written in Java). If you want to run the
525 tests, be sure to install <filename>junit.jar</filename> and <filename>
526 hamcrest.jar</filename> in <filename class="directory">/usr/share/java
527 </filename>.
[7f380f4]528 </para>
529
[d2d3fc5]530 <para>
[cc9c627]531 <parameter>--without-system-dicts</parameter>: This switch disables use
532 of dictionaries from system paths, so the ones installed by this package
533 are used.
[5b9edb4]534 </para>
535
[d2d3fc5]536 <para>
[92b7b3a]537 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]538 office development kit. Remove if you want to develop a
539 <application>LibreOffice</application> based application.
[d2d3fc5]540 </para>
541
[011ed8fa]542<!-- Seems to build with gcc-7 and libreoffice-5.3.4
[33569f0f]543 <para>
[011ed8fa]544 <parameter>- -disable-firebird-sdbc</parameter>: The bundled version
545 of Firebird does not build properly with GCC-6.
[33569f0f]546 </para>
[011ed8fa]547-->
[33569f0f]548
[4469169]549 <para>
550 <parameter>--enable-release-build=yes</parameter>: This switch enables a
[7f380f4]551 Release Build. <application>LibreOffice</application> can be built as a
552 Release Build or as a Developer Build, because their default installation
553 paths and user profile paths are different. Developer Build displays the
554 words "Dev" and "Beta" in several places (e.g, menu and splash screen).
[4469169]555 </para>
[d2d3fc5]556
557 <para>
[c20bced]558 <parameter>--enable-python=system</parameter>: This switch tells
559 <application>LibreOffice</application> to use installed
[7f380f4]560 <application>Python 3</application> to build the translations instead of
561 the bundled one.
[d2d3fc5]562 </para>
563
564 <para>
[92b7b3a]565 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]566 <application>LibreOffice</application> from trying to compile its own
567 versions of these dependencies. If you've not installed some of the
568 dependencies, remove the corresponding switches.
[d2d3fc5]569 </para>
[8c853a1]570
[c20bced]571 <para>
[cc9c627]572 <option>--with-parallelism=&lt;count&gt;</option>: This switch
[ff13fdc2]573 tells <application>LibreOffice</application> to use &lt;count&gt; CPU
574 cores to compile in parallel. (Do not include literal angle brackets.)
[cc9c627]575 The default is to use all available cores on the system.
[c20bced]576 </para>
577
[87dfe6b]578 <para>
579 <option>--disable-cups</option>: Use this switch if you don't need
580 printing support.
581 </para>
582
[54666831]583 <para>
[7f380f4]584 <option>--disable-dbus</option>: Use this switch if you've not installed
585 D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
586 via PackageKit.
[54666831]587 </para>
588
[1cbfd1a]589 <para>
[011ed8fa]590 <option>--disable-firebird-sdbc</option>: By default, the ability to
[1cbfd1a]591 connect to a <application>firebird</application> database is enabled.
[011ed8fa]592 Add this switch if you do not need that feature.
593 </para>
[1cbfd1a]594
[c20bced]595 <para>
[64812ba3]596 <option>--disable-gstreamer-1-0</option>: Use this switch if you have not
597 installed <xref linkend="gst10-plugins-base"/>.
[7f380f4]598 </para>
599
[ae93d7e]600 <para>
[5339d21]601 <option>--disable-gtk3</option>: Use this switch if you have not installed
602 <application>GTK+-3</application>, or if you have installed it but wish
603 to use <application>GTK+-2</application> (the menu icons differ).
604 Note that a <application>GTK+-3</application> build still
[ae93d7e]605 requires <application>GTK+-2</application> to build the gtk-plugin.
606 </para>
607
[d8ddab5]608 <para>
609 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
610 <application>LibreOffice</application> with the ability to connect to a
[63e837a6]611 <application>PostgreSQL</application> database. Use it if you have not
612 installed <application>PostgreSQL</application> and you do not want
613 <application>LibreOffice</application> to compile its bundled copy.
[d8ddab5]614 </para>
615
[d2d3fc5]616 <para>
[34fbc15b]617 <option>--without-fonts</option>: <application>LibreOffice</application>
618 includes a number of third-party TrueType fonts. If you have already
619 installed some or all of the same fonts, you may prefer to use the system
620 versions.
[d2d3fc5]621 </para>
622
[cc9c627]623 <para>
624 <option>--without-java</option>: This switch disables
625 <application>Java</application> support in
626 <application>LibreOffice</application>. Java is needed for the HSQLDB
627 driver, which allows reading databases created by other programs into
628 libreoffice <application>base</application>.
629 </para>
630
[be307b9]631 <para>
632 <parameter>make distro-pack-install</parameter>: this does a normal
633 install, but if you add a DESTDIR environment variable it will also
634 install a lot of (text) gid_Module_* files in the DESTDIR, to help
635 distributions which want to break the package into parts.
636 </para>
637
[d2d3fc5]638 </sect2>
639
640 <sect2 role="content">
641 <title>Contents</title>
642
643 <segmentedlist>
644 <segtitle>Installed Programs</segtitle>
[c3c56b2]645 <segtitle>Installed Libraries</segtitle>
[8c853a1]646 <segtitle>Installed Directory</segtitle>
[d2d3fc5]647
648 <seglistitem>
[4c796cf]649 <seg>
[c20bced]650 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]651 loimpress, lomath, loweb, lowriter, soffice and unopkg;
652 several programs under
[0c77b5ab]653 $LO_PREFIX/lib/libreoffice/program
[8c853a1]654 </seg>
[c3c56b2]655 <seg>
[4469169]656 several libraries under
[ff7ea587]657 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]658 </seg>
[d2d3fc5]659 <seg>
[0c77b5ab]660 $LO_PREFIX/lib/libreoffice
[d2d3fc5]661 </seg>
662 </seglistitem>
663 </segmentedlist>
664
665 <variablelist>
666 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
667 <?dbfo list-presentation="list"?>
668 <?dbhtml list-presentation="table"?>
669
[514797f]670 <varlistentry id="libreoffice-suite">
671 <term><command>libreoffice (or soffice)</command></term>
672 <listitem>
673 <para>
674 is the main libreofice suite (symlink to
675 $LO_PREFIX/lib/libreoffice/program/soffice).
676 </para>
677 <indexterm zone="libreoffice libreoffice-suite">
678 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
679 </indexterm>
680 </listitem>
681 </varlistentry>
682
[c20bced]683 <varlistentry id="lobase">
684 <term><command>lobase</command></term>
[d2d3fc5]685 <listitem>
686 <para>
[514797f]687 is the database manager module shell starting script.
[d2d3fc5]688 </para>
[c20bced]689 <indexterm zone="libreoffice lobase">
690 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]691 </indexterm>
692 </listitem>
693 </varlistentry>
694
[c20bced]695 <varlistentry id="localc">
696 <term><command>localc</command></term>
[d2d3fc5]697 <listitem>
698 <para>
[514797f]699 is the spreadsheet module shell starting script.
[d2d3fc5]700 </para>
[c20bced]701 <indexterm zone="libreoffice localc">
702 <primary sortas="b-localc">localc</primary>
[d2d3fc5]703 </indexterm>
704 </listitem>
705 </varlistentry>
706
[c20bced]707 <varlistentry id="lodraw">
708 <term><command>lodraw</command></term>
[d2d3fc5]709 <listitem>
710 <para>
[514797f]711 is the vector graphics editor and diagramming tool module shell
712 starting script.
[d2d3fc5]713 </para>
[c20bced]714 <indexterm zone="libreoffice lodraw">
715 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]716 </indexterm>
717 </listitem>
718 </varlistentry>
719
[c20bced]720 <varlistentry id="loimpress">
721 <term><command>loimpress</command></term>
[d2d3fc5]722 <listitem>
723 <para>
[514797f]724 is the (PowerPoint) presentations editor and displayer
725 module shell starting script.
[d2d3fc5]726 </para>
[c20bced]727 <indexterm zone="libreoffice loimpress">
728 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]729 </indexterm>
730 </listitem>
731 </varlistentry>
732
[c20bced]733 <varlistentry id="lomath">
734 <term><command>lomath</command></term>
[d2d3fc5]735 <listitem>
736 <para>
[514797f]737 is the mathematical formula editor module shell starting script.
[d2d3fc5]738 </para>
[c20bced]739 <indexterm zone="libreoffice lomath">
740 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]741 </indexterm>
742 </listitem>
743 </varlistentry>
744
[006bd37]745 <varlistentry id="loweb">
746 <term><command>loweb</command></term>
747 <listitem>
748 <para>
749 is the HTML editor module shell starting script.
750 </para>
751 <indexterm zone="libreoffice loweb">
752 <primary sortas="b-loweb">loweb</primary>
753 </indexterm>
754 </listitem>
755 </varlistentry>
756
[c20bced]757 <varlistentry id="lowriter">
758 <term><command>lowriter</command></term>
[2511f83]759 <listitem>
760 <para>
[514797f]761 is the word processor module shell starting script.
[2511f83]762 </para>
[c20bced]763 <indexterm zone="libreoffice lowriter">
764 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]765 </indexterm>
766 </listitem>
767 </varlistentry>
768
[8d5cd1bb]769 <varlistentry id="unopkg">
770 <term><command>unopkg</command></term>
771 <listitem>
772 <para>
[fa29663]773 is a tool to manage <application>LibreOffice</application>
[63e837a6]774 extensions from the command line.
[8d5cd1bb]775 </para>
776 <indexterm zone="libreoffice unopkg">
777 <primary sortas="b-unopkg">unopkg</primary>
778 </indexterm>
779 </listitem>
780 </varlistentry>
781
[d2d3fc5]782 </variablelist>
[8c853a1]783
[d2d3fc5]784 </sect2>
[8c853a1]785
[d2d3fc5]786</sect1>
Note: See TracBrowser for help on using the repository browser.