source: xsoft/office/libreoffice.xml@ b282e39

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 b282e39 was 3b6ba8f3, checked in by Ken Moffat <ken@…>, 6 years ago

A few more tags: for inkscape and libreoffice I was reluctant to tag them because I only use parts of them and for inkscape everything I do is trial and mostly error, but they work for me ™.

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

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