source: xsoft/office/libreoffice.xml@ 63ba5905

systemd-11177
Last change on this file since 63ba5905 was 63ba5905, checked in by Krejzi <krejzi@…>, 10 years ago

one last fix for lo.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13975 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 23.1 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 "eb44cc33bb9331db4c1b6ae0b03fff9f">
11 <!ENTITY libreoffice-core-size "118 MB">
12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
14 <!ENTITY libreoffice-dict-md5sum "8ac6a48b78c34f52e8bf43f29cf14bfe">
15 <!ENTITY libreoffice-dict-size "36 MB">
16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
18 <!ENTITY libreoffice-help-md5sum "867c10167b05ba19162b78032405524b">
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 "6bcd61a3f977f78c64b1eaa13a40524c">
23 <!ENTITY libreoffice-translations-size "122 MB">
24
25 <!ENTITY libreoffice-buildsize "4.0 GB (423 MB installed) - 9.6 GB (528 MB installed), with translations">
26 <!ENTITY libreoffice-time "139 SBU - 165 SBU, with translations">
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 &lfs75_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 <listitem>
131 <para>
132 Required patch for i686 systems, in order to fix a problem introduced
133 by <application>&gcc-490;</application>:
134 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch"/>
135 </para>
136 </listitem>
137 </itemizedlist>
138
139 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
140
141 <bridgehead renderas="sect4">Required</bridgehead>
142 <para role="required">
143 <xref linkend="perl-archive-zip"/>,
144 <xref linkend="unzip"/>,
145 <xref linkend="wget"/>,
146 <xref linkend="which"/>, and
147 <xref linkend="zip"/>
148 </para>
149
150 <bridgehead renderas="sect4">Recommended</bridgehead>
151 <note>
152 <para>
153 Most of these packages are recommended because if they're not installed,
154 the build process will compile and install its own (often older)
155 version. If you have not installed some of the dependencies listed below,
156 make sure you examine the <command>./configure --help</command> output
157 for information on switches needed to prevent
158 <command>./configure</command> to look for them.
159 </para>
160 </note>
161
162 <para role="recommended">
163 <!--<xref linkend="boost"/>,-->
164 <xref linkend="clucene"/>,
165 <xref linkend="cups"/>,
166 <xref linkend="curl"/>,
167 <xref linkend="dbus-glib"/>,
168 <xref linkend="glu"/>,
169 <xref linkend="graphite2"/>,
170 <xref linkend="gst-plugins-base"/> or
171 <xref linkend="gst10-plugins-base"/>,
172 <xref linkend="gtk2"/>,
173 <xref linkend="harfbuzz"/>,
174 <xref linkend="icu"/>,
175 <xref linkend="lcms2"/>,
176 <xref linkend="libjpeg"/>,
177 <xref linkend="librsvg"/>,
178 <xref linkend="libxml2"/> and
179 <xref linkend="libxslt"/>,
180 <xref linkend="mesalib"/>,
181 <xref linkend="neon"/>,
182 <xref linkend="npapi-sdk"/>,
183 <xref linkend="nss"/>,
184 <xref linkend="openldap"/> (client only),
185 <xref linkend="openssl"/>,
186 <xref linkend="poppler"/>,
187 <xref linkend="python3"/> (used to build the translations),
188 <xref linkend="redland"/>, and
189 <xref linkend="unixodbc"/>
190 </para>
191
192 <bridgehead renderas="sect4">Optional</bridgehead>
193 <para role="optional">
194 <xref linkend="avahi"/>,
195 <xref linkend="bluez"/>,
196 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
197 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
198 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
199 <xref linkend="gdb"/>,
200 <xref linkend="gtk3"/>,
201 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
202 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
203 <xref linkend="kdelibs"/>,
204 <xref linkend="libatomic_ops"/>,
205 <ulink url="http://www.freedesktop.org/wiki/Software/libabw/">libabw</ulink>,
206 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
207 <ulink url="http://www.freedesktop.org/wiki/Software/libfreehand/">libfreehand</ulink>,
208 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
209 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
210 <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
211 <ulink url="http://www.freedesktop.org/wiki/Software/libcdr/">libcdr</ulink>,
212 <ulink url="http://www.freedesktop.org/wiki/Software/libmspub/">libmspub</ulink>,
213 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
214 <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
215 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
216 <ulink url="http://www.freedesktop.org/wiki/Software/libexttextcat/">libexttextcat</ulink>,
217 <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
218 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
219 <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</ulink>,
220 <ulink url="http://code.google.com/p/multidimalgorithm/">mdds</ulink>,
221 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
222 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
223 <xref linkend="openjdk"/>,
224 <ulink url="https://gitorious.org/orcus">Orcus</ulink>,
225 <xref linkend="postgresql"/>,
226 <xref linkend="mitkrb"/>,
227 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
228 <xref linkend="sane"/>,
229 <xref linkend="vlc"/>, and
230 <xref linkend="zenity"/>
231 </para>
232
233 <para>There are many optional dependencies not listed here. They can be
234 found in <quote>download.lst</quote> (source directory).
235 </para>
236
237 <para condition="html" role="usernotes">
238 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
239 </para>
240 </sect2>
241
242 <sect2 role="installation">
243 <title>Installation of LibreOffice</title>
244
245 <warning>
246 <para>
247 Untaring the libreoffice-&libreoffice-dlversion; tarball as
248 <systemitem class="username">root</systemitem> has the curious effect of
249 changing the ownership of the <emphasis>parent</emphasis> directory
250 to a user with numerical id 11012 and with the permissions set to allow
251 read, write and execute for that user only! If you untared as
252 <systemitem class="username">root</systemitem> in your home folder you
253 could end up unable to log in again. If you untared it in
254 <filename class="directory">/usr</filename> you would find your user
255 account unable to access any file in
256 <filename class="directory">/usr</filename>.
257 </para>
258
259 <para>
260 You can avoid this unpleasantness by
261 <emphasis>not</emphasis> untaring it as
262 <systemitem class="username">root</systemitem>. If you must untar
263 it as <systemitem class="username">root</systemitem> pass the
264 option <option>--no-overwrite-dir</option> to tar when untaring
265 as <systemitem class="username">root</systemitem>:
266 </para>
267 </warning>
268
269<screen role="root"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
270cd libreoffice-&libreoffice-dlversion;</userinput></screen>
271
272 <para>
273 Unpack the dictionaries file and create symlinks to tarballs from the
274 source directory so they won't get downloaded again:
275 </para>
276
277<screen><userinput>install -dm755 src &amp;&amp;
278
279tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
280ln -sfv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &amp;&amp;
281ln -sfv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
282
283 <para>
284 If you have downloaded the translations tarball, create a symlink:
285 </para>
286
287<screen><userinput>ln -sfv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
288
289 <note>
290 <para>
291 During the build process, some packages will be downloaded (including
292 the ones listed as recommended and optional dependencies) if they are
293 not present on the system. Doing so, build time may be different
294 for everyone.
295 </para>
296 </note>
297
298 <para>
299 In the rest of the page, locales "en-US" and "pt-BR" are examples. Change
300 them to suit your needs. You might want to read the "Command Explanations"
301 further below before proceeding.
302 </para>
303
304 <para>
305 For i686 systems, fix a problem inroduced by
306 <application>&gcc-490;</application>:
307 </para>
308
309<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch &amp;&amp;</userinput></screen>
310
311 <para>
312 Prepare <application>LibreOffice</application> for compilation by running
313 the following commands:
314 </para>
315
316<screen><userinput>sed -e "/gzip -f/d" \
317 -e "s|.1.gz|.1|g" \
318 -i bin/distro-install-desktop-integration &amp;&amp;
319sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
320
321chmod -v +x bin/unpack-sources &amp;&amp;
322sed -e "s/target\.mk/langlist\.mk/" \
323 -e "s/tar -xf/tar -x --strip-components=1 -f/" \
324 -e "/tar -x/s/lo_src_dir/start_dir/" \
325 -i bin/unpack-sources &amp;&amp;
326
327./autogen.sh --prefix=/usr \
328 --sysconfdir=/etc \
329 --with-vendor="BLFS" \
330 --with-lang="en-US pt-BR" \
331 --with-help \
332 --with-alloc=system \
333 --without-java \
334 --disable-gconf \
335 --disable-odk \
336 --disable-postgresql-sdbc \
337 --enable-release-build \
338 --enable-python=system \
339 --with-system-boost \
340 --with-system-clucene \
341 --with-system-cairo \
342 --with-system-curl \
343 --with-system-expat \
344 --with-system-graphite \
345 --with-system-harfbuzz \
346 --with-system-icu \
347 --with-system-jpeg \
348 --with-system-lcms2 \
349 --with-system-libpng \
350 --with-system-libxml \
351 --with-system-mesa-headers \
352 --with-system-neon \
353 --with-system-npapi-headers \
354 --with-system-nss \
355 --with-system-odbc \
356 --with-system-openldap \
357 --with-system-openssl \
358 --with-system-poppler \
359 --with-system-redland \
360 --with-system-zlib \
361 --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
362
363 <para>
364 The instructions below will only build the package without running
365 any unit tests. If you prefer to run the unit tests, replace
366 <command>make build</command> with <command>make</command>.
367 </para>
368
369 <para>
370 Build the package:
371 </para>
372
373<screen><userinput>make build</userinput></screen>
374
375 <para>
376 Now, as the <systemitem class="username">root</systemitem> user:
377 </para>
378
379<screen role="root"><userinput>make distro-pack-install &amp;&amp;
380install -v -dm755 /usr/share/appdata &amp;&amp;
381install -v -m644 sysui/desktop/appstream-appdata/*.xml \
382 /usr/share/appdata</userinput></screen>
383
384 <para>
385 If the dictionaries have been built, again as
386 <systemitem class="username">root</systemitem> user:
387 </para>
388
389<screen role="root"><userinput>chown -cR 0:0 dictionaries/ &amp;&amp;
390mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &amp;&amp;
391cp -rv dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &amp;&amp;
392mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &amp;&amp;
393cp -rv dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
394
395 </sect2>
396
397 <sect2 role="commands">
398 <title>Command Explanations</title>
399
400 <para>
401 <command>sed -e ...</command>: First sed prevents compression of the
402 manual pages, the second one prevents a script that causes install to
403 fail from running and the third one fixes the unpack script.
404 </para>
405
406 <para>
407 <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
408 </para>
409
410 <para>
411 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
412 the vendor which is mentioned when you click "About" on the toolbar.
413 </para>
414
415 <para>
416 <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
417 what languages to support. To list several languages, separate them
418 with a space. For all languages, use
419 <parameter>--with-lang=ALL</parameter>.
420 </para>
421
422 <note>
423 <para>
424 For a list of the available languages, you can uncompress the
425 translations tarball by running the following command:
426 <command>tar -xf
427 ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
428 --no-overwrite-dir -C /tmp</command> and proceed to examine
429 the contents of <filename
430 class="directory">/tmp/libreoffice-&libreoffice-dlversion;/translations/source</filename>.
431 </para>
432 </note>
433
434 <para>
435 <parameter>--with-help</parameter>: This switch is used to build
436 the help files.
437 </para>
438
439 <para>
440 <parameter>--with-alloc=system</parameter>: This switch tells
441 <application>LibreOffice</application> to use system allocator
442 instead of the internal one.
443 </para>
444
445 <para>
446 <parameter>--without-java</parameter>: This switch disables
447 <application>Java</application> support in
448 <application>LibreOffice</application>.
449 </para>
450
451 <para>
452 <parameter>--disable-gconf</parameter>: This switch disables compiling
453 <application>LibreOffice</application> with the deprecated
454 <application>GNOME</application> configuration system support.
455 </para>
456
457 <para>
458 <parameter>--disable-odk</parameter>: This switch disables installing the
459 office development kit. Remove if you want to develop a
460 <application>LibreOffice</application> based application.
461 </para>
462
463 <para>
464 <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
465 <application>LibreOffice</application> with the ability to connect to a
466 <application>PostgreSQL</application> database. Remove it if you would
467 like <application>LibreOffice</application> to be able to connect to a
468 <application>PostgreSQL</application> database. If you have installed
469 <application>PostgreSQL</application> on your system and would like
470 <application>LibreOffice</application> to use that rather than compile its
471 own copy, use the <option>--with-system-postgresql</option> switch.
472 </para>
473
474 <para>
475 <parameter>--enable-release-build</parameter>: This switch is used to
476 remove "Beta" or "Dev" from <application>LibreOffice</application>
477 splash screen and "About" menu.
478 </para>
479
480 <para>
481 <parameter>--enable-python=system</parameter>: This switch tells
482 <application>LibreOffice</application> to use installed
483 <application>Python 3</application> to build the translations
484 instead of the bundled one. If you don't need to build any
485 translations, you can use <option>--disable-python</option>
486 instead.
487 </para>
488
489 <para>
490 <parameter>--with-system-*</parameter>: These switches prevent
491 <application>LibreOffice</application> from trying to compile its own
492 versions of these dependencies. If you've not installed some of the
493 dependencies, remove the corresponding switches.
494 </para>
495
496 <para>
497 <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
498 switch tells <application>LibreOffice</application> to use all your
499 CPUs to compile in parallel and speed up the build.
500 </para>
501
502 <para>
503 <option>--disable-gstreamer-0-10</option>: Use this switch if you
504 haven't installed <xref linkend="gst-plugins-base"/>.
505 </para>
506
507 <para>
508 <option>--enable-gstreamer</option>: Use this switch if you want to
509 use <xref linkend="gst10-plugins-base"/> instead of
510 <xref linkend="gst-plugins-base"/> for the avmedia module.
511 </para>
512
513 <para>
514 <option>--enable-gtk3</option>: Use this switch if you want to
515 build the <application>GTK+ 3</application> integration module.
516 </para>
517
518 <para>
519 <option>--enable-kde4</option>: Use this switch if you want to
520 build the <application>KDE</application> integration module.
521 </para>
522
523 </sect2>
524
525 <sect2 role="content">
526 <title>Contents</title>
527
528 <segmentedlist>
529 <segtitle>Installed Programs</segtitle>
530 <segtitle>Installed Libraries</segtitle>
531 <segtitle>Installed Directories</segtitle>
532
533 <seglistitem>
534 <seg>
535 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
536 loimpress, lomath, loweb, lowriter, soffice and unopkg
537 </seg>
538 <seg>
539 None
540 </seg>
541 <seg>
542 /usr/lib/libreoffice
543 </seg>
544 </seglistitem>
545 </segmentedlist>
546
547 <variablelist>
548 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
549 <?dbfo list-presentation="list"?>
550 <?dbhtml list-presentation="table"?>
551
552 <varlistentry id="lobase">
553 <term><command>lobase</command></term>
554 <listitem>
555 <para>
556 is a database manager.
557 </para>
558 <indexterm zone="libreoffice lobase">
559 <primary sortas="b-lobase">lobase</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="localc">
565 <term><command>localc</command></term>
566 <listitem>
567 <para>
568 is a spreadsheet program.
569 </para>
570 <indexterm zone="libreoffice localc">
571 <primary sortas="b-localc">localc</primary>
572 </indexterm>
573 </listitem>
574 </varlistentry>
575
576 <varlistentry id="lodraw">
577 <term><command>lodraw</command></term>
578 <listitem>
579 <para>
580 is a vector graphics editor and diagramming tool.
581 </para>
582 <indexterm zone="libreoffice lodraw">
583 <primary sortas="b-lodraw">lodraw</primary>
584 </indexterm>
585 </listitem>
586 </varlistentry>
587
588 <varlistentry id="loimpress">
589 <term><command>loimpress</command></term>
590 <listitem>
591 <para>
592 can edit and display PowerPoint presentations.
593 </para>
594 <indexterm zone="libreoffice loimpress">
595 <primary sortas="b-loimpress">loimpress</primary>
596 </indexterm>
597 </listitem>
598 </varlistentry>
599
600 <varlistentry id="lomath">
601 <term><command>lomath</command></term>
602 <listitem>
603 <para>
604 is a mathematical formula editor.
605 </para>
606 <indexterm zone="libreoffice lomath">
607 <primary sortas="b-lomath">lomath</primary>
608 </indexterm>
609 </listitem>
610 </varlistentry>
611
612 <varlistentry id="lowriter">
613 <term><command>lowriter</command></term>
614 <listitem>
615 <para>
616 is a word processor.
617 </para>
618 <indexterm zone="libreoffice lowriter">
619 <primary sortas="b-lowriter">lowriter</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="unopkg">
625 <term><command>unopkg</command></term>
626 <listitem>
627 <para>
628 is a tool to manage <application>LibreOffice</application>
629 extensions from the command line.
630 </para>
631 <indexterm zone="libreoffice unopkg">
632 <primary sortas="b-unopkg">unopkg</primary>
633 </indexterm>
634 </listitem>
635 </varlistentry>
636
637 </variablelist>
638
639 </sect2>
640
641</sect1>
Note: See TracBrowser for help on using the repository browser.