source: xsoft/office/libreoffice.xml@ 2e18e741

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 2e18e741 was 2e18e741, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to libreoffice-7.0.1.2.
Update to cryptsetup-2.3.4.
Update to postfix-3.5.7.
Update to brotli-1.0.9.
Fix scour URL.

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

  • Property mode set to 100644
File size: 33.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">
[2e18e741]10 <!ENTITY libreoffice-core-md5sum "c44ed1c4be60fc5455256e29503a78e6">
11 <!ENTITY libreoffice-core-size "225 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[2e18e741]14 <!ENTITY libreoffice-dict-md5sum "eb7b5275818d7399c74b5c80af04d315">
[9873d1ea]15 <!ENTITY libreoffice-dict-size "44 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[2e18e741]18 <!ENTITY libreoffice-help-md5sum "608916aad698ade4cd884e3288af1544">
[71cf6a3]19 <!ENTITY libreoffice-help-size "106 MB">
[c20bced]20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[2e18e741]22 <!ENTITY libreoffice-translations-md5sum "fd1d69b26c568e55d54979a548608902">
[71cf6a3]23 <!ENTITY libreoffice-translations-size "167 MB">
[514797f]24
[71cf6a3]25 <!-- full size remeasured for 7.0.0.3 -->
[05800b9]26
[2e18e741]27 <!ENTITY libreoffice-buildsize "6.5 GB including the additional files if downloaded during the build (775 MB installed). Installing the whole set of languages requires more than 25 GB (around 3 GB installed)">
[bbd73d4]28
29 <!-- Editors: many updates to poppler will break LO using system poppler until
30 somebody is able to provide a patch or sed. In these cases, please mark
31 the dependency as currently broken and move the \-\-with-system-poppler
32 line to a comment. Also please switch poppler between recommended and
33 optional according to whether or not we use the system version. The
34 installed size will be increased by 2 MB if using the shipped poppler, but
35 the variation in build times will be lost in the noise. - ken -->
[05800b9]36
[afff6997]37 <!-- for 6.1.2.1 I allowed 2 SBU for downloads, my total was
[05800b9]38 64.76 SBU with fast downloads
[71cf6a3]39 for 6.1.4.2 I and 7.0.0.3 just used the total time - bdubbs
[bbd73d4]40
41 For 6.4.0.3 downloading everything including dictionaries,
42 help, translations took less than 2 minutes (1.1 SBU) with
43 a good domestic internet connection. Total time was 60 SBU - ken
[9873d1ea]44
45 60 SBU not including download of translations, help and dictionary
46 for 6.4.6.2 - pierre
[05800b9]47 -->
[71cf6a3]48 <!ENTITY libreoffice-time "45 SBU with parallelism=4 including typical download time">
[33569f0f]49
[d2d3fc5]50]>
51
[cbdad90b]52<sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-dlversion;">
[d2d3fc5]53 <?dbhtml filename="libreoffice.html"?>
54
55 <sect1info>
56 <othername>$LastChangedBy$</othername>
57 <date>$Date$</date>
58 </sect1info>
59
[d2bea743]60 <title>LibreOffice-&libreoffice-version;</title>
[d2d3fc5]61
62 <indexterm zone="libreoffice">
[8c853a1]63 <primary sortas="a-LibreOffice">LibreOffice</primary>
[d2d3fc5]64 </indexterm>
65
66 <sect2 role="package">
[fa29663]67 <title>Introduction to LibreOffice</title>
[d2d3fc5]68
69 <para>
[fa29663]70 <application>LibreOffice</application> is a full-featured office suite.
71 It is largely compatible with <application>Microsoft Office</application>
[8c853a1]72 and is descended from <application>OpenOffice.org</application>.
[d2d3fc5]73 </para>
74
[9873d1ea]75 &lfs10_checked;
[d2d3fc5]76
77 <bridgehead renderas="sect3">Package Information</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
[9e1dd1b]81 Core Download: <ulink url="&libreoffice-core-download-http;"/>
[d2d3fc5]82 </para>
83 </listitem>
84 <listitem>
85 <para>
86 Core Download MD5 sum: &libreoffice-core-md5sum;
87 </para>
88 </listitem>
89 <listitem>
90 <para>
91 Core Download size: &libreoffice-core-size;
92 </para>
93 </listitem>
[c20bced]94 <listitem>
95 <para>
[9e1dd1b]96 Estimated disk space required: &libreoffice-buildsize;
[c20bced]97 </para>
98 </listitem>
99 <listitem>
100 <para>
[9e1dd1b]101 Estimated build time: &libreoffice-time;
[c20bced]102 </para>
103 </listitem>
[9e1dd1b]104 </itemizedlist>
105
106 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[bbd73d4]107
108 <note>
109 <para>
110 Around 80 smallish tarballs and zip files will be downloaded during the
111 build. If you have not downloaded one or more of the following, they too
112 will also be downloaded during the build.
113 </para>
114 </note>
115
[9e1dd1b]116 <itemizedlist spacing="compact">
[c20bced]117 <listitem>
118 <para>
[9e1dd1b]119 Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
[c20bced]120 </para>
121 </listitem>
[c4e1c2a0]122
[c20bced]123 <listitem>
124 <para>
[9e1dd1b]125 Dictionaries MD5 sum: &libreoffice-dict-md5sum;
[c20bced]126 </para>
127 </listitem>
[c4e1c2a0]128
[c20bced]129 <listitem>
130 <para>
[9e1dd1b]131 Dictionaries size: &libreoffice-dict-size;
[c20bced]132 </para>
133 </listitem>
[c4e1c2a0]134
[d2d3fc5]135 <listitem>
136 <para>
[9e1dd1b]137 Help Files: <ulink url="&libreoffice-help-download-http;"/>
[d2d3fc5]138 </para>
139 </listitem>
[c4e1c2a0]140
[d2d3fc5]141 <listitem>
142 <para>
[9e1dd1b]143 Help Files MD5 sum: &libreoffice-help-md5sum;
[d2d3fc5]144 </para>
145 </listitem>
[c4e1c2a0]146
[c20bced]147 <listitem>
148 <para>
[9e1dd1b]149 Help Files size: &libreoffice-help-size;
[c20bced]150 </para>
151 </listitem>
[c4e1c2a0]152
[c20bced]153 <listitem>
154 <para>
[9e1dd1b]155 Translations: <ulink url="&libreoffice-translations-download-http;"/>
[c20bced]156 </para>
157 </listitem>
[c4e1c2a0]158
[c20bced]159 <listitem>
160 <para>
[9e1dd1b]161 Translations MD5 sum: &libreoffice-translations-md5sum;
[c20bced]162 </para>
163 </listitem>
[c4e1c2a0]164
[c20bced]165 <listitem>
166 <para>
[9e1dd1b]167 Translations size: &libreoffice-translations-size;
[c20bced]168 </para>
169 </listitem>
[0209dd4]170
[f4362f22]171
[0293de0]172<!-- keep one commented patch, it's sure to again need one or more in a few months:
[9214104]173-->
[71cf6a3]174<!--
[199671b8]175 <listitem>
[efc0d11]176 <para>
[9214104]177 Required patch to fix building with GCC 10 and later:
178 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-format_overflow-1.patch"/>
[10cbf37]179 </para>
180 </listitem>
[71cf6a3]181-->
[c20bced]182 </itemizedlist>
[fa29663]183 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
[d2d3fc5]184
185 <bridgehead renderas="sect4">Required</bridgehead>
186 <para role="required">
[4392a40]187 <xref linkend="perl-archive-zip"/>,
[d97601a]188 <xref linkend="unzip"/>,
[c20bced]189 <xref linkend="wget"/>,
[d6d4ea1]190 <xref linkend="which"/>, and
[c20bced]191 <xref linkend="zip"/>
[d2d3fc5]192 </para>
193
194 <bridgehead renderas="sect4">Recommended</bridgehead>
195 <note>
196 <para>
[601a838]197 Most of these packages are recommended because if they're not installed,
[ceadeab]198 the build process will compile and install its own (often older)
[d8ddab5]199 version, with the side effect of increasing build and installed disk
200 space and build time.
[d2d3fc5]201 </para>
202 </note>
203
204 <para role="recommended">
[909868fa]205 <xref linkend="apache-ant"/>,
[d8ddab5]206 <xref linkend="apr"/>,
[541e056]207 <xref linkend="boost"/>,
[7f5a588]208 <xref linkend="clucene"/>,
[87dfe6b]209 <xref linkend="cups"/>,
[c20bced]210 <xref linkend="curl"/>,
[059ff67]211 <xref linkend="dbus-glib"/>,
[1b70960]212 <xref linkend="libepoxy"/>,
[76df61c]213 <xref linkend="libjpeg"/>,
[08790cc]214 clang from <xref linkend="llvm"/> (preferred for rendering with skia),
[7cc81bb]215 <xref linkend="glm"/>,
[76df61c]216 <xref linkend="glu"/>,
[3b9bfde]217 <xref linkend="gpgme"/>,
[2a75b9b]218 <xref linkend="graphite2"/>,
[c20bced]219 <xref linkend="gst10-plugins-base"/>,
[bbd73d4]220 <xref linkend="gtk3"/>,
221 <!-- <xref linkend="gtk2"/> -->
[2a75b9b]222 <xref linkend="harfbuzz"/>,
[92195dd1]223 <xref linkend="icu"/>,
[d8ddab5]224 <xref linkend="libatomic_ops"/>,
[c20bced]225 <xref linkend="lcms2"/>,
[d2d3fc5]226 <xref linkend="librsvg"/>,
[c20bced]227 <xref linkend="libxml2"/> and
228 <xref linkend="libxslt"/>,
[a90582a1]229 <xref linkend="lxml"/>,
[7a395d1]230 <xref linkend="mesa"/>,
[d2d3fc5]231 <xref linkend="neon"/>,
232 <xref linkend="nss"/>,
[86d09e6]233 <xref linkend="openldap"/> (if connecting to an LDAP server),
[bbd73d4]234 <xref linkend="poppler"/>,
[d8ddab5]235 <xref linkend="postgresql"/>,
236 <xref linkend="redland"/>,
237 <xref linkend="serf"/>, and
[c20bced]238 <xref linkend="unixodbc"/>
[d2d3fc5]239 </para>
240
[2b5f3d7]241
[d2d3fc5]242 <bridgehead renderas="sect4">Optional</bridgehead>
243 <para role="optional">
[4469169]244 <xref linkend="avahi"/>,
[c20bced]245 <xref linkend="bluez"/>,
[d8ddab5]246 <xref linkend="dconf"/>,
[a76bd33]247 <xref linkend="desktop-file-utils"/>,
[4469169]248 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
[1d23596]249 <xref linkend="evolution-data-server"/>,
[f4bb9987]250 <xref linkend="gdb"/>,
[94b42903]251 <xref linkend="gnutls"/>,
[c084a2a]252<!-- not anymore in the book, but included in apache-ant
253 <xref linkend="junit"/>, -->
[0293de0]254 <xref linkend="kf5-frameworks"/>,
[dba494f]255 <xref linkend="libpaper"/>,
[b33ea6fa]256 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
257 <xref linkend="mitkrb"/>,
[037fc0be]258 <xref linkend="nasm"/>,
[b33ea6fa]259 <xref linkend="sane"/>,
[1d23596]260 <xref linkend="telepathy-glib"/>,
[037fc0be]261 <xref linkend="valgrind"/>,
[b33ea6fa]262 <xref linkend="vlc"/>,
[1d23596]263 <xref linkend="zenity"/>,
[037fc0be]264 <ulink url="https://commons.apache.org/proper/commons-codec/">Apache Commons Codec</ulink>,
[e539ccf]265 <ulink url="https://hc.apache.org/httpcomponents-client-ga/index.html">Apache Commons HttpClient</ulink>,
[037fc0be]266 <ulink url="https://commons.apache.org/proper/commons-lang/">Apache Commons Lang</ulink>,
267 <ulink url="https://commons.apache.org/proper/commons-logging/">Apache Commons Logging</ulink>,
268 <ulink url="http://www.beanshell.org/">BeanShell</ulink>,
[64812ba3]269 <ulink url="https://projects.coin-or.org/CoinMP/">CoinMP</ulink>,
[b33ea6fa]270 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
[037fc0be]271 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
[d8ddab5]272 <ulink url="https://github.com/behdad/glyphy">glyphy</ulink>,
[037fc0be]273 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/">Gnome VFS</ulink>,
274
[0e719c4]275 <ulink url="https://github.com/hamcrest/JavaHamcrest/releases">hamcrest</ulink>,
276 <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
[b33ea6fa]277 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[0e719c4]278 <ulink url="http://include-what-you-use.org/">iwyu</ulink>,
[c1e7218]279 <ulink url="https://github.com/junit-team/junit4/releases">junit4</ulink>,
[5892480]280 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libabw">libabw</ulink>,
281 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
[83bc811e]282 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
[b33ea6fa]283 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
[7313b4b]284 <ulink url="https://wiki.documentfoundation.org/Libexttextcat">libexttextcat</ulink>,
[5892480]285 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>,
[1b70960]286 <ulink url="http://tagoh.github.io/liblangtag/">liblangtag</ulink>,
[5892480]287 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub">libmspub</ulink>,
[b33ea6fa]288 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
[885af2e]289 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
[5892480]290 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker">libpagemaker</ulink>,
[64419b7]291 <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
[5892480]292 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
[b33ea6fa]293 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
294 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
295 <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
296 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
[0e719c4]297 <ulink url="https://gitlab.com/mdds/mdds">mdds</ulink>,
[d97601a]298 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
[64812ba3]299 <ulink url="https://github.com/KhronosGroup/OpenCOLLADA/">OpenCOLLADA</ulink>,
[e539ccf]300 <ulink url="https://gitlab.com/orcus/orcus">Orcus</ulink>,
301 <ulink url="https://sourceware.org/systemtap/">SystemTap</ulink>, and
[1d23596]302 <ulink url="https://ukoethe.github.io/vigra/">VIGRA</ulink>
[d2d3fc5]303 </para>
304
[622c1021]305 <para>
306 There are many optional dependencies not listed here. They can be
307 found in <quote>download.lst</quote> (source directory).
[f4bb9987]308 </para>
309
[d2d3fc5]310 <para condition="html" role="usernotes">
311 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
312 </para>
313 </sect2>
314
315 <sect2 role="installation">
[fa29663]316 <title>Installation of LibreOffice</title>
[2dc8feb]317
[89e6d61]318 <important>
[7d38d9a]319 <para>
[7313b4b]320 Unlike the other packages, we assume that you have not yet unpacked the
321 package. This is because the <option>--no-overwrite-dir</option>
[d8ddab5]322 switch is needed in case you unpack as the <systemitem
323 class="username">root</systemitem> user.
[7d38d9a]324 </para>
[89e6d61]325 </important>
[7d38d9a]326
[fbbc908]327<screen role="nodump"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
[c20bced]328cd libreoffice-&libreoffice-dlversion;</userinput></screen>
[d97601a]329
[9214104]330<!-- keep a commented instruction if no patches are currently required -->
[71cf6a3]331<!--
[dcee7a56]332 <para>
[9214104]333 Fix build failures introduced by GCC 10 and later:
[5cc300f]334 </para>
335
[9214104]336<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-format_overflow-1.patch</userinput></screen>
[71cf6a3]337-->
[d2d3fc5]338 <para>
[bbd73d4]339 If you have downloaded the dictionaries, help and translations tarballs,
340 create symlinks to them from the source directory so they won't get
341 downloaded again:
[d2d3fc5]342 </para>
343
[420c072]344<screen><userinput>install -dm755 external/tarballs &amp;&amp;
[89e6d61]345ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
[bbd73d4]346ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
347ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]348
[c20bced]349 <note>
350 <para>
351 During the build process, some packages will be downloaded (including
352 the ones listed as recommended and optional dependencies) if they are
[89e6d61]353 not present on the system. Because of this, build time may vary from the
354 published time more than usual.
[c20bced]355 </para>
356 </note>
[0d7900a]357
[0c77b5ab]358 <para>
359 Due to the large size of the package, you may prefer to install it in
[d83f555]360 <filename class="directory">/opt</filename>, instead of
[14ea7e8]361 <filename class="directory">/usr</filename>. Depending on your choice,
362 replace <replaceable>&lt;PREFIX&gt;</replaceable> by
363 <filename class="directory">/usr</filename> or by
[0c77b5ab]364 <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
365 </para>
366
367<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
[10cbf37]368
[7f380f4]369 <para>
[d2bea743]370 Locales "fr" and "en-GB", you will find below, are just examples; you
[7f380f4]371 should change them to suit your needs - you might want to read the
372 "Command Explanations", further below, before proceeding.
373 </para>
374
[0c77b5ab]375 <para>
376 Prepare <application>LibreOffice</application> for compilation by running
377 the following commands:
[d2d3fc5]378 </para>
379
[64812ba3]380<screen><userinput>sed -e "/gzip -f/d" \
[c20bced]381 -e "s|.1.gz|.1|g" \
[7f380f4]382 -i bin/distro-install-desktop-integration &amp;&amp;
[ed2cf3c]383
[5153eb9]384sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
[14ea7e8]385
[1b70960]386sed -e 's@getURI()->c_str()@getURI().c_str()@' \
387 -i sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx &amp;&amp;
[f03e2e6c]388
[0c77b5ab]389./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]390 --sysconfdir=/etc \
[d8ddab5]391 --with-vendor=BLFS \
[201a54c]392 --with-lang='fr en-GB' \
[14ea7e8]393 --with-help \
[7f380f4]394 --with-myspell-dicts \
[cc9c627]395 --without-junit \
[7f380f4]396 --without-system-dicts \
[d8ddab5]397 --disable-dconf \
[14ea7e8]398 --disable-odk \
399 --enable-release-build=yes \
[5153eb9]400 --enable-python=system \
[6bbca81]401 --with-jdk-home=/opt/jdk \
[d8ddab5]402 --with-system-apr \
[541e056]403 --with-system-boost \
[d8ddab5]404 --with-system-clucene \
[14ea7e8]405 --with-system-curl \
[6bbca81]406 --with-system-epoxy \
[14ea7e8]407 --with-system-expat \
[4132210]408 --with-system-glm \
[3b9bfde]409 --with-system-gpgmepp \
[2a75b9b]410 --with-system-graphite \
[14ea7e8]411 --with-system-harfbuzz \
[bbd73d4]412 --with-system-icu \
[14ea7e8]413 --with-system-jpeg \
414 --with-system-lcms2 \
[d8ddab5]415 --with-system-libatomic_ops \
[14ea7e8]416 --with-system-libpng \
417 --with-system-libxml \
418 --with-system-neon \
419 --with-system-nss \
420 --with-system-odbc \
421 --with-system-openldap \
[541e056]422 --with-system-openssl \
[bbd73d4]423 --with-system-poppler \
[d8ddab5]424 --with-system-postgresql \
[14ea7e8]425 --with-system-redland \
[d8ddab5]426 --with-system-serf \
[ff13fdc2]427 --with-system-zlib</userinput></screen>
[ceadeab]428
[d2d3fc5]429 <para>
[c20bced]430 The instructions below will only build the package without running
431 any unit tests. If you prefer to run the unit tests, replace
[34fbc15b]432 <command>make build-nocheck</command> with <command>make build</command>
433 or (as a regular user only) just <command>make</command>, but do not be
434 surprised if a unit test fails right at the end of the build and
435 breaks it.
[d2d3fc5]436 </para>
437
438 <para>
[33569f0f]439 Build the package:
[d2d3fc5]440 </para>
441
[0293de0]442<screen><userinput>make build-nocheck</userinput></screen>
[d2d3fc5]443
444 <para>
[c20bced]445 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]446 </para>
447
[34fbc15b]448<screen role="root"><userinput>make distro-pack-install</userinput></screen>
[c20bced]449
[d83f555]450 <para>
[cbdad90b]451 If installed in <filename
452 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[64812ba3]453 some additional steps are necessary. Issue the following commands, as
454 <systemitem class="username">root</systemitem> user:
[d83f555]455 </para>
456
[cbdad90b]457<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]458
[64812ba3]459 # This symlink is necessary for the desktop menu entries
[e43a76ca]460 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]461
[29dd48c]462 # Set up a generic location independent of version number
[a296899]463 ln -sfv libreoffice-&libreoffice-dlversion; /opt/libreoffice
[29dd48c]464
[64812ba3]465 # Icons
[20f09631]466 mkdir -vp /usr/share/pixmaps
[63e837a6]467 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]468 ln -svf $i /usr/share/pixmaps
[defca61]469 done &amp;&amp;
[cbdad90b]470
[64812ba3]471 # Desktop menu entries
[e43a76ca]472 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
473 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
474 done &amp;&amp;
[64812ba3]475
476 # Man pages
477 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]478 ln -svf $i /usr/share/man/man1/
[5a3365b]479 done
480
[e43a76ca]481 unset i
[a76bd33]482fi</userinput></screen>
[64812ba3]483
[a76bd33]484 <para>
485 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
486 to update the MIME database, issue, as the <systemitem class="username">
487 root</systemitem> user:
488 </para>
489
490<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]491
[514797f]492 <para>
493 The suite and main modules can be started from the menu. From a terminal,
494 the suite can be started with <command>libreoffice</command> command and
495 the modules with <command>libreoffice
496 --<replaceable>&lt;module&gt;</replaceable></command> command,
497 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
[1b70960]498 base, calc, draw, impress, math, web, or writer. Modules cannot be started
499 using their shell starting script names (see "Installed Programs", below),
500 if LO_PREFIX is other than <filename class='directory'>/usr</filename>,
[514797f]501 unless <filename class='directory'>$LO_PREFIX/bin</filename> directory is
502 appended to the PATH.
503 </para>
504
[c20bced]505 </sect2>
506
507 <sect2 role="commands">
508 <title>Command Explanations</title>
[4c796cf]509
[d2d3fc5]510 <para>
[89e6d61]511 <command>sed -e ...</command>: The first sed prevents compression of the
[1b70960]512 manual pages, the second one prevents the install from failing, and the
513 third one allows the build to use poppler-0.86.1 and later.
[bbd73d4]514 <!-- FIXME update hardcoded poppler version in text when necessary -->
[ed2cf3c]515 </para>
516
[d2d3fc5]517 <para>
[ed2cf3c]518 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[be307b9]519 the vendor which is mentioned when you click "About" from the Help menu
520 on the toolbar.
[d2d3fc5]521 </para>
[4c796cf]522
[ed2cf3c]523 <para>
[201a54c]524 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]525 what languages to support. To list several languages, separate them with
526 a space. For all languages, use
[9873d1ea]527 <parameter>--with-lang=ALL</parameter>. Note that the translations file
528 is not needed and won't be downloaded if using only en_US as a language.
[ed2cf3c]529 </para>
530
[7f380f4]531 <note>
532 <para>
[01c0bb8]533 For a list of the available languages, look in
534 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]535 </para>
536 </note>
[ffc716b]537
538 <para>
539 <parameter>--with-help</parameter>: Without this switch, the help files
540 are not built.
[d2d3fc5]541 </para>
542
[6bbca81]543 <para>
544 <parameter>--with-jdk-home=/opt/jdk</parameter>: This parameter will silence
545 a warning that the configure script attempted to find JAVA_HOME
546 automatically (even though that is passed in the environment). Omit this if
547 you disabled java.
548 </para>
549
[7f380f4]550 <para>
551 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
552 dictionaries to the <application>LibreOffice</application> installation
553 set.
554 </para>
[dba494f]555 <!-- Unrecognized as of 6.2.0.3
[d2d3fc5]556 <para>
[dba494f]557 <parameter>- -with-alloc=system</parameter>: This switch tells
[7313b4b]558 <application>LibreOffice</application> to use the system allocator
559 instead of its internal one.
[d2d3fc5]560 </para>
[dba494f]561 -->
[d8ddab5]562 <para>
[cc9c627]563 <parameter>--with-system-boost</parameter>: This switch enables using
564 system boost. From time to time, recent versions of boost break
565 the build of libreoffice. In this case, it is possible to use the
566 bundled copy of boost, by removing this flag.
[d8ddab5]567 </para>
568
569 <para>
570 <parameter>--disable-dconf</parameter>: This switch disables compiling
571 <application>LibreOffice</application> with the
572 <application>GNOME DConf</application> configuration system support.
573 </para>
[28370fe]574
[7f380f4]575 <para>
[b4bff899]576 <parameter>--without-junit</parameter>: This switch disables the tests
[c1e7218]577 for the deprecated HSQLDB driver which is written in Java.
578 <!-- If you wish
[b4bff899]579 to build this driver replace this switch with the set of switches
[c1e7218]580 described below after '- -without-java'.-->
[7f380f4]581 </para>
582
[d2d3fc5]583 <para>
[cc9c627]584 <parameter>--without-system-dicts</parameter>: This switch disables use
585 of dictionaries from system paths, so the ones installed by this package
586 are used.
[5b9edb4]587 </para>
588
[d2d3fc5]589 <para>
[92b7b3a]590 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]591 office development kit. Remove if you want to develop a
592 <application>LibreOffice</application> based application.
[d2d3fc5]593 </para>
594
[4469169]595 <para>
596 <parameter>--enable-release-build=yes</parameter>: This switch enables a
[7f380f4]597 Release Build. <application>LibreOffice</application> can be built as a
598 Release Build or as a Developer Build, because their default installation
599 paths and user profile paths are different. Developer Build displays the
600 words "Dev" and "Beta" in several places (e.g, menu and splash screen).
[4469169]601 </para>
[d2d3fc5]602
603 <para>
[c20bced]604 <parameter>--enable-python=system</parameter>: This switch tells
[e539ccf]605 <application>LibreOffice</application> to use the system installed
[bbd73d4]606 <application>Python 3</application> instead of
[7f380f4]607 the bundled one.
[d2d3fc5]608 </para>
609
610 <para>
[92b7b3a]611 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]612 <application>LibreOffice</application> from trying to compile its own
613 versions of these dependencies. If you've not installed some of the
614 dependencies, remove the corresponding switches.
[d2d3fc5]615 </para>
[8c853a1]616
[0293de0]617<!--
[488b738f]618 <para>
[c1b5118]619 <command>CPPFLAGS='-DU_USING_ICU_NAMESPACE=1' make ...</command>: <xref
[488b738f]620 linkend="icu"/> has removed an implicit namespace <quote>using</quote>
[c1b5118]621 from its headers files. Setting <envar>U_USING_ICU_NAMESPACE</envar> to
[488b738f]622 1 allows to restore the former behavior, which is required for building
623 <application>libreoffice</application>.
624 </para>
[0293de0]625-->
626 <para>
627 <command>make distro-pack-install</command>: this does a normal
628 install, but if you add a DESTDIR environment variable it will also
629 install a lot of (text) gid_Module_* files in the DESTDIR, to help
630 distributions which want to break the package into parts.
631 </para>
[488b738f]632
[c20bced]633 <para>
[cc9c627]634 <option>--with-parallelism=&lt;count&gt;</option>: This switch
[ff13fdc2]635 tells <application>LibreOffice</application> to use &lt;count&gt; CPU
636 cores to compile in parallel. (Do not include literal angle brackets.)
[cc9c627]637 The default is to use all available cores on the system.
[c20bced]638 </para>
639
[87dfe6b]640 <para>
641 <option>--disable-cups</option>: Use this switch if you don't need
642 printing support.
643 </para>
644
[54666831]645 <para>
[7f380f4]646 <option>--disable-dbus</option>: Use this switch if you've not installed
647 D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
648 via PackageKit.
[54666831]649 </para>
650
[1cbfd1a]651 <para>
[011ed8fa]652 <option>--disable-firebird-sdbc</option>: By default, the ability to
[1cbfd1a]653 connect to a <application>firebird</application> database is enabled.
[011ed8fa]654 Add this switch if you do not need that feature.
655 </para>
[1cbfd1a]656
[c20bced]657 <para>
[64812ba3]658 <option>--disable-gstreamer-1-0</option>: Use this switch if you have not
659 installed <xref linkend="gst10-plugins-base"/>.
[7f380f4]660 </para>
661
[bbd73d4]662<!-- only gtk3 is referenced in the configure script for 6.4.0.3
[ae93d7e]663 <para>
[bbd73d4]664 <option>\-\-disable-gtk3</option>: Use this switch if you have not installed
[5339d21]665 <application>GTK+-3</application>, or if you have installed it but wish
666 to use <application>GTK+-2</application> (the menu icons differ).
[bbd73d4]667 <!\-\- Note that a <application>GTK+-3</application> build still
668 requires <application>GTK+-2</application> to build the gtk-plugin.\-\->
669 </para>-->
[ae93d7e]670
[d8ddab5]671 <para>
672 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
673 <application>LibreOffice</application> with the ability to connect to a
[63e837a6]674 <application>PostgreSQL</application> database. Use it if you have not
675 installed <application>PostgreSQL</application> and you do not want
676 <application>LibreOffice</application> to compile its bundled copy.
[d8ddab5]677 </para>
678
[443f05a]679 <para>
[08790cc]680 <option>--disable-skia</option>: Use <xref linkend="cairo"/> for rendering
[443f05a]681 instead of skia.
682 </para>
683
[bbd73d4]684 <para>
685 <option>--enable-gtk3-kde5</option>: This switch allows the Visual Class
686 Library, which is responsible for widgets, to be built with KF5 file
687 dialogs if GTK+-3, Qt5 and Plasma are all available.
688 </para>
689
[7c57f82]690 <para>
691 <option>--enable-lto</option>: This switch will enable Link Time
692 Optimization, which results in slightly smaller libraries (about 40 MB).
693 This is said to make <application>LibreOffice</application> programs
694 load faster (and possibly run faster, e.g. when recalculating a
695 spreadsheet). On an 8-core machine with 16GB of memory, the difference
696 in compile times was minimal, but an extra 2GB was used for the work
697 files. On machines with fewer processors or a lack of memory, the compile
698 might be much slower.
699 </para>
700
[cc9c627]701 <para>
[0293de0]702 <option>--without-java</option>: This switch disables
[cc9c627]703 <application>Java</application> support in
[b4bff899]704 <application>LibreOffice</application>. Java is needed for the
705 deprecated HSQLDB driver, which allows reading databases created by
706 other programs or in earlier versions of libreoffice
[0293de0]707 <application>base</application>.
708 </para>
[c1e7218]709 <!-- junit is not included anymore in ant, and neither hamcrest. Since
710 the hsqldb backend is deprecated anyway, forget this:
[0293de0]711 <para>
[c1e7218]712 <option>- -with-junit=/opt/ant/lib/junit-4.12.jar</option> and
713 <option>- -with-hamcrest=/opt/ant/lib/hamcrest-core-1.3.jar</option>:
[0293de0]714 Those options are needed if you want to run the tests.
[cc9c627]715 </para>
[c1e7218]716 -->
[f0506d09]717 <para>
718 <option>--without-fonts</option>: <application>LibreOffice</application>
719 includes a number of third-party TrueType fonts. If you have already
720 installed some or all of the same fonts, you may prefer to use the system
721 versions.
722 </para>
723
[be307b9]724 <para>
[dba494f]725 <!-- Brings in - -enable-qt5 as well. -->
[1b70960]726 <option>--enable-kf5</option>: Builds with KDE/Plasma integration. If
[0293de0]727 <xref linkend="qt5"/> and/or <xref linkend="kf5-frameworks"/> are not
728 installed in <filename class="directory">/usr</filename>, the include
729 and library directories must be specified in <envar>QT5INC</envar>,
730 <envar>QT5LIB</envar>, <envar>KF5INC</envar>, and <envar>KF5LIB</envar>,
731 respectively.
[be307b9]732 </para>
[dba494f]733
[c1e7218]734 <para>
[dba494f]735 <option>--enable-evolution2</option>: Enables support for Evolution
736 address books through Evolution Data Server. Note that Evolution Data
737 Server must be installed for this feature to function.
738 </para>
[be307b9]739
[1b70960]740 <!--
[c2af02b]741 <para>
[1b70960]742 <option>- -with-system-icu</option>: This command would use the system
[c2af02b]743 version of <xref linkend="icu"/> which is normally considered to be a good
744 thing to do. However, one of the very minor packages pulled in by
745 <application>LibreOffice</application>, libfreehand-0.1.2, does not compile
746 with ICU-65.1 because of a missing semi-colon at the end of one line in one
747 of its files. Do not use this option unless you have separately installed a
748 patched or newer version of
749 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>.
750 </para>
[1b70960]751 -->
[c2af02b]752
[d2d3fc5]753 </sect2>
754
755 <sect2 role="content">
756 <title>Contents</title>
757
758 <segmentedlist>
759 <segtitle>Installed Programs</segtitle>
[c3c56b2]760 <segtitle>Installed Libraries</segtitle>
[8c853a1]761 <segtitle>Installed Directory</segtitle>
[d2d3fc5]762
763 <seglistitem>
[4c796cf]764 <seg>
[c20bced]765 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]766 loimpress, lomath, loweb, lowriter, soffice and unopkg;
767 several programs under
[0c77b5ab]768 $LO_PREFIX/lib/libreoffice/program
[8c853a1]769 </seg>
[c3c56b2]770 <seg>
[4469169]771 several libraries under
[ff7ea587]772 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]773 </seg>
[d2d3fc5]774 <seg>
[c1e7218]775 $LO_PREFIX/lib/libreoffice
[d2d3fc5]776 </seg>
777 </seglistitem>
778 </segmentedlist>
779
780 <variablelist>
781 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
782 <?dbfo list-presentation="list"?>
783 <?dbhtml list-presentation="table"?>
784
[514797f]785 <varlistentry id="libreoffice-suite">
786 <term><command>libreoffice (or soffice)</command></term>
787 <listitem>
788 <para>
789 is the main libreofice suite (symlink to
790 $LO_PREFIX/lib/libreoffice/program/soffice).
791 </para>
792 <indexterm zone="libreoffice libreoffice-suite">
793 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
794 </indexterm>
795 </listitem>
796 </varlistentry>
797
[c20bced]798 <varlistentry id="lobase">
799 <term><command>lobase</command></term>
[d2d3fc5]800 <listitem>
801 <para>
[514797f]802 is the database manager module shell starting script.
[d2d3fc5]803 </para>
[c20bced]804 <indexterm zone="libreoffice lobase">
805 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]806 </indexterm>
807 </listitem>
808 </varlistentry>
809
[c20bced]810 <varlistentry id="localc">
811 <term><command>localc</command></term>
[d2d3fc5]812 <listitem>
813 <para>
[514797f]814 is the spreadsheet module shell starting script.
[d2d3fc5]815 </para>
[c20bced]816 <indexterm zone="libreoffice localc">
817 <primary sortas="b-localc">localc</primary>
[d2d3fc5]818 </indexterm>
819 </listitem>
820 </varlistentry>
821
[c20bced]822 <varlistentry id="lodraw">
823 <term><command>lodraw</command></term>
[d2d3fc5]824 <listitem>
825 <para>
[514797f]826 is the vector graphics editor and diagramming tool module shell
827 starting script.
[d2d3fc5]828 </para>
[c20bced]829 <indexterm zone="libreoffice lodraw">
830 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]831 </indexterm>
832 </listitem>
833 </varlistentry>
834
[c20bced]835 <varlistentry id="loimpress">
836 <term><command>loimpress</command></term>
[d2d3fc5]837 <listitem>
838 <para>
[514797f]839 is the (PowerPoint) presentations editor and displayer
840 module shell starting script.
[d2d3fc5]841 </para>
[c20bced]842 <indexterm zone="libreoffice loimpress">
843 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]844 </indexterm>
845 </listitem>
846 </varlistentry>
847
[c20bced]848 <varlistentry id="lomath">
849 <term><command>lomath</command></term>
[d2d3fc5]850 <listitem>
851 <para>
[514797f]852 is the mathematical formula editor module shell starting script.
[d2d3fc5]853 </para>
[c20bced]854 <indexterm zone="libreoffice lomath">
855 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]856 </indexterm>
857 </listitem>
858 </varlistentry>
859
[006bd37]860 <varlistentry id="loweb">
861 <term><command>loweb</command></term>
862 <listitem>
863 <para>
864 is the HTML editor module shell starting script.
865 </para>
866 <indexterm zone="libreoffice loweb">
867 <primary sortas="b-loweb">loweb</primary>
868 </indexterm>
869 </listitem>
870 </varlistentry>
871
[c20bced]872 <varlistentry id="lowriter">
873 <term><command>lowriter</command></term>
[2511f83]874 <listitem>
875 <para>
[514797f]876 is the word processor module shell starting script.
[2511f83]877 </para>
[c20bced]878 <indexterm zone="libreoffice lowriter">
879 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]880 </indexterm>
881 </listitem>
882 </varlistentry>
883
[8d5cd1bb]884 <varlistentry id="unopkg">
885 <term><command>unopkg</command></term>
886 <listitem>
887 <para>
[fa29663]888 is a tool to manage <application>LibreOffice</application>
[63e837a6]889 extensions from the command line.
[8d5cd1bb]890 </para>
891 <indexterm zone="libreoffice unopkg">
892 <primary sortas="b-unopkg">unopkg</primary>
893 </indexterm>
894 </listitem>
895 </varlistentry>
896
[d2d3fc5]897 </variablelist>
[8c853a1]898
[d2d3fc5]899 </sect2>
[8c853a1]900
[d2d3fc5]901</sect1>
Note: See TracBrowser for help on using the repository browser.