LibreOffice-3.5.0
Introduction to LibreOffice
LibreOffice is an office
suite, the open source sibling of StarOffice.
Package Information
Additional Downloads
LibreOffice Dependencies
Required
Apache Ant-1.8.1, gtk+-3.2.3,
(or gtk+-2.24.8 if not using the switch
--enable-gtk3, see
"Command Explanations below"), libIDL-0.8.14, Perl Modules XML::Parser-2.40 and Archive::Zip-1.30, UnZip-6.0, which-2.20, and Zip-3.0
Optional
ALTLinuxhyph,
boost-1.49.0, Cups-1.5.0, cURL-7.24.0, Berkeley DB-5.2.36 (built
with Java support), desktop-file-utils-0.18,
EPM, Evolution-3.2.2, Trinity/KDE3, libjpeg-8c, libsndfile,
LibTIFF-4.0.1, libwpd, libxslt-1.1.26, libxml2-2.7.8, Linux-PAM-1.1.5, MySpell,
MyThes,
neon-0.29.6, OpenLDAP-2.4.23, Python-2.7.2, SANE-1.0.19, startup-notification-0.12,
and unixODBC-2.3.0
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/LibreOffice
Installation of LibreOffice
The LibreOffice source
code is distributed in several tarballs. You should extract
each from the same top-level directory before entering the
build directory. At a minimum, you will need to extract the “core” and “help”
tarballs. The working directory is libreoffice-core-3.5.0.3.
Note
Because of the complexity of the LibreOffice build system, it is
not possible to provide generic build instructions for all
systems. You should review the output of configure --help
and take advantage of any system installed programs and
libraries available using the --enable-*,
--disable-*, and --with-system-*
parameters, and provide any additional environment variables
needed.
After changing to the working directory
libreoffice-core-3.5.0.3, let us symlink "help" to the working
directory.
ln -sv -f ../libreoffice-help-3.5.0.3/helpcontent2 .
If you downloaded and uncompressed "translations" and
"dictionaries" tarballs and used the switch "--with-lang=", they
also need to be symlinked:
ln -sv -f ../libreoffice-dictionaries-3.5.0.3/dictionaries .
ln -sv -f ../libreoffice-translations-3.5.0.3/translations .
Install
LibreOffice by running
the following commands:
./autogen.sh \
--prefix=/opt/libreoffice-3.5.0.3 \
--sysconfdir=/etc/libreoffice \
--enable-gtk3 \
--disable-binfilter \
--disable-gnome-vfs \
--disable-gconf \
--disable-kde \
--disable-kde4 \
--disable-mozilla \
--disable-odk \
--disable-qadevooo \
--with-system-cairo \
--with-system-expat \
--with-system-stdlibs \
--with-system-zlib \
--with-build-version="3.5.0-1" \
--with-vendor="BLFS" \
--with-use-shell=bash \
--without-afms \
--without-fonts \
--without-ppds \
--without-junit &&
./download &&
make
This package does not come with a test suite.
Now, as the root user:
make install &&
( test ! -L /opt/libreoffice ||
rm -v /opt/libreoffice ) &&
ln -v -sf /opt/libreoffice-3.5.0.3 /opt/libreoffice &&
for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
do
ln -v -sf /opt/libreoffice/lib/libreoffice/program/$appl /usr/bin
done &&
pushd src/libreoffice-libs-core-3.5.0.3/sysui/desktop/icons &&
install -v -m755 -d /usr/share/icons/{hicolor,locolor} &&
cp -r -v hicolor/* /usr/share/icons/hicolor &&
cp -r -v locolor/* /usr/share/icons/locolor &&
popd
If you have installed desktop-file-utils-0.18,
you should copy the *.desktop
files to /usr/share/applications
using the following commands as the root
user:
install -v -d -m755 /usr/share/applications &&
pushd /opt/libreoffice-3.5.0.3/share/xdg/ &&
for appl in *.desktop
do
sed -i -e 's/libreoffice35-//' $appl &&
sed -i -e 's/libreoffice3.5/soffice/' $appl
done &&
sed -i 's@soffice-printeradmin@spadmin@' printeradmin.desktop &&
cp -v *.desktop /usr/share/applications &&
update-desktop-database &&
popd
If there is another icon named calc.png, scalc entry in the menu
might display an incorrect image. In this case, you can obtain
the correct image by creating a
symlink link and editing calc.desktop as the
root user, for example:
ln -sv -f ../icons/hicolor/32x32/apps/calc.png /usr/share/pixmaps/scalc.png &&
sed -i -e 's/Icon=calc/Icon=scalc/' /usr/share/applications/calc.desktop
Finally, if you'd like to edit
LibreOffice
documents directly from
SeaMonkey-2.7.2 or
Firefox-10.0.2, create a symbolic
link in your plugins directory to
/opt/LibreOffice-3.5.0/program/libnpsoplugin.so.
Additionally, you must enable the plugin from the
Internet Options within
any
LibreOffice application.
Command Explanations
./autogen.sh:
Check needed installed tools, sanity, clean tree and
configure.
--enable-gtk3: Omit
this switch if GTK+3 is not available.
--disable-binfilter:
This switch disables the build of legacy StarOffice-5 import filters. Omit
this switch if you've downloaded the binfilter package above. Warning:
Installation of the legacy import filters increases the build
time considerably. Only install them if you have these old
file types, and need to edit them in LibreOffice.
--disable-fontooo:
Use Fontconfig instead of
the FontOOo.
--disable-gnome-vfs:
Disable the use of Gnome Virtual
File System libraries. Omit this switch only if gio
is not available.
--disable-gconf:
Disable the use of Gnome GConf.
Omit this switch only if gconf is available.
--disable-mozilla:
LibreOffice usually includes a strangely hacked up Mozilla
binary for your platform, to build without this version, use
this option.
--disable-kde:
Disable the use of KDE support.
Omit this switch only if KDE is available.
--disable-kde4:
Disable the use of KDE4 support.
Omit this switch only if KDE4 is available.
--disable-odk: This
switch disables the build of the LibreOffice
SDK. Omit this switch if you've downloaded the SDK package
(and additional requirements) above.
--disable-qadevooo:
This switch skips the building of the quality assurance tools
used by the LibreOffice
development teams.
--without-afms: Do
not install afm font types as system installed TrueType fonts
are already available.
--without-fonts: Do
not install Bitstream Vera fonts since they are already
included in the X Window
System Environment.
--without-ppds: Do
not install printer description files as these should be
handled by your print system.
--without-pam:
Disable the use of Linux-PAM
functions. Omit this switch if Linux-PAM
is installed.
--with{,out}-system-*:
Determines whether to use the system libraries and programs or
to build the source packages included in the build tree.
--with-build-version="3.5.0-1":
Changes the build version to append "-1" to the default
version string.
--with-vendor="BLFS":
Changed the vendor string to "BLFS" in the help->about
dialog.
--with-use-shell=bash:
Tells the LibreOffice build
system to use bash
instead of tcsh.
--with-lang=<LANG>:
Allows the use of additional languages in LibreOffice. US English (ENUS) is
the default.
--with-dict=<LANG>:
Allows the use of alternate dictionaries in LibreOffice. US English (ENUS) is
the default.
--with-use-shell=bash:
Tells the LibreOffice build
system to use bash
instead of tcsh.
.download:
Download additional tools to bootstrap the build.
for appl in sbase scalc...:
Creates symlinks for the applications in /usr/bin.
for appl in *.desktop...:
Edit the *.desktop files for
use with a standard BLFS system.
Contents
Installed
Programs: sbase, scalc,
sdraw, simpress, smath, soffice, spadmin, and swriter
Installed
Libraries: LibreOffice libraries
Installed
Directory: /opt/LibreOffice-3.5.0.3
Short Descriptions
|
sbase
|
is a database application.
|
|
scalc
|
is a spreadsheet application.
|
|
sdraw
|
is a drawing application.
|
|
simpress
|
is a presentation application.
|
|
smath
|
is a mathematical formula editor.
|
|
soffice
|
opens a base window with access to all LibreOffice
applications.
|
|
spadmin
|
is the LibreOffice
printer configuration utility.
|
|
swriter
|
is a word processing application.
|
Last updated on 2012-02-17 14:43:28 +0000