source: xsoft/office/libreoffice.xml@ 41d241e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 41d241e was ce386957, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to libreoffice-5.0.2.2.
Update to glib-2.46.1.
Update to xinput-1.6.2.
Update to nfs-utils-1.3.3.

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

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