source: xsoft/office/libreoffice.xml@ c219568

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition 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 c219568 was ff13fdc2, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update descriptions for parallelism and java options on libreoffice page.

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

  • Property mode set to 100644
File size: 30.4 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">
[979dd732]10 <!ENTITY libreoffice-core-md5sum "6145510261094a85a6cecaecefa10c94">
11 <!ENTITY libreoffice-core-size "166 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[979dd732]14 <!ENTITY libreoffice-dict-md5sum "05188274ca5b5aac92f0321e4cf153d7">
15 <!ENTITY libreoffice-dict-size "36 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[979dd732]18 <!ENTITY libreoffice-help-md5sum "0ff7ef91f9f84d5a9a21e3bee72bdae7">
[63e837a6]19 <!ENTITY libreoffice-help-size "1.8 MB">
[c20bced]20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[979dd732]22 <!ENTITY libreoffice-translations-md5sum "4075e99e6075fb7bd163a5f66e24c0f3">
[d8ddab5]23 <!ENTITY libreoffice-translations-size "126 MB">
[514797f]24
25
[63e837a6]26 <!ENTITY libreoffice-buildsize "9.1 GB (658 MB installed)">
[979dd732]27 <!ENTITY libreoffice-time "52 SBU with parallelism = 4 + download time">
[c20bced]28
[76df61c]29 <!-- This package has some peculiarities, some discussed in the text.
30 Two values for SBU and buildsize are given due to the large difference
31 measured by editors, depending on architecture and sometimes installed
32 dependencies (with-system... -->
33
[20f09631]34 <!-- [bdubbs] For version 4.3.2.2 Built on x86_64 using -\-with-parallelism=4 -->
35 <!-- [bdubbs] For version 4.4.2.1 Built on x86_64 using -\-with-parallelism=12 -->
[0e719c4]36 <!-- [bdubbs] For version 4.4.4.3 Built on x86_64 using -\-with-parallelism=12 -->
37 <!-- [fernando] For version 4.3.1.2 I've got, for i686, statistcs over the
[20f09631]38 upper bounds for x86_64 of previous versions, thus, temporarily, decided
[5a3365b]39 to use single statistcs, instead of a range.-->
[20f09631]40 <!-- [fernando] For version 4.4.4.3 Built on x86_64 using -\-with-parallelism=4 -->
41 <!-- [fernando] For version 5.0.0.5 Built on x86_64 using -\-with-parallelism=4 -->
[514797f]42 <!-- [fernando] For version 5.0.4.2 Built on x86_64 using -\-with-parallelism=4 -->
[0e719c4]43 <!-- [fernando] For version 5.1.0.3 Built on x86_64 using -\-with-parallelism=4 -->
[d2d3fc5]44]>
45
[cbdad90b]46<sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-dlversion;">
[d2d3fc5]47 <?dbhtml filename="libreoffice.html"?>
48
49 <sect1info>
50 <othername>$LastChangedBy$</othername>
51 <date>$Date$</date>
52 </sect1info>
53
[d2bea743]54 <title>LibreOffice-&libreoffice-version;</title>
[d2d3fc5]55
56 <indexterm zone="libreoffice">
[8c853a1]57 <primary sortas="a-LibreOffice">LibreOffice</primary>
[d2d3fc5]58 </indexterm>
59
60 <sect2 role="package">
[fa29663]61 <title>Introduction to LibreOffice</title>
[d2d3fc5]62
63 <para>
[fa29663]64 <application>LibreOffice</application> is a full-featured office suite.
65 It is largely compatible with <application>Microsoft Office</application>
[8c853a1]66 and is descended from <application>OpenOffice.org</application>.
[d2d3fc5]67 </para>
68
[6fe4f013]69 &lfs79_checked;
[d2d3fc5]70
71 <bridgehead renderas="sect3">Package Information</bridgehead>
72 <itemizedlist spacing="compact">
73 <listitem>
74 <para>
[9e1dd1b]75 Core Download: <ulink url="&libreoffice-core-download-http;"/>
[d2d3fc5]76 </para>
77 </listitem>
78 <listitem>
79 <para>
80 Core Download MD5 sum: &libreoffice-core-md5sum;
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Core Download size: &libreoffice-core-size;
86 </para>
87 </listitem>
[c20bced]88 <listitem>
89 <para>
[9e1dd1b]90 Estimated disk space required: &libreoffice-buildsize;
[c20bced]91 </para>
92 </listitem>
93 <listitem>
94 <para>
[9e1dd1b]95 Estimated build time: &libreoffice-time;
[c20bced]96 </para>
97 </listitem>
[9e1dd1b]98 </itemizedlist>
99
100 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
101 <itemizedlist spacing="compact">
[c20bced]102 <listitem>
103 <para>
[9e1dd1b]104 Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
[c20bced]105 </para>
106 </listitem>
[c4e1c2a0]107
[c20bced]108 <listitem>
109 <para>
[9e1dd1b]110 Dictionaries MD5 sum: &libreoffice-dict-md5sum;
[c20bced]111 </para>
112 </listitem>
[c4e1c2a0]113
[c20bced]114 <listitem>
115 <para>
[9e1dd1b]116 Dictionaries size: &libreoffice-dict-size;
[c20bced]117 </para>
118 </listitem>
[c4e1c2a0]119
[d2d3fc5]120 <listitem>
121 <para>
[9e1dd1b]122 Help Files: <ulink url="&libreoffice-help-download-http;"/>
[d2d3fc5]123 </para>
124 </listitem>
[c4e1c2a0]125
[d2d3fc5]126 <listitem>
127 <para>
[9e1dd1b]128 Help Files MD5 sum: &libreoffice-help-md5sum;
[d2d3fc5]129 </para>
130 </listitem>
[c4e1c2a0]131
[c20bced]132 <listitem>
133 <para>
[9e1dd1b]134 Help Files size: &libreoffice-help-size;
[c20bced]135 </para>
136 </listitem>
[c4e1c2a0]137
[c20bced]138 <listitem>
139 <para>
[9e1dd1b]140 Translations: <ulink url="&libreoffice-translations-download-http;"/>
[c20bced]141 </para>
142 </listitem>
[c4e1c2a0]143
[c20bced]144 <listitem>
145 <para>
[9e1dd1b]146 Translations MD5 sum: &libreoffice-translations-md5sum;
[c20bced]147 </para>
148 </listitem>
[c4e1c2a0]149
[c20bced]150 <listitem>
151 <para>
[9e1dd1b]152 Translations size: &libreoffice-translations-size;
[c20bced]153 </para>
154 </listitem>
[d8ddab5]155<!--
[199671b8]156 <listitem>
[efc0d11]157 <para>
[199671b8]158 Required patch to use <xref linkend="boost"/>:
[b12ae7c]159 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-boost_1_60_0-1.patch"/>
[efc0d11]160 </para>
[d8ddab5]161 </listitem>-->
[c20bced]162 </itemizedlist>
163
[fa29663]164 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
[d2d3fc5]165
166 <bridgehead renderas="sect4">Required</bridgehead>
167 <para role="required">
[d6d4ea1]168 <xref linkend="perl-archive-zip"/>,
[d97601a]169 <xref linkend="unzip"/>,
[c20bced]170 <xref linkend="wget"/>,
[d6d4ea1]171 <xref linkend="which"/>, and
[c20bced]172 <xref linkend="zip"/>
[d2d3fc5]173 </para>
174
175 <bridgehead renderas="sect4">Recommended</bridgehead>
176 <note>
177 <para>
[601a838]178 Most of these packages are recommended because if they're not installed,
[ceadeab]179 the build process will compile and install its own (often older)
[d8ddab5]180 version, with the side effect of increasing build and installed disk
181 space and build time.
[d2d3fc5]182 </para>
183 </note>
184
185 <para role="recommended">
[d8ddab5]186 <xref linkend="apr"/>,
[b12ae7c]187 <xref linkend="boost"/> <!--(currently, broken with boost-1.60.0)-->,
[7f5a5884]188 <xref linkend="clucene"/>,
[87dfe6b]189 <xref linkend="cups"/>,
[c20bced]190 <xref linkend="curl"/>,
[059ff67]191 <xref linkend="dbus-glib"/>,
[76df61c]192 <xref linkend="libjpeg"/>,
193 <xref linkend="glu"/>,
[2a75b9b]194 <xref linkend="graphite2"/>,
[c20bced]195 <xref linkend="gst10-plugins-base"/>,
[ae93d7e]196 <xref linkend="gtk3"/> and
197 <xref linkend="gtk2"/> (see <quote>Command Explanations</quote>),
[2a75b9b]198 <xref linkend="harfbuzz"/>,
[efc0d11]199 <xref linkend="icu"/>,
[d8ddab5]200 <xref linkend="libatomic_ops"/>,
[c20bced]201 <xref linkend="lcms2"/>,
[d2d3fc5]202 <xref linkend="librsvg"/>,
[c20bced]203 <xref linkend="libxml2"/> and
204 <xref linkend="libxslt"/>,
[7a395d1]205 <xref linkend="mesa"/>,
[d2d3fc5]206 <xref linkend="neon"/>,
[fd65789]207 <xref linkend="npapi-sdk"/>,
[d2d3fc5]208 <xref linkend="nss"/>,
[86d09e6]209 <xref linkend="openldap"/> (if connecting to an LDAP server),
[037fc0be]210 <xref linkend="openssl"/> or
211 <xref linkend="gnutls"/>,
[f76286d]212 <xref linkend="poppler"/>,
[d8ddab5]213 <xref linkend="postgresql"/>,
[89e6d61]214 <xref linkend="python3"/>,
[d8ddab5]215 <xref linkend="redland"/>,
216 <xref linkend="serf"/>, and
[c20bced]217 <xref linkend="unixodbc"/>
[d2d3fc5]218 </para>
219
220 <bridgehead renderas="sect4">Optional</bridgehead>
221 <para role="optional">
[037fc0be]222 <xref linkend="apache-ant"/>,
[4469169]223 <xref linkend="avahi"/>,
[c20bced]224 <xref linkend="bluez"/>,
[d8ddab5]225 <xref linkend="dconf"/>,
[a76bd33]226 <xref linkend="desktop-file-utils"/>,
[4469169]227 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
[f4bb9987]228 <xref linkend="gdb"/>,
[9e04432]229<!-- <xref linkend="kdelibs"/>, -->
[b33ea6fa]230 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
231 <xref linkend="mitkrb"/>,
[037fc0be]232 <xref linkend="nasm"/>,
[b33ea6fa]233 <xref linkend="openjdk"/>,
234 <xref linkend="sane"/>,
[037fc0be]235 <xref linkend="valgrind"/>,
[b33ea6fa]236 <xref linkend="vlc"/>,
[037fc0be]237 <ulink url="https://commons.apache.org/proper/commons-codec/">Apache Commons Codec</ulink>,
238 <ulink url="https://hc.apache.org/httpclient-3.x/">Apache Commons HttpClient</ulink>,
239 <ulink url="https://commons.apache.org/proper/commons-lang/">Apache Commons Lang</ulink>,
240 <ulink url="https://commons.apache.org/proper/commons-logging/">Apache Commons Logging</ulink>,
241 <ulink url="http://www.beanshell.org/">BeanShell</ulink>,
[64812ba3]242 <ulink url="https://projects.coin-or.org/CoinMP/">CoinMP</ulink>,
[b33ea6fa]243 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
[037fc0be]244 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
[64419b7]245 <ulink url="http://downloads.sourceforge.net/glew/">glew (OpenGL Extension Wrangler Library)</ulink>,
[d8ddab5]246 <ulink url="https://github.com/behdad/glyphy">glyphy</ulink>,
[037fc0be]247 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/">Gnome VFS</ulink>,
248
[0e719c4]249 <ulink url="https://github.com/hamcrest/JavaHamcrest/releases">hamcrest</ulink>,
250 <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
[b33ea6fa]251 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[0e719c4]252 <ulink url="http://include-what-you-use.org/">iwyu</ulink>,
[5892480]253 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libabw">libabw</ulink>,
254 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
[83bc811e]255 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
[b33ea6fa]256 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
[0191062b]257 <ulink url="http://www.freedesktop.org/wiki/Software/libexttextcat/">libexttextcat</ulink>,
[5892480]258 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>,
[0191062b]259 <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
[5892480]260 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub">libmspub</ulink>,
[b33ea6fa]261 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
[885af2e]262 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
[5892480]263 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker">libpagemaker</ulink>,
[64419b7]264 <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
[5892480]265 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
[b33ea6fa]266 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
267 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
268 <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
269 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
[0e719c4]270 <ulink url="https://gitlab.com/mdds/mdds">mdds</ulink>,
[d97601a]271 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
[64419b7]272 <ulink url="http://sourceforge.net/projects/ogl-math/">ogl-math - OpenGL Mathematics (GLM)</ulink>,
[64812ba3]273 <ulink url="https://github.com/KhronosGroup/OpenCOLLADA/">OpenCOLLADA</ulink>,
[037fc0be]274 <ulink url="https://gitlab.com/orcus/orcus">Orcus</ulink>,
275 <ulink url="http://telepathy.freedesktop.org/releases/telepathy-glib/">telepathy-glib</ulink>,
276 <ulink url="https://ukoethe.github.io/vigra/">VIGRA</ulink>, and
[665ac79f]277 <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
[d2d3fc5]278 </para>
279
[f4bb9987]280 <para>There are many optional dependencies not listed here. They can be
281 found in <quote>download.lst</quote> (source directory).
282 </para>
283
[d2d3fc5]284 <para condition="html" role="usernotes">
285 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
286 </para>
287 </sect2>
288
289 <sect2 role="installation">
[fa29663]290 <title>Installation of LibreOffice</title>
[5153eb9]291<!--
[d97601a]292 <warning>
293 <para>
[c20bced]294 Untaring the libreoffice-&libreoffice-dlversion; tarball as
[d97601a]295 <systemitem class="username">root</systemitem> has the curious effect of
296 changing the ownership of the <emphasis>parent</emphasis> directory
297 to a user with numerical id 11012 and with the permissions set to allow
298 read, write and execute for that user only! If you untared as
299 <systemitem class="username">root</systemitem> in your home folder you
[c20bced]300 could end up unable to log in again. If you untared it in
[d97601a]301 <filename class="directory">/usr</filename> you would find your user
302 account unable to access any file in
[ceadeab]303 <filename class="directory">/usr</filename>.
[d97601a]304 </para>
305
306 <para>
307 You can avoid this unpleasantness by
308 <emphasis>not</emphasis> untaring it as
309 <systemitem class="username">root</systemitem>. If you must untar it as
310 <systemitem class="username">root</systemitem> pass the option
[5153eb9]311 <option>-\-no-overwrite-dir</option> to tar. This is the default when you
[d97601a]312 untar as a user but has to be passed as an option when untaring as
313 <systemitem class="username">root</systemitem>:
314 </para>
[5153eb9]315 </warning>-->
[d97601a]316
[e43a76ca]317 <!-- I was able to build over ssh 2015-03-24 - bdubbs
[2dc8feb]318 <note>
319 <para>
[c06f346b]320 LibreOffice must be built in a graphical environment - the build will
321 fail otherwise.
[2dc8feb]322 </para>
[e43a76ca]323 </note>-->
[2dc8feb]324
[89e6d61]325 <important>
[7d38d9a]326 <para>
[d8ddab5]327 Unlike the other packages, we suppose that you have not yet unpacked the
328 package. This is so because the <option>--no-overwrite-dir</option>
329 switch is needed in case you unpack as the <systemitem
330 class="username">root</systemitem> user.
[7d38d9a]331 </para>
[89e6d61]332 </important>
[7d38d9a]333
334<screen><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
[c20bced]335cd libreoffice-&libreoffice-dlversion;</userinput></screen>
[d97601a]336
[d2d3fc5]337 <para>
[7f380f4]338 Create symlinks to tarballs from the source directory so they won't
339 get downloaded again:
[d2d3fc5]340 </para>
341
[420c072]342<screen><userinput>install -dm755 external/tarballs &amp;&amp;
[89e6d61]343ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
344ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]345
[ed2cf3c]346 <para>
347 If you have downloaded the translations tarball, create a symlink:
348 </para>
349
[89e6d61]350<screen><userinput>ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]351
[c20bced]352 <note>
353 <para>
354 During the build process, some packages will be downloaded (including
355 the ones listed as recommended and optional dependencies) if they are
[89e6d61]356 not present on the system. Because of this, build time may vary from the
357 published time more than usual.
[c20bced]358 </para>
359 </note>
[0d7900a]360
[0c77b5ab]361 <para>
362 Due to the large size of the package, you may prefer to install it in
[d83f555]363 <filename class="directory">/opt</filename>, instead of
[14ea7e8]364 <filename class="directory">/usr</filename>. Depending on your choice,
365 replace <replaceable>&lt;PREFIX&gt;</replaceable> by
366 <filename class="directory">/usr</filename> or by
[0c77b5ab]367 <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
368 </para>
369
370<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
[d8ddab5]371<!--
[199671b8]372 <para>
373 Fix build failures introduced by <application>boost-&boost-version;</application>:
[efc0d11]374 </para>
375
[d8ddab5]376<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-boost_1_60_0-1.patch</userinput></screen>-->
[199671b8]377
[7f380f4]378 <para>
[d2bea743]379 Locales "fr" and "en-GB", you will find below, are just examples; you
[7f380f4]380 should change them to suit your needs - you might want to read the
381 "Command Explanations", further below, before proceeding.
382 </para>
383
[0c77b5ab]384 <para>
385 Prepare <application>LibreOffice</application> for compilation by running
386 the following commands:
[d2d3fc5]387 </para>
388
[64812ba3]389<screen><userinput>sed -e "/gzip -f/d" \
[c20bced]390 -e "s|.1.gz|.1|g" \
[7f380f4]391 -i bin/distro-install-desktop-integration &amp;&amp;
[ed2cf3c]392
[5153eb9]393sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
[979dd732]394<!-- Seems to be fixed in 5.1.2.2
395sed -i "s#isnan#std::&amp;#g" xmloff/source/draw/ximp3dscene.cxx &amp;&amp; -->
[64812ba3]396
[7f380f4]397chmod -v +x bin/unpack-sources &amp;&amp;
[14ea7e8]398
[0c77b5ab]399./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]400 --sysconfdir=/etc \
[d8ddab5]401 --with-vendor=BLFS \
[201a54c]402 --with-lang='fr en-GB' \
[14ea7e8]403 --with-help \
[7f380f4]404 --with-myspell-dicts \
[14ea7e8]405 --with-alloc=system \
406 --without-java \
[7f380f4]407 --without-system-dicts \
[d8ddab5]408 --disable-dconf \
[14ea7e8]409 --disable-odk \
410 --enable-release-build=yes \
[5153eb9]411 --enable-python=system \
[d8ddab5]412 --with-system-apr \
413 --with-system-boost=yes \
[14ea7e8]414 --with-system-cairo \
[d8ddab5]415 --with-system-clucene \
[14ea7e8]416 --with-system-curl \
417 --with-system-expat \
[2a75b9b]418 --with-system-graphite \
[14ea7e8]419 --with-system-harfbuzz \
[3d3bcee]420 --with-system-icu \
[14ea7e8]421 --with-system-jpeg \
422 --with-system-lcms2 \
[d8ddab5]423 --with-system-libatomic_ops \
[14ea7e8]424 --with-system-libpng \
425 --with-system-libxml \
426 --with-system-neon \
[fd65789]427 --with-system-npapi-headers \
[14ea7e8]428 --with-system-nss \
429 --with-system-odbc \
430 --with-system-openldap \
431 --with-system-openssl \
432 --with-system-poppler \
[d8ddab5]433 --with-system-postgresql \
[14ea7e8]434 --with-system-redland \
[d8ddab5]435 --with-system-serf \
[ff13fdc2]436 --with-system-zlib</userinput></screen>
[ceadeab]437
[d2d3fc5]438 <para>
[c20bced]439 The instructions below will only build the package without running
440 any unit tests. If you prefer to run the unit tests, replace
[f2f63338]441 <command>make build</command> with <command>make</command>.
[d2d3fc5]442 </para>
443
444 <para>
[e43a76ca]445 Build the package <!--(remember that it must be done in a graphical
446 environment)-->:
[d2d3fc5]447 </para>
448
[c20bced]449<screen><userinput>make build</userinput></screen>
[d2d3fc5]450
451 <para>
[c20bced]452 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]453 </para>
454
[f0cd0274]455<screen role="root"><userinput>make distro-pack-install &amp;&amp;
456install -v -m755 -d $LO_PREFIX/share/appdata &amp;&amp;
[14ea7e8]457install -v -m644 sysui/desktop/appstream-appdata/*.xml \
[0c77b5ab]458 $LO_PREFIX/share/appdata</userinput></screen>
[c20bced]459
[d83f555]460 <para>
[cbdad90b]461 If installed in <filename
462 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[64812ba3]463 some additional steps are necessary. Issue the following commands, as
464 <systemitem class="username">root</systemitem> user:
[d83f555]465 </para>
466
[cbdad90b]467<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]468
[64812ba3]469 # This symlink is necessary for the desktop menu entries
[e43a76ca]470 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]471
[64812ba3]472 # Icons
[20f09631]473 mkdir -vp /usr/share/pixmaps
[63e837a6]474 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]475 ln -svf $i /usr/share/pixmaps
[defca61]476 done &amp;&amp;
[cbdad90b]477
[64812ba3]478 # Desktop menu entries
[e43a76ca]479 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
480 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
481 done &amp;&amp;
[64812ba3]482
483 # Man pages
484 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]485 ln -svf $i /usr/share/man/man1/
[5a3365b]486 done
487
[e43a76ca]488 unset i
[a76bd33]489fi</userinput></screen>
[64812ba3]490
[a76bd33]491 <para>
492 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
493 to update the MIME database, issue, as the <systemitem class="username">
494 root</systemitem> user:
495 </para>
496
497<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]498
[514797f]499 <para>
500 The suite and main modules can be started from the menu. From a terminal,
501 the suite can be started with <command>libreoffice</command> command and
502 the modules with <command>libreoffice
503 --<replaceable>&lt;module&gt;</replaceable></command> command,
504 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
505 base, calc, draw, impress, math or writer. Modules cannot be started using
506 their shell starting script names (see "Installed Programs", below), if
507 LO_PREFIX is other than <filename class='directory'>/user</filename>,
508 unless <filename class='directory'>$LO_PREFIX/bin</filename> directory is
509 appended to the PATH.
510 </para>
511
[c20bced]512 </sect2>
513
514 <sect2 role="commands">
515 <title>Command Explanations</title>
[4c796cf]516
[d2d3fc5]517 <para>
[89e6d61]518 <command>sed -e ...</command>: The first sed prevents compression of the
[979dd732]519 manual pages and the second one prevents install from failing.
520 <!-- and the third
521 one fixes a build failure caused by a
522 <application>glibc-2.23</application> change.-->
[ed2cf3c]523 </para>
524
525 <para>
[ffc716b]526 <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
[d2d3fc5]527 </para>
528
529 <para>
[ed2cf3c]530 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[5030bab]531 the vendor which is mentioned when you click "About" on the toolbar.
[d2d3fc5]532 </para>
[4c796cf]533
[ed2cf3c]534 <para>
[201a54c]535 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]536 what languages to support. To list several languages, separate them with
537 a space. For all languages, use
538 <parameter>--with-lang=ALL</parameter>.
[ed2cf3c]539 </para>
540
[7f380f4]541 <note>
542 <para>
[01c0bb8]543 For a list of the available languages, look in
544 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]545 </para>
546 </note>
[ffc716b]547
548 <para>
549 <parameter>--with-help</parameter>: Without this switch, the help files
550 are not built.
[d2d3fc5]551 </para>
552
[7f380f4]553 <para>
554 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
555 dictionaries to the <application>LibreOffice</application> installation
556 set.
557 </para>
558
[d2d3fc5]559 <para>
[c20bced]560 <parameter>--with-alloc=system</parameter>: This switch tells
561 <application>LibreOffice</application> to use system allocator
562 instead of the internal one.
[d2d3fc5]563 </para>
564
[d8ddab5]565 <para>
566 <parameter>--with-system-boost=<replaceable>&lt;yes/no&gt;</replaceable></parameter>:
567 This switch enables/disables use of system boost, so bundled one may be or
568 not used, because currently, depending on the user decision, or if the
569 build is broken with latest <application>Boost</application> in BLFS,
570 which frequently occurs and there is a delay until either a fix is found
571 or it is fixed upstream.
572 </para>
573
574 <para>
575 <parameter>--disable-dconf</parameter>: This switch disables compiling
576 <application>LibreOffice</application> with the
577 <application>GNOME DConf</application> configuration system support.
578 </para>
[28370fe]579
[7f380f4]580 <para>
581 <parameter>--without-system-dicts</parameter>: This switch disables use
582 of dictionaries from system paths, so the ones installed by this package
583 are used.
584 </para>
585
[d2d3fc5]586 <para>
[92b7b3a]587 <parameter>--without-java</parameter>: This switch disables
[c20bced]588 <application>Java</application> support in
[ff13fdc2]589 <application>LibreOffice</application>. Remove this option if
590 <application>Java</application> is installed and needed. Most users will
591 not need <application>Java</application> in this application.
[5b9edb4]592 </para>
593
[d2d3fc5]594 <para>
[92b7b3a]595 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]596 office development kit. Remove if you want to develop a
597 <application>LibreOffice</application> based application.
[d2d3fc5]598 </para>
599
[4469169]600 <para>
601 <parameter>--enable-release-build=yes</parameter>: This switch enables a
[7f380f4]602 Release Build. <application>LibreOffice</application> can be built as a
603 Release Build or as a Developer Build, because their default installation
604 paths and user profile paths are different. Developer Build displays the
605 words "Dev" and "Beta" in several places (e.g, menu and splash screen).
[4469169]606 </para>
[d2d3fc5]607
608 <para>
[c20bced]609 <parameter>--enable-python=system</parameter>: This switch tells
610 <application>LibreOffice</application> to use installed
[7f380f4]611 <application>Python 3</application> to build the translations instead of
612 the bundled one.
[d2d3fc5]613 </para>
614
615 <para>
[92b7b3a]616 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]617 <application>LibreOffice</application> from trying to compile its own
618 versions of these dependencies. If you've not installed some of the
619 dependencies, remove the corresponding switches.
[d2d3fc5]620 </para>
[8c853a1]621
[c20bced]622 <para>
[ff13fdc2]623 <parameter>--with-parallelism=&lt;count&gt;</parameter>: This switch
624 tells <application>LibreOffice</application> to use &lt;count&gt; CPU
625 cores to compile in parallel. (Do not include literal angle brackets.)
626 The default is $(getconf _NPROCESSORS_ONLN) which uses all availalble
627 cores on the system.
[c20bced]628 </para>
629
[87dfe6b]630 <para>
631 <option>--disable-cups</option>: Use this switch if you don't need
632 printing support.
633 </para>
634
[54666831]635 <para>
[7f380f4]636 <option>--disable-dbus</option>: Use this switch if you've not installed
637 D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
638 via PackageKit.
[54666831]639 </para>
640
[1cbfd1a]641 <para>
642 <option>--disable-firebird-sdbc</option>: By default, the ability to
643 connect to a <application>firebird</application> database is enabled.
644 This is regarded as 'experimental' and from time to time the unit test
645 CppunitTest_dbaccess_firebird_test fails near the end of the build. If
646 you need to connect to such a database, and the build fails for you,
647 you will need to build <xref linkend="gdb"/> to help upstream debug it.
648 </para>
649
[c20bced]650 <para>
[64812ba3]651 <option>--disable-gstreamer-1-0</option>: Use this switch if you have not
652 installed <xref linkend="gst10-plugins-base"/>.
[7f380f4]653 </para>
654
[ae93d7e]655 <para>
[5339d21]656 <option>--disable-gtk3</option>: Use this switch if you have not installed
657 <application>GTK+-3</application>, or if you have installed it but wish
658 to use <application>GTK+-2</application> (the menu icons differ).
659 Note that a <application>GTK+-3</application> build still
[ae93d7e]660 requires <application>GTK+-2</application> to build the gtk-plugin.
661 </para>
662
[d8ddab5]663 <para>
664 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
665 <application>LibreOffice</application> with the ability to connect to a
[63e837a6]666 <application>PostgreSQL</application> database. Use it if you have not
667 installed <application>PostgreSQL</application> and you do not want
668 <application>LibreOffice</application> to compile its bundled copy.
[d8ddab5]669 </para>
670
[d2d3fc5]671 <para>
[7f380f4]672 <option>--enable-kde4</option>: Use this switch if you want to build the
673 <application>KDE</application> integration module.
[d2d3fc5]674 </para>
675
676 </sect2>
677
678 <sect2 role="content">
679 <title>Contents</title>
680
681 <segmentedlist>
682 <segtitle>Installed Programs</segtitle>
[c3c56b2]683 <segtitle>Installed Libraries</segtitle>
[8c853a1]684 <segtitle>Installed Directory</segtitle>
[d2d3fc5]685
686 <seglistitem>
[4c796cf]687 <seg>
[c20bced]688 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]689 loimpress, lomath, loweb, lowriter, soffice and unopkg;
690 several programs under
[0c77b5ab]691 $LO_PREFIX/lib/libreoffice/program
[8c853a1]692 </seg>
[c3c56b2]693 <seg>
[4469169]694 several libraries under
[ff7ea587]695 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]696 </seg>
[d2d3fc5]697 <seg>
[0c77b5ab]698 $LO_PREFIX/lib/libreoffice
[d2d3fc5]699 </seg>
700 </seglistitem>
701 </segmentedlist>
702
703 <variablelist>
704 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
705 <?dbfo list-presentation="list"?>
706 <?dbhtml list-presentation="table"?>
707
[514797f]708 <varlistentry id="libreoffice-suite">
709 <term><command>libreoffice (or soffice)</command></term>
710 <listitem>
711 <para>
712 is the main libreofice suite (symlink to
713 $LO_PREFIX/lib/libreoffice/program/soffice).
714 </para>
715 <indexterm zone="libreoffice libreoffice-suite">
716 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
717 </indexterm>
718 </listitem>
719 </varlistentry>
720
[c20bced]721 <varlistentry id="lobase">
722 <term><command>lobase</command></term>
[d2d3fc5]723 <listitem>
724 <para>
[514797f]725 is the database manager module shell starting script.
[d2d3fc5]726 </para>
[c20bced]727 <indexterm zone="libreoffice lobase">
728 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]729 </indexterm>
730 </listitem>
731 </varlistentry>
732
[c20bced]733 <varlistentry id="localc">
734 <term><command>localc</command></term>
[d2d3fc5]735 <listitem>
736 <para>
[514797f]737 is the spreadsheet module shell starting script.
[d2d3fc5]738 </para>
[c20bced]739 <indexterm zone="libreoffice localc">
740 <primary sortas="b-localc">localc</primary>
[d2d3fc5]741 </indexterm>
742 </listitem>
743 </varlistentry>
744
[c20bced]745 <varlistentry id="lodraw">
746 <term><command>lodraw</command></term>
[d2d3fc5]747 <listitem>
748 <para>
[514797f]749 is the vector graphics editor and diagramming tool module shell
750 starting script.
[d2d3fc5]751 </para>
[c20bced]752 <indexterm zone="libreoffice lodraw">
753 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]754 </indexterm>
755 </listitem>
756 </varlistentry>
757
[c20bced]758 <varlistentry id="loimpress">
759 <term><command>loimpress</command></term>
[d2d3fc5]760 <listitem>
761 <para>
[514797f]762 is the (PowerPoint) presentations editor and displayer
763 module shell starting script.
[d2d3fc5]764 </para>
[c20bced]765 <indexterm zone="libreoffice loimpress">
766 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]767 </indexterm>
768 </listitem>
769 </varlistentry>
770
[c20bced]771 <varlistentry id="lomath">
772 <term><command>lomath</command></term>
[d2d3fc5]773 <listitem>
774 <para>
[514797f]775 is the mathematical formula editor module shell starting script.
[d2d3fc5]776 </para>
[c20bced]777 <indexterm zone="libreoffice lomath">
778 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]779 </indexterm>
780 </listitem>
781 </varlistentry>
782
[c20bced]783 <varlistentry id="lowriter">
784 <term><command>lowriter</command></term>
[2511f83]785 <listitem>
786 <para>
[514797f]787 is the word processor module shell starting script.
[2511f83]788 </para>
[c20bced]789 <indexterm zone="libreoffice lowriter">
790 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]791 </indexterm>
792 </listitem>
793 </varlistentry>
794
[8d5cd1bb]795 <varlistentry id="unopkg">
796 <term><command>unopkg</command></term>
797 <listitem>
798 <para>
[fa29663]799 is a tool to manage <application>LibreOffice</application>
[63e837a6]800 extensions from the command line.
[8d5cd1bb]801 </para>
802 <indexterm zone="libreoffice unopkg">
803 <primary sortas="b-unopkg">unopkg</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
[d2d3fc5]808 </variablelist>
[8c853a1]809
[d2d3fc5]810 </sect2>
[8c853a1]811
[d2d3fc5]812</sect1>
Note: See TracBrowser for help on using the repository browser.