[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 |
|
---|
[3fa825f6] | 53 | &lfs75_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"/>,
|
---|
[d6d4ea1] | 138 | <xref linkend="perl-archive-zip"/>,
|
---|
[d97601a] | 139 | <xref linkend="unzip"/>,
|
---|
[c20bced] | 140 | <xref linkend="wget"/>,
|
---|
[d6d4ea1] | 141 | <xref linkend="which"/>, and
|
---|
[c20bced] | 142 | <xref linkend="zip"/>
|
---|
[d2d3fc5] | 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 146 | <note>
|
---|
| 147 | <para>
|
---|
[601a838] | 148 | Most of these packages are recommended because if they're not installed,
|
---|
[ceadeab] | 149 | the build process will compile and install its own (often older)
|
---|
[c20bced] | 150 | version.
|
---|
[d2d3fc5] | 151 | </para>
|
---|
| 152 | </note>
|
---|
| 153 |
|
---|
| 154 | <para role="recommended">
|
---|
[d6d4ea1] | 155 | <xref linkend="libjpeg"/>,
|
---|
| 156 | <xref linkend="glu"/>,
|
---|
| 157 | <xref linkend="gtk2"/>,
|
---|
[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),
|
---|
[d6d4ea1] | 181 | <xref linkend="redland"/>, and
|
---|
[c20bced] | 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"/>,
|
---|
[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>
|
---|
[ed2cf3c] | 295 | In the rest of the page, locales "en-US" and "pt-BR" are examples; the
|
---|
| 296 | user will change them to suit his needs - you might want to read the
|
---|
[d83f555] | 297 | "Command Explanations", further below, before proceeding. Due to the
|
---|
| 298 | large size of the package, the user may prefer to install in
|
---|
| 299 | <filename class="directory">/opt</filename>, instead of
|
---|
[14ea7e8] | 300 | <filename class="directory">/usr</filename>. Depending on your choice,
|
---|
| 301 | replace <replaceable><PREFIX></replaceable> by
|
---|
| 302 | <filename class="directory">/usr</filename> or by
|
---|
[d83f555] | 303 | <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
|
---|
[14ea7e8] | 304 | in the rest of the page. Prepare <application>LibreOffice</application>
|
---|
| 305 | for compilation by running the following commands:
|
---|
[d2d3fc5] | 306 | </para>
|
---|
| 307 |
|
---|
[c20bced] | 308 | <screen><userinput>sed -e "/gzip -f/d" \
|
---|
| 309 | -e "s|.1.gz|.1|g" \
|
---|
[14ea7e8] | 310 | -i bin/distro-install-desktop-integration &&
|
---|
[c8ff600] | 311 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[ed2cf3c] | 312 |
|
---|
[14ea7e8] | 313 | chmod -v +x bin/unpack-sources &&
|
---|
[ed2cf3c] | 314 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 315 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 316 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
[14ea7e8] | 317 | -i bin/unpack-sources &&
|
---|
| 318 |
|
---|
| 319 | ./autogen.sh --prefix=<replaceable><PREFIX></replaceable> \
|
---|
| 320 | --sysconfdir=/etc \
|
---|
| 321 | --with-vendor="BLFS" \
|
---|
| 322 | --with-lang="en-US pt-BR" \
|
---|
| 323 | --with-help \
|
---|
| 324 | --with-alloc=system \
|
---|
| 325 | --without-java \
|
---|
| 326 | --disable-gconf \
|
---|
| 327 | --disable-odk \
|
---|
| 328 | --disable-postgresql-sdbc \
|
---|
| 329 | --enable-release-build=yes \
|
---|
| 330 | --enable-python=system \
|
---|
| 331 | --with-system-boost \
|
---|
| 332 | --with-system-clucene \
|
---|
| 333 | --with-system-cairo \
|
---|
| 334 | --with-system-curl \
|
---|
| 335 | --with-system-expat \
|
---|
[2a75b9b] | 336 | --with-system-graphite \
|
---|
[14ea7e8] | 337 | --with-system-harfbuzz \
|
---|
| 338 | --with-system-icu \
|
---|
| 339 | --with-system-jpeg \
|
---|
| 340 | --with-system-lcms2 \
|
---|
| 341 | --with-system-libpng \
|
---|
| 342 | --with-system-libxml \
|
---|
| 343 | --with-system-mesa-headers \
|
---|
| 344 | --with-system-neon \
|
---|
[fd65789] | 345 | --with-system-npapi-headers \
|
---|
[14ea7e8] | 346 | --with-system-nss \
|
---|
| 347 | --with-system-odbc \
|
---|
| 348 | --with-system-openldap \
|
---|
| 349 | --with-system-openssl \
|
---|
| 350 | --with-system-poppler \
|
---|
| 351 | --with-system-redland \
|
---|
| 352 | --with-system-zlib \
|
---|
[c20bced] | 353 | --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
|
---|
[ceadeab] | 354 |
|
---|
[d2d3fc5] | 355 | <para>
|
---|
[c20bced] | 356 | The instructions below will only build the package without running
|
---|
| 357 | any unit tests. If you prefer to run the unit tests, replace
|
---|
[f2f63338] | 358 | <command>make build</command> with <command>make</command>.
|
---|
[d2d3fc5] | 359 | </para>
|
---|
| 360 |
|
---|
| 361 | <para>
|
---|
[c20bced] | 362 | Build the package:
|
---|
[d2d3fc5] | 363 | </para>
|
---|
| 364 |
|
---|
[c20bced] | 365 | <screen><userinput>make build</userinput></screen>
|
---|
[d2d3fc5] | 366 |
|
---|
| 367 | <para>
|
---|
[c20bced] | 368 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[d2d3fc5] | 369 | </para>
|
---|
| 370 |
|
---|
[14ea7e8] | 371 | <screen role="root"><userinput>make distro-pack-install &&
|
---|
| 372 | install -v -m755 -d <replaceable><PREFIX></replaceable>/share/appdata &&
|
---|
| 373 | install -v -m644 sysui/desktop/appstream-appdata/*.xml \
|
---|
| 374 | <replaceable><PREFIX></replaceable>/share/appdata</userinput></screen>
|
---|
[c20bced] | 375 |
|
---|
[ed2cf3c] | 376 | <para>
|
---|
| 377 | If the dictionaries have been built, again as
|
---|
| 378 | <systemitem class="username">root</systemitem> user:
|
---|
| 379 | </para>
|
---|
| 380 |
|
---|
[14ea7e8] | 381 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 382 | mkdir -pv <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 383 | cp -vR dictionaries/en/* <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 384 | mkdir -pv <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 385 | cp -vR dictionaries/pt_BR/* <replaceable><PREFIX></replaceable>/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[ed2cf3c] | 386 |
|
---|
[d83f555] | 387 | <para>
|
---|
| 388 | In the following, do not replace
|
---|
| 389 | <filename class="directory">/usr</filename> by
|
---|
| 390 | <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>.
|
---|
[14ea7e8] | 391 | If installed in <filename class="directory">/opt</filename> and the
|
---|
| 392 | icons in the new items of the desktop menu are not properly displayed,
|
---|
| 393 | optionally run the following commands, as
|
---|
| 394 | <systemitem class="username">root</systemitem> user (it may be necessary
|
---|
| 395 | to logout the session, before the icons appear):
|
---|
[d83f555] | 396 | </para>
|
---|
| 397 |
|
---|
| 398 | <screen role="root"><userinput>mkdir -pv /usr/share/pixmaps &&
|
---|
| 399 | for i in writer base calc draw impress math startcenter writer
|
---|
| 400 | do
|
---|
| 401 | ln -svf /opt/libreoffice-&libreoffice-dlversion;/share/icons/hicolor/32x32/apps/libreoffice-$i.png \
|
---|
| 402 | /usr/share/pixmaps/
|
---|
| 403 | done
|
---|
| 404 | unset i</userinput></screen>
|
---|
| 405 |
|
---|
[c20bced] | 406 | </sect2>
|
---|
| 407 |
|
---|
| 408 | <sect2 role="commands">
|
---|
| 409 | <title>Command Explanations</title>
|
---|
[4c796cf] | 410 |
|
---|
[d2d3fc5] | 411 | <para>
|
---|
[c20bced] | 412 | <command>sed -e ...</command>: First sed prevents compression of the
|
---|
[ed2cf3c] | 413 | manual pages, the second one prevents a script that causes install to
|
---|
| 414 | fail from running and the third one fixes the unpack script.
|
---|
| 415 | </para>
|
---|
| 416 |
|
---|
| 417 | <para>
|
---|
[ffc716b] | 418 | <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
|
---|
[d2d3fc5] | 419 | </para>
|
---|
| 420 |
|
---|
| 421 | <para>
|
---|
[ed2cf3c] | 422 | <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
|
---|
[5030bab] | 423 | the vendor which is mentioned when you click "About" on the toolbar.
|
---|
[d2d3fc5] | 424 | </para>
|
---|
[ffc716b] | 425 | <!-- I believe en-US is not necessary anymore
|
---|
[d2d3fc5] | 426 | <para>
|
---|
[ffc716b] | 427 | <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[5030bab] | 428 | what languages to support. en-US is always needed. To list several
|
---|
| 429 | languages, separate them with a space. For all languages, use
|
---|
[ffc716b] | 430 | <parameter>-\-with-lang=ALL</parameter>
|
---|
[4c796cf] | 431 | </para>
|
---|
[ffc716b] | 432 | -->
|
---|
[4c796cf] | 433 |
|
---|
[ed2cf3c] | 434 | <para>
|
---|
[ffc716b] | 435 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
| 436 | what languages to support. To list several languages, separate them with
|
---|
| 437 | a space. For all languages, use
|
---|
| 438 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 439 | </para>
|
---|
| 440 |
|
---|
[92b7b3a] | 441 | <note><para>
|
---|
[ffc716b] | 442 | For a list of the available languages, you can uncompress the
|
---|
| 443 | translations tarball, <command>tar -xf
|
---|
| 444 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
|
---|
| 445 | --no-overwrite-dir -C /tmp</command>, and run <command>ls
|
---|
| 446 | /tmp/libreoffice-&libreoffice-dlversion;/translations/source</command>.
|
---|
[92b7b3a] | 447 | </para></note>
|
---|
[ffc716b] | 448 |
|
---|
| 449 | <para>
|
---|
| 450 | <parameter>--with-help</parameter>: Without this switch, the help files
|
---|
| 451 | are not built.
|
---|
[d2d3fc5] | 452 | </para>
|
---|
| 453 |
|
---|
| 454 | <para>
|
---|
[c20bced] | 455 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 456 | <application>LibreOffice</application> to use system allocator
|
---|
| 457 | instead of the internal one.
|
---|
[d2d3fc5] | 458 | </para>
|
---|
| 459 |
|
---|
| 460 | <para>
|
---|
[92b7b3a] | 461 | <parameter>--without-java</parameter>: This switch disables
|
---|
[c20bced] | 462 | <application>Java</application> support in
|
---|
| 463 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 464 | </para>
|
---|
| 465 |
|
---|
| 466 | <para>
|
---|
[92b7b3a] | 467 | <parameter>--disable-gconf</parameter>: This switch disables compiling
|
---|
[c20bced] | 468 | <application>LibreOffice</application> with the deprecated
|
---|
| 469 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 470 | </para>
|
---|
| 471 |
|
---|
| 472 | <para>
|
---|
[92b7b3a] | 473 | <parameter>--disable-odk</parameter>: This switch disables installing the
|
---|
[c20bced] | 474 | office development kit. Remove if you want to develop a
|
---|
| 475 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 476 | </para>
|
---|
| 477 |
|
---|
| 478 | <para>
|
---|
[92b7b3a] | 479 | <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
|
---|
[c20bced] | 480 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 481 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 482 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 483 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 484 | <application>PostgreSQL</application> on your system and would like
|
---|
| 485 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 486 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 487 | </para>
|
---|
[4469169] | 488 |
|
---|
| 489 | <para>
|
---|
| 490 | <parameter>--enable-release-build=yes</parameter>: This switch enables a
|
---|
| 491 | Release Build.
|
---|
| 492 | <application>LibreOffice</application> can be built as a Release Build or
|
---|
| 493 | as a Developer Build, because their default installation paths and user
|
---|
| 494 | profile paths are different. Developer Build displays the words "Dev" and
|
---|
[14ea7e8] | 495 | "Beta" in several places (e.g, menu and splash scren).
|
---|
[4469169] | 496 | </para>
|
---|
[d2d3fc5] | 497 |
|
---|
| 498 | <para>
|
---|
[c20bced] | 499 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 500 | <application>LibreOffice</application> to use installed
|
---|
| 501 | <application>Python 3</application> to build the translations
|
---|
| 502 | instead of the bundled one. If you don't need to build any
|
---|
| 503 | translations, you can use <option>--disable-python</option>
|
---|
| 504 | instead.
|
---|
[d2d3fc5] | 505 | </para>
|
---|
| 506 |
|
---|
| 507 | <para>
|
---|
[92b7b3a] | 508 | <parameter>--with-system-*</parameter>: These switches prevent
|
---|
[c20bced] | 509 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 510 | versions of these dependencies. If you've not installed some of the
|
---|
| 511 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 512 | </para>
|
---|
[8c853a1] | 513 |
|
---|
[c20bced] | 514 | <para>
|
---|
[92b7b3a] | 515 | <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
|
---|
[c20bced] | 516 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 517 | CPUs to compile in parallel and speed up the build.
|
---|
| 518 | </para>
|
---|
| 519 |
|
---|
[87dfe6b] | 520 | <para>
|
---|
| 521 | <option>--disable-cups</option>: Use this switch if you don't need
|
---|
| 522 | printing support.
|
---|
| 523 | </para>
|
---|
| 524 |
|
---|
[c20bced] | 525 | <para>
|
---|
| 526 | <option>--disable-gstreamer-0.10</option>: Use this switch if you've
|
---|
| 527 | not installed <xref linkend="gst-plugins-base"/>.
|
---|
| 528 | </para>
|
---|
| 529 |
|
---|
[2407471] | 530 | <para>
|
---|
| 531 | <option>--disable-dbus</option>: Use this switch if you've not installed
|
---|
| 532 | <xref linkend="dbus"/>. It also disables Bluetooth support and font
|
---|
| 533 | install via PackageKit.
|
---|
| 534 | </para>
|
---|
| 535 |
|
---|
[c20bced] | 536 | <para>
|
---|
| 537 | <option>--enable-gstreamer</option>: Use this switch if you want to
|
---|
| 538 | use <xref linkend="gst10-plugins-base"/> instead of
|
---|
| 539 | <xref linkend="gst-plugins-base"/> for the avmedia module.
|
---|
| 540 | </para>
|
---|
[d2d3fc5] | 541 |
|
---|
[c20bced] | 542 | <para>
|
---|
| 543 | <option>--enable-gtk3</option>: Use this switch if you want to
|
---|
| 544 | build the <application>GTK+ 3</application> integration module.
|
---|
| 545 | </para>
|
---|
[d2d3fc5] | 546 |
|
---|
| 547 | <para>
|
---|
[c20bced] | 548 | <option>--enable-kde4</option>: Use this switch if you want to
|
---|
| 549 | build the <application>KDE</application> integration module.
|
---|
[d2d3fc5] | 550 | </para>
|
---|
| 551 |
|
---|
| 552 | </sect2>
|
---|
| 553 |
|
---|
| 554 | <sect2 role="content">
|
---|
| 555 | <title>Contents</title>
|
---|
| 556 |
|
---|
| 557 | <segmentedlist>
|
---|
| 558 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 559 | <segtitle>Installed Libraries</segtitle>
|
---|
[8c853a1] | 560 | <segtitle>Installed Directory</segtitle>
|
---|
[d2d3fc5] | 561 |
|
---|
| 562 | <seglistitem>
|
---|
[4c796cf] | 563 | <seg>
|
---|
[c20bced] | 564 | libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
|
---|
[4469169] | 565 | loimpress, lomath, loweb, lowriter, soffice and unopkg;
|
---|
| 566 | several programs under
|
---|
[14ea7e8] | 567 | <userinput><replaceable><PREFIX></replaceable></userinput>/lib/libreoffice/program
|
---|
[8c853a1] | 568 | </seg>
|
---|
[c3c56b2] | 569 | <seg>
|
---|
[4469169] | 570 | several libraries under
|
---|
[14ea7e8] | 571 | <userinput><replaceable><PREFIX></replaceable></userinput>/lib/libreoffice/{ure/lib,program}
|
---|
[c3c56b2] | 572 | </seg>
|
---|
[d2d3fc5] | 573 | <seg>
|
---|
[14ea7e8] | 574 | <userinput><replaceable><PREFIX></replaceable></userinput>/lib/libreoffice
|
---|
[d2d3fc5] | 575 | </seg>
|
---|
| 576 | </seglistitem>
|
---|
| 577 | </segmentedlist>
|
---|
| 578 |
|
---|
| 579 | <variablelist>
|
---|
| 580 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 581 | <?dbfo list-presentation="list"?>
|
---|
| 582 | <?dbhtml list-presentation="table"?>
|
---|
| 583 |
|
---|
[c20bced] | 584 | <varlistentry id="lobase">
|
---|
| 585 | <term><command>lobase</command></term>
|
---|
[d2d3fc5] | 586 | <listitem>
|
---|
| 587 | <para>
|
---|
| 588 | is a database manager.
|
---|
| 589 | </para>
|
---|
[c20bced] | 590 | <indexterm zone="libreoffice lobase">
|
---|
| 591 | <primary sortas="b-lobase">lobase</primary>
|
---|
[d2d3fc5] | 592 | </indexterm>
|
---|
| 593 | </listitem>
|
---|
| 594 | </varlistentry>
|
---|
| 595 |
|
---|
[c20bced] | 596 | <varlistentry id="localc">
|
---|
| 597 | <term><command>localc</command></term>
|
---|
[d2d3fc5] | 598 | <listitem>
|
---|
| 599 | <para>
|
---|
| 600 | is a spreadsheet program.
|
---|
| 601 | </para>
|
---|
[c20bced] | 602 | <indexterm zone="libreoffice localc">
|
---|
| 603 | <primary sortas="b-localc">localc</primary>
|
---|
[d2d3fc5] | 604 | </indexterm>
|
---|
| 605 | </listitem>
|
---|
| 606 | </varlistentry>
|
---|
| 607 |
|
---|
[c20bced] | 608 | <varlistentry id="lodraw">
|
---|
| 609 | <term><command>lodraw</command></term>
|
---|
[d2d3fc5] | 610 | <listitem>
|
---|
| 611 | <para>
|
---|
| 612 | is a vector graphics editor and diagramming tool.
|
---|
| 613 | </para>
|
---|
[c20bced] | 614 | <indexterm zone="libreoffice lodraw">
|
---|
| 615 | <primary sortas="b-lodraw">lodraw</primary>
|
---|
[d2d3fc5] | 616 | </indexterm>
|
---|
| 617 | </listitem>
|
---|
| 618 | </varlistentry>
|
---|
| 619 |
|
---|
[c20bced] | 620 | <varlistentry id="loimpress">
|
---|
| 621 | <term><command>loimpress</command></term>
|
---|
[d2d3fc5] | 622 | <listitem>
|
---|
| 623 | <para>
|
---|
[c20bced] | 624 | can edit and display PowerPoint presentations.
|
---|
[d2d3fc5] | 625 | </para>
|
---|
[c20bced] | 626 | <indexterm zone="libreoffice loimpress">
|
---|
| 627 | <primary sortas="b-loimpress">loimpress</primary>
|
---|
[d2d3fc5] | 628 | </indexterm>
|
---|
| 629 | </listitem>
|
---|
| 630 | </varlistentry>
|
---|
| 631 |
|
---|
[c20bced] | 632 | <varlistentry id="lomath">
|
---|
| 633 | <term><command>lomath</command></term>
|
---|
[d2d3fc5] | 634 | <listitem>
|
---|
| 635 | <para>
|
---|
[c20bced] | 636 | is a mathematical formula editor.
|
---|
[d2d3fc5] | 637 | </para>
|
---|
[c20bced] | 638 | <indexterm zone="libreoffice lomath">
|
---|
| 639 | <primary sortas="b-lomath">lomath</primary>
|
---|
[d2d3fc5] | 640 | </indexterm>
|
---|
| 641 | </listitem>
|
---|
| 642 | </varlistentry>
|
---|
| 643 |
|
---|
[c20bced] | 644 | <varlistentry id="lowriter">
|
---|
| 645 | <term><command>lowriter</command></term>
|
---|
[2511f83] | 646 | <listitem>
|
---|
| 647 | <para>
|
---|
[c20bced] | 648 | is a word processor.
|
---|
[2511f83] | 649 | </para>
|
---|
[c20bced] | 650 | <indexterm zone="libreoffice lowriter">
|
---|
| 651 | <primary sortas="b-lowriter">lowriter</primary>
|
---|
[2511f83] | 652 | </indexterm>
|
---|
| 653 | </listitem>
|
---|
| 654 | </varlistentry>
|
---|
| 655 |
|
---|
[8d5cd1bb] | 656 | <varlistentry id="unopkg">
|
---|
| 657 | <term><command>unopkg</command></term>
|
---|
| 658 | <listitem>
|
---|
| 659 | <para>
|
---|
[fa29663] | 660 | is a tool to manage <application>LibreOffice</application>
|
---|
[c20bced] | 661 | extensions from the command line.
|
---|
[8d5cd1bb] | 662 | </para>
|
---|
| 663 | <indexterm zone="libreoffice unopkg">
|
---|
| 664 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 665 | </indexterm>
|
---|
| 666 | </listitem>
|
---|
| 667 | </varlistentry>
|
---|
| 668 |
|
---|
[d2d3fc5] | 669 | </variablelist>
|
---|
[8c853a1] | 670 |
|
---|
[d2d3fc5] | 671 | </sect2>
|
---|
[8c853a1] | 672 |
|
---|
[d2d3fc5] | 673 | </sect1>
|
---|