source: xsoft/office/libreoffice.xml@ 5e94b6c3

systemd-13485
Last change on this file since 5e94b6c3 was 5e94b6c3, checked in by DJ Lucas <dj@…>, 8 years ago

X Software section: Merge changes from trunk.

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

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