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