source: xsoft/office/libreoffice.xml@ fa1bc3e

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

Updated Firefox/Xulrunner, Libreoffice, Xorg Drivers. Fixed Xorg Drivers for XServer 1.14.0.

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

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