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