source: xsoft/office/libreoffice.xml@ f4362f22

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 f4362f22 was f4362f22, checked in by Ken Moffat <ken@…>, 6 years ago

Libreoffice - fix build breakage with recent LFS, apparently caused by python-3.7.
Python2 - remove the sed for _ssl which no-longer works, and require libssh2 in rustc.

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

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