source: xsoft/office/libreoffice.xml@ 9214104

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 9214104 was 9214104, checked in by Pierre Labastie <pieere@…>, 4 years ago

Last fixes for GCC 10:

  • patch boost to help libreoffice
  • patch libreoffice
  • fix multiple def in rox-filer
  • fix implicit type cas in vsftpd (sed by thomas)

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

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