source: xsoft/office/libreoffice.xml@ f4362f22

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 f4362f22 was f4362f22, checked in by Ken Moffat <ken@…>, 6 years ago

Libreoffice - fix build breakage with recent LFS, apparently caused by python-3.7.
Python2 - remove the sed for _ssl which no-longer works, and require libssh2 in rustc.

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

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