source: xsoft/office/libreoffice.xml@ c67fbf64

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

Remove packages that are now in lfs systemd from blfs.

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

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