source: xsoft/office/libreoffice.xml@ 7cc81bb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.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 7cc81bb was 7cc81bb, checked in by Ken Moffat <ken@…>, 5 years ago

Libreoffice: Update a couple of optional dependencies -

GLEW (glew) is no-longer referenced by the configure script.
The link to glm (GLM) was to an old version, and without it an old version
will be downloaded and built, so promote GLM to recommended.

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

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