source: xsoft/office/libreoffice.xml@ 037fc0be

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 037fc0be was 037fc0be, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • Update to libreoffice-5.0.0.

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

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