source: xsoft/office/libreoffice.xml@ 33569f0f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 33569f0f was 33569f0f, checked in by Pierre Labastie <pieere@…>, 8 years ago

Libreoffice-5.1.3.2

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

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