source: xsoft/office/libreoffice.xml@ b06fb60c

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 b06fb60c was b06fb60c, checked in by Ken Moffat <ken@…>, 5 years ago

LibreOffice - tweak some explanations of options.

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

  • Property mode set to 100644
File size: 31.7 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">
[6bbca81]10 <!ENTITY libreoffice-core-md5sum "d24bd7e5116743196c67e7df4b18458f">
11 <!ENTITY libreoffice-core-size "215 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[6bbca81]14 <!ENTITY libreoffice-dict-md5sum "81df66dd522a2c56a4f11b24247fb114">
15 <!ENTITY libreoffice-dict-size "44 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[6bbca81]18 <!ENTITY libreoffice-help-md5sum "483f654eaa94f17c462494029d42334a">
[cf8a0a1a]19 <!ENTITY libreoffice-help-size "13 MB">
[c20bced]20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[6bbca81]22 <!ENTITY libreoffice-translations-md5sum "21459291d488ecd7e4e8fb0fdcc55aca">
23 <!ENTITY libreoffice-translations-size "140 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
[6bbca81]28 <!ENTITY libreoffice-buildsize "8.7 GB (821 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 -->
[6bbca81]34 <!ENTITY libreoffice-time "60 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"/>,
[3b9bfde]193 <xref linkend="gpgme"/>,
[2a75b9b]194 <xref linkend="graphite2"/>,
[c20bced]195 <xref linkend="gst10-plugins-base"/>,
[ae93d7e]196 <xref linkend="gtk3"/> and
197 <xref linkend="gtk2"/> (see <quote>Command Explanations</quote>),
[2a75b9b]198 <xref linkend="harfbuzz"/>,
[efc0d11]199 <xref linkend="icu"/>,
[d8ddab5]200 <xref linkend="libatomic_ops"/>,
[c20bced]201 <xref linkend="lcms2"/>,
[d2d3fc5]202 <xref linkend="librsvg"/>,
[c20bced]203 <xref linkend="libxml2"/> and
204 <xref linkend="libxslt"/>,
[7a395d1]205 <xref linkend="mesa"/>,
[d2d3fc5]206 <xref linkend="neon"/>,
207 <xref linkend="nss"/>,
[86d09e6]208 <xref linkend="openldap"/> (if connecting to an LDAP server),
[be307b9]209 <xref linkend="poppler"/>,
[d8ddab5]210 <xref linkend="postgresql"/>,
211 <xref linkend="redland"/>,
212 <xref linkend="serf"/>, and
[c20bced]213 <xref linkend="unixodbc"/>
[d2d3fc5]214 </para>
215
216 <bridgehead renderas="sect4">Optional</bridgehead>
217 <para role="optional">
[4469169]218 <xref linkend="avahi"/>,
[c20bced]219 <xref linkend="bluez"/>,
[d8ddab5]220 <xref linkend="dconf"/>,
[a76bd33]221 <xref linkend="desktop-file-utils"/>,
[4469169]222 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
[1d23596]223 <xref linkend="evolution-data-server"/>,
[f4bb9987]224 <xref linkend="gdb"/>,
[94b42903]225 <xref linkend="gnutls"/>,
[c084a2a]226<!-- not anymore in the book, but included in apache-ant
227 <xref linkend="junit"/>, -->
[0293de0]228 <xref linkend="kf5-frameworks"/>,
[dba494f]229 <xref linkend="libpaper"/>,
[b33ea6fa]230 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
231 <xref linkend="mitkrb"/>,
[037fc0be]232 <xref linkend="nasm"/>,
[b33ea6fa]233 <xref linkend="sane"/>,
[1d23596]234 <xref linkend="telepathy-glib"/>,
[037fc0be]235 <xref linkend="valgrind"/>,
[b33ea6fa]236 <xref linkend="vlc"/>,
[1d23596]237 <xref linkend="zenity"/>,
[037fc0be]238 <ulink url="https://commons.apache.org/proper/commons-codec/">Apache Commons Codec</ulink>,
239 <ulink url="https://hc.apache.org/httpclient-3.x/">Apache Commons HttpClient</ulink>,
240 <ulink url="https://commons.apache.org/proper/commons-lang/">Apache Commons Lang</ulink>,
241 <ulink url="https://commons.apache.org/proper/commons-logging/">Apache Commons Logging</ulink>,
242 <ulink url="http://www.beanshell.org/">BeanShell</ulink>,
[64812ba3]243 <ulink url="https://projects.coin-or.org/CoinMP/">CoinMP</ulink>,
[b33ea6fa]244 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
[037fc0be]245 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
[d8ddab5]246 <ulink url="https://github.com/behdad/glyphy">glyphy</ulink>,
[037fc0be]247 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/">Gnome VFS</ulink>,
248
[0e719c4]249 <ulink url="https://github.com/hamcrest/JavaHamcrest/releases">hamcrest</ulink>,
250 <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
[b33ea6fa]251 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[0e719c4]252 <ulink url="http://include-what-you-use.org/">iwyu</ulink>,
[5892480]253 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libabw">libabw</ulink>,
254 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
[83bc811e]255 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
[b33ea6fa]256 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
[7313b4b]257 <ulink url="https://wiki.documentfoundation.org/Libexttextcat">libexttextcat</ulink>,
[5892480]258 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>,
[0191062b]259 <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
[5892480]260 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub">libmspub</ulink>,
[b33ea6fa]261 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
[885af2e]262 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
[5892480]263 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker">libpagemaker</ulink>,
[64419b7]264 <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
[5892480]265 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
[b33ea6fa]266 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
267 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
268 <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
269 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
[0e719c4]270 <ulink url="https://gitlab.com/mdds/mdds">mdds</ulink>,
[d97601a]271 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
[64812ba3]272 <ulink url="https://github.com/KhronosGroup/OpenCOLLADA/">OpenCOLLADA</ulink>,
[1d23596]273 <ulink url="https://gitlab.com/orcus/orcus">Orcus</ulink>, and
274 <ulink url="https://ukoethe.github.io/vigra/">VIGRA</ulink>
[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
[fbbc908]298<screen role="nodump"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
[c20bced]299cd libreoffice-&libreoffice-dlversion;</userinput></screen>
[d97601a]300
[0293de0]301<!-- keep a commented instruction if no patches are currently required
302 <para> <!- - for all recent versions - ->
[5cc300f]303 Fix build failures introduced by recent versions of <xref linkend="poppler"/>
304 and <xref linkend="boost"/>:
305 </para>
306
307<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-consolidated_fixes-1.patch</userinput></screen>
[0293de0]308-->
[c599277]309
[d2d3fc5]310 <para>
[7f380f4]311 Create symlinks to tarballs from the source directory so they won't
312 get downloaded again:
[d2d3fc5]313 </para>
314
[420c072]315<screen><userinput>install -dm755 external/tarballs &amp;&amp;
[89e6d61]316ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
317ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]318
[ed2cf3c]319 <para>
320 If you have downloaded the translations tarball, create a symlink:
321 </para>
322
[89e6d61]323<screen><userinput>ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]324
[c20bced]325 <note>
326 <para>
327 During the build process, some packages will be downloaded (including
328 the ones listed as recommended and optional dependencies) if they are
[89e6d61]329 not present on the system. Because of this, build time may vary from the
330 published time more than usual.
[c20bced]331 </para>
332 </note>
[0d7900a]333
[0c77b5ab]334 <para>
335 Due to the large size of the package, you may prefer to install it in
[d83f555]336 <filename class="directory">/opt</filename>, instead of
[14ea7e8]337 <filename class="directory">/usr</filename>. Depending on your choice,
338 replace <replaceable>&lt;PREFIX&gt;</replaceable> by
339 <filename class="directory">/usr</filename> or by
[0c77b5ab]340 <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
341 </para>
342
343<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
[10cbf37]344
[7f380f4]345 <para>
[d2bea743]346 Locales "fr" and "en-GB", you will find below, are just examples; you
[7f380f4]347 should change them to suit your needs - you might want to read the
348 "Command Explanations", further below, before proceeding.
349 </para>
350
[0c77b5ab]351 <para>
352 Prepare <application>LibreOffice</application> for compilation by running
353 the following commands:
[d2d3fc5]354 </para>
355
[64812ba3]356<screen><userinput>sed -e "/gzip -f/d" \
[c20bced]357 -e "s|.1.gz|.1|g" \
[7f380f4]358 -i bin/distro-install-desktop-integration &amp;&amp;
[ed2cf3c]359
[5153eb9]360sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
[14ea7e8]361
[0293de0]362<!-- Removed in 6.2 - -with-alloc=system \-->
[6bbca81]363<!-- In 6.3 -disable-gtk -enable-gtk3 added (sic, I accidentally built like
364 that) which allows removal of - -with-system-cairo but did NOT cause
365 system epoxy to be automatically used, as configure claimed -->
[0c77b5ab]366./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]367 --sysconfdir=/etc \
[d8ddab5]368 --with-vendor=BLFS \
[201a54c]369 --with-lang='fr en-GB' \
[14ea7e8]370 --with-help \
[7f380f4]371 --with-myspell-dicts \
[cc9c627]372 --without-junit \
[7f380f4]373 --without-system-dicts \
[d8ddab5]374 --disable-dconf \
[6bbca81]375 -disable-gtk -enable-gtk3 \
[14ea7e8]376 --disable-odk \
377 --enable-release-build=yes \
[5153eb9]378 --enable-python=system \
[6bbca81]379 --with-jdk-home=/opt/jdk \
[d8ddab5]380 --with-system-apr \
[541e056]381 --with-system-boost \
[d8ddab5]382 --with-system-clucene \
[14ea7e8]383 --with-system-curl \
[6bbca81]384 --with-system-epoxy \
[14ea7e8]385 --with-system-expat \
[4132210]386 --with-system-glm \
[3b9bfde]387 --with-system-gpgmepp \
[2a75b9b]388 --with-system-graphite \
[14ea7e8]389 --with-system-harfbuzz \
[3d3bcee]390 --with-system-icu \
[14ea7e8]391 --with-system-jpeg \
392 --with-system-lcms2 \
[d8ddab5]393 --with-system-libatomic_ops \
[14ea7e8]394 --with-system-libpng \
395 --with-system-libxml \
396 --with-system-neon \
397 --with-system-nss \
398 --with-system-odbc \
399 --with-system-openldap \
[541e056]400 --with-system-openssl \
[be307b9]401 --with-system-poppler \
[d8ddab5]402 --with-system-postgresql \
[14ea7e8]403 --with-system-redland \
[d8ddab5]404 --with-system-serf \
[ff13fdc2]405 --with-system-zlib</userinput></screen>
[ceadeab]406
[d2d3fc5]407 <para>
[c20bced]408 The instructions below will only build the package without running
409 any unit tests. If you prefer to run the unit tests, replace
[34fbc15b]410 <command>make build-nocheck</command> with <command>make build</command>
411 or (as a regular user only) just <command>make</command>, but do not be
412 surprised if a unit test fails right at the end of the build and
413 breaks it.
[d2d3fc5]414 </para>
415
416 <para>
[33569f0f]417 Build the package:
[d2d3fc5]418 </para>
419
[0293de0]420<screen><userinput>make build-nocheck</userinput></screen>
421<!--<screen><userinput>CPPFLAGS='-DU_USING_ICU_NAMESPACE=1' make build-nocheck</userinput></screen>-->
[d2d3fc5]422
423 <para>
[c20bced]424 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]425 </para>
426
[34fbc15b]427<screen role="root"><userinput>make distro-pack-install</userinput></screen>
[c20bced]428
[d83f555]429 <para>
[cbdad90b]430 If installed in <filename
431 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[64812ba3]432 some additional steps are necessary. Issue the following commands, as
433 <systemitem class="username">root</systemitem> user:
[d83f555]434 </para>
435
[cbdad90b]436<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]437
[64812ba3]438 # This symlink is necessary for the desktop menu entries
[e43a76ca]439 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]440
[29dd48c]441 # Set up a generic location independent of version number
[a296899]442 ln -sfv libreoffice-&libreoffice-dlversion; /opt/libreoffice
[29dd48c]443
[64812ba3]444 # Icons
[20f09631]445 mkdir -vp /usr/share/pixmaps
[63e837a6]446 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]447 ln -svf $i /usr/share/pixmaps
[defca61]448 done &amp;&amp;
[cbdad90b]449
[64812ba3]450 # Desktop menu entries
[e43a76ca]451 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
452 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
453 done &amp;&amp;
[64812ba3]454
455 # Man pages
456 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]457 ln -svf $i /usr/share/man/man1/
[5a3365b]458 done
459
[e43a76ca]460 unset i
[a76bd33]461fi</userinput></screen>
[64812ba3]462
[a76bd33]463 <para>
464 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
465 to update the MIME database, issue, as the <systemitem class="username">
466 root</systemitem> user:
467 </para>
468
469<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]470
[514797f]471 <para>
472 The suite and main modules can be started from the menu. From a terminal,
473 the suite can be started with <command>libreoffice</command> command and
474 the modules with <command>libreoffice
475 --<replaceable>&lt;module&gt;</replaceable></command> command,
476 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
477 base, calc, draw, impress, math or writer. Modules cannot be started using
478 their shell starting script names (see "Installed Programs", below), if
[7313b4b]479 LO_PREFIX is other than <filename class='directory'>/usr</filename>,
[514797f]480 unless <filename class='directory'>$LO_PREFIX/bin</filename> directory is
481 appended to the PATH.
482 </para>
483
[c20bced]484 </sect2>
485
486 <sect2 role="commands">
487 <title>Command Explanations</title>
[4c796cf]488
[d2d3fc5]489 <para>
[89e6d61]490 <command>sed -e ...</command>: The first sed prevents compression of the
[7313b4b]491 manual pages and the second one prevents the install from failing.
[ed2cf3c]492 </para>
493
[d2d3fc5]494 <para>
[ed2cf3c]495 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[be307b9]496 the vendor which is mentioned when you click "About" from the Help menu
497 on the toolbar.
[d2d3fc5]498 </para>
[4c796cf]499
[ed2cf3c]500 <para>
[201a54c]501 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]502 what languages to support. To list several languages, separate them with
503 a space. For all languages, use
504 <parameter>--with-lang=ALL</parameter>.
[ed2cf3c]505 </para>
506
[7f380f4]507 <note>
508 <para>
[01c0bb8]509 For a list of the available languages, look in
510 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]511 </para>
512 </note>
[ffc716b]513
514 <para>
515 <parameter>--with-help</parameter>: Without this switch, the help files
516 are not built.
[d2d3fc5]517 </para>
518
[6bbca81]519 <para>
520 <parameter>--with-jdk-home=/opt/jdk</parameter>: This parameter will silence
521 a warning that the configure script attempted to find JAVA_HOME
522 automatically (even though that is passed in the environment). Omit this if
523 you disabled java.
524 </para>
525
[7f380f4]526 <para>
527 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
528 dictionaries to the <application>LibreOffice</application> installation
529 set.
530 </para>
[dba494f]531 <!-- Unrecognized as of 6.2.0.3
[d2d3fc5]532 <para>
[dba494f]533 <parameter>- -with-alloc=system</parameter>: This switch tells
[7313b4b]534 <application>LibreOffice</application> to use the system allocator
535 instead of its internal one.
[d2d3fc5]536 </para>
[dba494f]537 -->
[d8ddab5]538 <para>
[cc9c627]539 <parameter>--with-system-boost</parameter>: This switch enables using
540 system boost. From time to time, recent versions of boost break
541 the build of libreoffice. In this case, it is possible to use the
542 bundled copy of boost, by removing this flag.
[d8ddab5]543 </para>
544
545 <para>
546 <parameter>--disable-dconf</parameter>: This switch disables compiling
547 <application>LibreOffice</application> with the
548 <application>GNOME DConf</application> configuration system support.
549 </para>
[28370fe]550
[6bbca81]551 <para>
552 <parameter>-disable-gtk -enable-gtk3</parameter>: This pair of switches
[b06fb60c]553 tell the configure script to use <application>GTK+-3</application> instead
554 of <application>GTK+-2</application>.
[6bbca81]555 </para>
556
[7f380f4]557 <para>
[b4bff899]558 <parameter>--without-junit</parameter>: This switch disables the tests
[f0506d09]559 for the deprecated HSQLDB driver which is written in Java. If you wish
[b4bff899]560 to build this driver replace this switch with the set of switches
[b06fb60c]561 described below after '--without-java'.
[7f380f4]562 </para>
563
[d2d3fc5]564 <para>
[cc9c627]565 <parameter>--without-system-dicts</parameter>: This switch disables use
566 of dictionaries from system paths, so the ones installed by this package
567 are used.
[5b9edb4]568 </para>
569
[d2d3fc5]570 <para>
[92b7b3a]571 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]572 office development kit. Remove if you want to develop a
573 <application>LibreOffice</application> based application.
[d2d3fc5]574 </para>
575
[4469169]576 <para>
577 <parameter>--enable-release-build=yes</parameter>: This switch enables a
[7f380f4]578 Release Build. <application>LibreOffice</application> can be built as a
579 Release Build or as a Developer Build, because their default installation
580 paths and user profile paths are different. Developer Build displays the
581 words "Dev" and "Beta" in several places (e.g, menu and splash screen).
[4469169]582 </para>
[d2d3fc5]583
584 <para>
[c20bced]585 <parameter>--enable-python=system</parameter>: This switch tells
586 <application>LibreOffice</application> to use installed
[7f380f4]587 <application>Python 3</application> to build the translations instead of
588 the bundled one.
[d2d3fc5]589 </para>
590
591 <para>
[92b7b3a]592 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]593 <application>LibreOffice</application> from trying to compile its own
594 versions of these dependencies. If you've not installed some of the
595 dependencies, remove the corresponding switches.
[d2d3fc5]596 </para>
[8c853a1]597
[0293de0]598<!--
[488b738f]599 <para>
[c1b5118]600 <command>CPPFLAGS='-DU_USING_ICU_NAMESPACE=1' make ...</command>: <xref
[488b738f]601 linkend="icu"/> has removed an implicit namespace <quote>using</quote>
[c1b5118]602 from its headers files. Setting <envar>U_USING_ICU_NAMESPACE</envar> to
[488b738f]603 1 allows to restore the former behavior, which is required for building
604 <application>libreoffice</application>.
605 </para>
[0293de0]606-->
607 <para>
608 <command>make distro-pack-install</command>: this does a normal
609 install, but if you add a DESTDIR environment variable it will also
610 install a lot of (text) gid_Module_* files in the DESTDIR, to help
611 distributions which want to break the package into parts.
612 </para>
[488b738f]613
[c20bced]614 <para>
[cc9c627]615 <option>--with-parallelism=&lt;count&gt;</option>: This switch
[ff13fdc2]616 tells <application>LibreOffice</application> to use &lt;count&gt; CPU
617 cores to compile in parallel. (Do not include literal angle brackets.)
[cc9c627]618 The default is to use all available cores on the system.
[c20bced]619 </para>
620
[87dfe6b]621 <para>
622 <option>--disable-cups</option>: Use this switch if you don't need
623 printing support.
624 </para>
625
[54666831]626 <para>
[7f380f4]627 <option>--disable-dbus</option>: Use this switch if you've not installed
628 D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
629 via PackageKit.
[54666831]630 </para>
631
[1cbfd1a]632 <para>
[011ed8fa]633 <option>--disable-firebird-sdbc</option>: By default, the ability to
[1cbfd1a]634 connect to a <application>firebird</application> database is enabled.
[011ed8fa]635 Add this switch if you do not need that feature.
636 </para>
[1cbfd1a]637
[c20bced]638 <para>
[64812ba3]639 <option>--disable-gstreamer-1-0</option>: Use this switch if you have not
640 installed <xref linkend="gst10-plugins-base"/>.
[7f380f4]641 </para>
642
[ae93d7e]643 <para>
[5339d21]644 <option>--disable-gtk3</option>: Use this switch if you have not installed
645 <application>GTK+-3</application>, or if you have installed it but wish
646 to use <application>GTK+-2</application> (the menu icons differ).
[b06fb60c]647 <!-- Note that a <application>GTK+-3</application> build still
648 requires <application>GTK+-2</application> to build the gtk-plugin.-->
[ae93d7e]649 </para>
650
[d8ddab5]651 <para>
652 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
653 <application>LibreOffice</application> with the ability to connect to a
[63e837a6]654 <application>PostgreSQL</application> database. Use it if you have not
655 installed <application>PostgreSQL</application> and you do not want
656 <application>LibreOffice</application> to compile its bundled copy.
[d8ddab5]657 </para>
658
[7c57f82]659 <para>
660 <option>--enable-lto</option>: This switch will enable Link Time
661 Optimization, which results in slightly smaller libraries (about 40 MB).
662 This is said to make <application>LibreOffice</application> programs
663 load faster (and possibly run faster, e.g. when recalculating a
664 spreadsheet). On an 8-core machine with 16GB of memory, the difference
665 in compile times was minimal, but an extra 2GB was used for the work
666 files. On machines with fewer processors or a lack of memory, the compile
667 might be much slower.
668 </para>
669
[cc9c627]670 <para>
[0293de0]671 <option>--without-java</option>: This switch disables
[cc9c627]672 <application>Java</application> support in
[b4bff899]673 <application>LibreOffice</application>. Java is needed for the
674 deprecated HSQLDB driver, which allows reading databases created by
675 other programs or in earlier versions of libreoffice
[0293de0]676 <application>base</application>.
677 </para>
678
679 <para>
680 <option>--with-junit=/opt/ant/lib/junit-4.12.jar</option> and
681 <option>--with-hamcrest=/opt/ant/lib/hamcrest-core-1.3.jar</option>:
682 Those options are needed if you want to run the tests.
[cc9c627]683 </para>
684
[f0506d09]685 <para>
686 <option>--without-fonts</option>: <application>LibreOffice</application>
687 includes a number of third-party TrueType fonts. If you have already
688 installed some or all of the same fonts, you may prefer to use the system
689 versions.
690 </para>
691
[be307b9]692 <para>
[dba494f]693 <!-- Brings in - -enable-qt5 as well. -->
694 <option>--enable-kde5</option>: Builds with KDE/Plasma integration. If
[0293de0]695 <xref linkend="qt5"/> and/or <xref linkend="kf5-frameworks"/> are not
696 installed in <filename class="directory">/usr</filename>, the include
697 and library directories must be specified in <envar>QT5INC</envar>,
698 <envar>QT5LIB</envar>, <envar>KF5INC</envar>, and <envar>KF5LIB</envar>,
699 respectively.
[be307b9]700 </para>
[dba494f]701
702 <para revision="systemd">
703 <option>--enable-evolution2</option>: Enables support for Evolution
704 address books through Evolution Data Server. Note that Evolution Data
705 Server must be installed for this feature to function.
706 </para>
[be307b9]707
[d2d3fc5]708 </sect2>
709
710 <sect2 role="content">
711 <title>Contents</title>
712
713 <segmentedlist>
714 <segtitle>Installed Programs</segtitle>
[c3c56b2]715 <segtitle>Installed Libraries</segtitle>
[8c853a1]716 <segtitle>Installed Directory</segtitle>
[d2d3fc5]717
718 <seglistitem>
[4c796cf]719 <seg>
[c20bced]720 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]721 loimpress, lomath, loweb, lowriter, soffice and unopkg;
722 several programs under
[0c77b5ab]723 $LO_PREFIX/lib/libreoffice/program
[8c853a1]724 </seg>
[c3c56b2]725 <seg>
[4469169]726 several libraries under
[ff7ea587]727 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]728 </seg>
[d2d3fc5]729 <seg>
[0c77b5ab]730 $LO_PREFIX/lib/libreoffice
[d2d3fc5]731 </seg>
732 </seglistitem>
733 </segmentedlist>
734
735 <variablelist>
736 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
737 <?dbfo list-presentation="list"?>
738 <?dbhtml list-presentation="table"?>
739
[514797f]740 <varlistentry id="libreoffice-suite">
741 <term><command>libreoffice (or soffice)</command></term>
742 <listitem>
743 <para>
744 is the main libreofice suite (symlink to
745 $LO_PREFIX/lib/libreoffice/program/soffice).
746 </para>
747 <indexterm zone="libreoffice libreoffice-suite">
748 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
749 </indexterm>
750 </listitem>
751 </varlistentry>
752
[c20bced]753 <varlistentry id="lobase">
754 <term><command>lobase</command></term>
[d2d3fc5]755 <listitem>
756 <para>
[514797f]757 is the database manager module shell starting script.
[d2d3fc5]758 </para>
[c20bced]759 <indexterm zone="libreoffice lobase">
760 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]761 </indexterm>
762 </listitem>
763 </varlistentry>
764
[c20bced]765 <varlistentry id="localc">
766 <term><command>localc</command></term>
[d2d3fc5]767 <listitem>
768 <para>
[514797f]769 is the spreadsheet module shell starting script.
[d2d3fc5]770 </para>
[c20bced]771 <indexterm zone="libreoffice localc">
772 <primary sortas="b-localc">localc</primary>
[d2d3fc5]773 </indexterm>
774 </listitem>
775 </varlistentry>
776
[c20bced]777 <varlistentry id="lodraw">
778 <term><command>lodraw</command></term>
[d2d3fc5]779 <listitem>
780 <para>
[514797f]781 is the vector graphics editor and diagramming tool module shell
782 starting script.
[d2d3fc5]783 </para>
[c20bced]784 <indexterm zone="libreoffice lodraw">
785 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]786 </indexterm>
787 </listitem>
788 </varlistentry>
789
[c20bced]790 <varlistentry id="loimpress">
791 <term><command>loimpress</command></term>
[d2d3fc5]792 <listitem>
793 <para>
[514797f]794 is the (PowerPoint) presentations editor and displayer
795 module shell starting script.
[d2d3fc5]796 </para>
[c20bced]797 <indexterm zone="libreoffice loimpress">
798 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]799 </indexterm>
800 </listitem>
801 </varlistentry>
802
[c20bced]803 <varlistentry id="lomath">
804 <term><command>lomath</command></term>
[d2d3fc5]805 <listitem>
806 <para>
[514797f]807 is the mathematical formula editor module shell starting script.
[d2d3fc5]808 </para>
[c20bced]809 <indexterm zone="libreoffice lomath">
810 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]811 </indexterm>
812 </listitem>
813 </varlistentry>
814
[006bd37]815 <varlistentry id="loweb">
816 <term><command>loweb</command></term>
817 <listitem>
818 <para>
819 is the HTML editor module shell starting script.
820 </para>
821 <indexterm zone="libreoffice loweb">
822 <primary sortas="b-loweb">loweb</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826
[c20bced]827 <varlistentry id="lowriter">
828 <term><command>lowriter</command></term>
[2511f83]829 <listitem>
830 <para>
[514797f]831 is the word processor module shell starting script.
[2511f83]832 </para>
[c20bced]833 <indexterm zone="libreoffice lowriter">
834 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]835 </indexterm>
836 </listitem>
837 </varlistentry>
838
[8d5cd1bb]839 <varlistentry id="unopkg">
840 <term><command>unopkg</command></term>
841 <listitem>
842 <para>
[fa29663]843 is a tool to manage <application>LibreOffice</application>
[63e837a6]844 extensions from the command line.
[8d5cd1bb]845 </para>
846 <indexterm zone="libreoffice unopkg">
847 <primary sortas="b-unopkg">unopkg</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
[d2d3fc5]852 </variablelist>
[8c853a1]853
[d2d3fc5]854 </sect2>
[8c853a1]855
[d2d3fc5]856</sect1>
Note: See TracBrowser for help on using the repository browser.