[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">
|
---|
[c8ff600] | 10 | <!ENTITY libreoffice-core-md5sum "5311656e1b54eadd4b93f948dfd5e68e">
|
---|
| 11 | <!ENTITY libreoffice-core-size "117 MB">
|
---|
[c20bced] | 12 |
|
---|
| 13 | <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
|
---|
[c8ff600] | 14 | <!ENTITY libreoffice-dict-md5sum "2bbe7adab2b9bc0042c72ba60c30acc4">
|
---|
[fa1bc3e] | 15 | <!ENTITY libreoffice-dict-size "35 MB">
|
---|
[c20bced] | 16 |
|
---|
| 17 | <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
|
---|
[c8ff600] | 18 | <!ENTITY libreoffice-help-md5sum "e2cd3b63e3050771a1330fc98e41a701">
|
---|
[c20bced] | 19 | <!ENTITY libreoffice-help-size "1.8 MB">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
|
---|
[c8ff600] | 22 | <!ENTITY libreoffice-translations-md5sum "1f4438828cbcf83c257742482dade3ef">
|
---|
[c20bced] | 23 | <!ENTITY libreoffice-translations-size "123 MB">
|
---|
| 24 |
|
---|
[c8ff600] | 25 | <!ENTITY libreoffice-buildsize "6.1 GB (415 MB installed)">
|
---|
[c20bced] | 26 | <!ENTITY libreoffice-time "80 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 |
|
---|
[ee8e5be] | 52 | &lfs73_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>
|
---|
| 130 | </itemizedlist>
|
---|
| 131 |
|
---|
[ee8e5be] | 132 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 133 | <itemizedlist spacing="compact">
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>
|
---|
| 136 | Required patch:
|
---|
[c8ff600] | 137 | <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-system_poppler-1.patch"/>
|
---|
[ee8e5be] | 138 | </para>
|
---|
| 139 | </listitem>
|
---|
[2a0de979] | 140 | <listitem>
|
---|
| 141 | <para>
|
---|
| 142 | Required patch:
|
---|
| 143 | <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-system_neon-1.patch"/>
|
---|
| 144 | </para>
|
---|
| 145 | </listitem>
|
---|
[ee8e5be] | 146 | </itemizedlist>
|
---|
| 147 |
|
---|
[fa29663] | 148 | <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
|
---|
[d2d3fc5] | 149 |
|
---|
| 150 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 151 | <para role="required">
|
---|
[ceadeab] | 152 | <xref linkend="gperf"/>,
|
---|
[c20bced] | 153 | <xref linkend="gtk2"/>,
|
---|
[d97601a] | 154 | <application>Perl Modules</application>
|
---|
[ceadeab] | 155 | <xref linkend="perl-archive-zip"/> and
|
---|
| 156 | <xref linkend="perl-xml-parser"/>,
|
---|
[d97601a] | 157 | <xref linkend="unzip"/>,
|
---|
[c20bced] | 158 | <xref linkend="wget"/>,
|
---|
[ceadeab] | 159 | <xref linkend="which"/> and
|
---|
[c20bced] | 160 | <xref linkend="zip"/>
|
---|
[d2d3fc5] | 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 164 | <note>
|
---|
| 165 | <para>
|
---|
[601a838] | 166 | Most of these packages are recommended because if they're not installed,
|
---|
[ceadeab] | 167 | the build process will compile and install its own (often older)
|
---|
[c20bced] | 168 | version.
|
---|
[d2d3fc5] | 169 | </para>
|
---|
| 170 | </note>
|
---|
| 171 |
|
---|
| 172 | <para role="recommended">
|
---|
[ee8e5be] | 173 | <xref linkend="boost"/>,
|
---|
[87dfe6b] | 174 | <xref linkend="cups"/>,
|
---|
[c20bced] | 175 | <xref linkend="curl"/>,
|
---|
| 176 | <xref linkend="dbus"/>,
|
---|
[d2d3fc5] | 177 | <xref linkend="expat"/>,
|
---|
[c20bced] | 178 | <xref linkend="gst-plugins-base"/> or
|
---|
| 179 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 180 | <xref linkend="icu"/>,
|
---|
| 181 | <xref linkend="lcms2"/>,
|
---|
[d2d3fc5] | 182 | <xref linkend="librsvg"/>,
|
---|
[c20bced] | 183 | <xref linkend="libxml2"/> and
|
---|
| 184 | <xref linkend="libxslt"/>,
|
---|
| 185 | <xref linkend="mesalib"/>,
|
---|
[d2d3fc5] | 186 | <xref linkend="neon"/>,
|
---|
| 187 | <xref linkend="nss"/>,
|
---|
[c20bced] | 188 | <xref linkend="openldap"/> (client only),
|
---|
| 189 | <xref linkend="openssl"/>,
|
---|
[f76286d] | 190 | <xref linkend="poppler"/>,
|
---|
[c20bced] | 191 | <xref linkend="python3"/> (used to build the translations),
|
---|
| 192 | <xref linkend="redland"/> and
|
---|
| 193 | <xref linkend="unixodbc"/>
|
---|
[d2d3fc5] | 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 197 | <para role="optional">
|
---|
[c20bced] | 198 | <xref linkend="bluez"/>,
|
---|
| 199 | <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
|
---|
| 200 | <ulink url="http://sourceforge.net/projects/silgraphite/">Graphite2</ulink>,
|
---|
| 201 | <xref linkend="gtk3"/>,
|
---|
[ceadeab] | 202 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
[c20bced] | 203 | <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
| 204 | <xref linkend="kdelibs"/>,
|
---|
| 205 | <ulink url="http://sourceforge.net/projects/libwpd/">libwpd</ulink>,
|
---|
| 206 | <ulink url="http://sourceforge.net/projects/libwpg/">libwpg</ulink>,
|
---|
| 207 | <ulink url="http://sourceforge.net/projects/libwps/">libwps</ulink>,
|
---|
[4c796cf] | 208 | <xref linkend="mysql"/>,
|
---|
[d97601a] | 209 | <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
|
---|
[4c796cf] | 210 | <xref linkend="postgresql"/>,
|
---|
[c20bced] | 211 | <xref linkend="sane"/> and
|
---|
[665ac79f] | 212 | <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
|
---|
[d2d3fc5] | 213 | </para>
|
---|
| 214 |
|
---|
| 215 | <para condition="html" role="usernotes">
|
---|
| 216 | User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
|
---|
| 217 | </para>
|
---|
| 218 | </sect2>
|
---|
| 219 |
|
---|
| 220 | <sect2 role="installation">
|
---|
[fa29663] | 221 | <title>Installation of LibreOffice</title>
|
---|
[d2d3fc5] | 222 |
|
---|
[d97601a] | 223 | <warning>
|
---|
| 224 | <para>
|
---|
[c20bced] | 225 | Untaring the libreoffice-&libreoffice-dlversion; tarball as
|
---|
[d97601a] | 226 | <systemitem class="username">root</systemitem> has the curious effect of
|
---|
| 227 | changing the ownership of the <emphasis>parent</emphasis> directory
|
---|
| 228 | to a user with numerical id 11012 and with the permissions set to allow
|
---|
| 229 | read, write and execute for that user only! If you untared as
|
---|
| 230 | <systemitem class="username">root</systemitem> in your home folder you
|
---|
[c20bced] | 231 | could end up unable to log in again. If you untared it in
|
---|
[d97601a] | 232 | <filename class="directory">/usr</filename> you would find your user
|
---|
| 233 | account unable to access any file in
|
---|
[ceadeab] | 234 | <filename class="directory">/usr</filename>.
|
---|
[d97601a] | 235 | </para>
|
---|
| 236 |
|
---|
| 237 | <para>
|
---|
| 238 | You can avoid this unpleasantness by
|
---|
| 239 | <emphasis>not</emphasis> untaring it as
|
---|
| 240 | <systemitem class="username">root</systemitem>. If you must untar it as
|
---|
| 241 | <systemitem class="username">root</systemitem> pass the option
|
---|
| 242 | <option>--no-overwrite-dir</option> to tar. This is the default when you
|
---|
| 243 | untar as a user but has to be passed as an option when untaring as
|
---|
| 244 | <systemitem class="username">root</systemitem>:
|
---|
| 245 | </para>
|
---|
| 246 | </warning>
|
---|
| 247 |
|
---|
[c20bced] | 248 | <screen role="root"><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &&
|
---|
| 249 | cd libreoffice-&libreoffice-dlversion;</userinput></screen>
|
---|
[d97601a] | 250 |
|
---|
[d2d3fc5] | 251 | <para>
|
---|
[ed2cf3c] | 252 | Unpack the dictionaries file and create symlinks to tarballs from the
|
---|
| 253 | source directory so they won't get downloaded again (it is not necessary
|
---|
| 254 | to unpack the help nor the translations tarballs):
|
---|
[d2d3fc5] | 255 | </para>
|
---|
| 256 |
|
---|
[c20bced] | 257 | <screen><userinput>install -dm755 src &&
|
---|
[d2d3fc5] | 258 |
|
---|
[c8ff600] | 259 | tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &&
|
---|
[ed2cf3c] | 260 | <!-- Not necessary for this version
|
---|
| 261 | tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
| 262 | -->
|
---|
[c20bced] | 263 | ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &&
|
---|
| 264 | ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
[d2d3fc5] | 265 |
|
---|
[ed2cf3c] | 266 | <!-- Not necessary for this version
|
---|
[d2d3fc5] | 267 | <para>
|
---|
[c20bced] | 268 | If you have downloaded the translations tarball, unpack it:
|
---|
[d2d3fc5] | 269 | </para>
|
---|
| 270 |
|
---|
[ed2cf3c] | 271 | <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &&
|
---|
[c20bced] | 272 | ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
[ed2cf3c] | 273 | -->
|
---|
| 274 | <para>
|
---|
| 275 | If you have downloaded the translations tarball, create a symlink:
|
---|
| 276 | </para>
|
---|
| 277 |
|
---|
| 278 | <screen><userinput>ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
|
---|
[d2d3fc5] | 279 |
|
---|
[c20bced] | 280 | <note>
|
---|
| 281 | <para>
|
---|
| 282 | During the build process, some packages will be downloaded (including
|
---|
| 283 | the ones listed as recommended and optional dependencies) if they are
|
---|
| 284 | not present on the system. Doing so, build time may be different
|
---|
| 285 | for everyone.
|
---|
| 286 | </para>
|
---|
| 287 | </note>
|
---|
[0d7900a] | 288 |
|
---|
[d2d3fc5] | 289 | <para>
|
---|
[ed2cf3c] | 290 | In the rest of the page, locales "en-US" and "pt-BR" are examples; the
|
---|
| 291 | user will change them to suit his needs - you might want to read the
|
---|
| 292 | "Command Explanations", further below, before proceeding. Prepare
|
---|
| 293 | <application>LibreOffice</application> for compilation by running the
|
---|
| 294 | following commands:
|
---|
[d2d3fc5] | 295 | </para>
|
---|
| 296 |
|
---|
[c20bced] | 297 | <screen><userinput>sed -e "/gzip -f/d" \
|
---|
| 298 | -e "s|.1.gz|.1|g" \
|
---|
| 299 | -i bin/distro-install-desktop-integration &&
|
---|
[c8ff600] | 300 | sed -e "/distro-install-file-lists/d" -i Makefile.in &&
|
---|
[ed2cf3c] | 301 |
|
---|
[056cbec] | 302 | chmod -v +x bin/unpack-sources &&
|
---|
[ed2cf3c] | 303 | sed -e "s/target\.mk/langlist\.mk/" \
|
---|
| 304 | -e "s/tar -xf/tar -x --strip-components=1 -f/" \
|
---|
| 305 | -e "/tar -x/s/lo_src_dir/start_dir/" \
|
---|
| 306 | -i bin/unpack-sources &&
|
---|
| 307 |
|
---|
[2a0de979] | 308 | patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-system_neon-1.patch &&
|
---|
[c8ff600] | 309 | patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-system_poppler-1.patch &&
|
---|
[c20bced] | 310 | ./autogen.sh --prefix=/usr \
|
---|
| 311 | --sysconfdir=/etc \
|
---|
| 312 | --with-vendor="BLFS" \
|
---|
[ed2cf3c] | 313 | --with-lang="en-US pt-BR" \
|
---|
| 314 | --with-help \
|
---|
[c20bced] | 315 | --with-alloc=system \
|
---|
| 316 | --without-java \
|
---|
| 317 | --disable-gconf \
|
---|
| 318 | --disable-odk \
|
---|
| 319 | --disable-postgresql-sdbc \
|
---|
| 320 | --enable-python=system \
|
---|
[ee8e5be] | 321 | --with-system-boost \
|
---|
[c20bced] | 322 | --with-system-cairo \
|
---|
| 323 | --with-system-curl \
|
---|
| 324 | --with-system-expat \
|
---|
[c8ff600] | 325 | --with-system-harfbuzz \
|
---|
[c20bced] | 326 | --with-system-icu \
|
---|
| 327 | --with-system-jpeg \
|
---|
| 328 | --with-system-lcms2 \
|
---|
| 329 | --with-system-libpng \
|
---|
| 330 | --with-system-libxml \
|
---|
| 331 | --with-system-mesa-headers \
|
---|
| 332 | --with-system-neon \
|
---|
| 333 | --with-system-nss \
|
---|
| 334 | --with-system-odbc \
|
---|
| 335 | --with-system-openldap \
|
---|
| 336 | --with-system-openssl \
|
---|
| 337 | --with-system-poppler \
|
---|
| 338 | --with-system-redland \
|
---|
| 339 | --with-system-zlib \
|
---|
| 340 | --with-parallelism=$(getconf _NPROCESSORS_ONLN)</userinput></screen>
|
---|
[ceadeab] | 341 |
|
---|
[d2d3fc5] | 342 | <para>
|
---|
[c20bced] | 343 | The instructions below will only build the package without running
|
---|
| 344 | any unit tests. If you prefer to run the unit tests, replace
|
---|
| 345 | <command>make build</command> with <command>make</command>
|
---|
[d2d3fc5] | 346 | </para>
|
---|
| 347 |
|
---|
| 348 | <para>
|
---|
[c20bced] | 349 | Build the package:
|
---|
[d2d3fc5] | 350 | </para>
|
---|
| 351 |
|
---|
[c20bced] | 352 | <screen><userinput>make build</userinput></screen>
|
---|
[d2d3fc5] | 353 |
|
---|
| 354 | <para>
|
---|
[c20bced] | 355 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[d2d3fc5] | 356 | </para>
|
---|
| 357 |
|
---|
[c20bced] | 358 | <screen role="root"><userinput>make distro-pack-install</userinput></screen>
|
---|
| 359 |
|
---|
[ed2cf3c] | 360 | <para>
|
---|
| 361 | If the dictionaries have been built, again as
|
---|
| 362 | <systemitem class="username">root</systemitem> user:
|
---|
| 363 | </para>
|
---|
| 364 |
|
---|
[056cbec] | 365 | <screen role="root"><userinput>chown -cR 0:0 dictionaries/ &&
|
---|
| 366 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 367 | cp -vR dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en &&
|
---|
| 368 | mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR &&
|
---|
| 369 | cp -vR dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
|
---|
[ed2cf3c] | 370 |
|
---|
[c20bced] | 371 | </sect2>
|
---|
| 372 |
|
---|
| 373 | <sect2 role="commands">
|
---|
| 374 | <title>Command Explanations</title>
|
---|
[4c796cf] | 375 |
|
---|
[d2d3fc5] | 376 | <para>
|
---|
[c20bced] | 377 | <command>sed -e ...</command>: First sed prevents compression of the
|
---|
[ed2cf3c] | 378 | manual pages, the second one prevents a script that causes install to
|
---|
| 379 | fail from running and the third one fixes the unpack script.
|
---|
| 380 | </para>
|
---|
| 381 |
|
---|
| 382 | <para>
|
---|
[ffc716b] | 383 | <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
|
---|
[d2d3fc5] | 384 | </para>
|
---|
| 385 |
|
---|
| 386 | <para>
|
---|
[ed2cf3c] | 387 | <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
|
---|
[5030bab] | 388 | the vendor which is mentioned when you click "About" on the toolbar.
|
---|
[d2d3fc5] | 389 | </para>
|
---|
[ffc716b] | 390 | <!-- I believe en-US is not necessary anymore
|
---|
[d2d3fc5] | 391 | <para>
|
---|
[ffc716b] | 392 | <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
[5030bab] | 393 | what languages to support. en-US is always needed. To list several
|
---|
| 394 | languages, separate them with a space. For all languages, use
|
---|
[ffc716b] | 395 | <parameter>-\-with-lang=ALL</parameter>
|
---|
[4c796cf] | 396 | </para>
|
---|
[ffc716b] | 397 | -->
|
---|
[4c796cf] | 398 |
|
---|
[ed2cf3c] | 399 | <para>
|
---|
[ffc716b] | 400 | <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
|
---|
| 401 | what languages to support. To list several languages, separate them with
|
---|
| 402 | a space. For all languages, use
|
---|
| 403 | <parameter>--with-lang=ALL</parameter>.
|
---|
[ed2cf3c] | 404 | </para>
|
---|
| 405 |
|
---|
[4c796cf] | 406 | <para>
|
---|
[ffc716b] | 407 | For a list of the available languages, you can uncompress the
|
---|
| 408 | translations tarball, <command>tar -xf
|
---|
| 409 | ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
|
---|
| 410 | --no-overwrite-dir -C /tmp</command>, and run <command>ls
|
---|
| 411 | /tmp/libreoffice-&libreoffice-dlversion;/translations/source</command>.
|
---|
| 412 | </para>
|
---|
| 413 |
|
---|
| 414 | <para>
|
---|
| 415 | <parameter>--with-help</parameter>: Without this switch, the help files
|
---|
| 416 | are not built.
|
---|
[d2d3fc5] | 417 | </para>
|
---|
| 418 |
|
---|
| 419 | <para>
|
---|
[c20bced] | 420 | <parameter>--with-alloc=system</parameter>: This switch tells
|
---|
| 421 | <application>LibreOffice</application> to use system allocator
|
---|
| 422 | instead of the internal one.
|
---|
[d2d3fc5] | 423 | </para>
|
---|
| 424 |
|
---|
| 425 | <para>
|
---|
[c20bced] | 426 | <option>--without-java</option>: This switch disables
|
---|
| 427 | <application>Java</application> support in
|
---|
| 428 | <application>LibreOffice</application>.
|
---|
[5b9edb4] | 429 | </para>
|
---|
| 430 |
|
---|
| 431 | <para>
|
---|
[c20bced] | 432 | <option>--disable-gconf</option>: This switch disables compiling
|
---|
| 433 | <application>LibreOffice</application> with the deprecated
|
---|
| 434 | <application>GNOME</application> configuration system support.
|
---|
[d2d3fc5] | 435 | </para>
|
---|
| 436 |
|
---|
| 437 | <para>
|
---|
[c20bced] | 438 | <option>--disable-odk</option>: This switch disables installing the
|
---|
| 439 | office development kit. Remove if you want to develop a
|
---|
| 440 | <application>LibreOffice</application> based application.
|
---|
[d2d3fc5] | 441 | </para>
|
---|
| 442 |
|
---|
| 443 | <para>
|
---|
[c20bced] | 444 | <option>--disable-postgresql-sdbc</option>: This switch disables compiling
|
---|
| 445 | <application>LibreOffice</application> with the ability to connect to a
|
---|
| 446 | <application>PostgreSQL</application> database. Remove it if you would
|
---|
| 447 | like <application>LibreOffice</application> to be able to connect to a
|
---|
| 448 | <application>PostgreSQL</application> database. If you have installed
|
---|
| 449 | <application>PostgreSQL</application> on your system and would like
|
---|
| 450 | <application>LibreOffice</application> to use that rather than compile its
|
---|
| 451 | own copy, use the <option>--with-system-postgresql</option> switch.
|
---|
[d2d3fc5] | 452 | </para>
|
---|
| 453 |
|
---|
| 454 | <para>
|
---|
[c20bced] | 455 | <parameter>--enable-python=system</parameter>: This switch tells
|
---|
| 456 | <application>LibreOffice</application> to use installed
|
---|
| 457 | <application>Python 3</application> to build the translations
|
---|
| 458 | instead of the bundled one. If you don't need to build any
|
---|
| 459 | translations, you can use <option>--disable-python</option>
|
---|
| 460 | instead.
|
---|
[d2d3fc5] | 461 | </para>
|
---|
| 462 |
|
---|
| 463 | <para>
|
---|
[c20bced] | 464 | <option>--with-system-*</option>: These switches prevent
|
---|
| 465 | <application>LibreOffice</application> from trying to compile its own
|
---|
| 466 | versions of these dependencies. If you've not installed some of the
|
---|
| 467 | dependencies, remove the corresponding switches.
|
---|
[d2d3fc5] | 468 | </para>
|
---|
[8c853a1] | 469 |
|
---|
[c20bced] | 470 | <para>
|
---|
| 471 | <option>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</option>: This
|
---|
| 472 | switch tells <application>LibreOffice</application> to use all your
|
---|
| 473 | CPUs to compile in parallel and speed up the build.
|
---|
| 474 | </para>
|
---|
| 475 |
|
---|
[87dfe6b] | 476 | <para>
|
---|
| 477 | <option>--disable-cups</option>: Use this switch if you don't need
|
---|
| 478 | printing support.
|
---|
| 479 | </para>
|
---|
| 480 |
|
---|
[c20bced] | 481 | <para>
|
---|
| 482 | <option>--disable-gstreamer-0.10</option>: Use this switch if you've
|
---|
| 483 | not installed <xref linkend="gst-plugins-base"/>.
|
---|
| 484 | </para>
|
---|
| 485 |
|
---|
[2407471] | 486 | <para>
|
---|
| 487 | <option>--disable-dbus</option>: Use this switch if you've not installed
|
---|
| 488 | <xref linkend="dbus"/>. It also disables Bluetooth support and font
|
---|
| 489 | install via PackageKit.
|
---|
| 490 | </para>
|
---|
| 491 |
|
---|
[c20bced] | 492 | <para>
|
---|
| 493 | <option>--enable-gstreamer</option>: Use this switch if you want to
|
---|
| 494 | use <xref linkend="gst10-plugins-base"/> instead of
|
---|
| 495 | <xref linkend="gst-plugins-base"/> for the avmedia module.
|
---|
| 496 | </para>
|
---|
[d2d3fc5] | 497 |
|
---|
[c20bced] | 498 | <para>
|
---|
| 499 | <option>--enable-gtk3</option>: Use this switch if you want to
|
---|
| 500 | build the <application>GTK+ 3</application> integration module.
|
---|
| 501 | </para>
|
---|
[d2d3fc5] | 502 |
|
---|
| 503 | <para>
|
---|
[c20bced] | 504 | <option>--enable-kde4</option>: Use this switch if you want to
|
---|
| 505 | build the <application>KDE</application> integration module.
|
---|
[d2d3fc5] | 506 | </para>
|
---|
| 507 |
|
---|
| 508 | </sect2>
|
---|
| 509 |
|
---|
| 510 | <sect2 role="content">
|
---|
| 511 | <title>Contents</title>
|
---|
| 512 |
|
---|
| 513 | <segmentedlist>
|
---|
| 514 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 515 | <segtitle>Installed Libraries</segtitle>
|
---|
[8c853a1] | 516 | <segtitle>Installed Directory</segtitle>
|
---|
[d2d3fc5] | 517 |
|
---|
| 518 | <seglistitem>
|
---|
[4c796cf] | 519 | <seg>
|
---|
[c20bced] | 520 | libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
|
---|
| 521 | loimpress, lomath, loweb, lowriter, soffice and unopkg
|
---|
[8c853a1] | 522 | </seg>
|
---|
[c3c56b2] | 523 | <seg>
|
---|
| 524 | None
|
---|
| 525 | </seg>
|
---|
[d2d3fc5] | 526 | <seg>
|
---|
[8c853a1] | 527 | /usr/lib/libreoffice
|
---|
[d2d3fc5] | 528 | </seg>
|
---|
| 529 | </seglistitem>
|
---|
| 530 | </segmentedlist>
|
---|
| 531 |
|
---|
| 532 | <variablelist>
|
---|
| 533 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 534 | <?dbfo list-presentation="list"?>
|
---|
| 535 | <?dbhtml list-presentation="table"?>
|
---|
| 536 |
|
---|
[c20bced] | 537 | <varlistentry id="lobase">
|
---|
| 538 | <term><command>lobase</command></term>
|
---|
[d2d3fc5] | 539 | <listitem>
|
---|
| 540 | <para>
|
---|
| 541 | is a database manager.
|
---|
| 542 | </para>
|
---|
[c20bced] | 543 | <indexterm zone="libreoffice lobase">
|
---|
| 544 | <primary sortas="b-lobase">lobase</primary>
|
---|
[d2d3fc5] | 545 | </indexterm>
|
---|
| 546 | </listitem>
|
---|
| 547 | </varlistentry>
|
---|
| 548 |
|
---|
[c20bced] | 549 | <varlistentry id="localc">
|
---|
| 550 | <term><command>localc</command></term>
|
---|
[d2d3fc5] | 551 | <listitem>
|
---|
| 552 | <para>
|
---|
| 553 | is a spreadsheet program.
|
---|
| 554 | </para>
|
---|
[c20bced] | 555 | <indexterm zone="libreoffice localc">
|
---|
| 556 | <primary sortas="b-localc">localc</primary>
|
---|
[d2d3fc5] | 557 | </indexterm>
|
---|
| 558 | </listitem>
|
---|
| 559 | </varlistentry>
|
---|
| 560 |
|
---|
[c20bced] | 561 | <varlistentry id="lodraw">
|
---|
| 562 | <term><command>lodraw</command></term>
|
---|
[d2d3fc5] | 563 | <listitem>
|
---|
| 564 | <para>
|
---|
| 565 | is a vector graphics editor and diagramming tool.
|
---|
| 566 | </para>
|
---|
[c20bced] | 567 | <indexterm zone="libreoffice lodraw">
|
---|
| 568 | <primary sortas="b-lodraw">lodraw</primary>
|
---|
[d2d3fc5] | 569 | </indexterm>
|
---|
| 570 | </listitem>
|
---|
| 571 | </varlistentry>
|
---|
| 572 |
|
---|
[c20bced] | 573 | <varlistentry id="loimpress">
|
---|
| 574 | <term><command>loimpress</command></term>
|
---|
[d2d3fc5] | 575 | <listitem>
|
---|
| 576 | <para>
|
---|
[c20bced] | 577 | can edit and display PowerPoint presentations.
|
---|
[d2d3fc5] | 578 | </para>
|
---|
[c20bced] | 579 | <indexterm zone="libreoffice loimpress">
|
---|
| 580 | <primary sortas="b-loimpress">loimpress</primary>
|
---|
[d2d3fc5] | 581 | </indexterm>
|
---|
| 582 | </listitem>
|
---|
| 583 | </varlistentry>
|
---|
| 584 |
|
---|
[c20bced] | 585 | <varlistentry id="lomath">
|
---|
| 586 | <term><command>lomath</command></term>
|
---|
[d2d3fc5] | 587 | <listitem>
|
---|
| 588 | <para>
|
---|
[c20bced] | 589 | is a mathematical formula editor.
|
---|
[d2d3fc5] | 590 | </para>
|
---|
[c20bced] | 591 | <indexterm zone="libreoffice lomath">
|
---|
| 592 | <primary sortas="b-lomath">lomath</primary>
|
---|
[d2d3fc5] | 593 | </indexterm>
|
---|
| 594 | </listitem>
|
---|
| 595 | </varlistentry>
|
---|
| 596 |
|
---|
[c20bced] | 597 | <varlistentry id="lowriter">
|
---|
| 598 | <term><command>lowriter</command></term>
|
---|
[2511f83] | 599 | <listitem>
|
---|
| 600 | <para>
|
---|
[c20bced] | 601 | is a word processor.
|
---|
[2511f83] | 602 | </para>
|
---|
[c20bced] | 603 | <indexterm zone="libreoffice lowriter">
|
---|
| 604 | <primary sortas="b-lowriter">lowriter</primary>
|
---|
[2511f83] | 605 | </indexterm>
|
---|
| 606 | </listitem>
|
---|
| 607 | </varlistentry>
|
---|
| 608 |
|
---|
[8d5cd1bb] | 609 | <varlistentry id="unopkg">
|
---|
| 610 | <term><command>unopkg</command></term>
|
---|
| 611 | <listitem>
|
---|
| 612 | <para>
|
---|
[fa29663] | 613 | is a tool to manage <application>LibreOffice</application>
|
---|
[c20bced] | 614 | extensions from the command line.
|
---|
[8d5cd1bb] | 615 | </para>
|
---|
| 616 | <indexterm zone="libreoffice unopkg">
|
---|
| 617 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 618 | </indexterm>
|
---|
| 619 | </listitem>
|
---|
| 620 | </varlistentry>
|
---|
| 621 |
|
---|
[d2d3fc5] | 622 | </variablelist>
|
---|
[8c853a1] | 623 |
|
---|
[d2d3fc5] | 624 | </sect2>
|
---|
[8c853a1] | 625 |
|
---|
[d2d3fc5] | 626 | </sect1>
|
---|