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