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