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