source: xsoft/office/libreoffice.xml@ c45eca2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn elogind 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 c45eca2 was 4392a40, checked in by Ken Moffat <ken@…>, 6 years ago

Change all new-perl- items to perl- now that the corresponding items in the old perl-modules.xml are no-longer present.

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

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