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