source: xsoft/office/libreoffice.xml@ 282f6fc3

10.0 10.1 11.0 11.1 11.2 9.0 9.1 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 282f6fc3 was 282f6fc3, checked in by Pierre Labastie <pieere@…>, 4 years ago

libreoffice: remove a config switch I have wrongly added at r21526

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

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