source: xsoft/office/libreoffice.xml@ 5846466c

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 5846466c was fe11a50, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Fix an md5sum

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

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