source: xsoft/office/libreoffice.xml@ 7313b4b

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 nosym 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 7313b4b was 7313b4b, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to libreoffice-5.2.2.2

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

  • Property mode set to 100644
File size: 28.6 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">
[7313b4b]10 <!ENTITY libreoffice-core-md5sum "4a001b0b43e58a3e584cb703d72cf19d">
11 <!ENTITY libreoffice-core-size "174 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[7313b4b]14 <!ENTITY libreoffice-dict-md5sum "96e9ffae7c4c3163ebc0896652b4bd51">
[006bd37]15 <!ENTITY libreoffice-dict-size "39 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[7313b4b]18 <!ENTITY libreoffice-help-md5sum "ea273836b1e1b670eee6f211bd5d9acf">
19 <!ENTITY libreoffice-help-size "1.9 MB">
[c20bced]20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[7313b4b]22 <!ENTITY libreoffice-translations-md5sum "2b4d20576fbf5c26f57d268791bfa84c">
[d8ddab5]23 <!ENTITY libreoffice-translations-size "126 MB">
[514797f]24
25
[7313b4b]26 <!ENTITY libreoffice-buildsize "7.7 GB (594 MB installed)">
27 <!ENTITY libreoffice-time "41 SBU with parallelism = 4 + 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>
[d8ddab5]140<!--
[199671b8]141 <listitem>
[efc0d11]142 <para>
[199671b8]143 Required patch to use <xref linkend="boost"/>:
[b12ae7c]144 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-boost_1_60_0-1.patch"/>
[efc0d11]145 </para>
[d8ddab5]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">
[d8ddab5]171 <xref linkend="apr"/>,
[b12ae7c]172 <xref linkend="boost"/> <!--(currently, broken with boost-1.60.0)-->,
[7f5a588]173 <xref linkend="clucene"/>,
[87dfe6b]174 <xref linkend="cups"/>,
[c20bced]175 <xref linkend="curl"/>,
[059ff67]176 <xref linkend="dbus-glib"/>,
[76df61c]177 <xref linkend="libjpeg"/>,
178 <xref linkend="glu"/>,
[2a75b9b]179 <xref linkend="graphite2"/>,
[c20bced]180 <xref linkend="gst10-plugins-base"/>,
[ae93d7e]181 <xref linkend="gtk3"/> and
182 <xref linkend="gtk2"/> (see <quote>Command Explanations</quote>),
[2a75b9b]183 <xref linkend="harfbuzz"/>,
[efc0d11]184 <xref linkend="icu"/>,
[d8ddab5]185 <xref linkend="libatomic_ops"/>,
[c20bced]186 <xref linkend="lcms2"/>,
[d2d3fc5]187 <xref linkend="librsvg"/>,
[c20bced]188 <xref linkend="libxml2"/> and
189 <xref linkend="libxslt"/>,
[7a395d1]190 <xref linkend="mesa"/>,
[d2d3fc5]191 <xref linkend="neon"/>,
192 <xref linkend="nss"/>,
[86d09e6]193 <xref linkend="openldap"/> (if connecting to an LDAP server),
[037fc0be]194 <xref linkend="openssl"/> or
195 <xref linkend="gnutls"/>,
[f76286d]196 <xref linkend="poppler"/>,
[d8ddab5]197 <xref linkend="postgresql"/>,
[89e6d61]198 <xref linkend="python3"/>,
[d8ddab5]199 <xref linkend="redland"/>,
200 <xref linkend="serf"/>, and
[c20bced]201 <xref linkend="unixodbc"/>
[d2d3fc5]202 </para>
203
204 <bridgehead renderas="sect4">Optional</bridgehead>
205 <para role="optional">
[037fc0be]206 <xref linkend="apache-ant"/>,
[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"/>,
[9e04432]213<!-- <xref linkend="kdelibs"/>, -->
[b33ea6fa]214 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
215 <xref linkend="mitkrb"/>,
[037fc0be]216 <xref linkend="nasm"/>,
[b33ea6fa]217 <xref linkend="openjdk"/>,
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>
[d8ddab5]324<!--
[199671b8]325 <para>
326 Fix build failures introduced by <application>boost-&boost-version;</application>:
[efc0d11]327 </para>
328
[d8ddab5]329<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-boost_1_60_0-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;
[979dd732]347<!-- Seems to be fixed in 5.1.2.2
348sed -i "s#isnan#std::&amp;#g" xmloff/source/draw/ximp3dscene.cxx &amp;&amp; -->
[64812ba3]349
[34fbc15b]350<!-- fixed in 5.2.0.4
351chmod -v +x bin/unpack-sources &amp;&amp; -->
[14ea7e8]352
[0c77b5ab]353./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]354 --sysconfdir=/etc \
[d8ddab5]355 --with-vendor=BLFS \
[201a54c]356 --with-lang='fr en-GB' \
[14ea7e8]357 --with-help \
[7f380f4]358 --with-myspell-dicts \
[14ea7e8]359 --with-alloc=system \
360 --without-java \
[7f380f4]361 --without-system-dicts \
[d8ddab5]362 --disable-dconf \
[14ea7e8]363 --disable-odk \
[33569f0f]364 --disable-firebird-sdbc \
[14ea7e8]365 --enable-release-build=yes \
[5153eb9]366 --enable-python=system \
[d8ddab5]367 --with-system-apr \
368 --with-system-boost=yes \
[14ea7e8]369 --with-system-cairo \
[d8ddab5]370 --with-system-clucene \
[14ea7e8]371 --with-system-curl \
372 --with-system-expat \
[2a75b9b]373 --with-system-graphite \
[14ea7e8]374 --with-system-harfbuzz \
[3d3bcee]375 --with-system-icu \
[14ea7e8]376 --with-system-jpeg \
377 --with-system-lcms2 \
[d8ddab5]378 --with-system-libatomic_ops \
[14ea7e8]379 --with-system-libpng \
380 --with-system-libxml \
381 --with-system-neon \
382 --with-system-nss \
383 --with-system-odbc \
384 --with-system-openldap \
385 --with-system-openssl \
386 --with-system-poppler \
[d8ddab5]387 --with-system-postgresql \
[14ea7e8]388 --with-system-redland \
[d8ddab5]389 --with-system-serf \
[ff13fdc2]390 --with-system-zlib</userinput></screen>
[ceadeab]391
[d2d3fc5]392 <para>
[c20bced]393 The instructions below will only build the package without running
394 any unit tests. If you prefer to run the unit tests, replace
[34fbc15b]395 <command>make build-nocheck</command> with <command>make build</command>
396 or (as a regular user only) just <command>make</command>, but do not be
397 surprised if a unit test fails right at the end of the build and
398 breaks it.
[d2d3fc5]399 </para>
400
401 <para>
[33569f0f]402 Build the package:
[d2d3fc5]403 </para>
404
[34fbc15b]405<screen><userinput>make build-nocheck</userinput></screen>
[d2d3fc5]406
407 <para>
[c20bced]408 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]409 </para>
410
[34fbc15b]411<screen role="root"><userinput>make distro-pack-install</userinput></screen>
412<!-- $LO_PREFIX/share/appdata/*.xml gets installed by distro-pack-install
413in 5.2.0.4 -->
[c20bced]414
[d83f555]415 <para>
[cbdad90b]416 If installed in <filename
417 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[64812ba3]418 some additional steps are necessary. Issue the following commands, as
419 <systemitem class="username">root</systemitem> user:
[d83f555]420 </para>
421
[cbdad90b]422<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]423
[64812ba3]424 # This symlink is necessary for the desktop menu entries
[e43a76ca]425 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]426
[64812ba3]427 # Icons
[20f09631]428 mkdir -vp /usr/share/pixmaps
[63e837a6]429 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]430 ln -svf $i /usr/share/pixmaps
[defca61]431 done &amp;&amp;
[cbdad90b]432
[64812ba3]433 # Desktop menu entries
[e43a76ca]434 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
435 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
436 done &amp;&amp;
[64812ba3]437
438 # Man pages
439 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]440 ln -svf $i /usr/share/man/man1/
[5a3365b]441 done
442
[e43a76ca]443 unset i
[a76bd33]444fi</userinput></screen>
[64812ba3]445
[a76bd33]446 <para>
447 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
448 to update the MIME database, issue, as the <systemitem class="username">
449 root</systemitem> user:
450 </para>
451
452<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]453
[514797f]454 <para>
455 The suite and main modules can be started from the menu. From a terminal,
456 the suite can be started with <command>libreoffice</command> command and
457 the modules with <command>libreoffice
458 --<replaceable>&lt;module&gt;</replaceable></command> command,
459 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
460 base, calc, draw, impress, math or writer. Modules cannot be started using
461 their shell starting script names (see "Installed Programs", below), if
[7313b4b]462 LO_PREFIX is other than <filename class='directory'>/usr</filename>,
[514797f]463 unless <filename class='directory'>$LO_PREFIX/bin</filename> directory is
464 appended to the PATH.
465 </para>
466
[c20bced]467 </sect2>
468
469 <sect2 role="commands">
470 <title>Command Explanations</title>
[4c796cf]471
[d2d3fc5]472 <para>
[89e6d61]473 <command>sed -e ...</command>: The first sed prevents compression of the
[7313b4b]474 manual pages and the second one prevents the install from failing.
[ed2cf3c]475 </para>
476
[d2d3fc5]477 <para>
[ed2cf3c]478 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[5030bab]479 the vendor which is mentioned when you click "About" on the toolbar.
[d2d3fc5]480 </para>
[4c796cf]481
[ed2cf3c]482 <para>
[201a54c]483 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]484 what languages to support. To list several languages, separate them with
485 a space. For all languages, use
486 <parameter>--with-lang=ALL</parameter>.
[ed2cf3c]487 </para>
488
[7f380f4]489 <note>
490 <para>
[01c0bb8]491 For a list of the available languages, look in
492 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]493 </para>
494 </note>
[ffc716b]495
496 <para>
497 <parameter>--with-help</parameter>: Without this switch, the help files
498 are not built.
[d2d3fc5]499 </para>
500
[7f380f4]501 <para>
502 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
503 dictionaries to the <application>LibreOffice</application> installation
504 set.
505 </para>
506
[d2d3fc5]507 <para>
[c20bced]508 <parameter>--with-alloc=system</parameter>: This switch tells
[7313b4b]509 <application>LibreOffice</application> to use the system allocator
510 instead of its internal one.
[d2d3fc5]511 </para>
512
[d8ddab5]513 <para>
514 <parameter>--with-system-boost=<replaceable>&lt;yes/no&gt;</replaceable></parameter>:
515 This switch enables/disables use of system boost, so bundled one may be or
516 not used, because currently, depending on the user decision, or if the
517 build is broken with latest <application>Boost</application> in BLFS,
518 which frequently occurs and there is a delay until either a fix is found
519 or it is fixed upstream.
520 </para>
521
522 <para>
523 <parameter>--disable-dconf</parameter>: This switch disables compiling
524 <application>LibreOffice</application> with the
525 <application>GNOME DConf</application> configuration system support.
526 </para>
[28370fe]527
[7f380f4]528 <para>
529 <parameter>--without-system-dicts</parameter>: This switch disables use
530 of dictionaries from system paths, so the ones installed by this package
531 are used.
532 </para>
533
[d2d3fc5]534 <para>
[92b7b3a]535 <parameter>--without-java</parameter>: This switch disables
[c20bced]536 <application>Java</application> support in
[ff13fdc2]537 <application>LibreOffice</application>. Remove this option if
538 <application>Java</application> is installed and needed. Most users will
539 not need <application>Java</application> in this application.
[5b9edb4]540 </para>
541
[d2d3fc5]542 <para>
[92b7b3a]543 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]544 office development kit. Remove if you want to develop a
545 <application>LibreOffice</application> based application.
[d2d3fc5]546 </para>
547
[33569f0f]548 <para>
549 <parameter>--disable-firebird-sdbc</parameter>: The bundled version
550 of Firebird does not build properly with GCC-6.<!-- Hope next version
551 will correct that -->
552 </para>
553
[4469169]554 <para>
555 <parameter>--enable-release-build=yes</parameter>: This switch enables a
[7f380f4]556 Release Build. <application>LibreOffice</application> can be built as a
557 Release Build or as a Developer Build, because their default installation
558 paths and user profile paths are different. Developer Build displays the
559 words "Dev" and "Beta" in several places (e.g, menu and splash screen).
[4469169]560 </para>
[d2d3fc5]561
562 <para>
[c20bced]563 <parameter>--enable-python=system</parameter>: This switch tells
564 <application>LibreOffice</application> to use installed
[7f380f4]565 <application>Python 3</application> to build the translations instead of
566 the bundled one.
[d2d3fc5]567 </para>
568
569 <para>
[92b7b3a]570 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]571 <application>LibreOffice</application> from trying to compile its own
572 versions of these dependencies. If you've not installed some of the
573 dependencies, remove the corresponding switches.
[d2d3fc5]574 </para>
[8c853a1]575
[c20bced]576 <para>
[ff13fdc2]577 <parameter>--with-parallelism=&lt;count&gt;</parameter>: This switch
578 tells <application>LibreOffice</application> to use &lt;count&gt; CPU
579 cores to compile in parallel. (Do not include literal angle brackets.)
580 The default is $(getconf _NPROCESSORS_ONLN) which uses all availalble
581 cores on the system.
[c20bced]582 </para>
583
[87dfe6b]584 <para>
585 <option>--disable-cups</option>: Use this switch if you don't need
586 printing support.
587 </para>
588
[54666831]589 <para>
[7f380f4]590 <option>--disable-dbus</option>: Use this switch if you've not installed
591 D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
592 via PackageKit.
[54666831]593 </para>
594
[34fbc15b]595 <!-- commented, because we do this above as a parameter
[1cbfd1a]596 <para>
[34fbc15b]597 <option>\-\-disable-firebird-sdbc</option>: By default, the ability to
[1cbfd1a]598 connect to a <application>firebird</application> database is enabled.
599 This is regarded as 'experimental' and from time to time the unit test
600 CppunitTest_dbaccess_firebird_test fails near the end of the build. If
601 you need to connect to such a database, and the build fails for you,
602 you will need to build <xref linkend="gdb"/> to help upstream debug it.
[34fbc15b]603 </para> -->
[1cbfd1a]604
[c20bced]605 <para>
[64812ba3]606 <option>--disable-gstreamer-1-0</option>: Use this switch if you have not
607 installed <xref linkend="gst10-plugins-base"/>.
[7f380f4]608 </para>
609
[ae93d7e]610 <para>
[5339d21]611 <option>--disable-gtk3</option>: Use this switch if you have not installed
612 <application>GTK+-3</application>, or if you have installed it but wish
613 to use <application>GTK+-2</application> (the menu icons differ).
614 Note that a <application>GTK+-3</application> build still
[ae93d7e]615 requires <application>GTK+-2</application> to build the gtk-plugin.
616 </para>
617
[d8ddab5]618 <para>
619 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
620 <application>LibreOffice</application> with the ability to connect to a
[63e837a6]621 <application>PostgreSQL</application> database. Use it if you have not
622 installed <application>PostgreSQL</application> and you do not want
623 <application>LibreOffice</application> to compile its bundled copy.
[d8ddab5]624 </para>
625
[d2d3fc5]626 <para>
[34fbc15b]627 <option>--without-fonts</option>: <application>LibreOffice</application>
628 includes a number of third-party TrueType fonts. If you have already
629 installed some or all of the same fonts, you may prefer to use the system
630 versions.
[d2d3fc5]631 </para>
632
633 </sect2>
634
635 <sect2 role="content">
636 <title>Contents</title>
637
638 <segmentedlist>
639 <segtitle>Installed Programs</segtitle>
[c3c56b2]640 <segtitle>Installed Libraries</segtitle>
[8c853a1]641 <segtitle>Installed Directory</segtitle>
[d2d3fc5]642
643 <seglistitem>
[4c796cf]644 <seg>
[c20bced]645 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]646 loimpress, lomath, loweb, lowriter, soffice and unopkg;
647 several programs under
[0c77b5ab]648 $LO_PREFIX/lib/libreoffice/program
[8c853a1]649 </seg>
[c3c56b2]650 <seg>
[4469169]651 several libraries under
[ff7ea587]652 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]653 </seg>
[d2d3fc5]654 <seg>
[0c77b5ab]655 $LO_PREFIX/lib/libreoffice
[d2d3fc5]656 </seg>
657 </seglistitem>
658 </segmentedlist>
659
660 <variablelist>
661 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
662 <?dbfo list-presentation="list"?>
663 <?dbhtml list-presentation="table"?>
664
[514797f]665 <varlistentry id="libreoffice-suite">
666 <term><command>libreoffice (or soffice)</command></term>
667 <listitem>
668 <para>
669 is the main libreofice suite (symlink to
670 $LO_PREFIX/lib/libreoffice/program/soffice).
671 </para>
672 <indexterm zone="libreoffice libreoffice-suite">
673 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
674 </indexterm>
675 </listitem>
676 </varlistentry>
677
[c20bced]678 <varlistentry id="lobase">
679 <term><command>lobase</command></term>
[d2d3fc5]680 <listitem>
681 <para>
[514797f]682 is the database manager module shell starting script.
[d2d3fc5]683 </para>
[c20bced]684 <indexterm zone="libreoffice lobase">
685 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]686 </indexterm>
687 </listitem>
688 </varlistentry>
689
[c20bced]690 <varlistentry id="localc">
691 <term><command>localc</command></term>
[d2d3fc5]692 <listitem>
693 <para>
[514797f]694 is the spreadsheet module shell starting script.
[d2d3fc5]695 </para>
[c20bced]696 <indexterm zone="libreoffice localc">
697 <primary sortas="b-localc">localc</primary>
[d2d3fc5]698 </indexterm>
699 </listitem>
700 </varlistentry>
701
[c20bced]702 <varlistentry id="lodraw">
703 <term><command>lodraw</command></term>
[d2d3fc5]704 <listitem>
705 <para>
[514797f]706 is the vector graphics editor and diagramming tool module shell
707 starting script.
[d2d3fc5]708 </para>
[c20bced]709 <indexterm zone="libreoffice lodraw">
710 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]711 </indexterm>
712 </listitem>
713 </varlistentry>
714
[c20bced]715 <varlistentry id="loimpress">
716 <term><command>loimpress</command></term>
[d2d3fc5]717 <listitem>
718 <para>
[514797f]719 is the (PowerPoint) presentations editor and displayer
720 module shell starting script.
[d2d3fc5]721 </para>
[c20bced]722 <indexterm zone="libreoffice loimpress">
723 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]724 </indexterm>
725 </listitem>
726 </varlistentry>
727
[c20bced]728 <varlistentry id="lomath">
729 <term><command>lomath</command></term>
[d2d3fc5]730 <listitem>
731 <para>
[514797f]732 is the mathematical formula editor module shell starting script.
[d2d3fc5]733 </para>
[c20bced]734 <indexterm zone="libreoffice lomath">
735 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]736 </indexterm>
737 </listitem>
738 </varlistentry>
739
[006bd37]740 <varlistentry id="loweb">
741 <term><command>loweb</command></term>
742 <listitem>
743 <para>
744 is the HTML editor module shell starting script.
745 </para>
746 <indexterm zone="libreoffice loweb">
747 <primary sortas="b-loweb">loweb</primary>
748 </indexterm>
749 </listitem>
750 </varlistentry>
751
[c20bced]752 <varlistentry id="lowriter">
753 <term><command>lowriter</command></term>
[2511f83]754 <listitem>
755 <para>
[514797f]756 is the word processor module shell starting script.
[2511f83]757 </para>
[c20bced]758 <indexterm zone="libreoffice lowriter">
759 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]760 </indexterm>
761 </listitem>
762 </varlistentry>
763
[8d5cd1bb]764 <varlistentry id="unopkg">
765 <term><command>unopkg</command></term>
766 <listitem>
767 <para>
[fa29663]768 is a tool to manage <application>LibreOffice</application>
[63e837a6]769 extensions from the command line.
[8d5cd1bb]770 </para>
771 <indexterm zone="libreoffice unopkg">
772 <primary sortas="b-unopkg">unopkg</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
[d2d3fc5]777 </variablelist>
[8c853a1]778
[d2d3fc5]779 </sect2>
[8c853a1]780
[d2d3fc5]781</sect1>
Note: See TracBrowser for help on using the repository browser.