[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">
|
---|
[799e9af] | 10 | <!ENTITY libreoffice-core-md5sum "de0d9322f3aaeb20abd5e06c5c0972bb">
|
---|
| 11 | <!ENTITY libreoffice-core-size "145 MB">
|
---|
[c20bced] | 12 |
|
---|
| 13 | <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
|
---|
[799e9af] | 14 | <!ENTITY libreoffice-dict-md5sum "cd27ec060c68079a13abf0984dbbf5fa">
|
---|
[4469169] | 15 | <!ENTITY libreoffice-dict-size "36 MB">
|
---|
[c20bced] | 16 |
|
---|
| 17 | <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
|
---|
[799e9af] | 18 | <!ENTITY libreoffice-help-md5sum "89d9da0ff2d5ea07f8c30c680fee2b0a">
|
---|
[c20bced] | 19 | <!ENTITY libreoffice-help-size "1.8 MB">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
|
---|
[799e9af] | 22 | <!ENTITY libreoffice-translations-md5sum "8e2f7905a0f827f655a1e21d93c6ddf7">
|
---|
| 23 | <!ENTITY libreoffice-translations-size "121 MB">
|
---|
[c20bced] | 24 |
|
---|
[d4cff20] | 25 | <!ENTITY libreoffice-buildsize "8.23 GB,(497 MB installed), with translations">
|
---|
[799e9af] | 26 | <!ENTITY libreoffice-time "144.3 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>
|
---|
[6cf9769] | 132 | Required patch for i686 systems, in order to fix a problem introduced
|
---|
[71952e0] | 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)
|
---|
[6cf9769] | 155 | version. If you have not installed some of the dependencies listed below,
|
---|
[43772c15] | 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">
|
---|
[6cf9769] | 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"/>,
|
---|
[6cf9769] | 168 | <xref linkend="glu"/>,
|
---|
[2a75b9b] | 169 | <xref linkend="graphite2"/>,
|
---|
[c20bced] | 170 | <xref linkend="gst-plugins-base"/> or
|
---|
| 171 | <xref linkend="gst10-plugins-base"/>,
|
---|
[6cf9769] | 172 | <xref linkend="gtk2"/>,
|
---|
[2a75b9b] | 173 | <xref linkend="harfbuzz"/>,
|
---|
[efc0d11] | 174 | <xref linkend="icu"/>,
|
---|
[c20bced] | 175 | <xref linkend="lcms2"/>,
|
---|
[6cf9769] | 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>,
|
---|
[6cf9769] | 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
|
---|
[6cf9769] | 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
|
---|
[6cf9769] | 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
|
---|
[6cf9769] | 274 | source directory so they won't get downloaded again:
|
---|
[d2d3fc5] | 275 | </para>
|
---|
| 276 |
|
---|
[799e9af] | 277 | <screen><userinput>install -dm755 external/tarballs &&
|
---|
[d2d3fc5] | 278 |
|
---|
[c8ff600] | 279 | tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &&
|
---|
[799e9af] | 280 | ln -sfv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &&
|
---|
| 281 | ln -sfv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
|
---|
[d2d3fc5] | 282 |
|
---|
[ed2cf3c] | 283 | <para>
|
---|
| 284 | If you have downloaded the translations tarball, create a symlink:
|
---|
| 285 | </para>
|
---|
| 286 |
|
---|
[799e9af] | 287 | <screen><userinput>ln -sfv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</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>
|
---|
[6cf9769] | 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>
|
---|
[71952e0] | 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 |
|
---|
[799e9af] | 321 | sed -e "/distro-install-file-lists/d" \
|
---|
| 322 | -e "s:fetch_Download_item:&_unchecked:" \
|
---|
| 323 | -e "/fetch_Download_item/s:,no-check::" \
|
---|
| 324 | -i Makefile.in &&
|
---|
| 325 |
|
---|
[14ea7e8] | 326 | chmod -v +x bin/unpack-sources &&
|
---|
[ed2cf3c] | 327 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 328 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 329 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
[14ea7e8] | 330 | -i bin/unpack-sources &&
|
---|
| 331 |
|
---|
[6cf9769] | 332 | ./autogen.sh --prefix=/usr \
|
---|
[14ea7e8] | 333 | --sysconfdir=/etc \
|
---|
| 334 | --with-vendor="BLFS" \
|
---|
| 335 | --with-lang="en-US pt-BR" \
|
---|
| 336 | --with-help \
|
---|
| 337 | --with-alloc=system \
|
---|
| 338 | --without-java \
|
---|
| 339 | --disable-gconf \
|
---|
| 340 | --disable-odk \
|
---|
| 341 | --disable-postgresql-sdbc \
|
---|
[6cf9769] | 342 | --enable-release-build \
|
---|
[14ea7e8] | 343 | --enable-python=system \
|
---|
[e3692bdf] | 344 | <!-- - -with-system-boost \ -->
|
---|
[14ea7e8] | 345 | --with-system-clucene \
|
---|
| 346 | --with-system-cairo \
|
---|
| 347 | --with-system-curl \
|
---|
| 348 | --with-system-expat \
|
---|
[2a75b9b] | 349 | --with-system-graphite \
|
---|
[14ea7e8] | 350 | --with-system-harfbuzz \
|
---|
[3d3bcee] | 351 | --with-system-icu \
|
---|
[14ea7e8] | 352 | --with-system-jpeg \
|
---|
| 353 | --with-system-lcms2 \
|
---|
| 354 | --with-system-libpng \
|
---|
| 355 | --with-system-libxml \
|
---|
| 356 | --with-system-mesa-headers \
|
---|
| 357 | --with-system-neon \
|
---|
[fd65789] | 358 | --with-system-npapi-headers \
|
---|
[14ea7e8] | 359 | --with-system-nss \
|
---|
| 360 | --with-system-odbc \
|
---|
| 361 | --with-system-openldap \
|
---|
| 362 | --with-system-openssl \
|
---|
| 363 | --with-system-poppler \
|
---|
| 364 | --with-system-redland \
|
---|
| 365 | --with-system-zlib \
|
---|
[c20bced] | 366 | --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
|
---|
[ceadeab] | 367 |
|
---|
[d2d3fc5] | 368 | <para>
|
---|
[c20bced] | 369 | The instructions below will only build the package without running
|
---|
| 370 | any unit tests. If you prefer to run the unit tests, replace
|
---|
[f2f63338] | 371 | <command>make build</command> with <command>make</command>.
|
---|
[d2d3fc5] | 372 | </para>
|
---|
| 373 |
|
---|
| 374 | <para>
|
---|
[c20bced] | 375 | Build the package:
|
---|
[d2d3fc5] | 376 | </para>
|
---|
| 377 |
|
---|
[c20bced] | 378 | <screen><userinput>make build</userinput></screen>
|
---|
[d2d3fc5] | 379 |
|
---|
| 380 | <para>
|
---|
[c20bced] | 381 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[d2d3fc5] | 382 | </para>
|
---|
| 383 |
|
---|
[6cf9769] | 384 | <screen role="root"><userinput>make distro-pack-install &&
|
---|
| 385 | install -v -dm755 /usr/share/appdata &&
|
---|
| 386 | install -v -m644 sysui/desktop/appstream-appdata/*.xml \
|
---|
| 387 | /usr/share/appdata</userinput></screen>
|
---|
[c20bced] | 388 |
|
---|
[ed2cf3c] | 389 | <para>
|
---|
| 390 | If the dictionaries have been built, again as
|
---|
| 391 | <systemitem class="username">root</systemitem> user:
|
---|
| 392 | </para>
|
---|
| 393 |
|
---|
[6cf9769] | 394 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 395 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 396 | cp -rv dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 397 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 398 | cp -rv dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[d83f555] | 399 |
|
---|
[c20bced] | 400 | </sect2>
|
---|
| 401 |
|
---|
| 402 | <sect2 role="commands">
|
---|
| 403 | <title>Command Explanations</title>
|
---|
[4c796cf] | 404 |
|
---|
[d2d3fc5] | 405 | <para>
|
---|
[c20bced] | 406 | <command>sed -e ...</command>: First sed prevents compression of the
|
---|
[ed2cf3c] | 407 | manual pages, the second one prevents a script that causes install to
|
---|
[799e9af] | 408 | fail from running, the third one fixes the download location
|
---|
| 409 | and the fourth one fixes the unpack script.
|
---|
[ed2cf3c] | 410 | </para>
|
---|
| 411 |
|
---|
| 412 | <para>
|
---|
[ffc716b] | 413 | <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
|
---|
[d2d3fc5] | 414 | </para>
|
---|
| 415 |
|
---|
| 416 | <para>
|
---|
[ed2cf3c] | 417 | <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
|
---|
[5030bab] | 418 | the vendor which is mentioned when you click "About" on the toolbar.
|
---|
[d2d3fc5] | 419 | </para>
|
---|
[4c796cf] | 420 |
|
---|
[ed2cf3c] | 421 | <para>
|
---|
[ffc716b] | 422 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[6cf9769] | 423 | what languages to support. To list several languages, separate them
|
---|
| 424 | with a space. For all languages, use
|
---|
[ffc716b] | 425 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 426 | </para>
|
---|
| 427 |
|
---|
[6cf9769] | 428 | <note>
|
---|
| 429 | <para>
|
---|
| 430 | For a list of the available languages, you can uncompress the
|
---|
| 431 | translations tarball by running the following command:
|
---|
| 432 | <command>tar -xf
|
---|
| 433 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
|
---|
| 434 | --no-overwrite-dir -C /tmp</command> and proceed to examine
|
---|
| 435 | the contents of <filename
|
---|
| 436 | class="directory">/tmp/libreoffice-&libreoffice-dlversion;/translations/source</filename>.
|
---|
| 437 | </para>
|
---|
| 438 | </note>
|
---|
[ffc716b] | 439 |
|
---|
| 440 | <para>
|
---|
[6cf9769] | 441 | <parameter>--with-help</parameter>: This switch is used to build
|
---|
| 442 | the help files.
|
---|
[d2d3fc5] | 443 | </para>
|
---|
| 444 |
|
---|
| 445 | <para>
|
---|
[c20bced] | 446 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 447 | <application>LibreOffice</application> to use system allocator
|
---|
| 448 | instead of the internal one.
|
---|
[d2d3fc5] | 449 | </para>
|
---|
| 450 |
|
---|
| 451 | <para>
|
---|
[92b7b3a] | 452 | <parameter>--without-java</parameter>: This switch disables
|
---|
[c20bced] | 453 | <application>Java</application> support in
|
---|
| 454 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 455 | </para>
|
---|
| 456 |
|
---|
| 457 | <para>
|
---|
[92b7b3a] | 458 | <parameter>--disable-gconf</parameter>: This switch disables compiling
|
---|
[c20bced] | 459 | <application>LibreOffice</application> with the deprecated
|
---|
| 460 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 461 | </para>
|
---|
| 462 |
|
---|
| 463 | <para>
|
---|
[92b7b3a] | 464 | <parameter>--disable-odk</parameter>: This switch disables installing the
|
---|
[c20bced] | 465 | office development kit. Remove if you want to develop a
|
---|
| 466 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 467 | </para>
|
---|
| 468 |
|
---|
| 469 | <para>
|
---|
[92b7b3a] | 470 | <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
|
---|
[c20bced] | 471 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 472 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 473 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 474 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 475 | <application>PostgreSQL</application> on your system and would like
|
---|
| 476 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 477 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 478 | </para>
|
---|
[4469169] | 479 |
|
---|
| 480 | <para>
|
---|
[6cf9769] | 481 | <parameter>--enable-release-build</parameter>: This switch is used to
|
---|
| 482 | remove "Beta" or "Dev" from <application>LibreOffice</application>
|
---|
| 483 | splash screen and "About" menu.
|
---|
[4469169] | 484 | </para>
|
---|
[d2d3fc5] | 485 |
|
---|
| 486 | <para>
|
---|
[c20bced] | 487 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 488 | <application>LibreOffice</application> to use installed
|
---|
| 489 | <application>Python 3</application> to build the translations
|
---|
| 490 | instead of the bundled one. If you don't need to build any
|
---|
| 491 | translations, you can use <option>--disable-python</option>
|
---|
| 492 | instead.
|
---|
[d2d3fc5] | 493 | </para>
|
---|
| 494 |
|
---|
| 495 | <para>
|
---|
[92b7b3a] | 496 | <parameter>--with-system-*</parameter>: These switches prevent
|
---|
[c20bced] | 497 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 498 | versions of these dependencies. If you've not installed some of the
|
---|
| 499 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 500 | </para>
|
---|
[8c853a1] | 501 |
|
---|
[c20bced] | 502 | <para>
|
---|
[92b7b3a] | 503 | <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
|
---|
[c20bced] | 504 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 505 | CPUs to compile in parallel and speed up the build.
|
---|
| 506 | </para>
|
---|
| 507 |
|
---|
| 508 | <para>
|
---|
[63ba5905] | 509 | <option>--disable-gstreamer-0-10</option>: Use this switch if you
|
---|
| 510 | haven't installed <xref linkend="gst-plugins-base"/>.
|
---|
[c20bced] | 511 | </para>
|
---|
| 512 |
|
---|
| 513 | <para>
|
---|
| 514 | <option>--enable-gstreamer</option>: Use this switch if you want to
|
---|
| 515 | use <xref linkend="gst10-plugins-base"/> instead of
|
---|
| 516 | <xref linkend="gst-plugins-base"/> for the avmedia module.
|
---|
| 517 | </para>
|
---|
[d2d3fc5] | 518 |
|
---|
[c20bced] | 519 | <para>
|
---|
| 520 | <option>--enable-gtk3</option>: Use this switch if you want to
|
---|
| 521 | build the <application>GTK+ 3</application> integration module.
|
---|
| 522 | </para>
|
---|
[d2d3fc5] | 523 |
|
---|
| 524 | <para>
|
---|
[c20bced] | 525 | <option>--enable-kde4</option>: Use this switch if you want to
|
---|
| 526 | build the <application>KDE</application> integration module.
|
---|
[d2d3fc5] | 527 | </para>
|
---|
| 528 |
|
---|
| 529 | </sect2>
|
---|
| 530 |
|
---|
| 531 | <sect2 role="content">
|
---|
| 532 | <title>Contents</title>
|
---|
| 533 |
|
---|
| 534 | <segmentedlist>
|
---|
| 535 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 536 | <segtitle>Installed Libraries</segtitle>
|
---|
[6cf9769] | 537 | <segtitle>Installed Directories</segtitle>
|
---|
[d2d3fc5] | 538 |
|
---|
| 539 | <seglistitem>
|
---|
[4c796cf] | 540 | <seg>
|
---|
[c20bced] | 541 | libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
|
---|
[6cf9769] | 542 | loimpress, lomath, loweb, lowriter, soffice and unopkg
|
---|
[8c853a1] | 543 | </seg>
|
---|
[c3c56b2] | 544 | <seg>
|
---|
[6cf9769] | 545 | None
|
---|
[c3c56b2] | 546 | </seg>
|
---|
[d2d3fc5] | 547 | <seg>
|
---|
[6cf9769] | 548 | /usr/lib/libreoffice
|
---|
[d2d3fc5] | 549 | </seg>
|
---|
| 550 | </seglistitem>
|
---|
| 551 | </segmentedlist>
|
---|
| 552 |
|
---|
| 553 | <variablelist>
|
---|
| 554 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 555 | <?dbfo list-presentation="list"?>
|
---|
| 556 | <?dbhtml list-presentation="table"?>
|
---|
| 557 |
|
---|
[c20bced] | 558 | <varlistentry id="lobase">
|
---|
| 559 | <term><command>lobase</command></term>
|
---|
[d2d3fc5] | 560 | <listitem>
|
---|
| 561 | <para>
|
---|
| 562 | is a database manager.
|
---|
| 563 | </para>
|
---|
[c20bced] | 564 | <indexterm zone="libreoffice lobase">
|
---|
| 565 | <primary sortas="b-lobase">lobase</primary>
|
---|
[d2d3fc5] | 566 | </indexterm>
|
---|
| 567 | </listitem>
|
---|
| 568 | </varlistentry>
|
---|
| 569 |
|
---|
[c20bced] | 570 | <varlistentry id="localc">
|
---|
| 571 | <term><command>localc</command></term>
|
---|
[d2d3fc5] | 572 | <listitem>
|
---|
| 573 | <para>
|
---|
| 574 | is a spreadsheet program.
|
---|
| 575 | </para>
|
---|
[c20bced] | 576 | <indexterm zone="libreoffice localc">
|
---|
| 577 | <primary sortas="b-localc">localc</primary>
|
---|
[d2d3fc5] | 578 | </indexterm>
|
---|
| 579 | </listitem>
|
---|
| 580 | </varlistentry>
|
---|
| 581 |
|
---|
[c20bced] | 582 | <varlistentry id="lodraw">
|
---|
| 583 | <term><command>lodraw</command></term>
|
---|
[d2d3fc5] | 584 | <listitem>
|
---|
| 585 | <para>
|
---|
| 586 | is a vector graphics editor and diagramming tool.
|
---|
| 587 | </para>
|
---|
[c20bced] | 588 | <indexterm zone="libreoffice lodraw">
|
---|
| 589 | <primary sortas="b-lodraw">lodraw</primary>
|
---|
[d2d3fc5] | 590 | </indexterm>
|
---|
| 591 | </listitem>
|
---|
| 592 | </varlistentry>
|
---|
| 593 |
|
---|
[c20bced] | 594 | <varlistentry id="loimpress">
|
---|
| 595 | <term><command>loimpress</command></term>
|
---|
[d2d3fc5] | 596 | <listitem>
|
---|
| 597 | <para>
|
---|
[c20bced] | 598 | can edit and display PowerPoint presentations.
|
---|
[d2d3fc5] | 599 | </para>
|
---|
[c20bced] | 600 | <indexterm zone="libreoffice loimpress">
|
---|
| 601 | <primary sortas="b-loimpress">loimpress</primary>
|
---|
[d2d3fc5] | 602 | </indexterm>
|
---|
| 603 | </listitem>
|
---|
| 604 | </varlistentry>
|
---|
| 605 |
|
---|
[c20bced] | 606 | <varlistentry id="lomath">
|
---|
| 607 | <term><command>lomath</command></term>
|
---|
[d2d3fc5] | 608 | <listitem>
|
---|
| 609 | <para>
|
---|
[c20bced] | 610 | is a mathematical formula editor.
|
---|
[d2d3fc5] | 611 | </para>
|
---|
[c20bced] | 612 | <indexterm zone="libreoffice lomath">
|
---|
| 613 | <primary sortas="b-lomath">lomath</primary>
|
---|
[d2d3fc5] | 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
[c20bced] | 618 | <varlistentry id="lowriter">
|
---|
| 619 | <term><command>lowriter</command></term>
|
---|
[2511f83] | 620 | <listitem>
|
---|
| 621 | <para>
|
---|
[c20bced] | 622 | is a word processor.
|
---|
[2511f83] | 623 | </para>
|
---|
[c20bced] | 624 | <indexterm zone="libreoffice lowriter">
|
---|
| 625 | <primary sortas="b-lowriter">lowriter</primary>
|
---|
[2511f83] | 626 | </indexterm>
|
---|
| 627 | </listitem>
|
---|
| 628 | </varlistentry>
|
---|
| 629 |
|
---|
[8d5cd1bb] | 630 | <varlistentry id="unopkg">
|
---|
| 631 | <term><command>unopkg</command></term>
|
---|
| 632 | <listitem>
|
---|
| 633 | <para>
|
---|
[fa29663] | 634 | is a tool to manage <application>LibreOffice</application>
|
---|
[c20bced] | 635 | extensions from the command line.
|
---|
[8d5cd1bb] | 636 | </para>
|
---|
| 637 | <indexterm zone="libreoffice unopkg">
|
---|
| 638 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 639 | </indexterm>
|
---|
| 640 | </listitem>
|
---|
| 641 | </varlistentry>
|
---|
| 642 |
|
---|
[d2d3fc5] | 643 | </variablelist>
|
---|
[8c853a1] | 644 |
|
---|
[d2d3fc5] | 645 | </sect2>
|
---|
[8c853a1] | 646 |
|
---|
[d2d3fc5] | 647 | </sect1>
|
---|