source: xsoft/office/libreoffice.xml@ 376b359f

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

Update to libreoffice-6.4.5.2.

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

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