[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">
|
---|
[bcc5446] | 10 | <!ENTITY libreoffice-core-md5sum "86aa9cad125fec16c5cd1d9d964e1d20">
|
---|
[bb040d25] | 11 | <!ENTITY libreoffice-core-size "146 MB">
|
---|
[c20bced] | 12 |
|
---|
| 13 | <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
|
---|
[bcc5446] | 14 | <!ENTITY libreoffice-dict-md5sum "996ec400156194fe26d24ffbccbc5b7a">
|
---|
[4469169] | 15 | <!ENTITY libreoffice-dict-size "36 MB">
|
---|
[c20bced] | 16 |
|
---|
| 17 | <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
|
---|
[bcc5446] | 18 | <!ENTITY libreoffice-help-md5sum "63a59a4c77a72856b47caf1871cfc48f">
|
---|
[c20bced] | 19 | <!ENTITY libreoffice-help-size "1.8 MB">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
|
---|
[bcc5446] | 22 | <!ENTITY libreoffice-translations-md5sum "0236e56349006fc8fec8e7df749c13b1">
|
---|
[6d5fec42] | 23 | <!ENTITY libreoffice-translations-size "121 MB">
|
---|
[c20bced] | 24 |
|
---|
[bb040d25] | 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 |
|
---|
[bcc5446] | 30 | <!ENTITY libreoffice-buildsize "6.6 GB (570 MB installed), with translations">
|
---|
| 31 | <!ENTITY libreoffice-time "61 SBU (using parallelism=4), with translations">
|
---|
| 32 |
|
---|
| 33 | <!-- [bdubbs] For version 4.3.2.2 Built on x86_64 using -\-with-parallelism=4 -->
|
---|
| 34 |
|
---|
[bb040d25] | 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.
|
---|
| 38 | -->
|
---|
| 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 |
|
---|
[8c853a1] | 45 | <sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-version;">
|
---|
[d2d3fc5] | 46 | <?dbhtml filename="libreoffice.html"?>
|
---|
| 47 |
|
---|
| 48 | <sect1info>
|
---|
| 49 | <othername>$LastChangedBy$</othername>
|
---|
| 50 | <date>$Date$</date>
|
---|
| 51 | </sect1info>
|
---|
| 52 |
|
---|
[8c853a1] | 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 |
|
---|
[5981b42] | 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>
|
---|
[efc0d11] | 146 | <listitem>
|
---|
| 147 | <para>
|
---|
[bb040d25] | 148 | Required patch to fix building with system Boost:
|
---|
| 149 | <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-boost_1_56_0-1.patch"/>
|
---|
| 150 | </para>
|
---|
| 151 | </listitem>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>
|
---|
| 154 | Required patch for i686 systems, in order to fix a problem inroduced
|
---|
[aedf4d7] | 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)
|
---|
[b8242d8] | 177 | version.
|
---|
[d2d3fc5] | 178 | </para>
|
---|
| 179 | </note>
|
---|
| 180 |
|
---|
| 181 | <para role="recommended">
|
---|
[bb040d25] | 182 | <xref linkend="boost"/>,
|
---|
[7f5a5884] | 183 | <xref linkend="clucene"/>,
|
---|
[87dfe6b] | 184 | <xref linkend="cups"/>,
|
---|
[c20bced] | 185 | <xref linkend="curl"/>,
|
---|
[059ff67] | 186 | <xref linkend="dbus-glib"/>,
|
---|
[b8242d8] | 187 | <xref linkend="libjpeg"/>,
|
---|
[5be9aa62] | 188 | <xref linkend="glu"/>,
|
---|
[2a75b9b] | 189 | <xref linkend="graphite2"/>,
|
---|
[c20bced] | 190 | <xref linkend="gst-plugins-base"/> or
|
---|
| 191 | <xref linkend="gst10-plugins-base"/>,
|
---|
[5be9aa62] | 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"/>,
|
---|
[bcc5446] | 203 | <xref linkend="openldap"/>,
|
---|
[c20bced] | 204 | <xref linkend="openssl"/>,
|
---|
[f76286d] | 205 | <xref linkend="poppler"/>,
|
---|
[bcc5446] | 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"/>,
|
---|
[c20bced] | 217 | <xref linkend="gtk3"/>,
|
---|
| 218 | <xref linkend="kdelibs"/>,
|
---|
[b8242d8] | 219 | <xref linkend="libatomic_ops"/>,
|
---|
| 220 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[deeafeb] | 221 | <xref linkend="mitkrb"/>,
|
---|
| 222 | <xref linkend="openjdk"/>,
|
---|
| 223 | <xref linkend="postgresql"/>,
|
---|
| 224 | <xref linkend="sane"/>,
|
---|
| 225 | <xref linkend="vlc"/>,
|
---|
| 226 | <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
|
---|
[b8242d8] | 227 | <ulink url="http://www.firebirdsql.org/">firebird</ulink>,
|
---|
| 228 | <ulink url="http://downloads.sourceforge.net/glew/">glew (OpenGL Extension Wrangler Library)</ulink>,
|
---|
[deeafeb] | 229 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
| 230 | <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
[0f5aa11] | 231 | <ulink url="http://www.freedesktop.org/wiki/Software/libabw/">libabw</ulink>,
|
---|
[ae2a3fcb] | 232 | <ulink url="http://www.freedesktop.org/wiki/Software/libcdr/">libcdr</ulink>,
|
---|
[83bc811e] | 233 | <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
|
---|
[deeafeb] | 234 | <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
|
---|
[0191062b] | 235 | <ulink url="http://www.freedesktop.org/wiki/Software/libexttextcat/">libexttextcat</ulink>,
|
---|
[deeafeb] | 236 | <ulink url="http://www.freedesktop.org/wiki/Software/libfreehand/">libfreehand</ulink>,
|
---|
[0191062b] | 237 | <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
|
---|
[deeafeb] | 238 | <ulink url="http://www.freedesktop.org/wiki/Software/libmspub/">libmspub</ulink>,
|
---|
| 239 | <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
|
---|
[885af2e] | 240 | <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
|
---|
[b8242d8] | 241 | <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
|
---|
[deeafeb] | 242 | <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
|
---|
| 243 | <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
|
---|
| 244 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
|
---|
| 245 | <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
|
---|
| 246 | <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
|
---|
[0191062b] | 247 | <ulink url="http://code.google.com/p/multidimalgorithm/">mdds</ulink>,
|
---|
[d97601a] | 248 | <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
|
---|
[b8242d8] | 249 | <ulink url="http://sourceforge.net/projects/ogl-math/">ogl-math - OpenGL Mathematics (GLM)</ulink>,
|
---|
| 250 | <ulink url="https://gitorious.org/orcus/">Orcus</ulink>,
|
---|
| 251 | <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</ulink>, and
|
---|
| 252 | <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
|
---|
[d2d3fc5] | 253 | </para>
|
---|
| 254 |
|
---|
[f4bb9987] | 255 | <para>There are many optional dependencies not listed here. They can be
|
---|
| 256 | found in <quote>download.lst</quote> (source directory).
|
---|
| 257 | </para>
|
---|
| 258 |
|
---|
[d2d3fc5] | 259 | <para condition="html" role="usernotes">
|
---|
| 260 | User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
|
---|
| 261 | </para>
|
---|
| 262 | </sect2>
|
---|
| 263 |
|
---|
| 264 | <sect2 role="installation">
|
---|
[fa29663] | 265 | <title>Installation of LibreOffice</title>
|
---|
[bb040d25] | 266 | <!--
|
---|
[d97601a] | 267 | <warning>
|
---|
| 268 | <para>
|
---|
[c20bced] | 269 | Untaring the libreoffice-&libreoffice-dlversion; tarball as
|
---|
[d97601a] | 270 | <systemitem class="username">root</systemitem> has the curious effect of
|
---|
| 271 | changing the ownership of the <emphasis>parent</emphasis> directory
|
---|
| 272 | to a user with numerical id 11012 and with the permissions set to allow
|
---|
| 273 | read, write and execute for that user only! If you untared as
|
---|
| 274 | <systemitem class="username">root</systemitem> in your home folder you
|
---|
[c20bced] | 275 | could end up unable to log in again. If you untared it in
|
---|
[d97601a] | 276 | <filename class="directory">/usr</filename> you would find your user
|
---|
| 277 | account unable to access any file in
|
---|
[ceadeab] | 278 | <filename class="directory">/usr</filename>.
|
---|
[d97601a] | 279 | </para>
|
---|
| 280 |
|
---|
| 281 | <para>
|
---|
| 282 | You can avoid this unpleasantness by
|
---|
| 283 | <emphasis>not</emphasis> untaring it as
|
---|
[bb040d25] | 284 | <systemitem class="username">root</systemitem>. If you must untar it as
|
---|
| 285 | <systemitem class="username">root</systemitem> pass the option
|
---|
| 286 | <option>-\-no-overwrite-dir</option> to tar. This is the default when you
|
---|
| 287 | untar as a user but has to be passed as an option when untaring as
|
---|
| 288 | <systemitem class="username">root</systemitem>:
|
---|
| 289 | </para>
|
---|
| 290 | </warning>-->
|
---|
| 291 |
|
---|
| 292 | <note>
|
---|
| 293 | <para>
|
---|
[bcc5446] | 294 | Building this package in a graphical environment is recommended.
|
---|
| 295 | There have been reports of build failures, when using
|
---|
[bb040d25] | 296 | <command>chroot</command> or <command>ssh</command>.
|
---|
[d97601a] | 297 | </para>
|
---|
[bb040d25] | 298 | </note>
|
---|
[d97601a] | 299 |
|
---|
[bcc5446] | 300 | <important>
|
---|
| 301 | <para>
|
---|
| 302 | Unlike the other packages, we suppose that you have not yet unpacked the
|
---|
| 303 | package. This is so because the <option>--no-overwrite-dir</option> switch
|
---|
| 304 | is needed in case you unpack as the
|
---|
| 305 | <systemitem class="username">root</systemitem> user.
|
---|
| 306 | </para>
|
---|
| 307 | </important>
|
---|
| 308 |
|
---|
| 309 | <screen><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &&
|
---|
[c20bced] | 310 | cd libreoffice-&libreoffice-dlversion;</userinput></screen>
|
---|
[d97601a] | 311 |
|
---|
[d2d3fc5] | 312 | <para>
|
---|
[ed2cf3c] | 313 | Unpack the dictionaries file and create symlinks to tarballs from the
|
---|
[b8242d8] | 314 | source directory so they won't get downloaded again. It is not necessary
|
---|
[bcc5446] | 315 | to unpack the help nor the translations tarballs:
|
---|
[d2d3fc5] | 316 | </para>
|
---|
| 317 |
|
---|
[6d5fec42] | 318 | <screen><userinput>install -dm755 external/tarballs &&
|
---|
[d2d3fc5] | 319 |
|
---|
[bb040d25] | 320 | tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz \
|
---|
[b8242d8] | 321 | --no-overwrite-dir --strip-components=1 &&
|
---|
[bb040d25] | 322 | <!-- Not necessary for this version
|
---|
| 323 | tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
| 324 | -->
|
---|
[d2d3fc5] | 325 |
|
---|
[bcc5446] | 326 | ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &&
|
---|
| 327 | ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
|
---|
| 328 |
|
---|
| 329 | <!-- Not necessary for this version
|
---|
[b8242d8] | 330 | <para>
|
---|
| 331 | If you have downloaded the translations tarball, unpack it:
|
---|
| 332 | </para>
|
---|
| 333 |
|
---|
| 334 | <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
| 335 | ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
| 336 | -->
|
---|
[ed2cf3c] | 337 | <para>
|
---|
| 338 | If you have downloaded the translations tarball, create a symlink:
|
---|
| 339 | </para>
|
---|
| 340 |
|
---|
[bcc5446] | 341 | <screen><userinput>ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
|
---|
[d2d3fc5] | 342 |
|
---|
[c20bced] | 343 | <note>
|
---|
| 344 | <para>
|
---|
| 345 | During the build process, some packages will be downloaded (including
|
---|
| 346 | the ones listed as recommended and optional dependencies) if they are
|
---|
[bcc5446] | 347 | not present on the system. Because of this, build time may vary from the
|
---|
| 348 | published time more than usual.
|
---|
[c20bced] | 349 | </para>
|
---|
| 350 | </note>
|
---|
[0d7900a] | 351 |
|
---|
[d2d3fc5] | 352 | <para>
|
---|
[b8242d8] | 353 | In the rest of the page, locales "en-US" and "pt-BR" are examples; you
|
---|
| 354 | can change them to suit your needs - you might want to read the
|
---|
| 355 | "Command Explanations", further below, before proceeding.
|
---|
[0c77b5ab] | 356 | </para>
|
---|
[efc0d11] | 357 |
|
---|
| 358 | <para>
|
---|
[bcc5446] | 359 | Due to the large size of the package, you may prefer to install it in
|
---|
| 360 | <filename class="directory">/opt</filename>, instead of
|
---|
| 361 | <filename class="directory">/usr</filename>. Depending on your choice,
|
---|
| 362 | replace <replaceable><PREFIX></replaceable> by
|
---|
| 363 | <filename class="directory">/usr</filename> or by
|
---|
| 364 | <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
|
---|
| 365 | </para>
|
---|
| 366 |
|
---|
| 367 | <screen><userinput>export LO_PREFIX=<replaceable><PREFIX></replaceable></userinput></screen>
|
---|
| 368 |
|
---|
| 369 | <para>
|
---|
| 370 | For i686 systems, fix a problem inroduced by <application>&gcc-490;</application>:
|
---|
[efc0d11] | 371 | </para>
|
---|
| 372 |
|
---|
[f4bb9987] | 373 | <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch &&</userinput></screen>
|
---|
[efc0d11] | 374 |
|
---|
[0c77b5ab] | 375 | <para>
|
---|
| 376 | Prepare <application>LibreOffice</application> for compilation by running
|
---|
| 377 | the following commands:
|
---|
[d2d3fc5] | 378 | </para>
|
---|
| 379 |
|
---|
[bb040d25] | 380 | <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-boost_1_56_0-1.patch &&
|
---|
| 381 |
|
---|
| 382 | sed -e "/gzip -f/d" \
|
---|
[c20bced] | 383 | -e "s|.1.gz|.1|g" \
|
---|
[14ea7e8] | 384 | -i bin/distro-install-desktop-integration &&
|
---|
[ed2cf3c] | 385 |
|
---|
[bb040d25] | 386 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[6d5fec42] | 387 |
|
---|
[bcc5446] | 388 | chmod -v +x bin/unpack-sources &&
|
---|
| 389 |
|
---|
[ed2cf3c] | 390 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 391 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 392 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
[bcc5446] | 393 | -i bin/unpack-sources &&
|
---|
[14ea7e8] | 394 |
|
---|
[b8242d8] | 395 | ./autogen.sh --prefix=$LO_PREFIX \
|
---|
[14ea7e8] | 396 | --sysconfdir=/etc \
|
---|
| 397 | --with-vendor="BLFS" \
|
---|
| 398 | --with-lang="en-US pt-BR" \
|
---|
| 399 | --with-help \
|
---|
| 400 | --with-alloc=system \
|
---|
| 401 | --without-java \
|
---|
| 402 | --disable-gconf \
|
---|
| 403 | --disable-odk \
|
---|
| 404 | --disable-postgresql-sdbc \
|
---|
[bb040d25] | 405 | --enable-release-build=yes \
|
---|
| 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>
|
---|
[c20bced] | 438 | Build the package:
|
---|
[d2d3fc5] | 439 | </para>
|
---|
| 440 |
|
---|
[c20bced] | 441 | <screen><userinput>make build</userinput></screen>
|
---|
[d2d3fc5] | 442 |
|
---|
| 443 | <para>
|
---|
[c20bced] | 444 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[d2d3fc5] | 445 | </para>
|
---|
| 446 |
|
---|
[b8242d8] | 447 | <screen role="root"><userinput>make distro-pack-install &&
|
---|
| 448 | install -v -m755 -d $LO_PREFIX/share/appdata &&
|
---|
| 449 | install -v -m644 sysui/desktop/appstream-appdata/*.xml \
|
---|
| 450 | $LO_PREFIX/share/appdata</userinput></screen>
|
---|
[c20bced] | 451 |
|
---|
[ed2cf3c] | 452 | <para>
|
---|
| 453 | If the dictionaries have been built, again as
|
---|
| 454 | <systemitem class="username">root</systemitem> user:
|
---|
| 455 | </para>
|
---|
| 456 |
|
---|
[b8242d8] | 457 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 458 | mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 459 | cp -vR dictionaries/en/* $LO_PREFIX/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 460 | mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 461 | cp -vR dictionaries/pt_BR/* $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[d83f555] | 462 |
|
---|
[bcc5446] | 463 | <para>
|
---|
| 464 | If installed in <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
|
---|
| 465 | and the icons in the new items of the desktop menu are not properly displayed,
|
---|
| 466 | optionally run the following commands, as
|
---|
| 467 | <systemitem class="username">root</systemitem> user (it may be necessary
|
---|
| 468 | to logout the session, before the icons appear):
|
---|
| 469 | </para>
|
---|
| 470 |
|
---|
| 471 | <screen role="root"><userinput>mkdir -pv /usr/share/pixmaps &&
|
---|
| 472 |
|
---|
| 473 | for i in writer base calc draw impress math startcenter writer
|
---|
| 474 | do
|
---|
| 475 | ln -svf /opt/libreoffice-&libreoffice-dlversion;/share/icons/hicolor/32x32/apps/libreoffice-$i.png \
|
---|
| 476 | /usr/share/pixmaps/
|
---|
| 477 | done
|
---|
| 478 | unset i</userinput></screen>
|
---|
| 479 |
|
---|
[c20bced] | 480 | </sect2>
|
---|
| 481 |
|
---|
| 482 | <sect2 role="commands">
|
---|
| 483 | <title>Command Explanations</title>
|
---|
[4c796cf] | 484 |
|
---|
[d2d3fc5] | 485 | <para>
|
---|
[bcc5446] | 486 | <command>sed -e ...</command>: The first sed prevents compression of the
|
---|
| 487 | manual pages, the second one prevents install from failing, and
|
---|
| 488 | the third one fixes the unpack script.
|
---|
[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>
|
---|
[b8242d8] | 499 | <!-- I believe en-US is not necessary anymore
|
---|
| 500 | <para>
|
---|
| 501 | <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
| 502 | what languages to support. en-US is always needed. To list several
|
---|
| 503 | languages, separate them with a space. For all languages, use
|
---|
| 504 | <parameter>-\-with-lang=ALL</parameter>
|
---|
| 505 | </para>
|
---|
| 506 | -->
|
---|
[4c796cf] | 507 |
|
---|
[ed2cf3c] | 508 | <para>
|
---|
[ffc716b] | 509 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[b8242d8] | 510 | what languages to support. To list several languages, separate them with
|
---|
| 511 | a space. For all languages, use
|
---|
[ffc716b] | 512 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 513 | </para>
|
---|
| 514 |
|
---|
[bcc5446] | 515 | <note><para>
|
---|
| 516 | For a list of the 117 available languages, you can look at the
|
---|
| 517 | translations tarball: <command>tar -tf
|
---|
| 518 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz |
|
---|
| 519 | grep translations/source| cut -d/ -f4 | uniq</command>.
|
---|
| 520 | </para></note>
|
---|
[ffc716b] | 521 |
|
---|
| 522 | <para>
|
---|
[b8242d8] | 523 | <parameter>--with-help</parameter>: Without this switch, the help files
|
---|
| 524 | are not built.
|
---|
[d2d3fc5] | 525 | </para>
|
---|
| 526 |
|
---|
| 527 | <para>
|
---|
[c20bced] | 528 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 529 | <application>LibreOffice</application> to use system allocator
|
---|
| 530 | instead of the internal one.
|
---|
[d2d3fc5] | 531 | </para>
|
---|
| 532 |
|
---|
| 533 | <para>
|
---|
[92b7b3a] | 534 | <parameter>--without-java</parameter>: This switch disables
|
---|
[c20bced] | 535 | <application>Java</application> support in
|
---|
| 536 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 537 | </para>
|
---|
| 538 |
|
---|
| 539 | <para>
|
---|
[92b7b3a] | 540 | <parameter>--disable-gconf</parameter>: This switch disables compiling
|
---|
[c20bced] | 541 | <application>LibreOffice</application> with the deprecated
|
---|
| 542 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 543 | </para>
|
---|
| 544 |
|
---|
| 545 | <para>
|
---|
[92b7b3a] | 546 | <parameter>--disable-odk</parameter>: This switch disables installing the
|
---|
[c20bced] | 547 | office development kit. Remove if you want to develop a
|
---|
| 548 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 549 | </para>
|
---|
| 550 |
|
---|
| 551 | <para>
|
---|
[92b7b3a] | 552 | <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
|
---|
[c20bced] | 553 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 554 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 555 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 556 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 557 | <application>PostgreSQL</application> on your system and would like
|
---|
| 558 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 559 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 560 | </para>
|
---|
[4469169] | 561 |
|
---|
| 562 | <para>
|
---|
[b8242d8] | 563 | <parameter>--enable-release-build=yes</parameter>: This switch enables a
|
---|
| 564 | Release Build.
|
---|
| 565 | <application>LibreOffice</application> can be built as a Release Build or
|
---|
| 566 | as a Developer Build, because their default installation paths and user
|
---|
| 567 | profile paths are different. Developer Build displays the words "Dev" and
|
---|
| 568 | "Beta" in several places (e.g, menu and splash screen).
|
---|
[4469169] | 569 | </para>
|
---|
[d2d3fc5] | 570 |
|
---|
| 571 | <para>
|
---|
[c20bced] | 572 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 573 | <application>LibreOffice</application> to use installed
|
---|
| 574 | <application>Python 3</application> to build the translations
|
---|
[bcc5446] | 575 | instead of the bundled one.
|
---|
[d2d3fc5] | 576 | </para>
|
---|
| 577 |
|
---|
| 578 | <para>
|
---|
[92b7b3a] | 579 | <parameter>--with-system-*</parameter>: These switches prevent
|
---|
[c20bced] | 580 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 581 | versions of these dependencies. If you've not installed some of the
|
---|
| 582 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 583 | </para>
|
---|
[8c853a1] | 584 |
|
---|
[c20bced] | 585 | <para>
|
---|
[92b7b3a] | 586 | <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
|
---|
[c20bced] | 587 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 588 | CPUs to compile in parallel and speed up the build.
|
---|
| 589 | </para>
|
---|
| 590 |
|
---|
| 591 | <para>
|
---|
[b8242d8] | 592 | <option>--disable-cups</option>: Use this switch if you don't need
|
---|
| 593 | printing support.
|
---|
[c20bced] | 594 | </para>
|
---|
| 595 |
|
---|
| 596 | <para>
|
---|
[bcc5446] | 597 | <option>--disable-dbus</option>: Use this switch if you've not
|
---|
| 598 | installed D-Bus-1.8.0 or later. It also disables Bluetooth support and
|
---|
| 599 | font install via PackageKit.
|
---|
| 600 | </para>
|
---|
| 601 |
|
---|
| 602 | <para>
|
---|
| 603 | <option>--disable-gstreamer-0-10</option>: Use this switch if you've
|
---|
| 604 | not installed <xref linkend="gst-plugins-base"/>.
|
---|
[c20bced] | 605 | </para>
|
---|
[d2d3fc5] | 606 |
|
---|
[c20bced] | 607 | <para>
|
---|
[bcc5446] | 608 | <option>--enable-gstreamer</option>: Use this switch if you want to
|
---|
| 609 | use <xref linkend="gst10-plugins-base"/> instead of
|
---|
| 610 | <xref linkend="gst-plugins-base"/> for the avmedia module.
|
---|
[c20bced] | 611 | </para>
|
---|
[d2d3fc5] | 612 |
|
---|
| 613 | <para>
|
---|
[c20bced] | 614 | <option>--enable-kde4</option>: Use this switch if you want to
|
---|
| 615 | build the <application>KDE</application> integration module.
|
---|
[d2d3fc5] | 616 | </para>
|
---|
| 617 |
|
---|
| 618 | </sect2>
|
---|
| 619 |
|
---|
| 620 | <sect2 role="content">
|
---|
| 621 | <title>Contents</title>
|
---|
| 622 |
|
---|
| 623 | <segmentedlist>
|
---|
| 624 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 625 | <segtitle>Installed Libraries</segtitle>
|
---|
[b8242d8] | 626 | <segtitle>Installed Directory</segtitle>
|
---|
[d2d3fc5] | 627 |
|
---|
| 628 | <seglistitem>
|
---|
[4c796cf] | 629 | <seg>
|
---|
[c20bced] | 630 | libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
|
---|
[b8242d8] | 631 | loimpress, lomath, loweb, lowriter, soffice and unopkg;
|
---|
| 632 | several programs under
|
---|
| 633 | $LO_PREFIX/lib/libreoffice/program
|
---|
[8c853a1] | 634 | </seg>
|
---|
[c3c56b2] | 635 | <seg>
|
---|
[b8242d8] | 636 | several libraries under
|
---|
| 637 | $LO_PREFIX/lib/libreoffice/{ure/lib,program}
|
---|
[c3c56b2] | 638 | </seg>
|
---|
[d2d3fc5] | 639 | <seg>
|
---|
[b8242d8] | 640 | $LO_PREFIX/lib/libreoffice
|
---|
[d2d3fc5] | 641 | </seg>
|
---|
| 642 | </seglistitem>
|
---|
| 643 | </segmentedlist>
|
---|
| 644 |
|
---|
| 645 | <variablelist>
|
---|
| 646 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 647 | <?dbfo list-presentation="list"?>
|
---|
| 648 | <?dbhtml list-presentation="table"?>
|
---|
| 649 |
|
---|
[c20bced] | 650 | <varlistentry id="lobase">
|
---|
| 651 | <term><command>lobase</command></term>
|
---|
[d2d3fc5] | 652 | <listitem>
|
---|
| 653 | <para>
|
---|
| 654 | is a database manager.
|
---|
| 655 | </para>
|
---|
[c20bced] | 656 | <indexterm zone="libreoffice lobase">
|
---|
| 657 | <primary sortas="b-lobase">lobase</primary>
|
---|
[d2d3fc5] | 658 | </indexterm>
|
---|
| 659 | </listitem>
|
---|
| 660 | </varlistentry>
|
---|
| 661 |
|
---|
[c20bced] | 662 | <varlistentry id="localc">
|
---|
| 663 | <term><command>localc</command></term>
|
---|
[d2d3fc5] | 664 | <listitem>
|
---|
| 665 | <para>
|
---|
| 666 | is a spreadsheet program.
|
---|
| 667 | </para>
|
---|
[c20bced] | 668 | <indexterm zone="libreoffice localc">
|
---|
| 669 | <primary sortas="b-localc">localc</primary>
|
---|
[d2d3fc5] | 670 | </indexterm>
|
---|
| 671 | </listitem>
|
---|
| 672 | </varlistentry>
|
---|
| 673 |
|
---|
[c20bced] | 674 | <varlistentry id="lodraw">
|
---|
| 675 | <term><command>lodraw</command></term>
|
---|
[d2d3fc5] | 676 | <listitem>
|
---|
| 677 | <para>
|
---|
| 678 | is a vector graphics editor and diagramming tool.
|
---|
| 679 | </para>
|
---|
[c20bced] | 680 | <indexterm zone="libreoffice lodraw">
|
---|
| 681 | <primary sortas="b-lodraw">lodraw</primary>
|
---|
[d2d3fc5] | 682 | </indexterm>
|
---|
| 683 | </listitem>
|
---|
| 684 | </varlistentry>
|
---|
| 685 |
|
---|
[c20bced] | 686 | <varlistentry id="loimpress">
|
---|
| 687 | <term><command>loimpress</command></term>
|
---|
[d2d3fc5] | 688 | <listitem>
|
---|
| 689 | <para>
|
---|
[c20bced] | 690 | can edit and display PowerPoint presentations.
|
---|
[d2d3fc5] | 691 | </para>
|
---|
[c20bced] | 692 | <indexterm zone="libreoffice loimpress">
|
---|
| 693 | <primary sortas="b-loimpress">loimpress</primary>
|
---|
[d2d3fc5] | 694 | </indexterm>
|
---|
| 695 | </listitem>
|
---|
| 696 | </varlistentry>
|
---|
| 697 |
|
---|
[c20bced] | 698 | <varlistentry id="lomath">
|
---|
| 699 | <term><command>lomath</command></term>
|
---|
[d2d3fc5] | 700 | <listitem>
|
---|
| 701 | <para>
|
---|
[c20bced] | 702 | is a mathematical formula editor.
|
---|
[d2d3fc5] | 703 | </para>
|
---|
[c20bced] | 704 | <indexterm zone="libreoffice lomath">
|
---|
| 705 | <primary sortas="b-lomath">lomath</primary>
|
---|
[d2d3fc5] | 706 | </indexterm>
|
---|
| 707 | </listitem>
|
---|
| 708 | </varlistentry>
|
---|
| 709 |
|
---|
[c20bced] | 710 | <varlistentry id="lowriter">
|
---|
| 711 | <term><command>lowriter</command></term>
|
---|
[2511f83] | 712 | <listitem>
|
---|
| 713 | <para>
|
---|
[c20bced] | 714 | is a word processor.
|
---|
[2511f83] | 715 | </para>
|
---|
[c20bced] | 716 | <indexterm zone="libreoffice lowriter">
|
---|
| 717 | <primary sortas="b-lowriter">lowriter</primary>
|
---|
[2511f83] | 718 | </indexterm>
|
---|
| 719 | </listitem>
|
---|
| 720 | </varlistentry>
|
---|
| 721 |
|
---|
[8d5cd1bb] | 722 | <varlistentry id="unopkg">
|
---|
| 723 | <term><command>unopkg</command></term>
|
---|
| 724 | <listitem>
|
---|
| 725 | <para>
|
---|
[fa29663] | 726 | is a tool to manage <application>LibreOffice</application>
|
---|
[c20bced] | 727 | extensions from the command line.
|
---|
[8d5cd1bb] | 728 | </para>
|
---|
| 729 | <indexterm zone="libreoffice unopkg">
|
---|
| 730 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 731 | </indexterm>
|
---|
| 732 | </listitem>
|
---|
| 733 | </varlistentry>
|
---|
| 734 |
|
---|
[d2d3fc5] | 735 | </variablelist>
|
---|
[8c853a1] | 736 |
|
---|
[d2d3fc5] | 737 | </sect2>
|
---|
[8c853a1] | 738 |
|
---|
[d2d3fc5] | 739 | </sect1>
|
---|