source: xsoft/office/libreoffice.xml@ 63dc109

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 63dc109 was 63dc109, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to libreoffice-4.4.4.3

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

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