source: xsoft/office/libreoffice.xml@ 9039d65

11.0 11.1 11.2 11.3 12.0 12.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 9039d65 was 6f96550, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to libreoffice-7.1.1.2

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

  • Property mode set to 100644
File size: 35.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">
[6f96550]10 <!ENTITY libreoffice-core-md5sum "db37d6e5f09d47df297e145ca2e04386">
11 <!ENTITY libreoffice-core-size "233 MB">
[c20bced]12
13 <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
[6f96550]14 <!ENTITY libreoffice-dict-md5sum "326f2d9b4f65e09cb2c6dc1d8104c4cb">
[0418c9fa]15 <!ENTITY libreoffice-dict-size "46 MB">
[c20bced]16
17 <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
[6f96550]18 <!ENTITY libreoffice-help-md5sum "c1e0b1cfbca7c9b2782e59cb1664af65">
[0418c9fa]19 <!ENTITY libreoffice-help-size "107 MB">
[c20bced]20
21 <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
[6f96550]22 <!ENTITY libreoffice-translations-md5sum "bc19c3536af663430b47c8a6421f596d">
23 <!ENTITY libreoffice-translations-size "177 MB">
[514797f]24
[71cf6a3]25 <!-- full size remeasured for 7.0.0.3 -->
[05800b9]26
[6f96550]27 <!ENTITY libreoffice-buildsize "9.3 GB including the additional files if downloaded during the build (841 MB installed). Installing the whole set of languages requires more than 25 GB (around 3 GB installed)">
[bbd73d4]28
29 <!-- Editors: many updates to poppler will break LO using system poppler until
30 somebody is able to provide a patch or sed. In these cases, please mark
31 the dependency as currently broken and move the \-\-with-system-poppler
32 line to a comment. Also please switch poppler between recommended and
33 optional according to whether or not we use the system version. The
34 installed size will be increased by 2 MB if using the shipped poppler, but
35 the variation in build times will be lost in the noise. - ken -->
[05800b9]36
[afff6997]37 <!-- for 6.1.2.1 I allowed 2 SBU for downloads, my total was
[05800b9]38 64.76 SBU with fast downloads
[71cf6a3]39 for 6.1.4.2 I and 7.0.0.3 just used the total time - bdubbs
[bbd73d4]40
41 For 6.4.0.3 downloading everything including dictionaries,
42 help, translations took less than 2 minutes (1.1 SBU) with
43 a good domestic internet connection. Total time was 60 SBU - ken
[9873d1ea]44
45 60 SBU not including download of translations, help and dictionary
46 for 6.4.6.2 - pierre
[f853c30e]47
48 56 SBU for 7.0.3.1 not including download of translations, help, and
49 dictionaries. -renodr
[05800b9]50 -->
[6f96550]51 <!ENTITY libreoffice-time "54 SBU with parallelism=4 including typical download time">
[33569f0f]52
[d2d3fc5]53]>
54
[cbdad90b]55<sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-dlversion;">
[d2d3fc5]56 <?dbhtml filename="libreoffice.html"?>
57
58 <sect1info>
59 <othername>$LastChangedBy$</othername>
60 <date>$Date$</date>
61 </sect1info>
62
[d2bea743]63 <title>LibreOffice-&libreoffice-version;</title>
[d2d3fc5]64
65 <indexterm zone="libreoffice">
[8c853a1]66 <primary sortas="a-LibreOffice">LibreOffice</primary>
[d2d3fc5]67 </indexterm>
68
69 <sect2 role="package">
[fa29663]70 <title>Introduction to LibreOffice</title>
[d2d3fc5]71
72 <para>
[fa29663]73 <application>LibreOffice</application> is a full-featured office suite.
74 It is largely compatible with <application>Microsoft Office</application>
[8c853a1]75 and is descended from <application>OpenOffice.org</application>.
[d2d3fc5]76 </para>
77
[55a63862]78 &lfs101_checked;
[d2d3fc5]79
80 <bridgehead renderas="sect3">Package Information</bridgehead>
81 <itemizedlist spacing="compact">
82 <listitem>
83 <para>
[9e1dd1b]84 Core Download: <ulink url="&libreoffice-core-download-http;"/>
[d2d3fc5]85 </para>
86 </listitem>
87 <listitem>
88 <para>
89 Core Download MD5 sum: &libreoffice-core-md5sum;
90 </para>
91 </listitem>
92 <listitem>
93 <para>
94 Core Download size: &libreoffice-core-size;
95 </para>
96 </listitem>
[c20bced]97 <listitem>
98 <para>
[9e1dd1b]99 Estimated disk space required: &libreoffice-buildsize;
[c20bced]100 </para>
101 </listitem>
102 <listitem>
103 <para>
[9e1dd1b]104 Estimated build time: &libreoffice-time;
[c20bced]105 </para>
106 </listitem>
[9e1dd1b]107 </itemizedlist>
108
109 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[bbd73d4]110
111 <note>
112 <para>
113 Around 80 smallish tarballs and zip files will be downloaded during the
114 build. If you have not downloaded one or more of the following, they too
115 will also be downloaded during the build.
116 </para>
117 </note>
118
[9e1dd1b]119 <itemizedlist spacing="compact">
[c20bced]120 <listitem>
121 <para>
[9e1dd1b]122 Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
[c20bced]123 </para>
124 </listitem>
[c4e1c2a0]125
[c20bced]126 <listitem>
127 <para>
[9e1dd1b]128 Dictionaries MD5 sum: &libreoffice-dict-md5sum;
[c20bced]129 </para>
130 </listitem>
[c4e1c2a0]131
[c20bced]132 <listitem>
133 <para>
[9e1dd1b]134 Dictionaries size: &libreoffice-dict-size;
[c20bced]135 </para>
136 </listitem>
[c4e1c2a0]137
[d2d3fc5]138 <listitem>
139 <para>
[9e1dd1b]140 Help Files: <ulink url="&libreoffice-help-download-http;"/>
[d2d3fc5]141 </para>
142 </listitem>
[c4e1c2a0]143
[d2d3fc5]144 <listitem>
145 <para>
[9e1dd1b]146 Help Files MD5 sum: &libreoffice-help-md5sum;
[d2d3fc5]147 </para>
148 </listitem>
[c4e1c2a0]149
[c20bced]150 <listitem>
151 <para>
[9e1dd1b]152 Help Files size: &libreoffice-help-size;
[c20bced]153 </para>
154 </listitem>
[c4e1c2a0]155
[c20bced]156 <listitem>
157 <para>
[9e1dd1b]158 Translations: <ulink url="&libreoffice-translations-download-http;"/>
[c20bced]159 </para>
160 </listitem>
[c4e1c2a0]161
[c20bced]162 <listitem>
163 <para>
[9e1dd1b]164 Translations MD5 sum: &libreoffice-translations-md5sum;
[c20bced]165 </para>
166 </listitem>
[c4e1c2a0]167
[c20bced]168 <listitem>
169 <para>
[9e1dd1b]170 Translations size: &libreoffice-translations-size;
[c20bced]171 </para>
172 </listitem>
[0209dd4]173
[f4362f22]174
[0293de0]175<!-- keep one commented patch, it's sure to again need one or more in a few months:
[9214104]176-->
[71cf6a3]177<!--
[199671b8]178 <listitem>
[efc0d11]179 <para>
[9214104]180 Required patch to fix building with GCC 10 and later:
181 <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-format_overflow-1.patch"/>
[10cbf37]182 </para>
183 </listitem>
[71cf6a3]184-->
[c20bced]185 </itemizedlist>
[fa29663]186 <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
[d2d3fc5]187
188 <bridgehead renderas="sect4">Required</bridgehead>
189 <para role="required">
[4392a40]190 <xref linkend="perl-archive-zip"/>,
[d97601a]191 <xref linkend="unzip"/>,
[c20bced]192 <xref linkend="wget"/>,
[d6d4ea1]193 <xref linkend="which"/>, and
[c20bced]194 <xref linkend="zip"/>
[d2d3fc5]195 </para>
196
197 <bridgehead renderas="sect4">Recommended</bridgehead>
198 <note>
199 <para>
[601a838]200 Most of these packages are recommended because if they're not installed,
[ceadeab]201 the build process will compile and install its own (often older)
[d8ddab5]202 version, with the side effect of increasing build and installed disk
203 space and build time.
[d2d3fc5]204 </para>
205 </note>
206
207 <para role="recommended">
[909868fa]208 <xref linkend="apache-ant"/>,
[d8ddab5]209 <xref linkend="apr"/>,
[541e056]210 <xref linkend="boost"/>,
[7f5a5884]211 <xref linkend="clucene"/>,
[87dfe6b]212 <xref linkend="cups"/>,
[c20bced]213 <xref linkend="curl"/>,
[059ff67]214 <xref linkend="dbus-glib"/>,
[1b70960]215 <xref linkend="libepoxy"/>,
[76df61c]216 <xref linkend="libjpeg"/>,
[74762a5]217 <xref linkend="llvm"/> (clang is preferred for rendering with skia),
[7cc81bb]218 <xref linkend="glm"/>,
[76df61c]219 <xref linkend="glu"/>,
[3b9bfde]220 <xref linkend="gpgme"/>,
[2a75b9b]221 <xref linkend="graphite2"/>,
[c20bced]222 <xref linkend="gst10-plugins-base"/>,
[bbd73d4]223 <xref linkend="gtk3"/>,
224 <!-- <xref linkend="gtk2"/> -->
[2a75b9b]225 <xref linkend="harfbuzz"/>,
[4347e969]226 <xref linkend="icu"/>,
[d8ddab5]227 <xref linkend="libatomic_ops"/>,
[c20bced]228 <xref linkend="lcms2"/>,
[d2d3fc5]229 <xref linkend="librsvg"/>,
[c20bced]230 <xref linkend="libxml2"/> and
231 <xref linkend="libxslt"/>,
[a90582a1]232 <xref linkend="lxml"/>,
[7a395d1]233 <xref linkend="mesa"/>,
[d2d3fc5]234 <xref linkend="neon"/>,
235 <xref linkend="nss"/>,
[86d09e6]236 <xref linkend="openldap"/> (if connecting to an LDAP server),
[bbd73d4]237 <xref linkend="poppler"/>,
[d8ddab5]238 <xref linkend="postgresql"/>,
239 <xref linkend="redland"/>,
240 <xref linkend="serf"/>, and
[c20bced]241 <xref linkend="unixodbc"/>
[d2d3fc5]242 </para>
243
[2b5f3d7]244
[d2d3fc5]245 <bridgehead renderas="sect4">Optional</bridgehead>
246 <para role="optional">
[4469169]247 <xref linkend="avahi"/>,
[c20bced]248 <xref linkend="bluez"/>,
[d8ddab5]249 <xref linkend="dconf"/>,
[a76bd33]250 <xref linkend="desktop-file-utils"/>,
[4469169]251 <xref linkend="doxygen"/> (not relevant if using --disable-odk),
[1d23596]252 <xref linkend="evolution-data-server"/>,
[f4bb9987]253 <xref linkend="gdb"/>,
[94b42903]254 <xref linkend="gnutls"/>,
[c084a2a]255<!-- not anymore in the book, but included in apache-ant
256 <xref linkend="junit"/>, -->
[0293de0]257 <xref linkend="kf5-frameworks"/>,
[dba494f]258 <xref linkend="libpaper"/>,
[b33ea6fa]259 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
260 <xref linkend="mitkrb"/>,
[037fc0be]261 <xref linkend="nasm"/>,
[b33ea6fa]262 <xref linkend="sane"/>,
[1d23596]263 <xref linkend="telepathy-glib"/>,
[037fc0be]264 <xref linkend="valgrind"/>,
[b33ea6fa]265 <xref linkend="vlc"/>,
[1d23596]266 <xref linkend="zenity"/>,
[037fc0be]267 <ulink url="https://commons.apache.org/proper/commons-codec/">Apache Commons Codec</ulink>,
[e539ccf]268 <ulink url="https://hc.apache.org/httpcomponents-client-ga/index.html">Apache Commons HttpClient</ulink>,
[037fc0be]269 <ulink url="https://commons.apache.org/proper/commons-lang/">Apache Commons Lang</ulink>,
270 <ulink url="https://commons.apache.org/proper/commons-logging/">Apache Commons Logging</ulink>,
[6f96550]271 <ulink url="https://beanshell.github.io/">BeanShell</ulink>,
[0418c9fa]272 <ulink url="https://box2d.org/documentation/">box2d</ulink>,
[64812ba3]273 <ulink url="https://projects.coin-or.org/CoinMP/">CoinMP</ulink>,
[b33ea6fa]274 <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
[037fc0be]275 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
[d8ddab5]276 <ulink url="https://github.com/behdad/glyphy">glyphy</ulink>,
[01701da9]277 <ulink url="&gnome-download-http;/gnome-vfs/">Gnome VFS</ulink>,
[0e719c4]278 <ulink url="https://github.com/hamcrest/JavaHamcrest/releases">hamcrest</ulink>,
279 <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
[b33ea6fa]280 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[0e719c4]281 <ulink url="http://include-what-you-use.org/">iwyu</ulink>,
[c1e7218]282 <ulink url="https://github.com/junit-team/junit4/releases">junit4</ulink>,
[5892480]283 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libabw">libabw</ulink>,
284 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
[83bc811e]285 <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
[b33ea6fa]286 <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
[0418c9fa]287 <ulink url="https://sourceforge.net/projects/libepubgen/">libepubgen</ulink>,
288 <ulink url="https://wiki.documentfoundation.org/DLP/libraries/libetonyek">libetonyek</ulink>,
[7313b4b]289 <ulink url="https://wiki.documentfoundation.org/Libexttextcat">libexttextcat</ulink>,
[5892480]290 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>,
[1b70960]291 <ulink url="http://tagoh.github.io/liblangtag/">liblangtag</ulink>,
[5892480]292 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub">libmspub</ulink>,
[b33ea6fa]293 <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
[0418c9fa]294 <ulink url="https://github.com/Numbertext/libnumbertext">libnumbertext</ulink>,
[885af2e]295 <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
[5892480]296 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker">libpagemaker</ulink>,
[0418c9fa]297 <ulink url="https://github.com/nayuki/QR-Code-generator">libqrcodegen</ulink>,
298 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libqxp">libqxp</ulink>,
[64419b7]299 <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
[0418c9fa]300 <ulink url="https://github.com/fosnola/libstaroffice/wiki">libstaroffice</ulink>,
[5892480]301 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
[b33ea6fa]302 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
303 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
[f853c30e]304 <ulink url="https://sourceforge.net/p/libwps/wiki/Home/">libwps</ulink>,
[0418c9fa]305 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libzmf">libzmf</ulink>,
[b33ea6fa]306 <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
[0e719c4]307 <ulink url="https://gitlab.com/mdds/mdds">mdds</ulink>,
[d97601a]308 <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
[0418c9fa]309 <ulink url="https://odftoolkit.org/conformance/ODFValidator.html">odfvalidator</ulink>,
310 <ulink url="https://code.google.com/archive/p/officeotron/">officeotron</ulink>,
[64812ba3]311 <ulink url="https://github.com/KhronosGroup/OpenCOLLADA/">OpenCOLLADA</ulink>,
[e539ccf]312 <ulink url="https://gitlab.com/orcus/orcus">Orcus</ulink>,
313 <ulink url="https://sourceware.org/systemtap/">SystemTap</ulink>, and
[1d23596]314 <ulink url="https://ukoethe.github.io/vigra/">VIGRA</ulink>
[d2d3fc5]315 </para>
316
[622c1021]317 <para>
318 There are many optional dependencies not listed here. They can be
319 found in <quote>download.lst</quote> (source directory).
[f4bb9987]320 </para>
321
[d2d3fc5]322 <para condition="html" role="usernotes">
323 User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
324 </para>
325 </sect2>
326
327 <sect2 role="installation">
[fa29663]328 <title>Installation of LibreOffice</title>
[2dc8feb]329
[89e6d61]330 <important>
[7d38d9a]331 <para>
[7313b4b]332 Unlike the other packages, we assume that you have not yet unpacked the
333 package. This is because the <option>--no-overwrite-dir</option>
[d8ddab5]334 switch is needed in case you unpack as the <systemitem
335 class="username">root</systemitem> user.
[7d38d9a]336 </para>
[89e6d61]337 </important>
[7d38d9a]338
[fbbc908]339<screen role="nodump"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
[c20bced]340cd libreoffice-&libreoffice-dlversion;</userinput></screen>
[d97601a]341
[9214104]342<!-- keep a commented instruction if no patches are currently required -->
[71cf6a3]343<!--
[dcee7a56]344 <para>
[9214104]345 Fix build failures introduced by GCC 10 and later:
[5cc300f]346 </para>
347
[9214104]348<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-format_overflow-1.patch</userinput></screen>
[71cf6a3]349-->
[d2d3fc5]350 <para>
[bbd73d4]351 If you have downloaded the dictionaries, help and translations tarballs,
352 create symlinks to them from the source directory so they won't get
353 downloaded again:
[d2d3fc5]354 </para>
355
[420c072]356<screen><userinput>install -dm755 external/tarballs &amp;&amp;
[89e6d61]357ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
[bbd73d4]358ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
359ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
[d2d3fc5]360
[c20bced]361 <note>
362 <para>
363 During the build process, some packages will be downloaded (including
364 the ones listed as recommended and optional dependencies) if they are
[89e6d61]365 not present on the system. Because of this, build time may vary from the
366 published time more than usual.
[c20bced]367 </para>
368 </note>
[0d7900a]369
[0c77b5ab]370 <para>
371 Due to the large size of the package, you may prefer to install it in
[d83f555]372 <filename class="directory">/opt</filename>, instead of
[14ea7e8]373 <filename class="directory">/usr</filename>. Depending on your choice,
374 replace <replaceable>&lt;PREFIX&gt;</replaceable> by
375 <filename class="directory">/usr</filename> or by
[0c77b5ab]376 <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
377 </para>
378
379<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
[10cbf37]380
[7f380f4]381 <para>
[d2bea743]382 Locales "fr" and "en-GB", you will find below, are just examples; you
[7f380f4]383 should change them to suit your needs - you might want to read the
384 "Command Explanations", further below, before proceeding.
385 </para>
386
[93f46ca]387 <note>
388 <para>
[9c9beb8]389 If you set the ACLOCAL environment variable to support installing
390 Xorg in /opt, you will need to unset it for this package.
[93f46ca]391 </para>
392 </note>
393
[0c77b5ab]394 <para>
395 Prepare <application>LibreOffice</application> for compilation by running
396 the following commands:
[d2d3fc5]397 </para>
398
[64812ba3]399<screen><userinput>sed -e "/gzip -f/d" \
[c20bced]400 -e "s|.1.gz|.1|g" \
[7f380f4]401 -i bin/distro-install-desktop-integration &amp;&amp;
[ed2cf3c]402
[5153eb9]403sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
[14ea7e8]404
[0c77b5ab]405./autogen.sh --prefix=$LO_PREFIX \
[14ea7e8]406 --sysconfdir=/etc \
[d8ddab5]407 --with-vendor=BLFS \
[201a54c]408 --with-lang='fr en-GB' \
[14ea7e8]409 --with-help \
[7f380f4]410 --with-myspell-dicts \
[cc9c627]411 --without-junit \
[7f380f4]412 --without-system-dicts \
[d8ddab5]413 --disable-dconf \
[14ea7e8]414 --disable-odk \
415 --enable-release-build=yes \
[5153eb9]416 --enable-python=system \
[6bbca81]417 --with-jdk-home=/opt/jdk \
[d8ddab5]418 --with-system-apr \
[541e056]419 --with-system-boost \
[d8ddab5]420 --with-system-clucene \
[14ea7e8]421 --with-system-curl \
[6bbca81]422 --with-system-epoxy \
[14ea7e8]423 --with-system-expat \
[4132210]424 --with-system-glm \
[3b9bfde]425 --with-system-gpgmepp \
[2a75b9b]426 --with-system-graphite \
[14ea7e8]427 --with-system-harfbuzz \
[f853c30e]428 --with-system-icu \
[14ea7e8]429 --with-system-jpeg \
430 --with-system-lcms2 \
[d8ddab5]431 --with-system-libatomic_ops \
[14ea7e8]432 --with-system-libpng \
433 --with-system-libxml \
434 --with-system-neon \
435 --with-system-nss \
436 --with-system-odbc \
437 --with-system-openldap \
[541e056]438 --with-system-openssl \
[bbd73d4]439 --with-system-poppler \
[d8ddab5]440 --with-system-postgresql \
[14ea7e8]441 --with-system-redland \
[d8ddab5]442 --with-system-serf \
[ff13fdc2]443 --with-system-zlib</userinput></screen>
[ceadeab]444
[d2d3fc5]445 <para>
[c20bced]446 The instructions below will only build the package without running
447 any unit tests. If you prefer to run the unit tests, replace
[34fbc15b]448 <command>make build-nocheck</command> with <command>make build</command>
449 or (as a regular user only) just <command>make</command>, but do not be
450 surprised if a unit test fails right at the end of the build and
451 breaks it.
[d2d3fc5]452 </para>
453
454 <para>
[33569f0f]455 Build the package:
[d2d3fc5]456 </para>
457
[0293de0]458<screen><userinput>make build-nocheck</userinput></screen>
[d2d3fc5]459
460 <para>
[c20bced]461 Now, as the <systemitem class="username">root</systemitem> user:
[d2d3fc5]462 </para>
463
[34fbc15b]464<screen role="root"><userinput>make distro-pack-install</userinput></screen>
[c20bced]465
[d83f555]466 <para>
[cbdad90b]467 If installed in <filename
468 class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
[f853c30e]469 some additional steps are necessary. Issue the following commands as the
[64812ba3]470 <systemitem class="username">root</systemitem> user:
[d83f555]471 </para>
472
[cbdad90b]473<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then
[89e6d61]474
[64812ba3]475 # This symlink is necessary for the desktop menu entries
[e43a76ca]476 ln -svf $LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &amp;&amp;
[cbdad90b]477
[29dd48c]478 # Set up a generic location independent of version number
[a296899]479 ln -sfv libreoffice-&libreoffice-dlversion; /opt/libreoffice
[29dd48c]480
[64812ba3]481 # Icons
[20f09631]482 mkdir -vp /usr/share/pixmaps
[63e837a6]483 for i in $LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
[64812ba3]484 ln -svf $i /usr/share/pixmaps
[defca61]485 done &amp;&amp;
[cbdad90b]486
[64812ba3]487 # Desktop menu entries
[e43a76ca]488 for i in $LO_PREFIX/lib/libreoffice/share/xdg/*; do
489 ln -svf $i /usr/share/applications/libreoffice-$(basename $i)
490 done &amp;&amp;
[64812ba3]491
492 # Man pages
493 for i in $LO_PREFIX/share/man/man1/*; do
[e43a76ca]494 ln -svf $i /usr/share/man/man1/
[5a3365b]495 done
496
[e43a76ca]497 unset i
[a76bd33]498fi</userinput></screen>
[64812ba3]499
[a76bd33]500 <para>
501 If you have installed <xref linkend="desktop-file-utils"/>, and you wish
502 to update the MIME database, issue, as the <systemitem class="username">
503 root</systemitem> user:
504 </para>
505
506<screen role="root"><userinput>update-desktop-database</userinput></screen>
[d83f555]507
[514797f]508 <para>
509 The suite and main modules can be started from the menu. From a terminal,
510 the suite can be started with <command>libreoffice</command> command and
511 the modules with <command>libreoffice
512 --<replaceable>&lt;module&gt;</replaceable></command> command,
513 respectively, where <replaceable>&lt;module&gt;</replaceable> is one of
[1b70960]514 base, calc, draw, impress, math, web, or writer. Modules cannot be started
515 using their shell starting script names (see "Installed Programs", below),
516 if LO_PREFIX is other than <filename class='directory'>/usr</filename>,
[f853c30e]517 unless the <filename class='directory'>$LO_PREFIX/bin</filename> directory
518 is appended to the PATH.
[514797f]519 </para>
520
[c20bced]521 </sect2>
522
523 <sect2 role="commands">
524 <title>Command Explanations</title>
[4c796cf]525
[d2d3fc5]526 <para>
[89e6d61]527 <command>sed -e ...</command>: The first sed prevents compression of the
[0418c9fa]528 manual pages and the second one prevents the install from failing.
529 <!--and the third one allows the build to use poppler-0.86.1 and later.-->
[bbd73d4]530 <!-- FIXME update hardcoded poppler version in text when necessary -->
[0418c9fa]531 <!-- FIXME as far as I can tell, that sed is no longer present, so I
532 commented the description out here. -renodr -->
[ed2cf3c]533 </para>
534
[0418c9fa]535<!--
[4347e969]536 <para>
537 <command>sed -i "s/TRUE/true/" ...</command>: These three sed commands
538 fix breakage caused by <application>ICU-68.1</application> removing a
539 macro. The third sed is for a file within libreoffice, the first two
540 are for packages downloaded during the build and amend '.mk' files for
541 the external projects (the source tarballs are unpacked during the build).
542 </para>
[0418c9fa]543-->
[d2d3fc5]544 <para>
[ed2cf3c]545 <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
[be307b9]546 the vendor which is mentioned when you click "About" from the Help menu
547 on the toolbar.
[d2d3fc5]548 </para>
[4c796cf]549
[ed2cf3c]550 <para>
[201a54c]551 <parameter>--with-lang='fr en-GB'</parameter>: This switch sets
[ffc716b]552 what languages to support. To list several languages, separate them with
553 a space. For all languages, use
[9873d1ea]554 <parameter>--with-lang=ALL</parameter>. Note that the translations file
555 is not needed and won't be downloaded if using only en_US as a language.
[ed2cf3c]556 </para>
557
[7f380f4]558 <note>
559 <para>
[01c0bb8]560 For a list of the available languages, look in
561 <filename>solenv/inc/langlist.mk</filename>.
[7f380f4]562 </para>
563 </note>
[ffc716b]564
565 <para>
566 <parameter>--with-help</parameter>: Without this switch, the help files
567 are not built.
[d2d3fc5]568 </para>
569
[6bbca81]570 <para>
571 <parameter>--with-jdk-home=/opt/jdk</parameter>: This parameter will silence
572 a warning that the configure script attempted to find JAVA_HOME
573 automatically (even though that is passed in the environment). Omit this if
574 you disabled java.
575 </para>
576
[7f380f4]577 <para>
578 <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
579 dictionaries to the <application>LibreOffice</application> installation
580 set.
581 </para>
[dba494f]582 <!-- Unrecognized as of 6.2.0.3
[d2d3fc5]583 <para>
[dba494f]584 <parameter>- -with-alloc=system</parameter>: This switch tells
[7313b4b]585 <application>LibreOffice</application> to use the system allocator
586 instead of its internal one.
[d2d3fc5]587 </para>
[dba494f]588 -->
[d8ddab5]589 <para>
[cc9c627]590 <parameter>--with-system-boost</parameter>: This switch enables using
591 system boost. From time to time, recent versions of boost break
592 the build of libreoffice. In this case, it is possible to use the
593 bundled copy of boost, by removing this flag.
[d8ddab5]594 </para>
595
596 <para>
597 <parameter>--disable-dconf</parameter>: This switch disables compiling
598 <application>LibreOffice</application> with the
599 <application>GNOME DConf</application> configuration system support.
600 </para>
[28370fe]601
[7f380f4]602 <para>
[b4bff899]603 <parameter>--without-junit</parameter>: This switch disables the tests
[c1e7218]604 for the deprecated HSQLDB driver which is written in Java.
605 <!-- If you wish
[b4bff899]606 to build this driver replace this switch with the set of switches
[c1e7218]607 described below after '- -without-java'.-->
[7f380f4]608 </para>
609
[d2d3fc5]610 <para>
[f853c30e]611 <parameter>--without-system-dicts</parameter>: This switch disables the
612 use of dictionaries from system paths so that the ones installed by this
613 package are used.
[5b9edb4]614 </para>
615
[d2d3fc5]616 <para>
[92b7b3a]617 <parameter>--disable-odk</parameter>: This switch disables installing the
[c20bced]618 office development kit. Remove if you want to develop a
619 <application>LibreOffice</application> based application.
[d2d3fc5]620 </para>
621
[4469169]622 <para>
623 <parameter>--enable-release-build=yes</parameter>: This switch enables a
[7f380f4]624 Release Build. <application>LibreOffice</application> can be built as a
625 Release Build or as a Developer Build, because their default installation
626 paths and user profile paths are different. Developer Build displays the
627 words "Dev" and "Beta" in several places (e.g, menu and splash screen).
[4469169]628 </para>
[d2d3fc5]629
630 <para>
[c20bced]631 <parameter>--enable-python=system</parameter>: This switch tells
[e539ccf]632 <application>LibreOffice</application> to use the system installed
[bbd73d4]633 <application>Python 3</application> instead of
[7f380f4]634 the bundled one.
[d2d3fc5]635 </para>
636
637 <para>
[92b7b3a]638 <parameter>--with-system-*</parameter>: These switches prevent
[c20bced]639 <application>LibreOffice</application> from trying to compile its own
640 versions of these dependencies. If you've not installed some of the
641 dependencies, remove the corresponding switches.
[d2d3fc5]642 </para>
[8c853a1]643
[0293de0]644<!--
[488b738f]645 <para>
[c1b5118]646 <command>CPPFLAGS='-DU_USING_ICU_NAMESPACE=1' make ...</command>: <xref
[488b738f]647 linkend="icu"/> has removed an implicit namespace <quote>using</quote>
[c1b5118]648 from its headers files. Setting <envar>U_USING_ICU_NAMESPACE</envar> to
[488b738f]649 1 allows to restore the former behavior, which is required for building
650 <application>libreoffice</application>.
651 </para>
[0293de0]652-->
653 <para>
654 <command>make distro-pack-install</command>: this does a normal
655 install, but if you add a DESTDIR environment variable it will also
656 install a lot of (text) gid_Module_* files in the DESTDIR, to help
657 distributions which want to break the package into parts.
658 </para>
[488b738f]659
[c20bced]660 <para>
[cc9c627]661 <option>--with-parallelism=&lt;count&gt;</option>: This switch
[ff13fdc2]662 tells <application>LibreOffice</application> to use &lt;count&gt; CPU
663 cores to compile in parallel. (Do not include literal angle brackets.)
[cc9c627]664 The default is to use all available cores on the system.
[c20bced]665 </para>
666
[87dfe6b]667 <para>
668 <option>--disable-cups</option>: Use this switch if you don't need
669 printing support.
670 </para>
671
[54666831]672 <para>
[7f380f4]673 <option>--disable-dbus</option>: Use this switch if you've not installed
674 D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
675 via PackageKit.
[54666831]676 </para>
677
[1cbfd1a]678 <para>
[011ed8fa]679 <option>--disable-firebird-sdbc</option>: By default, the ability to
[1cbfd1a]680 connect to a <application>firebird</application> database is enabled.
[011ed8fa]681 Add this switch if you do not need that feature.
682 </para>
[1cbfd1a]683
[c20bced]684 <para>
[64812ba3]685 <option>--disable-gstreamer-1-0</option>: Use this switch if you have not
686 installed <xref linkend="gst10-plugins-base"/>.
[7f380f4]687 </para>
688
[bbd73d4]689<!-- only gtk3 is referenced in the configure script for 6.4.0.3
[ae93d7e]690 <para>
[bbd73d4]691 <option>\-\-disable-gtk3</option>: Use this switch if you have not installed
[5339d21]692 <application>GTK+-3</application>, or if you have installed it but wish
693 to use <application>GTK+-2</application> (the menu icons differ).
[bbd73d4]694 <!\-\- Note that a <application>GTK+-3</application> build still
695 requires <application>GTK+-2</application> to build the gtk-plugin.\-\->
696 </para>-->
[ae93d7e]697
[d8ddab5]698 <para>
699 <option>--disable-postgresql-sdbc</option>: This switch disables compiling
700 <application>LibreOffice</application> with the ability to connect to a
[63e837a6]701 <application>PostgreSQL</application> database. Use it if you have not
702 installed <application>PostgreSQL</application> and you do not want
703 <application>LibreOffice</application> to compile its bundled copy.
[d8ddab5]704 </para>
705
[443f05a]706 <para>
[08790cc]707 <option>--disable-skia</option>: Use <xref linkend="cairo"/> for rendering
[443f05a]708 instead of skia.
709 </para>
710
[bbd73d4]711 <para>
712 <option>--enable-gtk3-kde5</option>: This switch allows the Visual Class
713 Library, which is responsible for widgets, to be built with KF5 file
714 dialogs if GTK+-3, Qt5 and Plasma are all available.
715 </para>
716
[7c57f82]717 <para>
718 <option>--enable-lto</option>: This switch will enable Link Time
719 Optimization, which results in slightly smaller libraries (about 40 MB).
720 This is said to make <application>LibreOffice</application> programs
721 load faster (and possibly run faster, e.g. when recalculating a
722 spreadsheet). On an 8-core machine with 16GB of memory, the difference
723 in compile times was minimal, but an extra 2GB was used for the work
724 files. On machines with fewer processors or a lack of memory, the compile
725 might be much slower.
726 </para>
727
[cc9c627]728 <para>
[0293de0]729 <option>--without-java</option>: This switch disables
[cc9c627]730 <application>Java</application> support in
[b4bff899]731 <application>LibreOffice</application>. Java is needed for the
732 deprecated HSQLDB driver, which allows reading databases created by
733 other programs or in earlier versions of libreoffice
[0293de0]734 <application>base</application>.
735 </para>
[c1e7218]736 <!-- junit is not included anymore in ant, and neither hamcrest. Since
737 the hsqldb backend is deprecated anyway, forget this:
[0293de0]738 <para>
[c1e7218]739 <option>- -with-junit=/opt/ant/lib/junit-4.12.jar</option> and
740 <option>- -with-hamcrest=/opt/ant/lib/hamcrest-core-1.3.jar</option>:
[0293de0]741 Those options are needed if you want to run the tests.
[cc9c627]742 </para>
[c1e7218]743 -->
[f0506d09]744 <para>
745 <option>--without-fonts</option>: <application>LibreOffice</application>
746 includes a number of third-party TrueType fonts. If you have already
747 installed some or all of the same fonts, you may prefer to use the system
748 versions.
749 </para>
750
[be307b9]751 <para>
[dba494f]752 <!-- Brings in - -enable-qt5 as well. -->
[1b70960]753 <option>--enable-kf5</option>: Builds with KDE/Plasma integration. If
[0293de0]754 <xref linkend="qt5"/> and/or <xref linkend="kf5-frameworks"/> are not
755 installed in <filename class="directory">/usr</filename>, the include
756 and library directories must be specified in <envar>QT5INC</envar>,
757 <envar>QT5LIB</envar>, <envar>KF5INC</envar>, and <envar>KF5LIB</envar>,
758 respectively.
[be307b9]759 </para>
[dba494f]760
[c1e7218]761 <para>
[dba494f]762 <option>--enable-evolution2</option>: Enables support for Evolution
763 address books through Evolution Data Server. Note that Evolution Data
764 Server must be installed for this feature to function.
765 </para>
[be307b9]766
[1b70960]767 <!--
[c2af02b]768 <para>
[b6b8e1e]769 Currently broken by ICU68 (TRUE and FALSE need to be true and false) on
770 libe-book and perhaps elsewhere - commented explanation retained. ken
[1b70960]771 <option>- -with-system-icu</option>: This command would use the system
[c2af02b]772 version of <xref linkend="icu"/> which is normally considered to be a good
773 thing to do. However, one of the very minor packages pulled in by
774 <application>LibreOffice</application>, libfreehand-0.1.2, does not compile
775 with ICU-65.1 because of a missing semi-colon at the end of one line in one
776 of its files. Do not use this option unless you have separately installed a
777 patched or newer version of
778 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand">libfreehand</ulink>.
779 </para>
[1b70960]780 -->
[c2af02b]781
[d2d3fc5]782 </sect2>
783
784 <sect2 role="content">
785 <title>Contents</title>
786
787 <segmentedlist>
788 <segtitle>Installed Programs</segtitle>
[c3c56b2]789 <segtitle>Installed Libraries</segtitle>
[8c853a1]790 <segtitle>Installed Directory</segtitle>
[d2d3fc5]791
792 <seglistitem>
[4c796cf]793 <seg>
[c20bced]794 libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
[4469169]795 loimpress, lomath, loweb, lowriter, soffice and unopkg;
796 several programs under
[0c77b5ab]797 $LO_PREFIX/lib/libreoffice/program
[8c853a1]798 </seg>
[c3c56b2]799 <seg>
[4469169]800 several libraries under
[ff7ea587]801 $LO_PREFIX/lib/libreoffice/program
[c3c56b2]802 </seg>
[d2d3fc5]803 <seg>
[c1e7218]804 $LO_PREFIX/lib/libreoffice
[d2d3fc5]805 </seg>
806 </seglistitem>
807 </segmentedlist>
808
809 <variablelist>
810 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
811 <?dbfo list-presentation="list"?>
812 <?dbhtml list-presentation="table"?>
813
[514797f]814 <varlistentry id="libreoffice-suite">
815 <term><command>libreoffice (or soffice)</command></term>
816 <listitem>
817 <para>
818 is the main libreofice suite (symlink to
[4c24eb0a]819 $LO_PREFIX/lib/libreoffice/program/soffice)
[514797f]820 </para>
821 <indexterm zone="libreoffice libreoffice-suite">
822 <primary sortas="b-libreoffice-suite">libreoffice-suite</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826
[c20bced]827 <varlistentry id="lobase">
828 <term><command>lobase</command></term>
[d2d3fc5]829 <listitem>
830 <para>
[4c24eb0a]831 is the database manager module shell starting script
[d2d3fc5]832 </para>
[c20bced]833 <indexterm zone="libreoffice lobase">
834 <primary sortas="b-lobase">lobase</primary>
[d2d3fc5]835 </indexterm>
836 </listitem>
837 </varlistentry>
838
[c20bced]839 <varlistentry id="localc">
840 <term><command>localc</command></term>
[d2d3fc5]841 <listitem>
842 <para>
[4c24eb0a]843 is the spreadsheet module shell starting script
[d2d3fc5]844 </para>
[c20bced]845 <indexterm zone="libreoffice localc">
846 <primary sortas="b-localc">localc</primary>
[d2d3fc5]847 </indexterm>
848 </listitem>
849 </varlistentry>
850
[c20bced]851 <varlistentry id="lodraw">
852 <term><command>lodraw</command></term>
[d2d3fc5]853 <listitem>
854 <para>
[514797f]855 is the vector graphics editor and diagramming tool module shell
[4c24eb0a]856 starting script
[d2d3fc5]857 </para>
[c20bced]858 <indexterm zone="libreoffice lodraw">
859 <primary sortas="b-lodraw">lodraw</primary>
[d2d3fc5]860 </indexterm>
861 </listitem>
862 </varlistentry>
863
[c20bced]864 <varlistentry id="loimpress">
865 <term><command>loimpress</command></term>
[d2d3fc5]866 <listitem>
867 <para>
[514797f]868 is the (PowerPoint) presentations editor and displayer
[4c24eb0a]869 module shell starting script
[d2d3fc5]870 </para>
[c20bced]871 <indexterm zone="libreoffice loimpress">
872 <primary sortas="b-loimpress">loimpress</primary>
[d2d3fc5]873 </indexterm>
874 </listitem>
875 </varlistentry>
876
[c20bced]877 <varlistentry id="lomath">
878 <term><command>lomath</command></term>
[d2d3fc5]879 <listitem>
880 <para>
[4c24eb0a]881 is the mathematical formula editor module shell starting script
[d2d3fc5]882 </para>
[c20bced]883 <indexterm zone="libreoffice lomath">
884 <primary sortas="b-lomath">lomath</primary>
[d2d3fc5]885 </indexterm>
886 </listitem>
887 </varlistentry>
888
[006bd37]889 <varlistentry id="loweb">
890 <term><command>loweb</command></term>
891 <listitem>
892 <para>
[4c24eb0a]893 is the HTML editor module shell starting script
[006bd37]894 </para>
895 <indexterm zone="libreoffice loweb">
896 <primary sortas="b-loweb">loweb</primary>
897 </indexterm>
898 </listitem>
899 </varlistentry>
900
[c20bced]901 <varlistentry id="lowriter">
902 <term><command>lowriter</command></term>
[2511f83]903 <listitem>
904 <para>
[4c24eb0a]905 is the word processor module shell starting script
[2511f83]906 </para>
[c20bced]907 <indexterm zone="libreoffice lowriter">
908 <primary sortas="b-lowriter">lowriter</primary>
[2511f83]909 </indexterm>
910 </listitem>
911 </varlistentry>
912
[8d5cd1bb]913 <varlistentry id="unopkg">
914 <term><command>unopkg</command></term>
915 <listitem>
916 <para>
[fa29663]917 is a tool to manage <application>LibreOffice</application>
[4c24eb0a]918 extensions from the command line
[8d5cd1bb]919 </para>
920 <indexterm zone="libreoffice unopkg">
921 <primary sortas="b-unopkg">unopkg</primary>
922 </indexterm>
923 </listitem>
924 </varlistentry>
925
[d2d3fc5]926 </variablelist>
[8c853a1]927
[d2d3fc5]928 </sect2>
[8c853a1]929
[d2d3fc5]930</sect1>
Note: See TracBrowser for help on using the repository browser.