source: xsoft/office/libreoffice.xml@ e6ff713

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e6ff713 was e6ff713, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to libreoffice-4.4.0: typo.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15436 af4574ff-66df-0310-9fd7-8a98e5e911e0

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