[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 |
|
---|
| 7 | <!ENTITY libreoffice-core-download-http
|
---|
| 8 | "http://download.documentfoundation.org/libreoffice/src/3.5.2/libreoffice-core-&libreoffice-version;.tar.xz">
|
---|
| 9 | <!ENTITY libreoffice-core-download-ftp " ">
|
---|
| 10 | <!ENTITY libreoffice-core-md5sum "a21156d5657b8619a523ffdc5cc0003e">
|
---|
| 11 | <!ENTITY libreoffice-core-size "99 MB">
|
---|
| 12 |
|
---|
| 13 | <!ENTITY libreoffice-dictionaries-download-http
|
---|
| 14 | "http://download.documentfoundation.org/libreoffice/src/3.5.2/libreoffice-dictionaries-&libreoffice-version;.tar.xz">
|
---|
| 15 | <!ENTITY libreoffice-dictionaries-download-ftp " ">
|
---|
| 16 | <!ENTITY libreoffice-dictionaries-md5sum "782d0cecfccc200f8ad0a07f0cb53f08">
|
---|
| 17 | <!ENTITY libreoffice-dictionaries-size "31 MB">
|
---|
| 18 | <!ENTITY libreoffice-help-download-http
|
---|
| 19 | "http://download.documentfoundation.org/libreoffice/src/3.5.2/libreoffice-help-&libreoffice-version;.tar.xz">
|
---|
| 20 | <!ENTITY libreoffice-help-download-ftp " ">
|
---|
| 21 | <!ENTITY libreoffice-help-md5sum "3c064a24191274fcd8fd466ce9d5dc42">
|
---|
| 22 | <!ENTITY libreoffice-help-size "2 MB">
|
---|
| 23 |
|
---|
| 24 | <!ENTITY libreoffice-translations-download-http
|
---|
| 25 | "http://download.documentfoundation.org/libreoffice/src/3.5.2/libreoffice-translations-&libreoffice-version;.tar.xz">
|
---|
| 26 | <!ENTITY libreoffice-translations-download-ftp " ">
|
---|
| 27 | <!ENTITY libreoffice-translations-md5sum "17ebcd0d25e716d3905b1a905907fd67">
|
---|
| 28 | <!ENTITY libreoffice-translations-size "11.7 MB">
|
---|
| 29 |
|
---|
| 30 | <!ENTITY libreoffice-buildsize "6 GB (379 MB installed)">
|
---|
| 31 | <!ENTITY libreoffice-time "61 SBU">
|
---|
| 32 | ]>
|
---|
| 33 |
|
---|
[a027d7d3] | 34 | <sect1 id="libreoffice" xreflabel="libre-office-&libreoffice-version;">
|
---|
[d2d3fc5] | 35 | <?dbhtml filename="libreoffice.html"?>
|
---|
| 36 |
|
---|
| 37 | <sect1info>
|
---|
| 38 | <othername>$LastChangedBy$</othername>
|
---|
| 39 | <date>$Date$</date>
|
---|
| 40 | </sect1info>
|
---|
| 41 |
|
---|
[a027d7d3] | 42 | <title>libre-office-&libreoffice-version;</title>
|
---|
[d2d3fc5] | 43 |
|
---|
| 44 | <indexterm zone="libreoffice">
|
---|
| 45 | <primary sortas="a-libreoffice">libreoffice</primary>
|
---|
| 46 | </indexterm>
|
---|
| 47 |
|
---|
| 48 | <sect2 role="package">
|
---|
| 49 | <title>Introduction to Libre Office</title>
|
---|
| 50 |
|
---|
| 51 | <para>
|
---|
| 52 | <application>Libre Office</application> is a collection of programs for
|
---|
| 53 | creating and editing office documents. It is largely compatible with
|
---|
| 54 | <application>Microsoft Office</application> and
|
---|
| 55 | <application>Open Office</application> on which it is based.
|
---|
| 56 | </para>
|
---|
| 57 |
|
---|
| 58 | &lfs71_checked;
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Core Download (HTTP): <ulink url="&libreoffice-core-download-http;"/>
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Core Download (FTP): <ulink url="&libreoffice-core-download-ftp;"/>
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
| 74 | Core Download MD5 sum: &libreoffice-core-md5sum;
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Core Download size: &libreoffice-core-size;
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>
|
---|
| 84 | Dictionaries Download (HTTP):
|
---|
| 85 | <ulink url="&libreoffice-dictionaries-download-http;"/>
|
---|
| 86 | </para>
|
---|
| 87 | </listitem>
|
---|
| 88 | <listitem>
|
---|
| 89 | <para>
|
---|
| 90 | Dictionaries Download (FTP):
|
---|
| 91 | <ulink url="&libreoffice-dictionaries-download-ftp;"/>
|
---|
| 92 | </para>
|
---|
| 93 | </listitem>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>
|
---|
| 96 | Dictionaries Download MD5 sum: &libreoffice-dictionaries-md5sum;
|
---|
| 97 | </para>
|
---|
| 98 | </listitem>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>
|
---|
| 101 | Dictionaries Download size: &libreoffice-dictionaries-size;
|
---|
| 102 | </para>
|
---|
| 103 | </listitem>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>
|
---|
| 106 | Help Download (HTTP): <ulink url="&libreoffice-help-download-http;"/>
|
---|
| 107 | </para>
|
---|
| 108 | </listitem>
|
---|
| 109 | <listitem>
|
---|
| 110 | <para>
|
---|
| 111 | Help Download (FTP): <ulink url="&libreoffice-help-download-ftp;"/>
|
---|
| 112 | </para>
|
---|
| 113 | </listitem>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>
|
---|
| 116 | Help Download MD5 sum: &libreoffice-help-md5sum;
|
---|
| 117 | </para>
|
---|
| 118 | </listitem>
|
---|
| 119 | <listitem>
|
---|
| 120 | <para>
|
---|
| 121 | Help Download size: &libreoffice-help-size;
|
---|
| 122 | </para>
|
---|
| 123 | </listitem>
|
---|
| 124 | <listitem>
|
---|
| 125 | <para>
|
---|
| 126 | Translations Download (HTTP):
|
---|
| 127 | <ulink url="&libreoffice-translations-download-http;"/>
|
---|
| 128 | </para>
|
---|
| 129 | </listitem>
|
---|
| 130 | <listitem>
|
---|
| 131 | <para>
|
---|
| 132 | Translations Download (FTP):
|
---|
| 133 | <ulink url="&libreoffice-translations-download-ftp;"/>
|
---|
| 134 | </para>
|
---|
| 135 | </listitem>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>
|
---|
| 138 | Translations Download MD5 sum: &libreoffice-translations-md5sum;
|
---|
| 139 | </para>
|
---|
| 140 | </listitem>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>
|
---|
| 143 | Translations Download size: &libreoffice-translations-size;
|
---|
| 144 | </para>
|
---|
| 145 | </listitem>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
| 148 | Estimated disk space required: &libreoffice-buildsize;
|
---|
| 149 | </para>
|
---|
| 150 | </listitem>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>
|
---|
| 153 | Estimated build time: &libreoffice-time;
|
---|
| 154 | </para>
|
---|
| 155 | </listitem>
|
---|
| 156 | </itemizedlist>
|
---|
| 157 |
|
---|
| 158 | <bridgehead renderas="sect3">Libre Office Dependencies</bridgehead>
|
---|
| 159 |
|
---|
| 160 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 161 | <para role="required">
|
---|
[ceadeab] | 162 | <xref linkend="cups"/>,
|
---|
| 163 | <xref linkend="curl"/> or <xref linkend="wget"/>,
|
---|
| 164 | <xref linkend="gperf"/>,
|
---|
[d97601a] | 165 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
---|
| 166 | <application>Perl Modules</application>
|
---|
[ceadeab] | 167 | <xref linkend="perl-archive-zip"/> and
|
---|
| 168 | <xref linkend="perl-xml-parser"/>,
|
---|
[d97601a] | 169 | <xref linkend="unzip"/>,
|
---|
[ceadeab] | 170 | <xref linkend="which"/> and
|
---|
| 171 | <xref linkend="zip"/>.
|
---|
[d2d3fc5] | 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 175 | <note>
|
---|
| 176 | <para>
|
---|
[ceadeab] | 177 | Most of these packages are recommend because if they're not installed
|
---|
| 178 | the build process will compile and install its own (often older)
|
---|
| 179 | version. If you're using <application>GCC 4.7</application> some of
|
---|
| 180 | those older packages will fail to compile.
|
---|
[d2d3fc5] | 181 | </para>
|
---|
| 182 | </note>
|
---|
| 183 |
|
---|
| 184 | <para role="recommended">
|
---|
| 185 | <xref linkend="boost"/>,
|
---|
| 186 | <xref linkend="db"/>,
|
---|
| 187 | <xref linkend="expat"/>,
|
---|
[ceadeab] | 188 | <xref linkend="gst-plugins-base"/>,
|
---|
[d2d3fc5] | 189 | <xref linkend="libjpeg"/>,
|
---|
[d97601a] | 190 | <xref linkend="libgsf"/>,
|
---|
[d2d3fc5] | 191 | <xref linkend="libpng"/>,
|
---|
| 192 | <xref linkend="librsvg"/>,
|
---|
| 193 | <xref linkend="libxml2"/> and <xref linkend="libxslt"/>,
|
---|
| 194 | <xref linkend="neon"/>,
|
---|
| 195 | <xref linkend="nss"/>,
|
---|
| 196 | <xref linkend="openssl"/>,
|
---|
| 197 | <xref linkend="poppler"/>,
|
---|
| 198 | <xref linkend="postgresql"/> and
|
---|
| 199 | <xref linkend="redland"/>.
|
---|
| 200 | </para>
|
---|
| 201 |
|
---|
| 202 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 203 | <para role="optional">
|
---|
[ceadeab] | 204 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
[d97601a] | 205 | <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
|
---|
[d2d3fc5] | 206 | <ulink url="http://sampleicc.sourceforge.net/">SampleICC</ulink>,
|
---|
[d97601a] | 207 | <ulink url="http://hci.iwr.uni-heidelberg.de/vigra">Vigra</ulink> and
|
---|
[ceadeab] | 208 | <xref linkend="zenity"/>.
|
---|
[d2d3fc5] | 209 | </para>
|
---|
| 210 |
|
---|
| 211 | <para condition="html" role="usernotes">
|
---|
| 212 | User Notes: <ulink url="&blfs-wiki;/libreoffice"/>
|
---|
| 213 | </para>
|
---|
| 214 | </sect2>
|
---|
| 215 |
|
---|
| 216 | <sect2 role="installation">
|
---|
| 217 | <title>Installation of Libre Office</title>
|
---|
| 218 |
|
---|
[d97601a] | 219 | <warning>
|
---|
| 220 | <para>
|
---|
| 221 | Untaring the libreoffice-core-3.5.2.2 tarball as
|
---|
| 222 | <systemitem class="username">root</systemitem> has the curious effect of
|
---|
| 223 | changing the ownership of the <emphasis>parent</emphasis> directory
|
---|
| 224 | to a user with numerical id 11012 and with the permissions set to allow
|
---|
| 225 | read, write and execute for that user only! If you untared as
|
---|
| 226 | <systemitem class="username">root</systemitem> in your home folder you
|
---|
[ceadeab] | 227 | could end up unable to log in again :/ If you untared it in
|
---|
[d97601a] | 228 | <filename class="directory">/usr</filename> you would find your user
|
---|
| 229 | account unable to access any file in
|
---|
[ceadeab] | 230 | <filename class="directory">/usr</filename>.
|
---|
[d97601a] | 231 | </para>
|
---|
| 232 |
|
---|
| 233 | <para>
|
---|
| 234 | You can avoid this unpleasantness by
|
---|
| 235 | <emphasis>not</emphasis> untaring it as
|
---|
| 236 | <systemitem class="username">root</systemitem>. If you must untar it as
|
---|
| 237 | <systemitem class="username">root</systemitem> pass the option
|
---|
| 238 | <option>--no-overwrite-dir</option> to tar. This is the default when you
|
---|
| 239 | untar as a user but has to be passed as an option when untaring as
|
---|
| 240 | <systemitem class="username">root</systemitem>:
|
---|
| 241 | </para>
|
---|
| 242 | </warning>
|
---|
| 243 |
|
---|
| 244 | <screen role="root"><userinput>tar xf --no-overwrite-dir libreoffice-core-&libreoffice-version;.tar.xz &&
|
---|
| 245 | cd libreoffice-core-&libreoffice-version;</userinput></screen>
|
---|
| 246 |
|
---|
[d2d3fc5] | 247 | <para>
|
---|
| 248 | Install <application>Libre Office</application> by running the following
|
---|
| 249 | commands:
|
---|
| 250 | </para>
|
---|
| 251 |
|
---|
| 252 | <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-version;.tar.xz --strip-components=1 &&
|
---|
[32bd481] | 253 | tar -xf ../libreoffice-help-&libreoffice-version;.tar.xz --strip-components=1 &&
|
---|
[d2d3fc5] | 254 | tar -xf ../libreoffice-dictionaries-&libreoffice-version;.tar.xz --strip-components=1 &&
|
---|
[32bd481] | 255 | sed -i '/$Prepend/s:^[^#]:# &:' \
|
---|
| 256 | i18npool/source/breakiterator/data/char{,_in}.txt &&
|
---|
[d2d3fc5] | 257 | ./autogen.sh --prefix=/usr \
|
---|
| 258 | --disable-binfilter \
|
---|
| 259 | --disable-gconf \
|
---|
| 260 | --disable-mozilla \
|
---|
| 261 | --disable-odk \
|
---|
| 262 | --with-system-boost \
|
---|
| 263 | --with-system-cairo \
|
---|
| 264 | --with-system-curl \
|
---|
| 265 | --with-system-db \
|
---|
| 266 | --with-system-expat \
|
---|
| 267 | --with-system-hunspell \
|
---|
| 268 | --with-system-icu \
|
---|
| 269 | --with-system-jpeg \
|
---|
| 270 | --with-system-libpng \
|
---|
| 271 | --with-system-libxml \
|
---|
| 272 | --with-system-neon \
|
---|
| 273 | --with-system-nss \
|
---|
| 274 | --with-system-openssl \
|
---|
| 275 | --with-system-poppler \
|
---|
| 276 | --with-system-postgresql \
|
---|
| 277 | --with-system-redland \
|
---|
| 278 | --with-system-zlib \
|
---|
| 279 | --with-num-cpus=$(getconf _NPROCESSORS_ONLN) \
|
---|
| 280 | --with-vendor="BLFS" \
|
---|
| 281 | --with-lang="pt-BR" \
|
---|
| 282 | --without-java &&
|
---|
| 283 | ./download &&
|
---|
| 284 | mkdir -p ../libre-office-downloads &&
|
---|
| 285 | cp -rf src/* ../libre-office-downloads &&
|
---|
| 286 | make</userinput></screen>
|
---|
| 287 |
|
---|
| 288 | <para>
|
---|
| 289 | This package does not come with a test suite.
|
---|
| 290 | </para>
|
---|
| 291 |
|
---|
| 292 | <para>
|
---|
| 293 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 294 | </para>
|
---|
| 295 |
|
---|
| 296 | <screen role="root"><userinput>make install &&
|
---|
| 297 | for program in base calc draw impress math writer
|
---|
| 298 | do
|
---|
| 299 | echo "#!/bin/bash
|
---|
[4f304a0a] | 300 | exec /usr/lib/libreoffice/program/soffice --nologo --${program} \"\${@}\"" \
|
---|
| 301 | > /usr/bin/${program}
|
---|
[d2d3fc5] | 302 | chmod 755 /usr/bin/${program}
|
---|
| 303 | done &&
|
---|
[4f304a0a] | 304 | ln -s ../lib/libreoffice/program/spadmin /usr/bin/printeradmin &&
|
---|
[8d5cd1bb] | 305 | ln -s ../lib/libreoffice/program/unopkg /usr/bin &&
|
---|
| 306 | cp sysui/desktop/man/{libreoffice,unopkg}.1 /usr/share/man/man1 &&
|
---|
[d2d3fc5] | 307 | for res in 16 32 48 128 256
|
---|
| 308 | do
|
---|
| 309 | mkdir -p /usr/share/icons/hicolor/${res}x${res}/{apps,mimetypes}
|
---|
| 310 | cp sysui/desktop/icons/hicolor/${res}x${res}/apps/*.png \
|
---|
| 311 | /usr/share/icons/hicolor/${res}x${res}/apps
|
---|
| 312 | cp sysui/desktop/icons/hicolor/${res}x${res}/mimetypes/*.png \
|
---|
| 313 | /usr/share/icons/hicolor/${res}x${res}/mimetypes
|
---|
| 314 | done &&
|
---|
| 315 | gtk-update-icon-cache /usr/share/icons/hicolor</userinput></screen>
|
---|
| 316 | </sect2>
|
---|
| 317 |
|
---|
| 318 | <sect2 role="commands">
|
---|
| 319 | <title>Command Explanations</title>
|
---|
| 320 |
|
---|
| 321 | <para>
|
---|
| 322 | <command>tar -xf ../libreoffice-translations-&libreoffice-version;.tar.xz
|
---|
[a6af3ab9] | 323 | --strip-components=1</command>: This command untars the translations
|
---|
| 324 | inside the source. The <option>--strip-components=1</option> option
|
---|
| 325 | removes the leading directory from the path of the untared files. Without
|
---|
| 326 | this option we would need to move or symlink the
|
---|
[d2d3fc5] | 327 | <filename class="directory">translations</filename> folder into the
|
---|
| 328 | correct position.
|
---|
| 329 | </para>
|
---|
| 330 |
|
---|
| 331 | <para>
|
---|
| 332 | <command>tar -xf ../libreoffice-help-&libreoffice-version;.tar.xz
|
---|
[a6af3ab9] | 333 | --strip-components=1</command>: This command untars the help files inside
|
---|
| 334 | the source. The <option>--strip-components=1</option> option removes the
|
---|
[d2d3fc5] | 335 | leading directory from the path of the untared files. Without this option
|
---|
| 336 | we would need to move or symlink the
|
---|
| 337 | <filename class="directory">helpcontent2</filename> folder into the
|
---|
| 338 | correct position.
|
---|
| 339 | </para>
|
---|
| 340 |
|
---|
| 341 | <para>
|
---|
| 342 | <command>tar -xf ../libreoffice-dictionaries-&libreoffice-version;.tar.xz
|
---|
[a6af3ab9] | 343 | --strip-components=1</command>: This command untars the dictionaries inside
|
---|
| 344 | the source. The <option>--strip-components=1</option> option removes the
|
---|
[d2d3fc5] | 345 | leading directory from the path of the untared files. Without this option
|
---|
| 346 | we would need to move or symlink the
|
---|
| 347 | <filename class="directory">dictionaries</filename> folder into the
|
---|
| 348 | correct position.
|
---|
| 349 | </para>
|
---|
| 350 |
|
---|
[32bd481] | 351 | <para>
|
---|
| 352 | <command>sed -i '/$Prepend/s:^[^#]:# &:'
|
---|
| 353 | i18npool/source/breakiterator/data/char{,_in}.txt</command>: This sed
|
---|
| 354 | fixes compiling with <application>ICU 49</application> installed on your
|
---|
| 355 | system.
|
---|
| 356 | </para>
|
---|
| 357 |
|
---|
[d2d3fc5] | 358 | <para>
|
---|
[a6af3ab9] | 359 | <option>--enable-gtk3</option>: Add this option if you've installed and
|
---|
[d2d3fc5] | 360 | want to use <application>Gtk+-3</application>.
|
---|
| 361 | </para>
|
---|
| 362 |
|
---|
[ceadeab] | 363 | <para>
|
---|
[a6af3ab9] | 364 | <option>--disable-gstreamer</option>: Add this option if you've not
|
---|
[ceadeab] | 365 | installed <xref linkend="gst-plugins-base"/>.
|
---|
| 366 | </para>
|
---|
| 367 |
|
---|
[d2d3fc5] | 368 | <para>
|
---|
| 369 | <option>--disable-binfilter</option>: These "binfilters" enable
|
---|
| 370 | <application>Libre Office</application> to open legacy
|
---|
| 371 | <application>Star Office</application> format documents. Compiling
|
---|
| 372 | <application>binfilter</application> requires
|
---|
| 373 | <application>Java</application>.
|
---|
| 374 | </para>
|
---|
| 375 |
|
---|
| 376 | <para>
|
---|
| 377 | <option>--disable-gconf</option>: Compiling with support for
|
---|
| 378 | <application>GConf</application> requires the deprecated
|
---|
| 379 | <application>ORBit</application>.
|
---|
| 380 | </para>
|
---|
| 381 |
|
---|
| 382 | <para>
|
---|
| 383 | <option>--disable-mozilla</option>: This option stops
|
---|
| 384 | <application>Libre Office</application> trying to compile an old version
|
---|
| 385 | of <application>SeaMonkey</application>.
|
---|
| 386 | </para>
|
---|
| 387 |
|
---|
| 388 | <para>
|
---|
[a6af3ab9] | 389 | <option>--disable-odk</option>: This option disables installing the
|
---|
| 390 | office development kit. Remove this option if you want to develop a
|
---|
[d2d3fc5] | 391 | <application>Libre Office</application> based application.
|
---|
| 392 | </para>
|
---|
| 393 |
|
---|
| 394 | <para>
|
---|
[a6af3ab9] | 395 | <option>--with-system- ...</option>: These options prevent
|
---|
| 396 | <application>Libre Office</application> trying to compile its own
|
---|
| 397 | versions of these dependencies. If you've not installed
|
---|
| 398 | some of the dependencies, remove the corresponding option.
|
---|
[d2d3fc5] | 399 | </para>
|
---|
| 400 |
|
---|
| 401 | <para>
|
---|
| 402 | <option>--with-num-cpus=$(getconf _NPROCESSORS_ONLN)</option>: This option
|
---|
[a6af3ab9] | 403 | tells <application>Libre Office</application> to use all your CPUs to compile
|
---|
| 404 | in parallel and speed up the build.
|
---|
[d2d3fc5] | 405 | </para>
|
---|
| 406 |
|
---|
| 407 | <para>
|
---|
| 408 | <option>--with-lang="pt-BR"</option>: This option sets what languages to
|
---|
| 409 | support. en-US is always included by default. For a list of the available
|
---|
| 410 | options: <command>ls translations/source</command>.
|
---|
| 411 | </para>
|
---|
| 412 |
|
---|
| 413 | <para>
|
---|
| 414 | <option>--without-java</option>: This option compiles
|
---|
| 415 | <application>Libre Office</application> without
|
---|
| 416 | <application>Java</application> support.
|
---|
| 417 | </para>
|
---|
| 418 |
|
---|
| 419 | <para>
|
---|
| 420 | <command>./download</command>: The <command>download</command> script
|
---|
| 421 | downloads the source to a collection of things that might be needed during
|
---|
| 422 | the build process.
|
---|
| 423 | </para>
|
---|
| 424 |
|
---|
| 425 | <para>
|
---|
| 426 | <command>mkdir -p ../libre-office-downloads;
|
---|
| 427 | cp -rf src/* ../libre-office-downloads</command>: The
|
---|
| 428 | <command>download</command> script downloads some 320MB of source
|
---|
[a6af3ab9] | 429 | tarballs, many of which are not needed as they are probably already
|
---|
[d2d3fc5] | 430 | installed on your system. This command makes a backup copy of the
|
---|
| 431 | downloaded files so you don't have to download them again if you decide to
|
---|
| 432 | recompile <application>Libre Office</application>. In that case, just
|
---|
| 433 | start by <command>mkdir src; cp ../libre-office-downloads/* src</command>
|
---|
| 434 | </para>
|
---|
| 435 |
|
---|
| 436 | <para>
|
---|
| 437 | <command>for program in base calc draw impress math writer ...</command>:
|
---|
| 438 | These commands create 6 simple shell scripts in
|
---|
| 439 | <filename class="directory">/usr/bin</filename> that can be used to launch
|
---|
[4f304a0a] | 440 | <application>Libre Office</application> in its various forms. If you like
|
---|
| 441 | seeing the <application>Libre Office</application> splash screen, remove
|
---|
| 442 | the "--nologo" option.
|
---|
[d2d3fc5] | 443 | </para>
|
---|
| 444 |
|
---|
| 445 | <para>
|
---|
| 446 | <command>for res in 16 32 48 128 256 ...</command>: These commands copy
|
---|
| 447 | various icons into the hicolor icon theme used by
|
---|
| 448 | <application>Gtk+</application>.
|
---|
| 449 | </para>
|
---|
| 450 |
|
---|
| 451 | <para>
|
---|
| 452 | <command>gtk-update-icon-cache /usr/share/icons/hicolor</command>: This
|
---|
[a6af3ab9] | 453 | command rebuilds
|
---|
| 454 | <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> to include
|
---|
| 455 | the new icons.
|
---|
[d2d3fc5] | 456 | </para>
|
---|
| 457 | </sect2>
|
---|
| 458 |
|
---|
| 459 | <sect2 role="configuration">
|
---|
| 460 | <title>Configuring Libre Office</title>
|
---|
| 461 |
|
---|
| 462 | <para>
|
---|
| 463 | If you use a desktop environment like <application>Gnome</application>
|
---|
| 464 | or <application>KDE</application> and want the programs to show up in the
|
---|
| 465 | panel's menu, as the <systemitem class="username">root</systemitem> user,
|
---|
| 466 | create some simple desktop files:
|
---|
| 467 | </para>
|
---|
| 468 |
|
---|
| 469 | <screen role="root"><userinput>for program in base calc draw impress math writer
|
---|
| 470 | do echo "[Desktop Entry]
|
---|
| 471 | Encoding=UTF-8
|
---|
| 472 | Type=Application
|
---|
| 473 | Name=${program^}
|
---|
| 474 | Comment=Libre Office ${program^}
|
---|
| 475 | Icon=${program}
|
---|
| 476 | Exec=${program}
|
---|
| 477 | Categories=Office;Application;
|
---|
| 478 | StartupNotify=true
|
---|
| 479 | Terminal=false" > /usr/share/applications/${program}.desktop
|
---|
[4f304a0a] | 480 | done &&
|
---|
| 481 | echo "[Desktop Entry]
|
---|
| 482 | Encoding=UTF-8
|
---|
| 483 | Type=Application
|
---|
| 484 | Name=Printer Administration
|
---|
| 485 | Comment=Libre Office Printer Administration
|
---|
| 486 | Icon=printeradmin
|
---|
| 487 | Exec=printeradmin
|
---|
[2511f83] | 488 | Categories=Office;Printing;Application;
|
---|
[4f304a0a] | 489 | StartupNotify=true
|
---|
| 490 | Terminal=false" > /usr/share/applications/printeradmin.desktop</userinput></screen>
|
---|
[d2d3fc5] | 491 | </sect2>
|
---|
| 492 |
|
---|
| 493 | <sect2 role="content">
|
---|
| 494 | <title>Contents</title>
|
---|
| 495 |
|
---|
| 496 | <segmentedlist>
|
---|
| 497 | <segtitle>Installed Programs</segtitle>
|
---|
| 498 | <segtitle>Installed Libraries</segtitle>
|
---|
| 499 | <segtitle>Installed Directory</segtitle>
|
---|
| 500 |
|
---|
| 501 | <seglistitem>
|
---|
[2511f83] | 502 | <seg>base, calc, draw, impress, math, printeradmin and writer.</seg>
|
---|
[d2d3fc5] | 503 | <seg>
|
---|
| 504 | Hundreds of shared libraries in
|
---|
| 505 | <filename class="directory">/usr/lib/libreoffice</filename>.
|
---|
| 506 | </seg>
|
---|
| 507 | <seg>/usr/lib/libreoffice.</seg>
|
---|
| 508 | </seglistitem>
|
---|
| 509 | </segmentedlist>
|
---|
| 510 |
|
---|
| 511 | <variablelist>
|
---|
| 512 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 513 | <?dbfo list-presentation="list"?>
|
---|
| 514 | <?dbhtml list-presentation="table"?>
|
---|
| 515 |
|
---|
| 516 | <varlistentry id="base">
|
---|
| 517 | <term><command>base</command></term>
|
---|
| 518 | <listitem>
|
---|
| 519 | <para>
|
---|
| 520 | is a database manager.
|
---|
| 521 | </para>
|
---|
| 522 | <indexterm zone="libreoffice base">
|
---|
| 523 | <primary sortas="b-base">base</primary>
|
---|
| 524 | </indexterm>
|
---|
| 525 | </listitem>
|
---|
| 526 | </varlistentry>
|
---|
| 527 |
|
---|
| 528 | <varlistentry id="calc">
|
---|
| 529 | <term><command>calc</command></term>
|
---|
| 530 | <listitem>
|
---|
| 531 | <para>
|
---|
| 532 | is a spreadsheet program.
|
---|
| 533 | </para>
|
---|
| 534 | <indexterm zone="libreoffice calc">
|
---|
| 535 | <primary sortas="b-calc">calc</primary>
|
---|
| 536 | </indexterm>
|
---|
| 537 | </listitem>
|
---|
| 538 | </varlistentry>
|
---|
| 539 |
|
---|
| 540 | <varlistentry id="draw">
|
---|
| 541 | <term><command>draw</command></term>
|
---|
| 542 | <listitem>
|
---|
| 543 | <para>
|
---|
| 544 | is a vector graphics editor and diagramming tool.
|
---|
| 545 | </para>
|
---|
| 546 | <indexterm zone="libreoffice draw">
|
---|
| 547 | <primary sortas="b-draw">draw</primary>
|
---|
| 548 | </indexterm>
|
---|
| 549 | </listitem>
|
---|
| 550 | </varlistentry>
|
---|
| 551 |
|
---|
| 552 | <varlistentry id="impress">
|
---|
| 553 | <term><command>impress</command></term>
|
---|
| 554 | <listitem>
|
---|
| 555 | <para>
|
---|
| 556 | can edit and display powerpoint presentations.
|
---|
| 557 | </para>
|
---|
| 558 | <indexterm zone="libreoffice impress">
|
---|
| 559 | <primary sortas="b-impress">impress</primary>
|
---|
| 560 | </indexterm>
|
---|
| 561 | </listitem>
|
---|
| 562 | </varlistentry>
|
---|
| 563 |
|
---|
| 564 | <varlistentry id="math">
|
---|
| 565 | <term><command>math</command></term>
|
---|
| 566 | <listitem>
|
---|
| 567 | <para>
|
---|
| 568 | is a mathematical formula editor.
|
---|
| 569 | </para>
|
---|
| 570 | <indexterm zone="libreoffice math">
|
---|
| 571 | <primary sortas="b-math">math</primary>
|
---|
| 572 | </indexterm>
|
---|
| 573 | </listitem>
|
---|
| 574 | </varlistentry>
|
---|
| 575 |
|
---|
[2511f83] | 576 | <varlistentry id="printeradmin">
|
---|
| 577 | <term><command>printeradmin</command></term>
|
---|
| 578 | <listitem>
|
---|
| 579 | <para>
|
---|
| 580 | is a graphical interface to enable you to change your personal
|
---|
| 581 | printing preferences, which are saved in
|
---|
| 582 | <filename>~/.cups/lpoptions</filename>.
|
---|
| 583 | </para>
|
---|
| 584 | <indexterm zone="libreoffice printeradmin">
|
---|
| 585 | <primary sortas="b-printeradmin">printeradmin</primary>
|
---|
| 586 | </indexterm>
|
---|
| 587 | </listitem>
|
---|
| 588 | </varlistentry>
|
---|
| 589 |
|
---|
[8d5cd1bb] | 590 | <varlistentry id="unopkg">
|
---|
| 591 | <term><command>unopkg</command></term>
|
---|
| 592 | <listitem>
|
---|
| 593 | <para>
|
---|
| 594 | is a tool to manage <application>Libre Office</application>
|
---|
| 595 | extensions from the command line.
|
---|
| 596 | </para>
|
---|
| 597 | <indexterm zone="libreoffice unopkg">
|
---|
| 598 | <primary sortas="b-unopkg">unopkg</primary>
|
---|
| 599 | </indexterm>
|
---|
| 600 | </listitem>
|
---|
| 601 | </varlistentry>
|
---|
| 602 |
|
---|
[d2d3fc5] | 603 | <varlistentry id="writer">
|
---|
| 604 | <term><command>writer</command></term>
|
---|
| 605 | <listitem>
|
---|
| 606 | <para>
|
---|
| 607 | is a word processor.
|
---|
| 608 | </para>
|
---|
| 609 | <indexterm zone="libreoffice writer">
|
---|
| 610 | <primary sortas="b-writer">writer</primary>
|
---|
| 611 | </indexterm>
|
---|
| 612 | </listitem>
|
---|
| 613 | </varlistentry>
|
---|
| 614 | </variablelist>
|
---|
| 615 | </sect2>
|
---|
| 616 | </sect1>
|
---|