source: xsoft/office/libreoffice.xml@ eb31fb51

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 eb31fb51 was eb31fb51, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Fix systemd url and various spacing issues

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

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