[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">
|
---|
[bb040d25] | 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">
|
---|
[bb040d25] | 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">
|
---|
[bb040d25] | 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">
|
---|
[bb040d25] | 22 | <!ENTITY libreoffice-translations-md5sum "b8d3445100c10bb4f21f6c8f25c5c600">
|
---|
[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 |
|
---|
| 30 | <!ENTITY libreoffice-buildsize "8.1 GB (535 MB installed), with translations">
|
---|
| 31 | <!ENTITY libreoffice-time "200 SBU, with translations">
|
---|
| 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.
|
---|
| 35 | -->
|
---|
| 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 |
|
---|
[5981b42] | 65 | &lfs76_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>
|
---|
[efc0d11] | 143 | <listitem>
|
---|
| 144 | <para>
|
---|
[bb040d25] | 145 | Required patch to fix building with system Boost:
|
---|
| 146 | <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-boost_1_56_0-1.patch"/>
|
---|
| 147 | </para>
|
---|
| 148 | </listitem>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>
|
---|
| 151 | Required patch for i686 systems, in order to fix a problem inroduced
|
---|
[aedf4d7] | 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)
|
---|
[5be9aa62] | 174 | version. If you have not installed some of the dependencies listed below,
|
---|
[9f465ac] | 175 | make sure you examine the <command>./configure --help</command> output
|
---|
| 176 | for information on switches needed to prevent
|
---|
| 177 | <command>./configure</command> to look for them.
|
---|
[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"/>,
|
---|
[5be9aa62] | 187 | <xref linkend="glu"/>,
|
---|
[2a75b9b] | 188 | <xref linkend="graphite2"/>,
|
---|
[c20bced] | 189 | <xref linkend="gst-plugins-base"/> or
|
---|
| 190 | <xref linkend="gst10-plugins-base"/>,
|
---|
[5be9aa62] | 191 | <xref linkend="gtk2"/>,
|
---|
[2a75b9b] | 192 | <xref linkend="harfbuzz"/>,
|
---|
[efc0d11] | 193 | <xref linkend="icu"/>,
|
---|
[c20bced] | 194 | <xref linkend="lcms2"/>,
|
---|
[05ff1d5] | 195 | <xref linkend="libatomic_ops"/>,
|
---|
[5be9aa62] | 196 | <xref linkend="libjpeg"/>,
|
---|
[d2d3fc5] | 197 | <xref linkend="librsvg"/>,
|
---|
[c20bced] | 198 | <xref linkend="libxml2"/> and
|
---|
| 199 | <xref linkend="libxslt"/>,
|
---|
| 200 | <xref linkend="mesalib"/>,
|
---|
[d2d3fc5] | 201 | <xref linkend="neon"/>,
|
---|
[fd65789] | 202 | <xref linkend="npapi-sdk"/>,
|
---|
[d2d3fc5] | 203 | <xref linkend="nss"/>,
|
---|
[c20bced] | 204 | <xref linkend="openldap"/> (client only),
|
---|
| 205 | <xref linkend="openssl"/>,
|
---|
[f76286d] | 206 | <xref linkend="poppler"/>,
|
---|
[c20bced] | 207 | <xref linkend="python3"/> (used to build the translations),
|
---|
[d6d4ea1] | 208 | <xref linkend="redland"/>, and
|
---|
[c20bced] | 209 | <xref linkend="unixodbc"/>
|
---|
[d2d3fc5] | 210 | </para>
|
---|
| 211 |
|
---|
| 212 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 213 | <para role="optional">
|
---|
[4469169] | 214 | <xref linkend="avahi"/>,
|
---|
[c20bced] | 215 | <xref linkend="bluez"/>,
|
---|
[4469169] | 216 | <xref linkend="doxygen"/> (not relevant if using --disable-odk),
|
---|
[f4bb9987] | 217 | <xref linkend="gdb"/>,
|
---|
[c20bced] | 218 | <xref linkend="gtk3"/>,
|
---|
| 219 | <xref linkend="kdelibs"/>,
|
---|
[deeafeb] | 220 | <xref linkend="mariadb"/>,
|
---|
| 221 | <xref linkend="mitkrb"/>,
|
---|
| 222 | <xref linkend="openjdk"/>,
|
---|
| 223 | <xref linkend="postgresql"/>,
|
---|
| 224 | <xref linkend="sane"/>,
|
---|
| 225 | <xref linkend="vlc"/>,
|
---|
| 226 | <xref linkend="zenity"/>,
|
---|
| 227 | <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
|
---|
| 228 | <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
|
---|
| 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>,
|
---|
[deeafeb] | 241 | <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
|
---|
| 242 | <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
|
---|
| 243 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
|
---|
| 244 | <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
|
---|
| 245 | <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
|
---|
[0191062b] | 246 | <ulink url="http://code.google.com/p/multidimalgorithm/">mdds</ulink>,
|
---|
[d97601a] | 247 | <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
|
---|
[deeafeb] | 248 | <ulink url="https://gitorious.org/orcus">Orcus</ulink>, and
|
---|
| 249 | <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</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>
|
---|
[bb040d25] | 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
|
---|
[bb040d25] | 281 | <systemitem class="username">root</systemitem>. If you must untar it as
|
---|
| 282 | <systemitem class="username">root</systemitem> pass the option
|
---|
| 283 | <option>-\-no-overwrite-dir</option> to tar. This is the default when you
|
---|
| 284 | untar as a user but has to be passed as an option when untaring as
|
---|
| 285 | <systemitem class="username">root</systemitem>:
|
---|
| 286 | </para>
|
---|
| 287 | </warning>-->
|
---|
| 288 |
|
---|
| 289 | <note>
|
---|
| 290 | <para>
|
---|
| 291 | It is recommended to build this package in a graphical environment,
|
---|
| 292 | because there have been reports of build failures, when using
|
---|
| 293 | <command>chroot</command> or <command>ssh</command>.
|
---|
[d97601a] | 294 | </para>
|
---|
[bb040d25] | 295 | </note>
|
---|
[d97601a] | 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
|
---|
[5be9aa62] | 302 | source directory so they won't get downloaded again:
|
---|
[d2d3fc5] | 303 | </para>
|
---|
| 304 |
|
---|
[6d5fec42] | 305 | <screen><userinput>install -dm755 external/tarballs &&
|
---|
[d2d3fc5] | 306 |
|
---|
[bb040d25] | 307 | tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz \
|
---|
[5cbeaff] | 308 | --no-overwrite-dir --strip-components=1</userinput></screen>
|
---|
| 309 | <!-- -\-no-overwrite-dir -\-strip-components=1 && -->
|
---|
[bb040d25] | 310 | <!-- Not necessary for this version
|
---|
| 311 | tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
| 312 | -->
|
---|
[d2d3fc5] | 313 |
|
---|
[ed2cf3c] | 314 | <para>
|
---|
| 315 | If you have downloaded the translations tarball, create a symlink:
|
---|
| 316 | </para>
|
---|
| 317 |
|
---|
[bb040d25] | 318 | <screen><userinput>ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz \
|
---|
| 319 | external/tarballs/</userinput></screen>
|
---|
[d2d3fc5] | 320 |
|
---|
[c20bced] | 321 | <note>
|
---|
| 322 | <para>
|
---|
| 323 | During the build process, some packages will be downloaded (including
|
---|
| 324 | the ones listed as recommended and optional dependencies) if they are
|
---|
| 325 | not present on the system. Doing so, build time may be different
|
---|
| 326 | for everyone.
|
---|
| 327 | </para>
|
---|
| 328 | </note>
|
---|
[0d7900a] | 329 |
|
---|
[d2d3fc5] | 330 | <para>
|
---|
[5be9aa62] | 331 | In the rest of the page, locales "en-US" and "pt-BR" are examples. Change
|
---|
| 332 | them to suit your needs. You might want to read the "Command Explanations"
|
---|
| 333 | further below before proceeding.
|
---|
[0c77b5ab] | 334 | </para>
|
---|
[efc0d11] | 335 |
|
---|
| 336 | <para>
|
---|
[78d9a95] | 337 | For i686 systems, fix a problem introduced by
|
---|
[aedf4d7] | 338 | <application>&gcc-490;</application>:
|
---|
[efc0d11] | 339 | </para>
|
---|
| 340 |
|
---|
[f4bb9987] | 341 | <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch &&</userinput></screen>
|
---|
[efc0d11] | 342 |
|
---|
[0c77b5ab] | 343 | <para>
|
---|
| 344 | Prepare <application>LibreOffice</application> for compilation by running
|
---|
| 345 | the following commands:
|
---|
[d2d3fc5] | 346 | </para>
|
---|
| 347 |
|
---|
[bb040d25] | 348 | <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-boost_1_56_0-1.patch &&
|
---|
| 349 |
|
---|
| 350 | sed -e "/gzip -f/d" \
|
---|
[c20bced] | 351 | -e "s|.1.gz|.1|g" \
|
---|
[14ea7e8] | 352 | -i bin/distro-install-desktop-integration &&
|
---|
[ed2cf3c] | 353 |
|
---|
[bb040d25] | 354 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[6d5fec42] | 355 |
|
---|
[bb040d25] | 356 | chmod -v +x bin/unpack-sources &&
|
---|
[14ea7e8] | 357 | chmod -v +x bin/unpack-sources &&
|
---|
[ed2cf3c] | 358 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 359 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 360 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
[14ea7e8] | 361 | -i bin/unpack-sources &&
|
---|
| 362 |
|
---|
[5be9aa62] | 363 | ./autogen.sh --prefix=/usr \
|
---|
[14ea7e8] | 364 | --sysconfdir=/etc \
|
---|
| 365 | --with-vendor="BLFS" \
|
---|
| 366 | --with-lang="en-US pt-BR" \
|
---|
| 367 | --with-help \
|
---|
| 368 | --with-alloc=system \
|
---|
| 369 | --without-java \
|
---|
| 370 | --disable-gconf \
|
---|
| 371 | --disable-odk \
|
---|
| 372 | --disable-postgresql-sdbc \
|
---|
[bb040d25] | 373 | --enable-release-build=yes \
|
---|
| 374 | --enable-python=system \
|
---|
| 375 | --with-system-boost \
|
---|
[14ea7e8] | 376 | --with-system-clucene \
|
---|
| 377 | --with-system-cairo \
|
---|
| 378 | --with-system-curl \
|
---|
| 379 | --with-system-expat \
|
---|
[2a75b9b] | 380 | --with-system-graphite \
|
---|
[14ea7e8] | 381 | --with-system-harfbuzz \
|
---|
[3d3bcee] | 382 | --with-system-icu \
|
---|
[14ea7e8] | 383 | --with-system-jpeg \
|
---|
| 384 | --with-system-lcms2 \
|
---|
[05ff1d5] | 385 | --with-system-libatomic_ops \
|
---|
[14ea7e8] | 386 | --with-system-libpng \
|
---|
| 387 | --with-system-libxml \
|
---|
| 388 | --with-system-mesa-headers \
|
---|
| 389 | --with-system-neon \
|
---|
[fd65789] | 390 | --with-system-npapi-headers \
|
---|
[14ea7e8] | 391 | --with-system-nss \
|
---|
| 392 | --with-system-odbc \
|
---|
| 393 | --with-system-openldap \
|
---|
| 394 | --with-system-openssl \
|
---|
| 395 | --with-system-poppler \
|
---|
| 396 | --with-system-redland \
|
---|
| 397 | --with-system-zlib \
|
---|
[c20bced] | 398 | --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
|
---|
[ceadeab] | 399 |
|
---|
[d2d3fc5] | 400 | <para>
|
---|
[c20bced] | 401 | The instructions below will only build the package without running
|
---|
| 402 | any unit tests. If you prefer to run the unit tests, replace
|
---|
[f2f63338] | 403 | <command>make build</command> with <command>make</command>.
|
---|
[d2d3fc5] | 404 | </para>
|
---|
| 405 |
|
---|
[5981b42] | 406 | <note>
|
---|
| 407 | <para>
|
---|
| 408 | The package needs to be built from an X terminal emulator.
|
---|
| 409 | </para>
|
---|
| 410 | </note>
|
---|
| 411 |
|
---|
[d2d3fc5] | 412 | <para>
|
---|
[c20bced] | 413 | Build the package:
|
---|
[d2d3fc5] | 414 | </para>
|
---|
| 415 |
|
---|
[c20bced] | 416 | <screen><userinput>make build</userinput></screen>
|
---|
[d2d3fc5] | 417 |
|
---|
| 418 | <para>
|
---|
[c20bced] | 419 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[d2d3fc5] | 420 | </para>
|
---|
| 421 |
|
---|
[5be9aa62] | 422 | <screen role="root"><userinput>make distro-pack-install &&
|
---|
| 423 | install -v -dm755 /usr/share/appdata &&
|
---|
| 424 | install -v -m644 sysui/desktop/appstream-appdata/*.xml \
|
---|
| 425 | /usr/share/appdata</userinput></screen>
|
---|
[c20bced] | 426 |
|
---|
[ed2cf3c] | 427 | <para>
|
---|
| 428 | If the dictionaries have been built, again as
|
---|
| 429 | <systemitem class="username">root</systemitem> user:
|
---|
| 430 | </para>
|
---|
| 431 |
|
---|
[5be9aa62] | 432 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 433 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 434 | cp -rv dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 435 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 436 | cp -rv dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[d83f555] | 437 |
|
---|
[c20bced] | 438 | </sect2>
|
---|
| 439 |
|
---|
| 440 | <sect2 role="commands">
|
---|
| 441 | <title>Command Explanations</title>
|
---|
[4c796cf] | 442 |
|
---|
[d2d3fc5] | 443 | <para>
|
---|
[c20bced] | 444 | <command>sed -e ...</command>: First sed prevents compression of the
|
---|
[ed2cf3c] | 445 | manual pages, the second one prevents a script that causes install to
|
---|
[bb040d25] | 446 | fail from running, the third one fixes the unpack script.
|
---|
[ed2cf3c] | 447 | </para>
|
---|
| 448 |
|
---|
| 449 | <para>
|
---|
[ffc716b] | 450 | <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
|
---|
[d2d3fc5] | 451 | </para>
|
---|
| 452 |
|
---|
| 453 | <para>
|
---|
[ed2cf3c] | 454 | <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
|
---|
[5030bab] | 455 | the vendor which is mentioned when you click "About" on the toolbar.
|
---|
[d2d3fc5] | 456 | </para>
|
---|
[4c796cf] | 457 |
|
---|
[ed2cf3c] | 458 | <para>
|
---|
[ffc716b] | 459 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[5be9aa62] | 460 | what languages to support. To list several languages, separate them
|
---|
| 461 | with a space. For all languages, use
|
---|
[ffc716b] | 462 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 463 | </para>
|
---|
| 464 |
|
---|
[5be9aa62] | 465 | <note>
|
---|
| 466 | <para>
|
---|
| 467 | For a list of the available languages, you can uncompress the
|
---|
| 468 | translations tarball by running the following command:
|
---|
| 469 | <command>tar -xf
|
---|
| 470 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
|
---|
| 471 | --no-overwrite-dir -C /tmp</command> and proceed to examine
|
---|
| 472 | the contents of <filename
|
---|
| 473 | class="directory">/tmp/libreoffice-&libreoffice-dlversion;/translations/source</filename>.
|
---|
| 474 | </para>
|
---|
| 475 | </note>
|
---|
[ffc716b] | 476 |
|
---|
| 477 | <para>
|
---|
[5be9aa62] | 478 | <parameter>--with-help</parameter>: This switch is used to build
|
---|
| 479 | the help files.
|
---|
[d2d3fc5] | 480 | </para>
|
---|
| 481 |
|
---|
| 482 | <para>
|
---|
[c20bced] | 483 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 484 | <application>LibreOffice</application> to use system allocator
|
---|
| 485 | instead of the internal one.
|
---|
[d2d3fc5] | 486 | </para>
|
---|
| 487 |
|
---|
| 488 | <para>
|
---|
[92b7b3a] | 489 | <parameter>--without-java</parameter>: This switch disables
|
---|
[c20bced] | 490 | <application>Java</application> support in
|
---|
| 491 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 492 | </para>
|
---|
| 493 |
|
---|
| 494 | <para>
|
---|
[92b7b3a] | 495 | <parameter>--disable-gconf</parameter>: This switch disables compiling
|
---|
[c20bced] | 496 | <application>LibreOffice</application> with the deprecated
|
---|
| 497 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 498 | </para>
|
---|
| 499 |
|
---|
| 500 | <para>
|
---|
[92b7b3a] | 501 | <parameter>--disable-odk</parameter>: This switch disables installing the
|
---|
[c20bced] | 502 | office development kit. Remove if you want to develop a
|
---|
| 503 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 504 | </para>
|
---|
| 505 |
|
---|
| 506 | <para>
|
---|
[92b7b3a] | 507 | <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
|
---|
[c20bced] | 508 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 509 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 510 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 511 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 512 | <application>PostgreSQL</application> on your system and would like
|
---|
| 513 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 514 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 515 | </para>
|
---|
[4469169] | 516 |
|
---|
| 517 | <para>
|
---|
[5be9aa62] | 518 | <parameter>--enable-release-build</parameter>: This switch is used to
|
---|
| 519 | remove "Beta" or "Dev" from <application>LibreOffice</application>
|
---|
| 520 | splash screen and "About" menu.
|
---|
[4469169] | 521 | </para>
|
---|
[d2d3fc5] | 522 |
|
---|
| 523 | <para>
|
---|
[c20bced] | 524 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 525 | <application>LibreOffice</application> to use installed
|
---|
| 526 | <application>Python 3</application> to build the translations
|
---|
| 527 | instead of the bundled one. If you don't need to build any
|
---|
| 528 | translations, you can use <option>--disable-python</option>
|
---|
| 529 | instead.
|
---|
[d2d3fc5] | 530 | </para>
|
---|
| 531 |
|
---|
| 532 | <para>
|
---|
[92b7b3a] | 533 | <parameter>--with-system-*</parameter>: These switches prevent
|
---|
[c20bced] | 534 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 535 | versions of these dependencies. If you've not installed some of the
|
---|
| 536 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 537 | </para>
|
---|
[8c853a1] | 538 |
|
---|
[c20bced] | 539 | <para>
|
---|
[92b7b3a] | 540 | <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
|
---|
[c20bced] | 541 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 542 | CPUs to compile in parallel and speed up the build.
|
---|
| 543 | </para>
|
---|
| 544 |
|
---|
| 545 | <para>
|
---|
[3a144df] | 546 | <option>--disable-gstreamer-0-10</option>: Use this switch if you
|
---|
| 547 | haven't installed <xref linkend="gst-plugins-base"/>.
|
---|
[c20bced] | 548 | </para>
|
---|
| 549 |
|
---|
| 550 | <para>
|
---|
| 551 | <option>--enable-gstreamer</option>: Use this switch if you want to
|
---|
| 552 | use <xref linkend="gst10-plugins-base"/> instead of
|
---|
| 553 | <xref linkend="gst-plugins-base"/> for the avmedia module.
|
---|
| 554 | </para>
|
---|
[d2d3fc5] | 555 |
|
---|
[c20bced] | 556 | <para>
|
---|
| 557 | <option>--enable-gtk3</option>: Use this switch if you want to
|
---|
| 558 | build the <application>GTK+ 3</application> integration module.
|
---|
| 559 | </para>
|
---|
[d2d3fc5] | 560 |
|
---|
| 561 | <para>
|
---|
[c20bced] | 562 | <option>--enable-kde4</option>: Use this switch if you want to
|
---|
| 563 | build the <application>KDE</application> integration module.
|
---|
[d2d3fc5] | 564 | </para>
|
---|
| 565 |
|
---|
| 566 | </sect2>
|
---|
| 567 |
|
---|
| 568 | <sect2 role="content">
|
---|
| 569 | <title>Contents</title>
|
---|
| 570 |
|
---|
| 571 | <segmentedlist>
|
---|
| 572 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 573 | <segtitle>Installed Libraries</segtitle>
|
---|
[5be9aa62] | 574 | <segtitle>Installed Directories</segtitle>
|
---|
[d2d3fc5] | 575 |
|
---|
| 576 | <seglistitem>
|
---|
[4c796cf] | 577 | <seg>
|
---|
[c20bced] | 578 | libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
|
---|
[5be9aa62] | 579 | loimpress, lomath, loweb, lowriter, soffice and unopkg
|
---|
[8c853a1] | 580 | </seg>
|
---|
[c3c56b2] | 581 | <seg>
|
---|
[5be9aa62] | 582 | None
|
---|
[c3c56b2] | 583 | </seg>
|
---|
[d2d3fc5] | 584 | <seg>
|
---|
[5be9aa62] | 585 | /usr/lib/libreoffice
|
---|
[d2d3fc5] | 586 | </seg>
|
---|
| 587 | </seglistitem>
|
---|
| 588 | </segmentedlist>
|
---|
| 589 |
|
---|
| 590 | <variablelist>
|
---|
| 591 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 592 | <?dbfo list-presentation="list"?>
|
---|
| 593 | <?dbhtml list-presentation="table"?>
|
---|
| 594 |
|
---|
[c20bced] | 595 | <varlistentry id="lobase">
|
---|
| 596 | <term><command>lobase</command></term>
|
---|
[d2d3fc5] | 597 | <listitem>
|
---|
| 598 | <para>
|
---|
| 599 | is a database manager.
|
---|
| 600 | </para>
|
---|
[c20bced] | 601 | <indexterm zone="libreoffice lobase">
|
---|
| 602 | <primary sortas="b-lobase">lobase</primary>
|
---|
[d2d3fc5] | 603 | </indexterm>
|
---|
| 604 | </listitem>
|
---|
| 605 | </varlistentry>
|
---|
| 606 |
|
---|
[c20bced] | 607 | <varlistentry id="localc">
|
---|
| 608 | <term><command>localc</command></term>
|
---|
[d2d3fc5] | 609 | <listitem>
|
---|
| 610 | <para>
|
---|
| 611 | is a spreadsheet program.
|
---|
| 612 | </para>
|
---|
[c20bced] | 613 | <indexterm zone="libreoffice localc">
|
---|
| 614 | <primary sortas="b-localc">localc</primary>
|
---|
[d2d3fc5] | 615 | </indexterm>
|
---|
| 616 | </listitem>
|
---|
| 617 | </varlistentry>
|
---|
| 618 |
|
---|
[c20bced] | 619 | <varlistentry id="lodraw">
|
---|
| 620 | <term><command>lodraw</command></term>
|
---|
[d2d3fc5] | 621 | <listitem>
|
---|
| 622 | <para>
|
---|
| 623 | is a vector graphics editor and diagramming tool.
|
---|
| 624 | </para>
|
---|
[c20bced] | 625 | <indexterm zone="libreoffice lodraw">
|
---|
| 626 | <primary sortas="b-lodraw">lodraw</primary>
|
---|
[d2d3fc5] | 627 | </indexterm>
|
---|
| 628 | </listitem>
|
---|
| 629 | </varlistentry>
|
---|
| 630 |
|
---|
[c20bced] | 631 | <varlistentry id="loimpress">
|
---|
| 632 | <term><command>loimpress</command></term>
|
---|
[d2d3fc5] | 633 | <listitem>
|
---|
| 634 | <para>
|
---|
[c20bced] | 635 | can edit and display PowerPoint presentations.
|
---|
[d2d3fc5] | 636 | </para>
|
---|
[c20bced] | 637 | <indexterm zone="libreoffice loimpress">
|
---|
| 638 | <primary sortas="b-loimpress">loimpress</primary>
|
---|
[d2d3fc5] | 639 | </indexterm>
|
---|
| 640 | </listitem>
|
---|
| 641 | </varlistentry>
|
---|
| 642 |
|
---|
[c20bced] | 643 | <varlistentry id="lomath">
|
---|
| 644 | <term><command>lomath</command></term>
|
---|
[d2d3fc5] | 645 | <listitem>
|
---|
| 646 | <para>
|
---|
[c20bced] | 647 | is a mathematical formula editor.
|
---|
[d2d3fc5] | 648 | </para>
|
---|
[c20bced] | 649 | <indexterm zone="libreoffice lomath">
|
---|
| 650 | <primary sortas="b-lomath">lomath</primary>
|
---|
[d2d3fc5] | 651 | </indexterm>
|
---|
| 652 | </listitem>
|
---|
| 653 | </varlistentry>
|
---|
| 654 |
|
---|
[c20bced] | 655 | <varlistentry id="lowriter">
|
---|
| 656 | <term><command>lowriter</command></term>
|
---|
[2511f83] | 657 | <listitem>
|
---|
| 658 | <para>
|
---|
[c20bced] | 659 | is a word processor.
|
---|
[2511f83] | 660 | </para>
|
---|
[c20bced] | 661 | <indexterm zone="libreoffice lowriter">
|
---|
| 662 | <primary sortas="b-lowriter">lowriter</primary>
|
---|
[2511f83] | 663 | </indexterm>
|
---|
| 664 | </listitem>
|
---|
| 665 | </varlistentry>
|
---|
| 666 |
|
---|
[8d5cd1bb] | 667 | <varlistentry id="unopkg">
|
---|
| 668 | <term><command>unopkg</command></term>
|
---|
| 669 | <listitem>
|
---|
| 670 | <para>
|
---|
[fa29663] | 671 | is a tool to manage <application>LibreOffice</application>
|
---|
[c20bced] | 672 | extensions from the command line.
|
---|
[8d5cd1bb] | 673 | </para>
|
---|
| 674 | <indexterm zone="libreoffice unopkg">
|
---|
| 675 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 676 | </indexterm>
|
---|
| 677 | </listitem>
|
---|
| 678 | </varlistentry>
|
---|
| 679 |
|
---|
[d2d3fc5] | 680 | </variablelist>
|
---|
[8c853a1] | 681 |
|
---|
[d2d3fc5] | 682 | </sect2>
|
---|
[8c853a1] | 683 |
|
---|
[d2d3fc5] | 684 | </sect1>
|
---|