source: xsoft/office/libreoffice.xml@ eee3760

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 eee3760 was d2bea743, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to libreoffice-4.4.2.

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

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