[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">
|
---|
[4469169] | 10 | <!ENTITY libreoffice-core-md5sum "98674d57d6dd24baef38f007b5020e8e">
|
---|
| 11 | <!ENTITY libreoffice-core-size "118 MB">
|
---|
[c20bced] | 12 |
|
---|
| 13 | <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
|
---|
[4469169] | 14 | <!ENTITY libreoffice-dict-md5sum "c2b9d603b416d3efc11bf6dd3fc4d92e">
|
---|
| 15 | <!ENTITY libreoffice-dict-size "36 MB">
|
---|
[c20bced] | 16 |
|
---|
| 17 | <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
|
---|
[4469169] | 18 | <!ENTITY libreoffice-help-md5sum "8554bbbdfc72db998a191c71eeafdb55">
|
---|
[c20bced] | 19 | <!ENTITY libreoffice-help-size "1.8 MB">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
|
---|
[4469169] | 22 | <!ENTITY libreoffice-translations-md5sum "4873b18cd8a535814777c8630fe2db9f">
|
---|
| 23 | <!ENTITY libreoffice-translations-size "122 MB">
|
---|
[c20bced] | 24 |
|
---|
[67b9a05] | 25 | <!ENTITY libreoffice-buildsize "4.0 GB (423 MB installed) -
|
---|
[4469169] | 26 | 8.3 GB (537 MB installed), with translations">
|
---|
| 27 | <!ENTITY libreoffice-time "139 SBU - 177 SBU, with translations">
|
---|
[d2d3fc5] | 28 | ]>
|
---|
| 29 |
|
---|
[8c853a1] | 30 | <sect1 id="libreoffice" xreflabel="LibreOffice-&libreoffice-version;">
|
---|
[d2d3fc5] | 31 | <?dbhtml filename="libreoffice.html"?>
|
---|
| 32 |
|
---|
| 33 | <sect1info>
|
---|
| 34 | <othername>$LastChangedBy$</othername>
|
---|
| 35 | <date>$Date$</date>
|
---|
| 36 | </sect1info>
|
---|
| 37 |
|
---|
[8c853a1] | 38 | <title>LibreOffice-&libreoffice-version;</title>
|
---|
[d2d3fc5] | 39 |
|
---|
| 40 | <indexterm zone="libreoffice">
|
---|
[8c853a1] | 41 | <primary sortas="a-LibreOffice">LibreOffice</primary>
|
---|
[d2d3fc5] | 42 | </indexterm>
|
---|
| 43 |
|
---|
| 44 | <sect2 role="package">
|
---|
[fa29663] | 45 | <title>Introduction to LibreOffice</title>
|
---|
[d2d3fc5] | 46 |
|
---|
| 47 | <para>
|
---|
[fa29663] | 48 | <application>LibreOffice</application> is a full-featured office suite.
|
---|
| 49 | It is largely compatible with <application>Microsoft Office</application>
|
---|
[8c853a1] | 50 | and is descended from <application>OpenOffice.org</application>.
|
---|
[d2d3fc5] | 51 | </para>
|
---|
| 52 |
|
---|
[3ed51307] | 53 | &lfs74_checked;
|
---|
[d2d3fc5] | 54 |
|
---|
| 55 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 56 | <itemizedlist spacing="compact">
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
[9e1dd1b] | 59 | Core Download: <ulink url="&libreoffice-core-download-http;"/>
|
---|
[d2d3fc5] | 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Core Download MD5 sum: &libreoffice-core-md5sum;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Core Download size: &libreoffice-core-size;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
[c20bced] | 72 | <listitem>
|
---|
| 73 | <para>
|
---|
[9e1dd1b] | 74 | Estimated disk space required: &libreoffice-buildsize;
|
---|
[c20bced] | 75 | </para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
[9e1dd1b] | 79 | Estimated build time: &libreoffice-time;
|
---|
[c20bced] | 80 | </para>
|
---|
| 81 | </listitem>
|
---|
[9e1dd1b] | 82 | </itemizedlist>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 85 | <itemizedlist spacing="compact">
|
---|
[c20bced] | 86 | <listitem>
|
---|
| 87 | <para>
|
---|
[9e1dd1b] | 88 | Dictionaries: <ulink url="&libreoffice-dict-download-http;"/>
|
---|
[c20bced] | 89 | </para>
|
---|
| 90 | </listitem>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>
|
---|
[9e1dd1b] | 93 | Dictionaries MD5 sum: &libreoffice-dict-md5sum;
|
---|
[c20bced] | 94 | </para>
|
---|
| 95 | </listitem>
|
---|
| 96 | <listitem>
|
---|
| 97 | <para>
|
---|
[9e1dd1b] | 98 | Dictionaries size: &libreoffice-dict-size;
|
---|
[c20bced] | 99 | </para>
|
---|
| 100 | </listitem>
|
---|
[d2d3fc5] | 101 | <listitem>
|
---|
| 102 | <para>
|
---|
[9e1dd1b] | 103 | Help Files: <ulink url="&libreoffice-help-download-http;"/>
|
---|
[d2d3fc5] | 104 | </para>
|
---|
| 105 | </listitem>
|
---|
| 106 | <listitem>
|
---|
| 107 | <para>
|
---|
[9e1dd1b] | 108 | Help Files MD5 sum: &libreoffice-help-md5sum;
|
---|
[d2d3fc5] | 109 | </para>
|
---|
| 110 | </listitem>
|
---|
[c20bced] | 111 | <listitem>
|
---|
| 112 | <para>
|
---|
[9e1dd1b] | 113 | Help Files size: &libreoffice-help-size;
|
---|
[c20bced] | 114 | </para>
|
---|
| 115 | </listitem>
|
---|
| 116 | <listitem>
|
---|
| 117 | <para>
|
---|
[9e1dd1b] | 118 | Translations: <ulink url="&libreoffice-translations-download-http;"/>
|
---|
[c20bced] | 119 | </para>
|
---|
| 120 | </listitem>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>
|
---|
[9e1dd1b] | 123 | Translations MD5 sum: &libreoffice-translations-md5sum;
|
---|
[c20bced] | 124 | </para>
|
---|
| 125 | </listitem>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>
|
---|
[9e1dd1b] | 128 | Translations size: &libreoffice-translations-size;
|
---|
[c20bced] | 129 | </para>
|
---|
| 130 | </listitem>
|
---|
| 131 | </itemizedlist>
|
---|
| 132 |
|
---|
[fa29663] | 133 | <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
|
---|
[d2d3fc5] | 134 |
|
---|
| 135 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 136 | <para role="required">
|
---|
[ceadeab] | 137 | <xref linkend="gperf"/>,
|
---|
[c20bced] | 138 | <xref linkend="gtk2"/>,
|
---|
[d97601a] | 139 | <application>Perl Modules</application>
|
---|
[ceadeab] | 140 | <xref linkend="perl-archive-zip"/> and
|
---|
| 141 | <xref linkend="perl-xml-parser"/>,
|
---|
[d97601a] | 142 | <xref linkend="unzip"/>,
|
---|
[c20bced] | 143 | <xref linkend="wget"/>,
|
---|
[ceadeab] | 144 | <xref linkend="which"/> and
|
---|
[c20bced] | 145 | <xref linkend="zip"/>
|
---|
[d2d3fc5] | 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 149 | <note>
|
---|
| 150 | <para>
|
---|
[601a838] | 151 | Most of these packages are recommended because if they're not installed,
|
---|
[ceadeab] | 152 | the build process will compile and install its own (often older)
|
---|
[c20bced] | 153 | version.
|
---|
[d2d3fc5] | 154 | </para>
|
---|
| 155 | </note>
|
---|
| 156 |
|
---|
| 157 | <para role="recommended">
|
---|
[ee8e5be] | 158 | <xref linkend="boost"/>,
|
---|
[7f5a5884] | 159 | <xref linkend="clucene"/>,
|
---|
[87dfe6b] | 160 | <xref linkend="cups"/>,
|
---|
[c20bced] | 161 | <xref linkend="curl"/>,
|
---|
| 162 | <xref linkend="dbus"/>,
|
---|
[d2d3fc5] | 163 | <xref linkend="expat"/>,
|
---|
[2a75b9b] | 164 | <xref linkend="graphite2"/>,
|
---|
[c20bced] | 165 | <xref linkend="gst-plugins-base"/> or
|
---|
| 166 | <xref linkend="gst10-plugins-base"/>,
|
---|
[2a75b9b] | 167 | <xref linkend="harfbuzz"/>,
|
---|
[c20bced] | 168 | <xref linkend="icu"/>,
|
---|
| 169 | <xref linkend="lcms2"/>,
|
---|
[d2d3fc5] | 170 | <xref linkend="librsvg"/>,
|
---|
[c20bced] | 171 | <xref linkend="libxml2"/> and
|
---|
| 172 | <xref linkend="libxslt"/>,
|
---|
| 173 | <xref linkend="mesalib"/>,
|
---|
[d2d3fc5] | 174 | <xref linkend="neon"/>,
|
---|
[fd65789] | 175 | <xref linkend="npapi-sdk"/>,
|
---|
[d2d3fc5] | 176 | <xref linkend="nss"/>,
|
---|
[c20bced] | 177 | <xref linkend="openldap"/> (client only),
|
---|
| 178 | <xref linkend="openssl"/>,
|
---|
[f76286d] | 179 | <xref linkend="poppler"/>,
|
---|
[c20bced] | 180 | <xref linkend="python3"/> (used to build the translations),
|
---|
| 181 | <xref linkend="redland"/> and
|
---|
| 182 | <xref linkend="unixodbc"/>
|
---|
[d2d3fc5] | 183 | </para>
|
---|
| 184 |
|
---|
| 185 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 186 | <para role="optional">
|
---|
[4469169] | 187 | <xref linkend="avahi"/>,
|
---|
[c20bced] | 188 | <xref linkend="bluez"/>,
|
---|
[4469169] | 189 | <xref linkend="doxygen"/> (not relevant if using --disable-odk),
|
---|
[c20bced] | 190 | <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
|
---|
| 191 | <xref linkend="gtk3"/>,
|
---|
[ceadeab] | 192 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
[c20bced] | 193 | <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
| 194 | <xref linkend="kdelibs"/>,
|
---|
[4469169] | 195 | <xref linkend="libatomic_ops"/>,
|
---|
[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>,
|
---|
[419a60e] | 209 | <xref linkend="mariadb"/> or <xref linkend="mysql"/>,
|
---|
[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"/>,
|
---|
[7dc662a] | 216 | <xref linkend="vlc"/>,
|
---|
[4469169] | 217 | <xref linkend="x-window-system"/> and
|
---|
[665ac79f] | 218 | <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
|
---|
[d2d3fc5] | 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para condition="html" role="usernotes">
|
---|
| 222 | User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
|
---|
| 223 | </para>
|
---|
| 224 | </sect2>
|
---|
| 225 |
|
---|
| 226 | <sect2 role="installation">
|
---|
[fa29663] | 227 | <title>Installation of LibreOffice</title>
|
---|
[d2d3fc5] | 228 |
|
---|
[d97601a] | 229 | <warning>
|
---|
| 230 | <para>
|
---|
[c20bced] | 231 | Untaring the libreoffice-&libreoffice-dlversion; tarball as
|
---|
[d97601a] | 232 | <systemitem class="username">root</systemitem> has the curious effect of
|
---|
| 233 | changing the ownership of the <emphasis>parent</emphasis> directory
|
---|
| 234 | to a user with numerical id 11012 and with the permissions set to allow
|
---|
| 235 | read, write and execute for that user only! If you untared as
|
---|
| 236 | <systemitem class="username">root</systemitem> in your home folder you
|
---|
[c20bced] | 237 | could end up unable to log in again. If you untared it in
|
---|
[d97601a] | 238 | <filename class="directory">/usr</filename> you would find your user
|
---|
| 239 | account unable to access any file in
|
---|
[ceadeab] | 240 | <filename class="directory">/usr</filename>.
|
---|
[d97601a] | 241 | </para>
|
---|
| 242 |
|
---|
| 243 | <para>
|
---|
| 244 | You can avoid this unpleasantness by
|
---|
| 245 | <emphasis>not</emphasis> untaring it as
|
---|
| 246 | <systemitem class="username">root</systemitem>. If you must untar it as
|
---|
| 247 | <systemitem class="username">root</systemitem> pass the option
|
---|
| 248 | <option>--no-overwrite-dir</option> to tar. This is the default when you
|
---|
| 249 | untar as a user but has to be passed as an option when untaring as
|
---|
| 250 | <systemitem class="username">root</systemitem>:
|
---|
| 251 | </para>
|
---|
| 252 | </warning>
|
---|
| 253 |
|
---|
[c20bced] | 254 | <screen role="root"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &&
|
---|
| 255 | cd libreoffice-&libreoffice-dlversion;</userinput></screen>
|
---|
[d97601a] | 256 |
|
---|
[d2d3fc5] | 257 | <para>
|
---|
[ed2cf3c] | 258 | Unpack the dictionaries file and create symlinks to tarballs from the
|
---|
| 259 | source directory so they won't get downloaded again (it is not necessary
|
---|
| 260 | to unpack the help nor the translations tarballs):
|
---|
[d2d3fc5] | 261 | </para>
|
---|
| 262 |
|
---|
[c20bced] | 263 | <screen><userinput>install -dm755 src &&
|
---|
[d2d3fc5] | 264 |
|
---|
[c8ff600] | 265 | tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &&
|
---|
[ed2cf3c] | 266 | <!-- Not necessary for this version
|
---|
| 267 | tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
| 268 | -->
|
---|
[c20bced] | 269 | ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &&
|
---|
| 270 | ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
[d2d3fc5] | 271 |
|
---|
[ed2cf3c] | 272 | <!-- Not necessary for this version
|
---|
[d2d3fc5] | 273 | <para>
|
---|
[c20bced] | 274 | If you have downloaded the translations tarball, unpack it:
|
---|
[d2d3fc5] | 275 | </para>
|
---|
| 276 |
|
---|
[ed2cf3c] | 277 | <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
[c20bced] | 278 | ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
[ed2cf3c] | 279 | -->
|
---|
| 280 | <para>
|
---|
| 281 | If you have downloaded the translations tarball, create a symlink:
|
---|
| 282 | </para>
|
---|
| 283 |
|
---|
| 284 | <screen><userinput>ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
[d2d3fc5] | 285 |
|
---|
[c20bced] | 286 | <note>
|
---|
| 287 | <para>
|
---|
| 288 | During the build process, some packages will be downloaded (including
|
---|
| 289 | the ones listed as recommended and optional dependencies) if they are
|
---|
| 290 | not present on the system. Doing so, build time may be different
|
---|
| 291 | for everyone.
|
---|
| 292 | </para>
|
---|
| 293 | </note>
|
---|
[0d7900a] | 294 |
|
---|
[d2d3fc5] | 295 | <para>
|
---|
[ed2cf3c] | 296 | In the rest of the page, locales "en-US" and "pt-BR" are examples; the
|
---|
| 297 | user will change them to suit his needs - you might want to read the
|
---|
[d83f555] | 298 | "Command Explanations", further below, before proceeding. Due to the
|
---|
| 299 | large size of the package, the user may prefer to install in
|
---|
| 300 | <filename class="directory">/opt</filename>, instead of
|
---|
[14ea7e8] | 301 | <filename class="directory">/usr</filename>. Depending on your choice,
|
---|
| 302 | replace <replaceable><PREFIX></replaceable> by
|
---|
| 303 | <filename class="directory">/usr</filename> or by
|
---|
[d83f555] | 304 | <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
|
---|
[14ea7e8] | 305 | in the rest of the page. Prepare <application>LibreOffice</application>
|
---|
| 306 | for compilation by running the following commands:
|
---|
[d2d3fc5] | 307 | </para>
|
---|
| 308 |
|
---|
[c20bced] | 309 | <screen><userinput>sed -e "/gzip -f/d" \
|
---|
| 310 | -e "s|.1.gz|.1|g" \
|
---|
[14ea7e8] | 311 | -i bin/distro-install-desktop-integration &&
|
---|
[c8ff600] | 312 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[ed2cf3c] | 313 |
|
---|
[14ea7e8] | 314 | chmod -v +x bin/unpack-sources &&
|
---|
[ed2cf3c] | 315 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 316 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 317 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
[14ea7e8] | 318 | -i bin/unpack-sources &&
|
---|
| 319 |
|
---|
| 320 | ./autogen.sh --prefix=<replaceable><PREFIX></replaceable> \
|
---|
| 321 | --sysconfdir=/etc \
|
---|
| 322 | --with-vendor="BLFS" \
|
---|
| 323 | --with-lang="en-US pt-BR" \
|
---|
| 324 | --with-help \
|
---|
| 325 | --with-alloc=system \
|
---|
| 326 | --without-java \
|
---|
| 327 | --disable-gconf \
|
---|
| 328 | --disable-odk \
|
---|
| 329 | --disable-postgresql-sdbc \
|
---|
| 330 | --enable-release-build=yes \
|
---|
| 331 | --enable-python=system \
|
---|
| 332 | --with-system-boost \
|
---|
| 333 | --with-system-clucene \
|
---|
| 334 | --with-system-cairo \
|
---|
| 335 | --with-system-curl \
|
---|
| 336 | --with-system-expat \
|
---|
[2a75b9b] | 337 | --with-system-graphite \
|
---|
[14ea7e8] | 338 | --with-system-harfbuzz \
|
---|
| 339 | --with-system-icu \
|
---|
| 340 | --with-system-jpeg \
|
---|
| 341 | --with-system-lcms2 \
|
---|
| 342 | --with-system-libpng \
|
---|
| 343 | --with-system-libxml \
|
---|
| 344 | --with-system-mesa-headers \
|
---|
| 345 | --with-system-neon \
|
---|
[fd65789] | 346 | --with-system-npapi-headers \
|
---|
[14ea7e8] | 347 | --with-system-nss \
|
---|
| 348 | --with-system-odbc \
|
---|
| 349 | --with-system-openldap \
|
---|
| 350 | --with-system-openssl \
|
---|
| 351 | --with-system-poppler \
|
---|
| 352 | --with-system-redland \
|
---|
| 353 | --with-system-zlib \
|
---|
[c20bced] | 354 | --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
|
---|
[ceadeab] | 355 |
|
---|
[d2d3fc5] | 356 | <para>
|
---|
[c20bced] | 357 | The instructions below will only build the package without running
|
---|
| 358 | any unit tests. If you prefer to run the unit tests, replace
|
---|
[f2f63338] | 359 | <command>make build</command> with <command>make</command>.
|
---|
[d2d3fc5] | 360 | </para>
|
---|
| 361 |
|
---|
| 362 | <para>
|
---|
[c20bced] | 363 | Build the package:
|
---|
[d2d3fc5] | 364 | </para>
|
---|
| 365 |
|
---|
[c20bced] | 366 | <screen><userinput>make build</userinput></screen>
|
---|
[d2d3fc5] | 367 |
|
---|
| 368 | <para>
|
---|
[c20bced] | 369 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[d2d3fc5] | 370 | </para>
|
---|
| 371 |
|
---|
[14ea7e8] | 372 | <screen role="root"><userinput>make distro-pack-install &&
|
---|
| 373 | install -v -m755 -d <replaceable><PREFIX></replaceable>/share/appdata &&
|
---|
| 374 | install -v -m644 sysui/desktop/appstream-appdata/*.xml \
|
---|
| 375 | <replaceable><PREFIX></replaceable>/share/appdata</userinput></screen>
|
---|
[c20bced] | 376 |
|
---|
[ed2cf3c] | 377 | <para>
|
---|
| 378 | If the dictionaries have been built, again as
|
---|
| 379 | <systemitem class="username">root</systemitem> user:
|
---|
| 380 | </para>
|
---|
| 381 |
|
---|
[14ea7e8] | 382 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 383 | mkdir -pv <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 384 | cp -vR dictionaries/en/* <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 385 | mkdir -pv <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 386 | cp -vR dictionaries/pt_BR/* <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[ed2cf3c] | 387 |
|
---|
[d83f555] | 388 | <para>
|
---|
| 389 | In the following, do not replace
|
---|
| 390 | <filename class="directory">/usr</filename> by
|
---|
| 391 | <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>.
|
---|
[14ea7e8] | 392 | If installed in <filename class="directory">/opt</filename> and the
|
---|
| 393 | icons in the new items of the desktop menu are not properly displayed,
|
---|
| 394 | optionally run the following commands, as
|
---|
| 395 | <systemitem class="username">root</systemitem> user (it may be necessary
|
---|
| 396 | to logout the session, before the icons appear):
|
---|
[d83f555] | 397 | </para>
|
---|
| 398 |
|
---|
| 399 | <screen role="root"><userinput>mkdir -pv /usr/share/pixmaps &&
|
---|
| 400 | for i in writer base calc draw impress math startcenter writer
|
---|
| 401 | do
|
---|
| 402 | ln -svf /opt/libreoffice-&libreoffice-dlversion;/share/icons/hicolor/32x32/apps/libreoffice-$i.png \
|
---|
| 403 | /usr/share/pixmaps/
|
---|
| 404 | done
|
---|
| 405 | unset i</userinput></screen>
|
---|
| 406 |
|
---|
[c20bced] | 407 | </sect2>
|
---|
| 408 |
|
---|
| 409 | <sect2 role="commands">
|
---|
| 410 | <title>Command Explanations</title>
|
---|
[4c796cf] | 411 |
|
---|
[d2d3fc5] | 412 | <para>
|
---|
[c20bced] | 413 | <command>sed -e ...</command>: First sed prevents compression of the
|
---|
[ed2cf3c] | 414 | manual pages, the second one prevents a script that causes install to
|
---|
| 415 | fail from running and the third one fixes the unpack script.
|
---|
| 416 | </para>
|
---|
| 417 |
|
---|
| 418 | <para>
|
---|
[ffc716b] | 419 | <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
|
---|
[d2d3fc5] | 420 | </para>
|
---|
| 421 |
|
---|
| 422 | <para>
|
---|
[ed2cf3c] | 423 | <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
|
---|
[5030bab] | 424 | the vendor which is mentioned when you click "About" on the toolbar.
|
---|
[d2d3fc5] | 425 | </para>
|
---|
[ffc716b] | 426 | <!-- I believe en-US is not necessary anymore
|
---|
[d2d3fc5] | 427 | <para>
|
---|
[ffc716b] | 428 | <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[5030bab] | 429 | what languages to support. en-US is always needed. To list several
|
---|
| 430 | languages, separate them with a space. For all languages, use
|
---|
[ffc716b] | 431 | <parameter>-\-with-lang=ALL</parameter>
|
---|
[4c796cf] | 432 | </para>
|
---|
[ffc716b] | 433 | -->
|
---|
[4c796cf] | 434 |
|
---|
[ed2cf3c] | 435 | <para>
|
---|
[ffc716b] | 436 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
| 437 | what languages to support. To list several languages, separate them with
|
---|
| 438 | a space. For all languages, use
|
---|
| 439 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 440 | </para>
|
---|
| 441 |
|
---|
[92b7b3a] | 442 | <note><para>
|
---|
[ffc716b] | 443 | For a list of the available languages, you can uncompress the
|
---|
| 444 | translations tarball, <command>tar -xf
|
---|
| 445 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
|
---|
| 446 | --no-overwrite-dir -C /tmp</command>, and run <command>ls
|
---|
| 447 | /tmp/libreoffice-&libreoffice-dlversion;/translations/source</command>.
|
---|
[92b7b3a] | 448 | </para></note>
|
---|
[ffc716b] | 449 |
|
---|
| 450 | <para>
|
---|
| 451 | <parameter>--with-help</parameter>: Without this switch, the help files
|
---|
| 452 | are not built.
|
---|
[d2d3fc5] | 453 | </para>
|
---|
| 454 |
|
---|
| 455 | <para>
|
---|
[c20bced] | 456 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 457 | <application>LibreOffice</application> to use system allocator
|
---|
| 458 | instead of the internal one.
|
---|
[d2d3fc5] | 459 | </para>
|
---|
| 460 |
|
---|
| 461 | <para>
|
---|
[92b7b3a] | 462 | <parameter>--without-java</parameter>: This switch disables
|
---|
[c20bced] | 463 | <application>Java</application> support in
|
---|
| 464 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 465 | </para>
|
---|
| 466 |
|
---|
| 467 | <para>
|
---|
[92b7b3a] | 468 | <parameter>--disable-gconf</parameter>: This switch disables compiling
|
---|
[c20bced] | 469 | <application>LibreOffice</application> with the deprecated
|
---|
| 470 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 471 | </para>
|
---|
| 472 |
|
---|
| 473 | <para>
|
---|
[92b7b3a] | 474 | <parameter>--disable-odk</parameter>: This switch disables installing the
|
---|
[c20bced] | 475 | office development kit. Remove if you want to develop a
|
---|
| 476 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 477 | </para>
|
---|
| 478 |
|
---|
| 479 | <para>
|
---|
[92b7b3a] | 480 | <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
|
---|
[c20bced] | 481 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 482 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 483 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 484 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 485 | <application>PostgreSQL</application> on your system and would like
|
---|
| 486 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 487 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 488 | </para>
|
---|
[4469169] | 489 |
|
---|
| 490 | <para>
|
---|
| 491 | <parameter>--enable-release-build=yes</parameter>: This switch enables a
|
---|
| 492 | Release Build.
|
---|
| 493 | <application>LibreOffice</application> can be built as a Release Build or
|
---|
| 494 | as a Developer Build, because their default installation paths and user
|
---|
| 495 | profile paths are different. Developer Build displays the words "Dev" and
|
---|
[14ea7e8] | 496 | "Beta" in several places (e.g, menu and splash scren).
|
---|
[4469169] | 497 | </para>
|
---|
[d2d3fc5] | 498 |
|
---|
| 499 | <para>
|
---|
[c20bced] | 500 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 501 | <application>LibreOffice</application> to use installed
|
---|
| 502 | <application>Python 3</application> to build the translations
|
---|
| 503 | instead of the bundled one. If you don't need to build any
|
---|
| 504 | translations, you can use <option>--disable-python</option>
|
---|
| 505 | instead.
|
---|
[d2d3fc5] | 506 | </para>
|
---|
| 507 |
|
---|
| 508 | <para>
|
---|
[92b7b3a] | 509 | <parameter>--with-system-*</parameter>: These switches prevent
|
---|
[c20bced] | 510 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 511 | versions of these dependencies. If you've not installed some of the
|
---|
| 512 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 513 | </para>
|
---|
[8c853a1] | 514 |
|
---|
[c20bced] | 515 | <para>
|
---|
[92b7b3a] | 516 | <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
|
---|
[c20bced] | 517 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 518 | CPUs to compile in parallel and speed up the build.
|
---|
| 519 | </para>
|
---|
| 520 |
|
---|
[87dfe6b] | 521 | <para>
|
---|
| 522 | <option>--disable-cups</option>: Use this switch if you don't need
|
---|
| 523 | printing support.
|
---|
| 524 | </para>
|
---|
| 525 |
|
---|
[c20bced] | 526 | <para>
|
---|
| 527 | <option>--disable-gstreamer-0.10</option>: Use this switch if you've
|
---|
| 528 | not installed <xref linkend="gst-plugins-base"/>.
|
---|
| 529 | </para>
|
---|
| 530 |
|
---|
[2407471] | 531 | <para>
|
---|
| 532 | <option>--disable-dbus</option>: Use this switch if you've not installed
|
---|
| 533 | <xref linkend="dbus"/>. It also disables Bluetooth support and font
|
---|
| 534 | install via PackageKit.
|
---|
| 535 | </para>
|
---|
| 536 |
|
---|
[c20bced] | 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
|
---|
[14ea7e8] | 568 | <userinput><replaceable><PREFIX></replaceable></userinput>/lib/libreoffice/program
|
---|
[8c853a1] | 569 | </seg>
|
---|
[c3c56b2] | 570 | <seg>
|
---|
[4469169] | 571 | several libraries under
|
---|
[14ea7e8] | 572 | <userinput><replaceable><PREFIX></replaceable></userinput>/lib/libreoffice/{ure/lib,program}
|
---|
[c3c56b2] | 573 | </seg>
|
---|
[d2d3fc5] | 574 | <seg>
|
---|
[14ea7e8] | 575 | <userinput><replaceable><PREFIX></replaceable></userinput>/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>
|
---|