source: xsoft/office/libreoffice.xml@ 71cf6a3

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

Update to libreoffice-7.0.0.3.

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

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