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