source: xsoft/office/libreoffice.xml@ 31ab0f7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 31ab0f7 was 31ab0f7, checked in by Krejzi <krejzi@…>, 12 years ago

Package updates.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11138 af4574ff-66df-0310-9fd7-8a98e5e911e0

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