source: xsoft/office/libreoffice.xml@ c20bced

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 c20bced was c20bced, checked in by Krejzi <krejzi@…>, 11 years ago

Thunderbird 17.0.3, LibreOffice 4.0.0.

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

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