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