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

systemd-13485
Last change on this file since ad6910d was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

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

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