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