source: xsoft/office/libreoffice.xml@ ffc716b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ffc716b was ffc716b, checked in by Fernando de Oliveira <fernando@…>, 11 years ago

tweaks

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

  • Property mode set to 100644
File size: 21.5 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 "5311656e1b54eadd4b93f948dfd5e68e">
11 <!ENTITY libreoffice-core-size "117 MB">
12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
14 <!ENTITY libreoffice-dict-md5sum "2bbe7adab2b9bc0042c72ba60c30acc4">
15 <!ENTITY libreoffice-dict-size "35 MB">
16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
18 <!ENTITY libreoffice-help-md5sum "e2cd3b63e3050771a1330fc98e41a701">
19 <!ENTITY libreoffice-help-size "1.8 MB">
20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
22 <!ENTITY libreoffice-translations-md5sum "1f4438828cbcf83c257742482dade3ef">
23 <!ENTITY libreoffice-translations-size "123 MB">
24
25 <!ENTITY libreoffice-buildsize "6.1 GB (415 MB installed)">
26 <!ENTITY libreoffice-time "80 SBU">
27]>
28
29<sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-version;">
30 <?dbhtml filename="libreoffice.html"?>
31
32 <sect1info>
33 <othername>$LastChangedBy$</othername>
34 <date>$Date$</date>
35 </sect1info>
36
37 <title>LibreOffice-&libreoffice-version;</title>
38
39 <indexterm zone="libreoffice">
40 <primary sortas="a-LibreOffice">LibreOffice</primary>
41 </indexterm>
42
43 <sect2 role="package">
44 <title>Introduction to LibreOffice</title>
45
46 <para>
47 <application>LibreOffice</application> is a full-featured office suite.
48 It is largely compatible with <application>Microsoft Office</application>
49 and is descended from <application>OpenOffice.org</application>.
50 </para>
51
52 &lfs73_checked;
53
54 <bridgehead renderas="sect3">Package Information</bridgehead>
55 <itemizedlist spacing="compact">
56 <listitem>
57 <para>
58 Core Download: <ulink url="&libreoffice-core-download-http;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Core Download MD5 sum: &libreoffice-core-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Core Download size: &libreoffice-core-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &libreoffice-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &libreoffice-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84 <itemizedlist spacing="compact">
85 <listitem>
86 <para>
87 Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 Dictionaries MD5 sum: &libreoffice-dict-md5sum;
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Dictionaries size: &libreoffice-dict-size;
98 </para>
99 </listitem>
100 <listitem>
101 <para>
102 Help Files: <ulink url="&libreoffice-help-download-http;"/>
103 </para>
104 </listitem>
105 <listitem>
106 <para>
107 Help Files MD5 sum: &libreoffice-help-md5sum;
108 </para>
109 </listitem>
110 <listitem>
111 <para>
112 Help Files size: &libreoffice-help-size;
113 </para>
114 </listitem>
115 <listitem>
116 <para>
117 Translations: <ulink url="&libreoffice-translations-download-http;"/>
118 </para>
119 </listitem>
120 <listitem>
121 <para>
122 Translations MD5 sum: &libreoffice-translations-md5sum;
123 </para>
124 </listitem>
125 <listitem>
126 <para>
127 Translations size: &libreoffice-translations-size;
128 </para>
129 </listitem>
130 </itemizedlist>
131
132 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
133 <itemizedlist spacing="compact">
134 <listitem>
135 <para>
136 Required patch:
137 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-system_poppler-1.patch"/>
138 </para>
139 </listitem>
140 </itemizedlist>
141
142 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
143
144 <bridgehead renderas="sect4">Required</bridgehead>
145 <para role="required">
146 <xref linkend="gperf"/>,
147 <xref linkend="gtk2"/>,
148 <application>Perl Modules</application>
149 <xref linkend="perl-archive-zip"/> and
150 <xref linkend="perl-xml-parser"/>,
151 <xref linkend="unzip"/>,
152 <xref linkend="wget"/>,
153 <xref linkend="which"/> and
154 <xref linkend="zip"/>
155 </para>
156
157 <bridgehead renderas="sect4">Recommended</bridgehead>
158 <note>
159 <para>
160 Most of these packages are recommended because if they're not installed,
161 the build process will compile and install its own (often older)
162 version.
163 </para>
164 </note>
165
166 <para role="recommended">
167 <xref linkend="boost"/>,
168 <xref linkend="cups"/>,
169 <xref linkend="curl"/>,
170 <xref linkend="dbus"/>,
171 <xref linkend="expat"/>,
172 <xref linkend="gst-plugins-base"/> or
173 <xref linkend="gst10-plugins-base"/>,
174 <xref linkend="icu"/>,
175 <xref linkend="lcms2"/>,
176 <xref linkend="librsvg"/>,
177 <xref linkend="libxml2"/> and
178 <xref linkend="libxslt"/>,
179 <xref linkend="mesalib"/>,
180 <xref linkend="neon"/>,
181 <xref linkend="nss"/>,
182 <xref linkend="openldap"/> (client only),
183 <xref linkend="openssl"/>,
184 <xref linkend="poppler"/>,
185 <xref linkend="python3"/> (used to build the translations),
186 <xref linkend="redland"/> and
187 <xref linkend="unixodbc"/>
188 </para>
189
190 <bridgehead renderas="sect4">Optional</bridgehead>
191 <para role="optional">
192 <xref linkend="bluez"/>,
193 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
194 <ulink url="http://sourceforge.net/projects/silgraphite/">Graphite2</ulink>,
195 <xref linkend="gtk3"/>,
196 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
197 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
198 <xref linkend="kdelibs"/>,
199 <ulink url="http://sourceforge.net/projects/libwpd/">libwpd</ulink>,
200 <ulink url="http://sourceforge.net/projects/libwpg/">libwpg</ulink>,
201 <ulink url="http://sourceforge.net/projects/libwps/">libwps</ulink>,
202 <xref linkend="mysql"/>,
203 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
204 <xref linkend="postgresql"/>,
205 <xref linkend="sane"/> and
206 <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
207 </para>
208
209 <para condition="html" role="usernotes">
210 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
211 </para>
212 </sect2>
213
214 <sect2 role="installation">
215 <title>Installation of LibreOffice</title>
216
217 <warning>
218 <para>
219 Untaring the libreoffice-&libreoffice-dlversion; tarball as
220 <systemitem class="username">root</systemitem> has the curious effect of
221 changing the ownership of the <emphasis>parent</emphasis> directory
222 to a user with numerical id 11012 and with the permissions set to allow
223 read, write and execute for that user only! If you untared as
224 <systemitem class="username">root</systemitem> in your home folder you
225 could end up unable to log in again. If you untared it in
226 <filename class="directory">/usr</filename> you would find your user
227 account unable to access any file in
228 <filename class="directory">/usr</filename>.
229 </para>
230
231 <para>
232 You can avoid this unpleasantness by
233 <emphasis>not</emphasis> untaring it as
234 <systemitem class="username">root</systemitem>. If you must untar it as
235 <systemitem class="username">root</systemitem> pass the option
236 <option>--no-overwrite-dir</option> to tar. This is the default when you
237 untar as a user but has to be passed as an option when untaring as
238 <systemitem class="username">root</systemitem>:
239 </para>
240 </warning>
241
242<screen role="root"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
243cd libreoffice-&libreoffice-dlversion;</userinput></screen>
244
245 <para>
246 Unpack the dictionaries file and create symlinks to tarballs from the
247 source directory so they won't get downloaded again (it is not necessary
248 to unpack the help nor the translations tarballs):
249 </para>
250
251<screen><userinput>install -dm755 src &amp;&amp;
252
253tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
254<!-- Not necessary for this version
255tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
256-->
257ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &amp;&amp;
258ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
259
260<!-- Not necessary for this version
261 <para>
262 If you have downloaded the translations tarball, unpack it:
263 </para>
264
265<screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
266ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
267-->
268 <para>
269 If you have downloaded the translations tarball, create a symlink:
270 </para>
271
272<screen><userinput>ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
273
274 <note>
275 <para>
276 During the build process, some packages will be downloaded (including
277 the ones listed as recommended and optional dependencies) if they are
278 not present on the system. Doing so, build time may be different
279 for everyone.
280 </para>
281 </note>
282
283 <para>
284 In the rest of the page, locales "en-US" and "pt-BR" are examples; the
285 user will change them to suit his needs - you might want to read the
286 "Command Explanations", further below, before proceeding. Prepare
287 <application>LibreOffice</application> for compilation by running the
288 following commands:
289 </para>
290
291<screen><userinput>sed -e "/gzip -f/d" \
292 -e "s|.1.gz|.1|g" \
293 -i bin/distro-install-desktop-integration &amp;&amp;
294sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
295
296chmod -v +x bin/unpack-sources &amp;&amp;
297sed -e "s/target\.mk/langlist\.mk/" \
298 -e "s/tar -xf/tar -x --strip-components=1 -f/" \
299 -e "/tar -x/s/lo_src_dir/start_dir/" \
300 -i bin/unpack-sources &amp;&amp;
301
302patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-system_poppler-1.patch &amp;&amp;
303./autogen.sh --prefix=/usr \
304 --sysconfdir=/etc \
305 --with-vendor="BLFS" \
306 --with-lang="en-US pt-BR" \
307 --with-help \
308 --with-alloc=system \
309 --without-java \
310 --disable-gconf \
311 --disable-odk \
312 --disable-postgresql-sdbc \
313 --enable-python=system \
314 --with-system-boost \
315 --with-system-cairo \
316 --with-system-curl \
317 --with-system-expat \
318 --with-system-harfbuzz \
319 --with-system-icu \
320 --with-system-jpeg \
321 --with-system-lcms2 \
322 --with-system-libpng \
323 --with-system-libxml \
324 --with-system-mesa-headers \
325 --with-system-neon \
326 --with-system-nss \
327 --with-system-odbc \
328 --with-system-openldap \
329 --with-system-openssl \
330 --with-system-poppler \
331 --with-system-redland \
332 --with-system-zlib \
333 --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
334
335 <para>
336 The instructions below will only build the package without running
337 any unit tests. If you prefer to run the unit tests, replace
338 <command>make build</command> with <command>make</command>
339 </para>
340
341 <para>
342 Build the package:
343 </para>
344
345<screen><userinput>make build</userinput></screen>
346
347 <para>
348 Now, as the <systemitem class="username">root</systemitem> user:
349 </para>
350
351<screen role="root"><userinput>make distro-pack-install</userinput></screen>
352
353 <para>
354 If the dictionaries have been built, again as
355 <systemitem class="username">root</systemitem> user:
356 </para>
357
358<screen role="root"><userinput>chown -cR 0:0 dictionaries/ &amp;&amp;
359mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &amp;&amp;
360cp -vR dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &amp;&amp;
361mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &amp;&amp;
362cp -vR dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
363
364 </sect2>
365
366 <sect2 role="commands">
367 <title>Command Explanations</title>
368
369 <para>
370 <command>sed -e ...</command>: First sed prevents compression of the
371 manual pages, the second one prevents a script that causes install to
372 fail from running and the third one fixes the unpack script.
373 </para>
374
375 <para>
376 <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
377 </para>
378
379 <para>
380 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
381 the vendor which is mentioned when you click "About" on the toolbar.
382 </para>
383<!-- I believe en-US is not necessary anymore
384 <para>
385 <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
386 what languages to support. en-US is always needed. To list several
387 languages, separate them with a space. For all languages, use
388 <parameter>-\-with-lang=ALL</parameter>
389 </para>
390-->
391
392 <para>
393 <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
394 what languages to support. To list several languages, separate them with
395 a space. For all languages, use
396 <parameter>--with-lang=ALL</parameter>.
397 </para>
398
399 <para>
400 For a list of the available languages, you can uncompress the
401 translations tarball, <command>tar -xf
402 ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
403 --no-overwrite-dir -C /tmp</command>, and run <command>ls
404 /tmp/libreoffice-&libreoffice-dlversion;/translations/source</command>.
405 </para>
406
407 <para>
408 <parameter>--with-help</parameter>: Without this switch, the help files
409 are not built.
410 </para>
411
412 <para>
413 <parameter>--with-alloc=system</parameter>: This switch tells
414 <application>LibreOffice</application> to use system allocator
415 instead of the internal one.
416 </para>
417
418 <para>
419 <option>--without-java</option>: This switch disables
420 <application>Java</application> support in
421 <application>LibreOffice</application>.
422 </para>
423
424 <para>
425 <option>--disable-gconf</option>: This switch disables compiling
426 <application>LibreOffice</application> with the deprecated
427 <application>GNOME</application> configuration system support.
428 </para>
429
430 <para>
431 <option>--disable-odk</option>: This switch disables installing the
432 office development kit. Remove if you want to develop a
433 <application>LibreOffice</application> based application.
434 </para>
435
436 <para>
437 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
438 <application>LibreOffice</application> with the ability to connect to a
439 <application>PostgreSQL</application> database. Remove it if you would
440 like <application>LibreOffice</application> to be able to connect to a
441 <application>PostgreSQL</application> database. If you have installed
442 <application>PostgreSQL</application> on your system and would like
443 <application>LibreOffice</application> to use that rather than compile its
444 own copy, use the <option>--with-system-postgresql</option> switch.
445 </para>
446
447 <para>
448 <parameter>--enable-python=system</parameter>: This switch tells
449 <application>LibreOffice</application> to use installed
450 <application>Python 3</application> to build the translations
451 instead of the bundled one. If you don't need to build any
452 translations, you can use <option>--disable-python</option>
453 instead.
454 </para>
455
456 <para>
457 <option>--with-system-*</option>: These switches prevent
458 <application>LibreOffice</application> from trying to compile its own
459 versions of these dependencies. If you've not installed some of the
460 dependencies, remove the corresponding switches.
461 </para>
462
463 <para>
464 <option>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</option>: This
465 switch tells <application>LibreOffice</application> to use all your
466 CPUs to compile in parallel and speed up the build.
467 </para>
468
469 <para>
470 <option>--disable-cups</option>: Use this switch if you don't need
471 printing support.
472 </para>
473
474 <para>
475 <option>--disable-gstreamer-0.10</option>: Use this switch if you've
476 not installed <xref linkend="gst-plugins-base"/>.
477 </para>
478
479 <para>
480 <option>--disable-dbus</option>: Use this switch if you've not installed
481 <xref linkend="dbus"/>. It also disables Bluetooth support and font
482 install via PackageKit.
483 </para>
484
485 <para>
486 <option>--enable-gstreamer</option>: Use this switch if you want to
487 use <xref linkend="gst10-plugins-base"/> instead of
488 <xref linkend="gst-plugins-base"/> for the avmedia module.
489 </para>
490
491 <para>
492 <option>--enable-gtk3</option>: Use this switch if you want to
493 build the <application>GTK+ 3</application> integration module.
494 </para>
495
496 <para>
497 <option>--enable-kde4</option>: Use this switch if you want to
498 build the <application>KDE</application> integration module.
499 </para>
500
501 </sect2>
502
503 <sect2 role="content">
504 <title>Contents</title>
505
506 <segmentedlist>
507 <segtitle>Installed Programs</segtitle>
508 <segtitle>Installed Libraries</segtitle>
509 <segtitle>Installed Directory</segtitle>
510
511 <seglistitem>
512 <seg>
513 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
514 loimpress, lomath, loweb, lowriter, soffice and unopkg
515 </seg>
516 <seg>
517 None
518 </seg>
519 <seg>
520 /usr/lib/libreoffice
521 </seg>
522 </seglistitem>
523 </segmentedlist>
524
525 <variablelist>
526 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
527 <?dbfo list-presentation="list"?>
528 <?dbhtml list-presentation="table"?>
529
530 <varlistentry id="lobase">
531 <term><command>lobase</command></term>
532 <listitem>
533 <para>
534 is a database manager.
535 </para>
536 <indexterm zone="libreoffice lobase">
537 <primary sortas="b-lobase">lobase</primary>
538 </indexterm>
539 </listitem>
540 </varlistentry>
541
542 <varlistentry id="localc">
543 <term><command>localc</command></term>
544 <listitem>
545 <para>
546 is a spreadsheet program.
547 </para>
548 <indexterm zone="libreoffice localc">
549 <primary sortas="b-localc">localc</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="lodraw">
555 <term><command>lodraw</command></term>
556 <listitem>
557 <para>
558 is a vector graphics editor and diagramming tool.
559 </para>
560 <indexterm zone="libreoffice lodraw">
561 <primary sortas="b-lodraw">lodraw</primary>
562 </indexterm>
563 </listitem>
564 </varlistentry>
565
566 <varlistentry id="loimpress">
567 <term><command>loimpress</command></term>
568 <listitem>
569 <para>
570 can edit and display PowerPoint presentations.
571 </para>
572 <indexterm zone="libreoffice loimpress">
573 <primary sortas="b-loimpress">loimpress</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="lomath">
579 <term><command>lomath</command></term>
580 <listitem>
581 <para>
582 is a mathematical formula editor.
583 </para>
584 <indexterm zone="libreoffice lomath">
585 <primary sortas="b-lomath">lomath</primary>
586 </indexterm>
587 </listitem>
588 </varlistentry>
589
590 <varlistentry id="lowriter">
591 <term><command>lowriter</command></term>
592 <listitem>
593 <para>
594 is a word processor.
595 </para>
596 <indexterm zone="libreoffice lowriter">
597 <primary sortas="b-lowriter">lowriter</primary>
598 </indexterm>
599 </listitem>
600 </varlistentry>
601
602 <varlistentry id="unopkg">
603 <term><command>unopkg</command></term>
604 <listitem>
605 <para>
606 is a tool to manage <application>LibreOffice</application>
607 extensions from the command line.
608 </para>
609 <indexterm zone="libreoffice unopkg">
610 <primary sortas="b-unopkg">unopkg</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 </variablelist>
616
617 </sect2>
618
619</sect1>
Note: See TracBrowser for help on using the repository browser.