source: xsoft/office/libreoffice.xml@ 8c7390c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.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 8c7390c was 8c7390c, checked in by Pierre Labastie <pieere@…>, 7 years ago

libreoffice-5.2.5.1
NetworkManager-1.6.0
network-manager-applet-1.4.4
swig-3.0.12
libdrm-2.4.75

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

  • Property mode set to 100644
File size: 28.4 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">
[8c7390c]10 <!ENTITY libreoffice-core-md5sum "1e93a3992c2358f4e6e3b1cdd373eda2">
11 <!ENTITY libreoffice-core-size "176 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[8c7390c]14 <!ENTITY libreoffice-dict-md5sum "d737d01c446a7f7edb0ea68cd6690594">
15 <!ENTITY libreoffice-dict-size "40 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[8c7390c]18 <!ENTITY libreoffice-help-md5sum "9cf568cb3d99e7b5e2e83ec9137f4602">
[cc9c627]19 <!ENTITY libreoffice-help-size "1.8 MB">
[c20bced]20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[8c7390c]22 <!ENTITY libreoffice-translations-md5sum "0ab59244bd923141e69b10b363dd332a">
[cc9c627]23 <!ENTITY libreoffice-translations-size "135 MB">
[514797f]24
25
[8c7390c]26 <!ENTITY libreoffice-buildsize "8 GB (610 MB installed)">
27 <!ENTITY libreoffice-time "32 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
[34fbc15b]54 &lfs7a_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>
[cc9c627]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>
[c20bced]147 </itemizedlist>
148
[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>
[cc9c627]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>
[199671b8]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 \
[33569f0f]359 --disable-firebird-sdbc \
[14ea7e8]360 --enable-release-build=yes \
[5153eb9]361 --enable-python=system \
[d8ddab5]362 --with-system-apr \
[cc9c627]363 --with-system-boost \
[14ea7e8]364 --with-system-cairo \
[d8ddab5]365 --with-system-clucene \
[14ea7e8]366 --with-system-curl \
367 --with-system-expat \
[2a75b9b]368 --with-system-graphite \
[14ea7e8]369 --with-system-harfbuzz \
[3d3bcee]370 --with-system-icu \
[14ea7e8]371 --with-system-jpeg \
372 --with-system-lcms2 \
[d8ddab5]373 --with-system-libatomic_ops \
[14ea7e8]374 --with-system-libpng \
375 --with-system-libxml \
376 --with-system-neon \
377 --with-system-nss \
378 --with-system-odbc \
379 --with-system-openldap \
380 --with-system-openssl \
381 --with-system-poppler \
[d8ddab5]382 --with-system-postgresql \
[14ea7e8]383 --with-system-redland \
[d8ddab5]384 --with-system-serf \
[ff13fdc2]385 --with-system-zlib</userinput></screen>
[ceadeab]386
[d2d3fc5]387 <para>
[c20bced]388 The instructions below will only build the package without running
389 any unit tests. If you prefer to run the unit tests, replace
[34fbc15b]390 <command>make build-nocheck</command> with <command>make build</command>
391 or (as a regular user only) just <command>make</command>, but do not be
392 surprised if a unit test fails right at the end of the build and
393 breaks it.
[d2d3fc5]394 </para>
395
396 <para>
[33569f0f]397 Build the package:
[d2d3fc5]398 </para>
399
[34fbc15b]400<screen><userinput>make build-nocheck</userinput></screen>
[d2d3fc5]401
402 <para>
[c20bced]403 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]404 </para>
405
[34fbc15b]406<screen role="root"><userinput>make distro-pack-install</userinput></screen>
[c20bced]407
[d83f555]408 <para>
[cbdad90b]409 If installed in <filename
410 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[64812ba3]411 some additional steps are necessary. Issue the following commands, as
412 <systemitem class="username">root</systemitem> user:
[d83f555]413 </para>
414
[cbdad90b]415<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]416
[64812ba3]417 # This symlink is necessary for the desktop menu entries
[e43a76ca]418 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]419
[64812ba3]420 # Icons
[20f09631]421 mkdir -vp /usr/share/pixmaps
[63e837a6]422 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]423 ln -svf $i /usr/share/pixmaps
[defca61]424 done &amp;&amp;
[cbdad90b]425
[64812ba3]426 # Desktop menu entries
[e43a76ca]427 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
428 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
429 done &amp;&amp;
[64812ba3]430
431 # Man pages
432 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]433 ln -svf $i /usr/share/man/man1/
[5a3365b]434 done
435
[e43a76ca]436 unset i
[a76bd33]437fi</userinput></screen>
[64812ba3]438
[a76bd33]439 <para>
440 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
441 to update the MIME database, issue, as the <systemitem class="username">
442 root</systemitem> user:
443 </para>
444
445<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]446
[514797f]447 <para>
448 The suite and main modules can be started from the menu. From a terminal,
449 the suite can be started with <command>libreoffice</command> command and
450 the modules with <command>libreoffice
451 --<replaceable>&lt;module&gt;</replaceable></command> command,
452 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
453 base, calc, draw, impress, math or writer. Modules cannot be started using
454 their shell starting script names (see "Installed Programs", below), if
[7313b4b]455 LO_PREFIX is other than <filename class='directory'>/usr</filename>,
[514797f]456 unless <filename class='directory'>$LO_PREFIX/bin</filename> directory is
457 appended to the PATH.
458 </para>
459
[c20bced]460 </sect2>
461
462 <sect2 role="commands">
463 <title>Command Explanations</title>
[4c796cf]464
[d2d3fc5]465 <para>
[89e6d61]466 <command>sed -e ...</command>: The first sed prevents compression of the
[7313b4b]467 manual pages and the second one prevents the install from failing.
[ed2cf3c]468 </para>
469
[d2d3fc5]470 <para>
[ed2cf3c]471 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[5030bab]472 the vendor which is mentioned when you click "About" on the toolbar.
[d2d3fc5]473 </para>
[4c796cf]474
[ed2cf3c]475 <para>
[201a54c]476 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]477 what languages to support. To list several languages, separate them with
478 a space. For all languages, use
479 <parameter>--with-lang=ALL</parameter>.
[ed2cf3c]480 </para>
481
[7f380f4]482 <note>
483 <para>
[01c0bb8]484 For a list of the available languages, look in
485 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]486 </para>
487 </note>
[ffc716b]488
489 <para>
490 <parameter>--with-help</parameter>: Without this switch, the help files
491 are not built.
[d2d3fc5]492 </para>
493
[7f380f4]494 <para>
495 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
496 dictionaries to the <application>LibreOffice</application> installation
497 set.
498 </para>
499
[d2d3fc5]500 <para>
[c20bced]501 <parameter>--with-alloc=system</parameter>: This switch tells
[7313b4b]502 <application>LibreOffice</application> to use the system allocator
503 instead of its internal one.
[d2d3fc5]504 </para>
505
[d8ddab5]506 <para>
[cc9c627]507 <parameter>--with-system-boost</parameter>: This switch enables using
508 system boost. From time to time, recent versions of boost break
509 the build of libreoffice. In this case, it is possible to use the
510 bundled copy of boost, by removing this flag.
[d8ddab5]511 </para>
512
513 <para>
514 <parameter>--disable-dconf</parameter>: This switch disables compiling
515 <application>LibreOffice</application> with the
516 <application>GNOME DConf</application> configuration system support.
517 </para>
[28370fe]518
[7f380f4]519 <para>
[cc9c627]520 <parameter>--without-junit</parameter>: This switch disables the HSQLDB
521 tests (the HSQLDB driver is written in Java). If you want to run the
522 tests, be sure to install <filename>junit.jar</filename> and <filename>
523 hamcrest.jar</filename> in <filename class="directory">/usr/share/java
524 </filename>.
[7f380f4]525 </para>
526
[d2d3fc5]527 <para>
[cc9c627]528 <parameter>--without-system-dicts</parameter>: This switch disables use
529 of dictionaries from system paths, so the ones installed by this package
530 are used.
[5b9edb4]531 </para>
532
[d2d3fc5]533 <para>
[92b7b3a]534 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]535 office development kit. Remove if you want to develop a
536 <application>LibreOffice</application> based application.
[d2d3fc5]537 </para>
538
[33569f0f]539 <para>
540 <parameter>--disable-firebird-sdbc</parameter>: The bundled version
541 of Firebird does not build properly with GCC-6.<!-- Hope next version
542 will correct that -->
543 </para>
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
[34fbc15b]585 <!-- commented, because we do this above as a parameter
[1cbfd1a]586 <para>
[34fbc15b]587 <option>\-\-disable-firebird-sdbc</option>: By default, the ability to
[1cbfd1a]588 connect to a <application>firebird</application> database is enabled.
589 This is regarded as 'experimental' and from time to time the unit test
590 CppunitTest_dbaccess_firebird_test fails near the end of the build. If
591 you need to connect to such a database, and the build fails for you,
592 you will need to build <xref linkend="gdb"/> to help upstream debug it.
[34fbc15b]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
[d2d3fc5]631 </sect2>
632
633 <sect2 role="content">
634 <title>Contents</title>
635
636 <segmentedlist>
637 <segtitle>Installed Programs</segtitle>
[c3c56b2]638 <segtitle>Installed Libraries</segtitle>
[8c853a1]639 <segtitle>Installed Directory</segtitle>
[d2d3fc5]640
641 <seglistitem>
[4c796cf]642 <seg>
[c20bced]643 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]644 loimpress, lomath, loweb, lowriter, soffice and unopkg;
645 several programs under
[0c77b5ab]646 $LO_PREFIX/lib/libreoffice/program
[8c853a1]647 </seg>
[c3c56b2]648 <seg>
[4469169]649 several libraries under
[ff7ea587]650 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]651 </seg>
[d2d3fc5]652 <seg>
[0c77b5ab]653 $LO_PREFIX/lib/libreoffice
[d2d3fc5]654 </seg>
655 </seglistitem>
656 </segmentedlist>
657
658 <variablelist>
659 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
660 <?dbfo list-presentation="list"?>
661 <?dbhtml list-presentation="table"?>
662
[514797f]663 <varlistentry id="libreoffice-suite">
664 <term><command>libreoffice (or soffice)</command></term>
665 <listitem>
666 <para>
667 is the main libreofice suite (symlink to
668 $LO_PREFIX/lib/libreoffice/program/soffice).
669 </para>
670 <indexterm zone="libreoffice libreoffice-suite">
671 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
[c20bced]676 <varlistentry id="lobase">
677 <term><command>lobase</command></term>
[d2d3fc5]678 <listitem>
679 <para>
[514797f]680 is the database manager module shell starting script.
[d2d3fc5]681 </para>
[c20bced]682 <indexterm zone="libreoffice lobase">
683 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]684 </indexterm>
685 </listitem>
686 </varlistentry>
687
[c20bced]688 <varlistentry id="localc">
689 <term><command>localc</command></term>
[d2d3fc5]690 <listitem>
691 <para>
[514797f]692 is the spreadsheet module shell starting script.
[d2d3fc5]693 </para>
[c20bced]694 <indexterm zone="libreoffice localc">
695 <primary sortas="b-localc">localc</primary>
[d2d3fc5]696 </indexterm>
697 </listitem>
698 </varlistentry>
699
[c20bced]700 <varlistentry id="lodraw">
701 <term><command>lodraw</command></term>
[d2d3fc5]702 <listitem>
703 <para>
[514797f]704 is the vector graphics editor and diagramming tool module shell
705 starting script.
[d2d3fc5]706 </para>
[c20bced]707 <indexterm zone="libreoffice lodraw">
708 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]709 </indexterm>
710 </listitem>
711 </varlistentry>
712
[c20bced]713 <varlistentry id="loimpress">
714 <term><command>loimpress</command></term>
[d2d3fc5]715 <listitem>
716 <para>
[514797f]717 is the (PowerPoint) presentations editor and displayer
718 module shell starting script.
[d2d3fc5]719 </para>
[c20bced]720 <indexterm zone="libreoffice loimpress">
721 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]722 </indexterm>
723 </listitem>
724 </varlistentry>
725
[c20bced]726 <varlistentry id="lomath">
727 <term><command>lomath</command></term>
[d2d3fc5]728 <listitem>
729 <para>
[514797f]730 is the mathematical formula editor module shell starting script.
[d2d3fc5]731 </para>
[c20bced]732 <indexterm zone="libreoffice lomath">
733 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]734 </indexterm>
735 </listitem>
736 </varlistentry>
737
[006bd37]738 <varlistentry id="loweb">
739 <term><command>loweb</command></term>
740 <listitem>
741 <para>
742 is the HTML editor module shell starting script.
743 </para>
744 <indexterm zone="libreoffice loweb">
745 <primary sortas="b-loweb">loweb</primary>
746 </indexterm>
747 </listitem>
748 </varlistentry>
749
[c20bced]750 <varlistentry id="lowriter">
751 <term><command>lowriter</command></term>
[2511f83]752 <listitem>
753 <para>
[514797f]754 is the word processor module shell starting script.
[2511f83]755 </para>
[c20bced]756 <indexterm zone="libreoffice lowriter">
757 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]758 </indexterm>
759 </listitem>
760 </varlistentry>
761
[8d5cd1bb]762 <varlistentry id="unopkg">
763 <term><command>unopkg</command></term>
764 <listitem>
765 <para>
[fa29663]766 is a tool to manage <application>LibreOffice</application>
[63e837a6]767 extensions from the command line.
[8d5cd1bb]768 </para>
769 <indexterm zone="libreoffice unopkg">
770 <primary sortas="b-unopkg">unopkg</primary>
771 </indexterm>
772 </listitem>
773 </varlistentry>
774
[d2d3fc5]775 </variablelist>
[8c853a1]776
[d2d3fc5]777 </sect2>
[8c853a1]778
[d2d3fc5]779</sect1>
Note: See TracBrowser for help on using the repository browser.