[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">
|
---|
[64135787] | 10 | <!ENTITY libreoffice-core-md5sum "cf750c01b6cd0b5c6fdd1760672e67d4">
|
---|
| 11 | <!ENTITY libreoffice-core-size "146 MB">
|
---|
[c20bced] | 12 |
|
---|
| 13 | <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
|
---|
[64135787] | 14 | <!ENTITY libreoffice-dict-md5sum "aae27f6c9db741c42acae48a1dfb0f5e">
|
---|
[4469169] | 15 | <!ENTITY libreoffice-dict-size "36 MB">
|
---|
[c20bced] | 16 |
|
---|
| 17 | <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
|
---|
[64135787] | 18 | <!ENTITY libreoffice-help-md5sum "24692bf69bbe877ad2524653c991705a">
|
---|
[c20bced] | 19 | <!ENTITY libreoffice-help-size "1.8 MB">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
|
---|
[64135787] | 22 | <!ENTITY libreoffice-translations-md5sum "b8d3445100c10bb4f21f6c8f25c5c600">
|
---|
[6d5fec42] | 23 | <!ENTITY libreoffice-translations-size "121 MB">
|
---|
[c20bced] | 24 |
|
---|
[64135787] | 25 | <!ENTITY libreoffice-buildsize "8.1 GB (497 MB installed)">
|
---|
| 26 | <!ENTITY libreoffice-time "200 SBU">
|
---|
[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 |
|
---|
[5981b42] | 52 | &lfs76_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>
|
---|
[64135787] | 132 | Required patch to fix building with system Boost:
|
---|
| 133 | <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-boost_1_56_0-1.patch"/>
|
---|
| 134 | </para>
|
---|
| 135 | </listitem>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>
|
---|
| 138 | Required patch to fix building on i686 systems:
|
---|
[f4bb9987] | 139 | <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch"/>
|
---|
[efc0d11] | 140 | </para>
|
---|
| 141 | </listitem>
|
---|
[c20bced] | 142 | </itemizedlist>
|
---|
| 143 |
|
---|
[fa29663] | 144 | <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
|
---|
[d2d3fc5] | 145 |
|
---|
| 146 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 147 | <para role="required">
|
---|
[d6d4ea1] | 148 | <xref linkend="perl-archive-zip"/>,
|
---|
[d97601a] | 149 | <xref linkend="unzip"/>,
|
---|
[c20bced] | 150 | <xref linkend="wget"/>,
|
---|
[d6d4ea1] | 151 | <xref linkend="which"/>, and
|
---|
[c20bced] | 152 | <xref linkend="zip"/>
|
---|
[d2d3fc5] | 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 156 | <note>
|
---|
| 157 | <para>
|
---|
[601a838] | 158 | Most of these packages are recommended because if they're not installed,
|
---|
[ceadeab] | 159 | the build process will compile and install its own (often older)
|
---|
[5be9aa62] | 160 | version. If you have not installed some of the dependencies listed below,
|
---|
[9f465ac] | 161 | make sure you examine the <command>./configure --help</command> output
|
---|
| 162 | for information on switches needed to prevent
|
---|
| 163 | <command>./configure</command> to look for them.
|
---|
[d2d3fc5] | 164 | </para>
|
---|
| 165 | </note>
|
---|
| 166 |
|
---|
| 167 | <para role="recommended">
|
---|
[64135787] | 168 | <xref linkend="boost"/>,
|
---|
[7f5a588] | 169 | <xref linkend="clucene"/>,
|
---|
[87dfe6b] | 170 | <xref linkend="cups"/>,
|
---|
[c20bced] | 171 | <xref linkend="curl"/>,
|
---|
[059ff67] | 172 | <xref linkend="dbus-glib"/>,
|
---|
[5be9aa62] | 173 | <xref linkend="glu"/>,
|
---|
[2a75b9b] | 174 | <xref linkend="graphite2"/>,
|
---|
[c20bced] | 175 | <xref linkend="gst-plugins-base"/> or
|
---|
| 176 | <xref linkend="gst10-plugins-base"/>,
|
---|
[5be9aa62] | 177 | <xref linkend="gtk2"/>,
|
---|
[2a75b9b] | 178 | <xref linkend="harfbuzz"/>,
|
---|
[efc0d11] | 179 | <xref linkend="icu"/>,
|
---|
[c20bced] | 180 | <xref linkend="lcms2"/>,
|
---|
[05ff1d5] | 181 | <xref linkend="libatomic_ops"/>,
|
---|
[5be9aa62] | 182 | <xref linkend="libjpeg"/>,
|
---|
[d2d3fc5] | 183 | <xref linkend="librsvg"/>,
|
---|
[c20bced] | 184 | <xref linkend="libxml2"/> and
|
---|
| 185 | <xref linkend="libxslt"/>,
|
---|
| 186 | <xref linkend="mesalib"/>,
|
---|
[d2d3fc5] | 187 | <xref linkend="neon"/>,
|
---|
[fd65789] | 188 | <xref linkend="npapi-sdk"/>,
|
---|
[d2d3fc5] | 189 | <xref linkend="nss"/>,
|
---|
[c20bced] | 190 | <xref linkend="openldap"/> (client only),
|
---|
| 191 | <xref linkend="openssl"/>,
|
---|
[f76286d] | 192 | <xref linkend="poppler"/>,
|
---|
[c20bced] | 193 | <xref linkend="python3"/> (used to build the translations),
|
---|
[d6d4ea1] | 194 | <xref linkend="redland"/>, and
|
---|
[c20bced] | 195 | <xref linkend="unixodbc"/>
|
---|
[d2d3fc5] | 196 | </para>
|
---|
| 197 |
|
---|
| 198 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 199 | <para role="optional">
|
---|
[4469169] | 200 | <xref linkend="avahi"/>,
|
---|
[c20bced] | 201 | <xref linkend="bluez"/>,
|
---|
[4469169] | 202 | <xref linkend="doxygen"/> (not relevant if using --disable-odk),
|
---|
[f4bb9987] | 203 | <xref linkend="gdb"/>,
|
---|
[c20bced] | 204 | <xref linkend="gtk3"/>,
|
---|
| 205 | <xref linkend="kdelibs"/>,
|
---|
[deeafeb] | 206 | <xref linkend="mariadb"/>,
|
---|
| 207 | <xref linkend="mitkrb"/>,
|
---|
| 208 | <xref linkend="openjdk"/>,
|
---|
| 209 | <xref linkend="postgresql"/>,
|
---|
| 210 | <xref linkend="sane"/>,
|
---|
| 211 | <xref linkend="vlc"/>,
|
---|
| 212 | <xref linkend="zenity"/>,
|
---|
| 213 | <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
|
---|
| 214 | <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
|
---|
[64135787] | 215 | <ulink url="http://sourceforge.net/projects/glew/">GLEW</ulink>,
|
---|
[deeafeb] | 216 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
| 217 | <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
[0f5aa11] | 218 | <ulink url="http://www.freedesktop.org/wiki/Software/libabw/">libabw</ulink>,
|
---|
[ae2a3fcb] | 219 | <ulink url="http://www.freedesktop.org/wiki/Software/libcdr/">libcdr</ulink>,
|
---|
[83bc811e] | 220 | <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
|
---|
[deeafeb] | 221 | <ulink url="http://www.sourceforge.net/projects/libebook/">libebook</ulink>,
|
---|
[0191062b] | 222 | <ulink url="http://www.freedesktop.org/wiki/Software/libexttextcat/">libexttextcat</ulink>,
|
---|
[deeafeb] | 223 | <ulink url="http://www.freedesktop.org/wiki/Software/libfreehand/">libfreehand</ulink>,
|
---|
[0191062b] | 224 | <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
|
---|
[deeafeb] | 225 | <ulink url="http://www.freedesktop.org/wiki/Software/libmspub/">libmspub</ulink>,
|
---|
| 226 | <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
|
---|
[885af2e] | 227 | <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
|
---|
[64135787] | 228 | <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge</ulink>,
|
---|
[deeafeb] | 229 | <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
|
---|
| 230 | <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
|
---|
| 231 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
|
---|
| 232 | <ulink url="http://libwps.sourceforge.net/">libwps</ulink>,
|
---|
| 233 | <ulink url="http://lpsolve.sourceforge.net/">lp_solve</ulink>,
|
---|
[0191062b] | 234 | <ulink url="http://code.google.com/p/multidimalgorithm/">mdds</ulink>,
|
---|
[d97601a] | 235 | <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
|
---|
[64135787] | 236 | <ulink url="http://sourceforge.net/projects/ogl-math/">OGL-Math</ulink>,
|
---|
| 237 | <ulink url="https://gitorious.org/orcus/">Orcus</ulink>, and
|
---|
[deeafeb] | 238 | <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</ulink>
|
---|
[d2d3fc5] | 239 | </para>
|
---|
| 240 |
|
---|
[f4bb9987] | 241 | <para>There are many optional dependencies not listed here. They can be
|
---|
| 242 | found in <quote>download.lst</quote> (source directory).
|
---|
| 243 | </para>
|
---|
| 244 |
|
---|
[d2d3fc5] | 245 | <para condition="html" role="usernotes">
|
---|
| 246 | User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
|
---|
| 247 | </para>
|
---|
| 248 | </sect2>
|
---|
| 249 |
|
---|
| 250 | <sect2 role="installation">
|
---|
[fa29663] | 251 | <title>Installation of LibreOffice</title>
|
---|
[d2d3fc5] | 252 |
|
---|
| 253 | <para>
|
---|
[ed2cf3c] | 254 | Unpack the dictionaries file and create symlinks to tarballs from the
|
---|
[5be9aa62] | 255 | source directory so they won't get downloaded again:
|
---|
[d2d3fc5] | 256 | </para>
|
---|
| 257 |
|
---|
[6d5fec42] | 258 | <screen><userinput>install -dm755 external/tarballs &&
|
---|
[d2d3fc5] | 259 |
|
---|
[c8ff600] | 260 | tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &&
|
---|
[64135787] | 261 | ln -sfv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &&
|
---|
| 262 | ln -sfv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
|
---|
[d2d3fc5] | 263 |
|
---|
[ed2cf3c] | 264 | <para>
|
---|
| 265 | If you have downloaded the translations tarball, create a symlink:
|
---|
| 266 | </para>
|
---|
| 267 |
|
---|
[64135787] | 268 | <screen><userinput>
|
---|
| 269 | ln -sfv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
|
---|
[d2d3fc5] | 270 |
|
---|
[c20bced] | 271 | <note>
|
---|
| 272 | <para>
|
---|
| 273 | During the build process, some packages will be downloaded (including
|
---|
| 274 | the ones listed as recommended and optional dependencies) if they are
|
---|
| 275 | not present on the system. Doing so, build time may be different
|
---|
| 276 | for everyone.
|
---|
| 277 | </para>
|
---|
| 278 | </note>
|
---|
[0d7900a] | 279 |
|
---|
[d2d3fc5] | 280 | <para>
|
---|
[5be9aa62] | 281 | In the rest of the page, locales "en-US" and "pt-BR" are examples. Change
|
---|
| 282 | them to suit your needs. You might want to read the "Command Explanations"
|
---|
| 283 | further below before proceeding.
|
---|
[0c77b5ab] | 284 | </para>
|
---|
[efc0d11] | 285 |
|
---|
| 286 | <para>
|
---|
[64135787] | 287 | If building on an i686 system, fix a problem introduced by
|
---|
| 288 | <application>GCC-4.9.0</application>:
|
---|
[efc0d11] | 289 | </para>
|
---|
| 290 |
|
---|
[f4bb9987] | 291 | <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch &&</userinput></screen>
|
---|
[efc0d11] | 292 |
|
---|
[0c77b5ab] | 293 | <para>
|
---|
| 294 | Prepare <application>LibreOffice</application> for compilation by running
|
---|
| 295 | the following commands:
|
---|
[d2d3fc5] | 296 | </para>
|
---|
| 297 |
|
---|
[64135787] | 298 | <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-boost_1_56_0-1.patch &&
|
---|
| 299 |
|
---|
| 300 | sed -e "/gzip -f/d" \
|
---|
[c20bced] | 301 | -e "s|.1.gz|.1|g" \
|
---|
[14ea7e8] | 302 | -i bin/distro-install-desktop-integration &&
|
---|
[c8ff600] | 303 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[ed2cf3c] | 304 |
|
---|
[64135787] | 305 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[6d5fec42] | 306 |
|
---|
[14ea7e8] | 307 | chmod -v +x bin/unpack-sources &&
|
---|
[ed2cf3c] | 308 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 309 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 310 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
[14ea7e8] | 311 | -i bin/unpack-sources &&
|
---|
| 312 |
|
---|
[5be9aa62] | 313 | ./autogen.sh --prefix=/usr \
|
---|
[14ea7e8] | 314 | --sysconfdir=/etc \
|
---|
| 315 | --with-vendor="BLFS" \
|
---|
| 316 | --with-lang="en-US pt-BR" \
|
---|
| 317 | --with-help \
|
---|
| 318 | --with-alloc=system \
|
---|
| 319 | --without-java \
|
---|
| 320 | --disable-gconf \
|
---|
| 321 | --disable-odk \
|
---|
| 322 | --disable-postgresql-sdbc \
|
---|
[5be9aa62] | 323 | --enable-release-build \
|
---|
[64135787] | 324 | --enable-python=system \
|
---|
| 325 | --with-system-boost \
|
---|
[14ea7e8] | 326 | --with-system-clucene \
|
---|
| 327 | --with-system-cairo \
|
---|
| 328 | --with-system-curl \
|
---|
| 329 | --with-system-expat \
|
---|
[2a75b9b] | 330 | --with-system-graphite \
|
---|
[14ea7e8] | 331 | --with-system-harfbuzz \
|
---|
[3d3bcee] | 332 | --with-system-icu \
|
---|
[14ea7e8] | 333 | --with-system-jpeg \
|
---|
| 334 | --with-system-lcms2 \
|
---|
[05ff1d5] | 335 | --with-system-libatomic_ops \
|
---|
[14ea7e8] | 336 | --with-system-libpng \
|
---|
| 337 | --with-system-libxml \
|
---|
| 338 | --with-system-mesa-headers \
|
---|
| 339 | --with-system-neon \
|
---|
[fd65789] | 340 | --with-system-npapi-headers \
|
---|
[14ea7e8] | 341 | --with-system-nss \
|
---|
| 342 | --with-system-odbc \
|
---|
| 343 | --with-system-openldap \
|
---|
| 344 | --with-system-openssl \
|
---|
| 345 | --with-system-poppler \
|
---|
| 346 | --with-system-redland \
|
---|
| 347 | --with-system-zlib \
|
---|
[c20bced] | 348 | --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
|
---|
[ceadeab] | 349 |
|
---|
[d2d3fc5] | 350 | <para>
|
---|
[c20bced] | 351 | The instructions below will only build the package without running
|
---|
| 352 | any unit tests. If you prefer to run the unit tests, replace
|
---|
[f2f63338] | 353 | <command>make build</command> with <command>make</command>.
|
---|
[d2d3fc5] | 354 | </para>
|
---|
| 355 |
|
---|
[5981b42] | 356 | <note>
|
---|
| 357 | <para>
|
---|
| 358 | The package needs to be built from an X terminal emulator.
|
---|
| 359 | </para>
|
---|
| 360 | </note>
|
---|
| 361 |
|
---|
[d2d3fc5] | 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 |
|
---|
[5be9aa62] | 372 | <screen role="root"><userinput>make distro-pack-install &&
|
---|
| 373 | install -v -dm755 /usr/share/appdata &&
|
---|
| 374 | install -v -m644 sysui/desktop/appstream-appdata/*.xml \
|
---|
| 375 | /usr/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 |
|
---|
[5be9aa62] | 382 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 383 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 384 | cp -rv dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 385 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 386 | cp -rv dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[d83f555] | 387 |
|
---|
[c20bced] | 388 | </sect2>
|
---|
| 389 |
|
---|
| 390 | <sect2 role="commands">
|
---|
| 391 | <title>Command Explanations</title>
|
---|
[4c796cf] | 392 |
|
---|
[d2d3fc5] | 393 | <para>
|
---|
[c20bced] | 394 | <command>sed -e ...</command>: First sed prevents compression of the
|
---|
[ed2cf3c] | 395 | manual pages, the second one prevents a script that causes install to
|
---|
[64135787] | 396 | fail from running and the third one fixes the unpack script.
|
---|
[ed2cf3c] | 397 | </para>
|
---|
| 398 |
|
---|
| 399 | <para>
|
---|
[ffc716b] | 400 | <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
|
---|
[d2d3fc5] | 401 | </para>
|
---|
| 402 |
|
---|
| 403 | <para>
|
---|
[ed2cf3c] | 404 | <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
|
---|
[5030bab] | 405 | the vendor which is mentioned when you click "About" on the toolbar.
|
---|
[d2d3fc5] | 406 | </para>
|
---|
[4c796cf] | 407 |
|
---|
[ed2cf3c] | 408 | <para>
|
---|
[ffc716b] | 409 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[5be9aa62] | 410 | what languages to support. To list several languages, separate them
|
---|
| 411 | with a space. For all languages, use
|
---|
[ffc716b] | 412 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 413 | </para>
|
---|
| 414 |
|
---|
[5be9aa62] | 415 | <note>
|
---|
| 416 | <para>
|
---|
| 417 | For a list of the available languages, you can uncompress the
|
---|
| 418 | translations tarball by running the following command:
|
---|
| 419 | <command>tar -xf
|
---|
| 420 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
|
---|
| 421 | --no-overwrite-dir -C /tmp</command> and proceed to examine
|
---|
| 422 | the contents of <filename
|
---|
| 423 | class="directory">/tmp/libreoffice-&libreoffice-dlversion;/translations/source</filename>.
|
---|
| 424 | </para>
|
---|
| 425 | </note>
|
---|
[ffc716b] | 426 |
|
---|
| 427 | <para>
|
---|
[5be9aa62] | 428 | <parameter>--with-help</parameter>: This switch is used to build
|
---|
| 429 | the help files.
|
---|
[d2d3fc5] | 430 | </para>
|
---|
| 431 |
|
---|
| 432 | <para>
|
---|
[c20bced] | 433 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 434 | <application>LibreOffice</application> to use system allocator
|
---|
| 435 | instead of the internal one.
|
---|
[d2d3fc5] | 436 | </para>
|
---|
| 437 |
|
---|
| 438 | <para>
|
---|
[92b7b3a] | 439 | <parameter>--without-java</parameter>: This switch disables
|
---|
[c20bced] | 440 | <application>Java</application> support in
|
---|
| 441 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 442 | </para>
|
---|
| 443 |
|
---|
| 444 | <para>
|
---|
[92b7b3a] | 445 | <parameter>--disable-gconf</parameter>: This switch disables compiling
|
---|
[c20bced] | 446 | <application>LibreOffice</application> with the deprecated
|
---|
| 447 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 448 | </para>
|
---|
| 449 |
|
---|
| 450 | <para>
|
---|
[92b7b3a] | 451 | <parameter>--disable-odk</parameter>: This switch disables installing the
|
---|
[c20bced] | 452 | office development kit. Remove if you want to develop a
|
---|
| 453 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 454 | </para>
|
---|
| 455 |
|
---|
| 456 | <para>
|
---|
[92b7b3a] | 457 | <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
|
---|
[c20bced] | 458 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 459 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 460 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 461 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 462 | <application>PostgreSQL</application> on your system and would like
|
---|
| 463 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 464 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 465 | </para>
|
---|
[4469169] | 466 |
|
---|
| 467 | <para>
|
---|
[5be9aa62] | 468 | <parameter>--enable-release-build</parameter>: This switch is used to
|
---|
| 469 | remove "Beta" or "Dev" from <application>LibreOffice</application>
|
---|
| 470 | splash screen and "About" menu.
|
---|
[4469169] | 471 | </para>
|
---|
[d2d3fc5] | 472 |
|
---|
| 473 | <para>
|
---|
[c20bced] | 474 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 475 | <application>LibreOffice</application> to use installed
|
---|
| 476 | <application>Python 3</application> to build the translations
|
---|
| 477 | instead of the bundled one. If you don't need to build any
|
---|
| 478 | translations, you can use <option>--disable-python</option>
|
---|
| 479 | instead.
|
---|
[d2d3fc5] | 480 | </para>
|
---|
| 481 |
|
---|
| 482 | <para>
|
---|
[92b7b3a] | 483 | <parameter>--with-system-*</parameter>: These switches prevent
|
---|
[c20bced] | 484 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 485 | versions of these dependencies. If you've not installed some of the
|
---|
| 486 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 487 | </para>
|
---|
[8c853a1] | 488 |
|
---|
[c20bced] | 489 | <para>
|
---|
[92b7b3a] | 490 | <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
|
---|
[c20bced] | 491 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 492 | CPUs to compile in parallel and speed up the build.
|
---|
| 493 | </para>
|
---|
| 494 |
|
---|
| 495 | <para>
|
---|
[3a144df] | 496 | <option>--disable-gstreamer-0-10</option>: Use this switch if you
|
---|
| 497 | haven't installed <xref linkend="gst-plugins-base"/>.
|
---|
[c20bced] | 498 | </para>
|
---|
| 499 |
|
---|
| 500 | <para>
|
---|
| 501 | <option>--enable-gstreamer</option>: Use this switch if you want to
|
---|
| 502 | use <xref linkend="gst10-plugins-base"/> instead of
|
---|
| 503 | <xref linkend="gst-plugins-base"/> for the avmedia module.
|
---|
| 504 | </para>
|
---|
[d2d3fc5] | 505 |
|
---|
[c20bced] | 506 | <para>
|
---|
| 507 | <option>--enable-gtk3</option>: Use this switch if you want to
|
---|
| 508 | build the <application>GTK+ 3</application> integration module.
|
---|
| 509 | </para>
|
---|
[d2d3fc5] | 510 |
|
---|
| 511 | <para>
|
---|
[c20bced] | 512 | <option>--enable-kde4</option>: Use this switch if you want to
|
---|
| 513 | build the <application>KDE</application> integration module.
|
---|
[d2d3fc5] | 514 | </para>
|
---|
| 515 |
|
---|
| 516 | </sect2>
|
---|
| 517 |
|
---|
| 518 | <sect2 role="content">
|
---|
| 519 | <title>Contents</title>
|
---|
| 520 |
|
---|
| 521 | <segmentedlist>
|
---|
| 522 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 523 | <segtitle>Installed Libraries</segtitle>
|
---|
[5be9aa62] | 524 | <segtitle>Installed Directories</segtitle>
|
---|
[d2d3fc5] | 525 |
|
---|
| 526 | <seglistitem>
|
---|
[4c796cf] | 527 | <seg>
|
---|
[c20bced] | 528 | libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
|
---|
[5be9aa62] | 529 | loimpress, lomath, loweb, lowriter, soffice and unopkg
|
---|
[8c853a1] | 530 | </seg>
|
---|
[c3c56b2] | 531 | <seg>
|
---|
[5be9aa62] | 532 | None
|
---|
[c3c56b2] | 533 | </seg>
|
---|
[d2d3fc5] | 534 | <seg>
|
---|
[5be9aa62] | 535 | /usr/lib/libreoffice
|
---|
[d2d3fc5] | 536 | </seg>
|
---|
| 537 | </seglistitem>
|
---|
| 538 | </segmentedlist>
|
---|
| 539 |
|
---|
| 540 | <variablelist>
|
---|
| 541 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 542 | <?dbfo list-presentation="list"?>
|
---|
| 543 | <?dbhtml list-presentation="table"?>
|
---|
| 544 |
|
---|
[c20bced] | 545 | <varlistentry id="lobase">
|
---|
| 546 | <term><command>lobase</command></term>
|
---|
[d2d3fc5] | 547 | <listitem>
|
---|
| 548 | <para>
|
---|
| 549 | is a database manager.
|
---|
| 550 | </para>
|
---|
[c20bced] | 551 | <indexterm zone="libreoffice lobase">
|
---|
| 552 | <primary sortas="b-lobase">lobase</primary>
|
---|
[d2d3fc5] | 553 | </indexterm>
|
---|
| 554 | </listitem>
|
---|
| 555 | </varlistentry>
|
---|
| 556 |
|
---|
[c20bced] | 557 | <varlistentry id="localc">
|
---|
| 558 | <term><command>localc</command></term>
|
---|
[d2d3fc5] | 559 | <listitem>
|
---|
| 560 | <para>
|
---|
| 561 | is a spreadsheet program.
|
---|
| 562 | </para>
|
---|
[c20bced] | 563 | <indexterm zone="libreoffice localc">
|
---|
| 564 | <primary sortas="b-localc">localc</primary>
|
---|
[d2d3fc5] | 565 | </indexterm>
|
---|
| 566 | </listitem>
|
---|
| 567 | </varlistentry>
|
---|
| 568 |
|
---|
[c20bced] | 569 | <varlistentry id="lodraw">
|
---|
| 570 | <term><command>lodraw</command></term>
|
---|
[d2d3fc5] | 571 | <listitem>
|
---|
| 572 | <para>
|
---|
| 573 | is a vector graphics editor and diagramming tool.
|
---|
| 574 | </para>
|
---|
[c20bced] | 575 | <indexterm zone="libreoffice lodraw">
|
---|
| 576 | <primary sortas="b-lodraw">lodraw</primary>
|
---|
[d2d3fc5] | 577 | </indexterm>
|
---|
| 578 | </listitem>
|
---|
| 579 | </varlistentry>
|
---|
| 580 |
|
---|
[c20bced] | 581 | <varlistentry id="loimpress">
|
---|
| 582 | <term><command>loimpress</command></term>
|
---|
[d2d3fc5] | 583 | <listitem>
|
---|
| 584 | <para>
|
---|
[c20bced] | 585 | can edit and display PowerPoint presentations.
|
---|
[d2d3fc5] | 586 | </para>
|
---|
[c20bced] | 587 | <indexterm zone="libreoffice loimpress">
|
---|
| 588 | <primary sortas="b-loimpress">loimpress</primary>
|
---|
[d2d3fc5] | 589 | </indexterm>
|
---|
| 590 | </listitem>
|
---|
| 591 | </varlistentry>
|
---|
| 592 |
|
---|
[c20bced] | 593 | <varlistentry id="lomath">
|
---|
| 594 | <term><command>lomath</command></term>
|
---|
[d2d3fc5] | 595 | <listitem>
|
---|
| 596 | <para>
|
---|
[c20bced] | 597 | is a mathematical formula editor.
|
---|
[d2d3fc5] | 598 | </para>
|
---|
[c20bced] | 599 | <indexterm zone="libreoffice lomath">
|
---|
| 600 | <primary sortas="b-lomath">lomath</primary>
|
---|
[d2d3fc5] | 601 | </indexterm>
|
---|
| 602 | </listitem>
|
---|
| 603 | </varlistentry>
|
---|
| 604 |
|
---|
[c20bced] | 605 | <varlistentry id="lowriter">
|
---|
| 606 | <term><command>lowriter</command></term>
|
---|
[2511f83] | 607 | <listitem>
|
---|
| 608 | <para>
|
---|
[c20bced] | 609 | is a word processor.
|
---|
[2511f83] | 610 | </para>
|
---|
[c20bced] | 611 | <indexterm zone="libreoffice lowriter">
|
---|
| 612 | <primary sortas="b-lowriter">lowriter</primary>
|
---|
[2511f83] | 613 | </indexterm>
|
---|
| 614 | </listitem>
|
---|
| 615 | </varlistentry>
|
---|
| 616 |
|
---|
[8d5cd1bb] | 617 | <varlistentry id="unopkg">
|
---|
| 618 | <term><command>unopkg</command></term>
|
---|
| 619 | <listitem>
|
---|
| 620 | <para>
|
---|
[fa29663] | 621 | is a tool to manage <application>LibreOffice</application>
|
---|
[c20bced] | 622 | extensions from the command line.
|
---|
[8d5cd1bb] | 623 | </para>
|
---|
| 624 | <indexterm zone="libreoffice unopkg">
|
---|
| 625 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 626 | </indexterm>
|
---|
| 627 | </listitem>
|
---|
| 628 | </varlistentry>
|
---|
| 629 |
|
---|
[d2d3fc5] | 630 | </variablelist>
|
---|
[8c853a1] | 631 |
|
---|
[d2d3fc5] | 632 | </sect2>
|
---|
[8c853a1] | 633 |
|
---|
[d2d3fc5] | 634 | </sect1>
|
---|