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