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