source: xsoft/office/libreoffice.xml@ 93f680d5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 93f680d5 was 93f680d5, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Create a standard for packages with problems introduced
by gcc-4.9.0. Modified: mdadm-3.3.1, gst-plugins-base-0.10.36, LAME-3.99.5 and
LibreOffice-4.2.5. Thanks Christopher G., from systemd branch, for pointing
that out, and Akhiezer and Armin K. for discussions.

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

  • Property mode set to 100644
File size: 25.7 KB
RevLine 
[d2d3fc5]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
[c20bced]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">
[f4bb9987]10 <!ENTITY libreoffice-core-md5sum "eb44cc33bb9331db4c1b6ae0b03fff9f">
[4469169]11 <!ENTITY libreoffice-core-size "118 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[f4bb9987]14 <!ENTITY libreoffice-dict-md5sum "8ac6a48b78c34f52e8bf43f29cf14bfe">
[4469169]15 <!ENTITY libreoffice-dict-size "36 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[f4bb9987]18 <!ENTITY libreoffice-help-md5sum "867c10167b05ba19162b78032405524b">
[c20bced]19 <!ENTITY libreoffice-help-size "1.8 MB">
20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[f4bb9987]22 <!ENTITY libreoffice-translations-md5sum "6bcd61a3f977f78c64b1eaa13a40524c">
[4469169]23 <!ENTITY libreoffice-translations-size "122 MB">
[c20bced]24
[3465a8e]25 <!ENTITY libreoffice-buildsize "4.0 GB (423 MB installed) - 9.6 GB (528 MB installed), with translations">
[f4bb9987]26 <!ENTITY libreoffice-time "139 SBU - 165 SBU, with translations">
[d2d3fc5]27]>
28
[8c853a1]29<sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-version;">
[d2d3fc5]30 <?dbhtml filename="libreoffice.html"?>
31
32 <sect1info>
33 <othername>$LastChangedBy$</othername>
34 <date>$Date$</date>
35 </sect1info>
36
[8c853a1]37 <title>LibreOffice-&libreoffice-version;</title>
[d2d3fc5]38
39 <indexterm zone="libreoffice">
[8c853a1]40 <primary sortas="a-LibreOffice">LibreOffice</primary>
[d2d3fc5]41 </indexterm>
42
43 <sect2 role="package">
[fa29663]44 <title>Introduction to LibreOffice</title>
[d2d3fc5]45
46 <para>
[fa29663]47 <application>LibreOffice</application> is a full-featured office suite.
48 It is largely compatible with <application>Microsoft Office</application>
[8c853a1]49 and is descended from <application>OpenOffice.org</application>.
[d2d3fc5]50 </para>
51
[3fa825f6]52 &lfs75_checked;
[d2d3fc5]53
54 <bridgehead renderas="sect3">Package Information</bridgehead>
55 <itemizedlist spacing="compact">
56 <listitem>
57 <para>
[9e1dd1b]58 Core Download: <ulink url="&libreoffice-core-download-http;"/>
[d2d3fc5]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>
[c20bced]71 <listitem>
72 <para>
[9e1dd1b]73 Estimated disk space required: &libreoffice-buildsize;
[c20bced]74 </para>
75 </listitem>
76 <listitem>
77 <para>
[9e1dd1b]78 Estimated build time: &libreoffice-time;
[c20bced]79 </para>
80 </listitem>
[9e1dd1b]81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84 <itemizedlist spacing="compact">
[c20bced]85 <listitem>
86 <para>
[9e1dd1b]87 Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
[c20bced]88 </para>
89 </listitem>
90 <listitem>
91 <para>
[9e1dd1b]92 Dictionaries MD5 sum: &libreoffice-dict-md5sum;
[c20bced]93 </para>
94 </listitem>
95 <listitem>
96 <para>
[9e1dd1b]97 Dictionaries size: &libreoffice-dict-size;
[c20bced]98 </para>
99 </listitem>
[d2d3fc5]100 <listitem>
101 <para>
[9e1dd1b]102 Help Files: <ulink url="&libreoffice-help-download-http;"/>
[d2d3fc5]103 </para>
104 </listitem>
105 <listitem>
106 <para>
[9e1dd1b]107 Help Files MD5 sum: &libreoffice-help-md5sum;
[d2d3fc5]108 </para>
109 </listitem>
[c20bced]110 <listitem>
111 <para>
[9e1dd1b]112 Help Files size: &libreoffice-help-size;
[c20bced]113 </para>
114 </listitem>
115 <listitem>
116 <para>
[9e1dd1b]117 Translations: <ulink url="&libreoffice-translations-download-http;"/>
[c20bced]118 </para>
119 </listitem>
120 <listitem>
121 <para>
[9e1dd1b]122 Translations MD5 sum: &libreoffice-translations-md5sum;
[c20bced]123 </para>
124 </listitem>
125 <listitem>
126 <para>
[9e1dd1b]127 Translations size: &libreoffice-translations-size;
[c20bced]128 </para>
129 </listitem>
[efc0d11]130 <listitem>
131 <para>
[93f680d5]132 Required patch for i686 systems, in order to fix a problem inroduced
133 by <application>&gcc-490;</application>:
[f4bb9987]134 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch"/>
[efc0d11]135 </para>
136 </listitem>
[c20bced]137 </itemizedlist>
138
[fa29663]139 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
[d2d3fc5]140
141 <bridgehead renderas="sect4">Required</bridgehead>
142 <para role="required">
[d6d4ea1]143 <xref linkend="perl-archive-zip"/>,
[d97601a]144 <xref linkend="unzip"/>,
[c20bced]145 <xref linkend="wget"/>,
[d6d4ea1]146 <xref linkend="which"/>, and
[c20bced]147 <xref linkend="zip"/>
[d2d3fc5]148 </para>
149
150 <bridgehead renderas="sect4">Recommended</bridgehead>
151 <note>
152 <para>
[601a838]153 Most of these packages are recommended because if they're not installed,
[ceadeab]154 the build process will compile and install its own (often older)
[c20bced]155 version.
[d2d3fc5]156 </para>
157 </note>
158
159 <para role="recommended">
[d6d4ea1]160 <xref linkend="libjpeg"/>,
161 <xref linkend="glu"/>,
162 <xref linkend="gtk2"/>,
[ee8e5be]163 <xref linkend="boost"/>,
[7f5a588]164 <xref linkend="clucene"/>,
[87dfe6b]165 <xref linkend="cups"/>,
[c20bced]166 <xref linkend="curl"/>,
[059ff67]167 <xref linkend="dbus-glib"/>,
[2a75b9b]168 <xref linkend="graphite2"/>,
[c20bced]169 <xref linkend="gst-plugins-base"/> or
170 <xref linkend="gst10-plugins-base"/>,
[2a75b9b]171 <xref linkend="harfbuzz"/>,
[efc0d11]172 <xref linkend="icu"/>,
[c20bced]173 <xref linkend="lcms2"/>,
[d2d3fc5]174 <xref linkend="librsvg"/>,
[c20bced]175 <xref linkend="libxml2"/> and
176 <xref linkend="libxslt"/>,
177 <xref linkend="mesalib"/>,
[d2d3fc5]178 <xref linkend="neon"/>,
[fd65789]179 <xref linkend="npapi-sdk"/>,
[d2d3fc5]180 <xref linkend="nss"/>,
[c20bced]181 <xref linkend="openldap"/> (client only),
182 <xref linkend="openssl"/>,
[f76286d]183 <xref linkend="poppler"/>,
[c20bced]184 <xref linkend="python3"/> (used to build the translations),
[d6d4ea1]185 <xref linkend="redland"/>, and
[c20bced]186 <xref linkend="unixodbc"/>
[d2d3fc5]187 </para>
188
189 <bridgehead renderas="sect4">Optional</bridgehead>
190 <para role="optional">
[4469169]191 <xref linkend="avahi"/>,
[c20bced]192 <xref linkend="bluez"/>,
[4469169]193 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
[c20bced]194 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
[0f5aa11]195 <ulink url="http://www.firebirdsql.org/">firebird</ulink>,
[f4bb9987]196 <xref linkend="gdb"/>,
[c20bced]197 <xref linkend="gtk3"/>,
[ceadeab]198 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
[c20bced]199 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
200 <xref linkend="kdelibs"/>,
[4469169]201 <xref linkend="libatomic_ops"/>,
[0f5aa11]202 <ulink url="http://www.freedesktop.org/wiki/Software/libabw/">libabw</ulink>,
203 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
204 <ulink url="http://www.freedesktop.org/wiki/Software/libfreehand/">libfreehand</ulink>,
[ae2a3fcb]205 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
206 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
207 <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
208 <ulink url="http://www.freedesktop.org/wiki/Software/libcdr/">libcdr</ulink>,
209 <ulink url="http://www.freedesktop.org/wiki/Software/libmspub/">libmspub</ulink>,
[83bc811e]210 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
211 <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
212 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
[0191062b]213 <ulink url="http://www.freedesktop.org/wiki/Software/libexttextcat/">libexttextcat</ulink>,
214 <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
[885af2e]215 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
216 <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</ulink>,
[0191062b]217 <ulink url="http://code.google.com/p/multidimalgorithm/">mdds</ulink>,
[5e0662d]218 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
[d97601a]219 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
[f4bb9987]220 <xref linkend="openjdk"/>,
[884c901]221 <ulink url="https://gitorious.org/orcus">Orcus</ulink>,
[4c796cf]222 <xref linkend="postgresql"/>,
[25631113]223 <xref linkend="mitkrb"/>,
[4fcd877a]224 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
[4469169]225 <xref linkend="sane"/>,
[d6d4ea1]226 <xref linkend="vlc"/>, and
[665ac79f]227 <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
[d2d3fc5]228 </para>
229
[f4bb9987]230 <para>There are many optional dependencies not listed here. They can be
231 found in <quote>download.lst</quote> (source directory).
232 </para>
233
[d2d3fc5]234 <para condition="html" role="usernotes">
235 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
236 </para>
237 </sect2>
238
239 <sect2 role="installation">
[fa29663]240 <title>Installation of LibreOffice</title>
[d2d3fc5]241
[d97601a]242 <warning>
243 <para>
[c20bced]244 Untaring the libreoffice-&libreoffice-dlversion; tarball as
[d97601a]245 <systemitem class="username">root</systemitem> has the curious effect of
246 changing the ownership of the <emphasis>parent</emphasis> directory
247 to a user with numerical id 11012 and with the permissions set to allow
248 read, write and execute for that user only! If you untared as
249 <systemitem class="username">root</systemitem> in your home folder you
[c20bced]250 could end up unable to log in again. If you untared it in
[d97601a]251 <filename class="directory">/usr</filename> you would find your user
252 account unable to access any file in
[ceadeab]253 <filename class="directory">/usr</filename>.
[d97601a]254 </para>
255
256 <para>
257 You can avoid this unpleasantness by
258 <emphasis>not</emphasis> untaring it as
259 <systemitem class="username">root</systemitem>. If you must untar it as
260 <systemitem class="username">root</systemitem> pass the option
261 <option>--no-overwrite-dir</option> to tar. This is the default when you
262 untar as a user but has to be passed as an option when untaring as
263 <systemitem class="username">root</systemitem>:
264 </para>
265 </warning>
266
[c20bced]267<screen role="root"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
268cd libreoffice-&libreoffice-dlversion;</userinput></screen>
[d97601a]269
[d2d3fc5]270 <para>
[ed2cf3c]271 Unpack the dictionaries file and create symlinks to tarballs from the
272 source directory so they won't get downloaded again (it is not necessary
273 to unpack the help nor the translations tarballs):
[d2d3fc5]274 </para>
275
[c20bced]276<screen><userinput>install -dm755 src &amp;&amp;
[d2d3fc5]277
[c8ff600]278tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
[ed2cf3c]279<!-- Not necessary for this version
280tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
281-->
[c20bced]282ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &amp;&amp;
283ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
[d2d3fc5]284
[ed2cf3c]285<!-- Not necessary for this version
[d2d3fc5]286 <para>
[c20bced]287 If you have downloaded the translations tarball, unpack it:
[d2d3fc5]288 </para>
289
[ed2cf3c]290<screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
[c20bced]291ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
[ed2cf3c]292-->
293 <para>
294 If you have downloaded the translations tarball, create a symlink:
295 </para>
296
297<screen><userinput>ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
[d2d3fc5]298
[c20bced]299 <note>
300 <para>
301 During the build process, some packages will be downloaded (including
302 the ones listed as recommended and optional dependencies) if they are
303 not present on the system. Doing so, build time may be different
304 for everyone.
305 </para>
306 </note>
[0d7900a]307
[d2d3fc5]308 <para>
[0c77b5ab]309 In the rest of the page, locales "en-US" and "pt-BR" are examples; you
310 can change them to suit your needs - you might want to read the
311 "Command Explanations", further below, before proceeding.
312 </para>
[efc0d11]313
[0c77b5ab]314 <para>
315 Due to the large size of the package, you may prefer to install it in
[d83f555]316 <filename class="directory">/opt</filename>, instead of
[14ea7e8]317 <filename class="directory">/usr</filename>. Depending on your choice,
318 replace <replaceable>&lt;PREFIX&gt;</replaceable> by
319 <filename class="directory">/usr</filename> or by
[0c77b5ab]320 <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
321 </para>
322
323<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
[efc0d11]324
325 <para>
[93f680d5]326 For i686 systems, fix a problem inroduced by
327 <application>&gcc-490;</application>:
[efc0d11]328 </para>
329
[f4bb9987]330<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch &amp;&amp;</userinput></screen>
[efc0d11]331
[0c77b5ab]332 <para>
333 Prepare <application>LibreOffice</application> for compilation by running
334 the following commands:
[d2d3fc5]335 </para>
336
[c20bced]337<screen><userinput>sed -e "/gzip -f/d" \
338 -e "s|.1.gz|.1|g" \
[14ea7e8]339 -i bin/distro-install-desktop-integration &amp;&amp;
[c8ff600]340sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
[ed2cf3c]341
[14ea7e8]342chmod -v +x bin/unpack-sources &amp;&amp;
[ed2cf3c]343sed -e "s/target\.mk/langlist\.mk/" \
344 -e "s/tar -xf/tar -x --strip-components=1 -f/" \
345 -e "/tar -x/s/lo_src_dir/start_dir/" \
[14ea7e8]346 -i bin/unpack-sources &amp;&amp;
347
[0c77b5ab]348./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]349 --sysconfdir=/etc \
350 --with-vendor="BLFS" \
351 --with-lang="en-US pt-BR" \
352 --with-help \
353 --with-alloc=system \
354 --without-java \
355 --disable-gconf \
356 --disable-odk \
357 --disable-postgresql-sdbc \
358 --enable-release-build=yes \
359 --enable-python=system \
[3d3bcee]360 --with-system-boost \
[14ea7e8]361 --with-system-clucene \
362 --with-system-cairo \
363 --with-system-curl \
364 --with-system-expat \
[2a75b9b]365 --with-system-graphite \
[14ea7e8]366 --with-system-harfbuzz \
[3d3bcee]367 --with-system-icu \
[14ea7e8]368 --with-system-jpeg \
369 --with-system-lcms2 \
370 --with-system-libpng \
371 --with-system-libxml \
372 --with-system-mesa-headers \
373 --with-system-neon \
[fd65789]374 --with-system-npapi-headers \
[14ea7e8]375 --with-system-nss \
376 --with-system-odbc \
377 --with-system-openldap \
378 --with-system-openssl \
379 --with-system-poppler \
380 --with-system-redland \
381 --with-system-zlib \
[c20bced]382 --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
[ceadeab]383
[d2d3fc5]384 <para>
[c20bced]385 The instructions below will only build the package without running
386 any unit tests. If you prefer to run the unit tests, replace
[f2f63338]387 <command>make build</command> with <command>make</command>.
[d2d3fc5]388 </para>
389
390 <para>
[c20bced]391 Build the package:
[d2d3fc5]392 </para>
393
[c20bced]394<screen><userinput>make build</userinput></screen>
[d2d3fc5]395
396 <para>
[c20bced]397 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]398 </para>
399
[f0cd0274]400<screen role="root"><userinput>make distro-pack-install &amp;&amp;
401install -v -m755 -d $LO_PREFIX/share/appdata &amp;&amp;
[14ea7e8]402install -v -m644 sysui/desktop/appstream-appdata/*.xml \
[0c77b5ab]403 $LO_PREFIX/share/appdata</userinput></screen>
[c20bced]404
[ed2cf3c]405 <para>
406 If the dictionaries have been built, again as
407 <systemitem class="username">root</systemitem> user:
408 </para>
409
[49d3336]410<screen role="root"><userinput>chown -cR 0:0 dictionaries/ &amp;&amp;
[0c77b5ab]411mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-en &amp;&amp;
412cp -vR dictionaries/en/* $LO_PREFIX/lib/libreoffice/share/extensions/dict-en &amp;&amp;
413mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR &amp;&amp;
414cp -vR dictionaries/pt_BR/* $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
[ed2cf3c]415
[d83f555]416 <para>
[0c77b5ab]417 If installed in <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
418 and the icons in the new items of the desktop menu are not properly displayed,
[14ea7e8]419 optionally run the following commands, as
420 <systemitem class="username">root</systemitem> user (it may be necessary
421 to logout the session, before the icons appear):
[d83f555]422 </para>
423
424<screen role="root"><userinput>mkdir -pv /usr/share/pixmaps &amp;&amp;
425for i in writer base calc draw impress math startcenter writer
426do
427 ln -svf /opt/libreoffice-&libreoffice-dlversion;/share/icons/hicolor/32x32/apps/libreoffice-$i.png \
428 /usr/share/pixmaps/
429done
430unset i</userinput></screen>
431
[c20bced]432 </sect2>
433
434 <sect2 role="commands">
435 <title>Command Explanations</title>
[4c796cf]436
[d2d3fc5]437 <para>
[c20bced]438 <command>sed -e ...</command>: First sed prevents compression of the
[ed2cf3c]439 manual pages, the second one prevents a script that causes install to
440 fail from running and the third one fixes the unpack script.
441 </para>
442
443 <para>
[ffc716b]444 <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
[d2d3fc5]445 </para>
446
447 <para>
[ed2cf3c]448 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[5030bab]449 the vendor which is mentioned when you click "About" on the toolbar.
[d2d3fc5]450 </para>
[ffc716b]451<!-- I believe en-US is not necessary anymore
[d2d3fc5]452 <para>
[ffc716b]453 <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
[5030bab]454 what languages to support. en-US is always needed. To list several
455 languages, separate them with a space. For all languages, use
[ffc716b]456 <parameter>-\-with-lang=ALL</parameter>
[4c796cf]457 </para>
[ffc716b]458-->
[4c796cf]459
[ed2cf3c]460 <para>
[ffc716b]461 <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
462 what languages to support. To list several languages, separate them with
463 a space. For all languages, use
464 <parameter>--with-lang=ALL</parameter>.
[ed2cf3c]465 </para>
466
[92b7b3a]467 <note><para>
[ffc716b]468 For a list of the available languages, you can uncompress the
469 translations tarball, <command>tar -xf
470 ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
471 --no-overwrite-dir -C /tmp</command>, and run <command>ls
472 /tmp/libreoffice-&libreoffice-dlversion;/translations/source</command>.
[92b7b3a]473 </para></note>
[ffc716b]474
475 <para>
476 <parameter>--with-help</parameter>: Without this switch, the help files
477 are not built.
[d2d3fc5]478 </para>
479
480 <para>
[c20bced]481 <parameter>--with-alloc=system</parameter>: This switch tells
482 <application>LibreOffice</application> to use system allocator
483 instead of the internal one.
[d2d3fc5]484 </para>
485
486 <para>
[92b7b3a]487 <parameter>--without-java</parameter>: This switch disables
[c20bced]488 <application>Java</application> support in
489 <application>LibreOffice</application>.
[5b9edb4]490 </para>
491
492 <para>
[92b7b3a]493 <parameter>--disable-gconf</parameter>: This switch disables compiling
[c20bced]494 <application>LibreOffice</application> with the deprecated
495 <application>GNOME</application> configuration system support.
[d2d3fc5]496 </para>
497
498 <para>
[92b7b3a]499 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]500 office development kit. Remove if you want to develop a
501 <application>LibreOffice</application> based application.
[d2d3fc5]502 </para>
503
504 <para>
[92b7b3a]505 <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
[c20bced]506 <application>LibreOffice</application> with the ability to connect to a
507 <application>PostgreSQL</application> database. Remove it if you would
508 like <application>LibreOffice</application> to be able to connect to a
509 <application>PostgreSQL</application> database. If you have installed
510 <application>PostgreSQL</application> on your system and would like
511 <application>LibreOffice</application> to use that rather than compile its
512 own copy, use the <option>--with-system-postgresql</option> switch.
[d2d3fc5]513 </para>
[4469169]514
515 <para>
516 <parameter>--enable-release-build=yes</parameter>: This switch enables a
517 Release Build.
518 <application>LibreOffice</application> can be built as a Release Build or
519 as a Developer Build, because their default installation paths and user
520 profile paths are different. Developer Build displays the words "Dev" and
[14ea7e8]521 "Beta" in several places (e.g, menu and splash scren).
[4469169]522 </para>
[d2d3fc5]523
524 <para>
[c20bced]525 <parameter>--enable-python=system</parameter>: This switch tells
526 <application>LibreOffice</application> to use installed
527 <application>Python 3</application> to build the translations
528 instead of the bundled one. If you don't need to build any
529 translations, you can use <option>--disable-python</option>
530 instead.
[d2d3fc5]531 </para>
532
533 <para>
[92b7b3a]534 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]535 <application>LibreOffice</application> from trying to compile its own
536 versions of these dependencies. If you've not installed some of the
537 dependencies, remove the corresponding switches.
[d2d3fc5]538 </para>
[8c853a1]539
[c20bced]540 <para>
[92b7b3a]541 <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
[c20bced]542 switch tells <application>LibreOffice</application> to use all your
543 CPUs to compile in parallel and speed up the build.
544 </para>
545
[87dfe6b]546 <para>
547 <option>--disable-cups</option>: Use this switch if you don't need
548 printing support.
549 </para>
550
[54666831]551 <para>
552 <option>--disable-dbus</option>: Use this switch if you've not
553 installed D-Bus-1.8.0. It also disables Bluetooth support and
554 font install via PackageKit.
555 </para>
556
[c20bced]557 <para>
[e19d31a]558 <option>--disable-gstreamer-0-10</option>: Use this switch if you've
[c20bced]559 not installed <xref linkend="gst-plugins-base"/>.
560 </para>
561
562 <para>
563 <option>--enable-gstreamer</option>: Use this switch if you want to
564 use <xref linkend="gst10-plugins-base"/> instead of
565 <xref linkend="gst-plugins-base"/> for the avmedia module.
566 </para>
[d2d3fc5]567
[c20bced]568 <para>
569 <option>--enable-gtk3</option>: Use this switch if you want to
570 build the <application>GTK+ 3</application> integration module.
571 </para>
[d2d3fc5]572
573 <para>
[c20bced]574 <option>--enable-kde4</option>: Use this switch if you want to
575 build the <application>KDE</application> integration module.
[d2d3fc5]576 </para>
577
578 </sect2>
579
580 <sect2 role="content">
581 <title>Contents</title>
582
583 <segmentedlist>
584 <segtitle>Installed Programs</segtitle>
[c3c56b2]585 <segtitle>Installed Libraries</segtitle>
[8c853a1]586 <segtitle>Installed Directory</segtitle>
[d2d3fc5]587
588 <seglistitem>
[4c796cf]589 <seg>
[c20bced]590 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]591 loimpress, lomath, loweb, lowriter, soffice and unopkg;
592 several programs under
[0c77b5ab]593 $LO_PREFIX/lib/libreoffice/program
[8c853a1]594 </seg>
[c3c56b2]595 <seg>
[4469169]596 several libraries under
[0c77b5ab]597 $LO_PREFIX/lib/libreoffice/{ure/lib,program}
[c3c56b2]598 </seg>
[d2d3fc5]599 <seg>
[0c77b5ab]600 $LO_PREFIX/lib/libreoffice
[d2d3fc5]601 </seg>
602 </seglistitem>
603 </segmentedlist>
604
605 <variablelist>
606 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
607 <?dbfo list-presentation="list"?>
608 <?dbhtml list-presentation="table"?>
609
[c20bced]610 <varlistentry id="lobase">
611 <term><command>lobase</command></term>
[d2d3fc5]612 <listitem>
613 <para>
614 is a database manager.
615 </para>
[c20bced]616 <indexterm zone="libreoffice lobase">
617 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]618 </indexterm>
619 </listitem>
620 </varlistentry>
621
[c20bced]622 <varlistentry id="localc">
623 <term><command>localc</command></term>
[d2d3fc5]624 <listitem>
625 <para>
626 is a spreadsheet program.
627 </para>
[c20bced]628 <indexterm zone="libreoffice localc">
629 <primary sortas="b-localc">localc</primary>
[d2d3fc5]630 </indexterm>
631 </listitem>
632 </varlistentry>
633
[c20bced]634 <varlistentry id="lodraw">
635 <term><command>lodraw</command></term>
[d2d3fc5]636 <listitem>
637 <para>
638 is a vector graphics editor and diagramming tool.
639 </para>
[c20bced]640 <indexterm zone="libreoffice lodraw">
641 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]642 </indexterm>
643 </listitem>
644 </varlistentry>
645
[c20bced]646 <varlistentry id="loimpress">
647 <term><command>loimpress</command></term>
[d2d3fc5]648 <listitem>
649 <para>
[c20bced]650 can edit and display PowerPoint presentations.
[d2d3fc5]651 </para>
[c20bced]652 <indexterm zone="libreoffice loimpress">
653 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]654 </indexterm>
655 </listitem>
656 </varlistentry>
657
[c20bced]658 <varlistentry id="lomath">
659 <term><command>lomath</command></term>
[d2d3fc5]660 <listitem>
661 <para>
[c20bced]662 is a mathematical formula editor.
[d2d3fc5]663 </para>
[c20bced]664 <indexterm zone="libreoffice lomath">
665 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]666 </indexterm>
667 </listitem>
668 </varlistentry>
669
[c20bced]670 <varlistentry id="lowriter">
671 <term><command>lowriter</command></term>
[2511f83]672 <listitem>
673 <para>
[c20bced]674 is a word processor.
[2511f83]675 </para>
[c20bced]676 <indexterm zone="libreoffice lowriter">
677 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]678 </indexterm>
679 </listitem>
680 </varlistentry>
681
[8d5cd1bb]682 <varlistentry id="unopkg">
683 <term><command>unopkg</command></term>
684 <listitem>
685 <para>
[fa29663]686 is a tool to manage <application>LibreOffice</application>
[c20bced]687 extensions from the command line.
[8d5cd1bb]688 </para>
689 <indexterm zone="libreoffice unopkg">
690 <primary sortas="b-unopkg">unopkg</primary>
691 </indexterm>
692 </listitem>
693 </varlistentry>
694
[d2d3fc5]695 </variablelist>
[8c853a1]696
[d2d3fc5]697 </sect2>
[8c853a1]698
[d2d3fc5]699</sect1>
Note: See TracBrowser for help on using the repository browser.