source: xsoft/office/libreoffice.xml@ b6b8e1e

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

Do not use system icu for libreoffice, ICU68 breaks at last one external tarball.

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

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