source: xsoft/office/libreoffice-systemd.xml@ 60eca8b1

krejzi/svn
Last change on this file since 60eca8b1 was 60eca8b1, checked in by Krejzi <krejzi@…>, 10 years ago

Updated to libreoffice-4.3.3.

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

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