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