source: xsoft/office/libreoffice-systemd.xml@ de851b7

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

Fixes to office and graphweb sections.

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

  • Property mode set to 100644
File size: 22.2 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 "86aa9cad125fec16c5cd1d9d964e1d20">
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 "996ec400156194fe26d24ffbccbc5b7a">
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 "63a59a4c77a72856b47caf1871cfc48f">
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 "0236e56349006fc8fec8e7df749c13b1">
23 <!ENTITY libreoffice-translations-size "121 MB">
24
25 <!ENTITY libreoffice-buildsize "6.6 GB (570 MB installed)">
26 <!ENTITY libreoffice-time "135 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>There are many optional dependencies not listed here. They can be
243 found in <quote>download.lst</quote> (source directory).
244 </para>
245
246 <para condition="html" role="usernotes">
247 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
248 </para>
249 </sect2>
250
251 <sect2 role="installation">
252 <title>Installation of LibreOffice</title>
253
254 <para>
255 Unpack the dictionaries file and create symlinks to tarballs from the
256 source directory so they won't get downloaded again:
257 </para>
258
259<screen><userinput>install -dm755 external/tarballs &amp;&amp;
260
261tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
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" -i Makefile.in &amp;&amp;
305
306chmod -v +x bin/unpack-sources &amp;&amp;
307sed -e "s/target\.mk/langlist\.mk/" \
308 -e "s/tar -xf/tar -x --strip-components=1 -f/" \
309 -e "/tar -x/s/lo_src_dir/start_dir/" \
310 -i bin/unpack-sources &amp;&amp;
311
312./autogen.sh --prefix=/usr \
313 --sysconfdir=/etc \
314 --with-vendor="BLFS" \
315 --with-lang="en-US pt-BR" \
316 --with-help \
317 --with-alloc=system \
318 --without-java \
319 --disable-gconf \
320 --disable-odk \
321 --disable-postgresql-sdbc \
322 --enable-release-build \
323 --enable-python=system \
324 --with-system-boost \
325 --with-system-clucene \
326 --with-system-cairo \
327 --with-system-curl \
328 --with-system-expat \
329 --with-system-graphite \
330 --with-system-harfbuzz \
331 --with-system-icu \
332 --with-system-jpeg \
333 --with-system-lcms2 \
334 --with-system-libatomic_ops \
335 --with-system-libpng \
336 --with-system-libxml \
337 --with-system-mesa-headers \
338 --with-system-neon \
339 --with-system-npapi-headers \
340 --with-system-nss \
341 --with-system-odbc \
342 --with-system-openldap \
343 --with-system-openssl \
344 --with-system-poppler \
345 --with-system-redland \
346 --with-system-zlib \
347 --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
348
349 <para>
350 The instructions below will only build the package without running
351 any unit tests. If you prefer to run the unit tests, replace
352 <command>make build</command> with <command>make</command>.
353 </para>
354
355 <note>
356 <para>
357 The package needs to be built from an X terminal emulator.
358 </para>
359 </note>
360
361 <para>
362 Build the package:
363 </para>
364
365<screen><userinput>make build</userinput></screen>
366
367 <para>
368 Now, as the <systemitem class="username">root</systemitem> user:
369 </para>
370
371<screen role="root"><userinput>make distro-pack-install &amp;&amp;
372install -v -dm755 /usr/share/appdata &amp;&amp;
373install -v -m644 sysui/desktop/appstream-appdata/*.xml \
374 /usr/share/appdata</userinput></screen>
375
376 <para>
377 If the dictionaries have been built, again as
378 <systemitem class="username">root</systemitem> user:
379 </para>
380
381<screen role="root"><userinput>chown -cR 0:0 dictionaries/ &amp;&amp;
382mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &amp;&amp;
383cp -rv dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &amp;&amp;
384mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &amp;&amp;
385cp -rv dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
386
387 </sect2>
388
389 <sect2 role="commands">
390 <title>Command Explanations</title>
391
392 <para>
393 <command>sed -e ...</command>: The first sed prevents compression of the
394 manual pages, the second one prevents install from failing, and
395 the third one fixes the unpack script.
396 </para>
397
398 <para>
399 <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
400 </para>
401
402 <para>
403 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
404 the vendor which is mentioned when you click "About" on the toolbar.
405 </para>
406
407 <para>
408 <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
409 what languages to support. To list several languages, separate them
410 with a space. For all languages, use
411 <parameter>--with-lang=ALL</parameter>.
412 </para>
413
414 <note>
415 <para>
416 For a list of the available languages, you can uncompress the
417 translations tarball by running the following command:
418 <command>tar -xf
419 ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
420 --no-overwrite-dir -C /tmp</command> and proceed to examine
421 the contents of <filename
422 class="directory">/tmp/libreoffice-&libreoffice-dlversion;/translations/source</filename>.
423 </para>
424 </note>
425
426 <para>
427 <parameter>--with-help</parameter>: This switch is used to build
428 the help files.
429 </para>
430
431 <para>
432 <parameter>--with-alloc=system</parameter>: This switch tells
433 <application>LibreOffice</application> to use system allocator
434 instead of the internal one.
435 </para>
436
437 <para>
438 <parameter>--without-java</parameter>: This switch disables
439 <application>Java</application> support in
440 <application>LibreOffice</application>.
441 </para>
442
443 <para>
444 <parameter>--disable-gconf</parameter>: This switch disables compiling
445 <application>LibreOffice</application> with the deprecated
446 <application>GNOME</application> configuration system support.
447 </para>
448
449 <para>
450 <parameter>--disable-odk</parameter>: This switch disables installing the
451 office development kit. Remove if you want to develop a
452 <application>LibreOffice</application> based application.
453 </para>
454
455 <para>
456 <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
457 <application>LibreOffice</application> with the ability to connect to a
458 <application>PostgreSQL</application> database. Remove it if you would
459 like <application>LibreOffice</application> to be able to connect to a
460 <application>PostgreSQL</application> database. If you have installed
461 <application>PostgreSQL</application> on your system and would like
462 <application>LibreOffice</application> to use that rather than compile its
463 own copy, use the <option>--with-system-postgresql</option> switch.
464 </para>
465
466 <para>
467 <parameter>--enable-release-build</parameter>: This switch is used to
468 remove "Beta" or "Dev" from <application>LibreOffice</application>
469 splash screen and "About" menu.
470 </para>
471
472 <para>
473 <parameter>--enable-python=system</parameter>: This switch tells
474 <application>LibreOffice</application> to use installed
475 <application>Python 3</application> to build the translations
476 instead of the bundled one.
477 </para>
478
479 <para>
480 <parameter>--with-system-*</parameter>: These switches prevent
481 <application>LibreOffice</application> from trying to compile its own
482 versions of these dependencies. If you've not installed some of the
483 dependencies, remove the corresponding switches.
484 </para>
485
486 <para>
487 <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
488 switch tells <application>LibreOffice</application> to use all your
489 CPUs to compile in parallel and speed up the build.
490 </para>
491
492 <para>
493 <option>--disable-gstreamer-0-10</option>: Use this switch if you
494 haven't installed <xref linkend="gst-plugins-base"/>.
495 </para>
496
497 <para>
498 <option>--enable-gstreamer</option>: Use this switch if you want to
499 use <xref linkend="gst10-plugins-base"/> instead of
500 <xref linkend="gst-plugins-base"/> for the avmedia module.
501 </para>
502
503 <para>
504 <option>--enable-gtk3</option>: Use this switch if you want to
505 build the <application>GTK+ 3</application> integration module.
506 </para>
507
508 <para>
509 <option>--enable-kde4</option>: Use this switch if you want to
510 build the <application>KDE</application> integration module.
511 </para>
512
513 </sect2>
514
515 <sect2 role="content">
516 <title>Contents</title>
517
518 <segmentedlist>
519 <segtitle>Installed Programs</segtitle>
520 <segtitle>Installed Libraries</segtitle>
521 <segtitle>Installed Directories</segtitle>
522
523 <seglistitem>
524 <seg>
525 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
526 loimpress, lomath, loweb, lowriter, soffice and unopkg
527 </seg>
528 <seg>
529 None
530 </seg>
531 <seg>
532 /usr/lib/libreoffice
533 </seg>
534 </seglistitem>
535 </segmentedlist>
536
537 <variablelist>
538 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
539 <?dbfo list-presentation="list"?>
540 <?dbhtml list-presentation="table"?>
541
542 <varlistentry id="lobase">
543 <term><command>lobase</command></term>
544 <listitem>
545 <para>
546 is a database manager.
547 </para>
548 <indexterm zone="libreoffice lobase">
549 <primary sortas="b-lobase">lobase</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="localc">
555 <term><command>localc</command></term>
556 <listitem>
557 <para>
558 is a spreadsheet program.
559 </para>
560 <indexterm zone="libreoffice localc">
561 <primary sortas="b-localc">localc</primary>
562 </indexterm>
563 </listitem>
564 </varlistentry>
565
566 <varlistentry id="lodraw">
567 <term><command>lodraw</command></term>
568 <listitem>
569 <para>
570 is a vector graphics editor and diagramming tool.
571 </para>
572 <indexterm zone="libreoffice lodraw">
573 <primary sortas="b-lodraw">lodraw</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="loimpress">
579 <term><command>loimpress</command></term>
580 <listitem>
581 <para>
582 can edit and display PowerPoint presentations.
583 </para>
584 <indexterm zone="libreoffice loimpress">
585 <primary sortas="b-loimpress">loimpress</primary>
586 </indexterm>
587 </listitem>
588 </varlistentry>
589
590 <varlistentry id="lomath">
591 <term><command>lomath</command></term>
592 <listitem>
593 <para>
594 is a mathematical formula editor.
595 </para>
596 <indexterm zone="libreoffice lomath">
597 <primary sortas="b-lomath">lomath</primary>
598 </indexterm>
599 </listitem>
600 </varlistentry>
601
602 <varlistentry id="lowriter">
603 <term><command>lowriter</command></term>
604 <listitem>
605 <para>
606 is a word processor.
607 </para>
608 <indexterm zone="libreoffice lowriter">
609 <primary sortas="b-lowriter">lowriter</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
614 <varlistentry id="unopkg">
615 <term><command>unopkg</command></term>
616 <listitem>
617 <para>
618 is a tool to manage <application>LibreOffice</application>
619 extensions from the command line.
620 </para>
621 <indexterm zone="libreoffice unopkg">
622 <primary sortas="b-unopkg">unopkg</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 </variablelist>
628
629 </sect2>
630
631</sect1>
Note: See TracBrowser for help on using the repository browser.