source: xsoft/office/libreoffice.xml@ 568e425

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 568e425 was cf8a0a1a, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to poppler-0.76.0.
Update to MPlayer-1.4.
Update to libreoffice-6.2.3.2.

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

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