%general-entities; ]> $LastChangedBy$ $Date$ OpenOffice-&openoffice-version; OpenOffice Introduction to OpenOffice OpenOffice is an office suite, the open source sibling of StarOffice. Package Information OpenOffice Core Download (HTTP): OpenOffice Core Download (FTP): OpenOffice Core Download MD5 sum: &openoffice-core-md5sum; OpenOffice Core Download size: &openoffice-core-size; OpenOffice System Download (HTTP): OpenOffice System Download (FTP): OpenOffice System Download MD5 sum: &openoffice-system-md5sum; OpenOffice System Download size: &openoffice-system-size; Estimated disk space required: &openoffice-buildsize; Estimated build time: &openoffice-time; Additional Downloads Required patch: Required download if you wish to build the in-tree Mozilla browser: Optional download if you wish to build the OpenOffice SDK: Optional download if you would like to localize the installation: Optional download if you need to support the old StarOffice-5.x file formats: OpenOffice Dependencies Required , , , , Perl Modules and , , , and Recommended Optional ALTLinuxhyph, boost, , , (with Java support), , EPM, , , GPC, , , libsndfile, , libwpd, , (with ldap support), MySpell, MyThes, , neon, , PortAudio, , Sablotron, , , STLPort, and User Notes: Installation of OpenOffice The OpenOffice source code is now 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 src and core tarballs. Additionally, the source directory name is not consistent with the tarball name amd will be named OOG680_m9. If you wish to build an in-tree Mozilla, as opposed to using a system wide installation, copy the Mozilla source tarball into the source tree: cp ../mozilla-source-1.7.5.tar.gz moz/download/ If you want to optimize the build, edit the appropriate makefile in solenv/inc/ and add the desired optimization flags to the CFLAGSOPT variable. The makefiles are arch specific, for instance edit solenv/inc/unxlngi6.mk for i686. Some users have reported problems with . The best option is to not use any custom optimizations. Because of the complexity of the OpenOffice build system, it is not possible to provide generic build instructions for all systems. You should review the output of config_office/configure --help and take advantage of any system installed programs and libraries available using the --enable-*, --disable-*, and --with-system-* parameters. Additionally, if you have installed KDE in the /opt prefix, and would like to use the --enable-kde switch, you must set KDEDIR=$KDE_PREFIX before running configure. Configure OpenOffice using the following commands: cd config_office/ && ./configure --prefix=/opt/openoffice-&openoffice-version; \ --enable-libart --disable-fontooo --disable-gnome-vfs \ --without-fonts --without-system-jars --without-pam \ --with-system-stdlibs --with-system-freetype \ --with-system-expat --with-system-libxml --with-system-zlib \ --enable-cairo --enable-build-mozilla \ --with-build-version=BLFS --with-package-format=native \ --disable-binfilter --disable-odk --disable-qadevooo \ --with-use-shell=bash && cd .. OpenOffice fails to compile if umask is set to something exotic. The build can also fail if the LANG or LC_ALL environment variables are set. Use the following commands to change your environment accordingly: umask 0022 && unset LANG LC_ALL Compile OpenOffice using the following commands: patch -Np1 -i ../OOo_&openoffice-version;-use_bin_hsqldb-1.patch && ./bootstrap && . LinuxX86Env.Set.sh && dmake This package does not come with a test suite. Install OpenOffice as the root user with the following commands: pushd instsetoo_native/unxlngi6.pro/OpenOffice/\ native/install/en-US/linux-2.6-intel/buildroot/opt && cp -r -v openoffice.org2.3 /opt/openoffice-&openoffice-version; && popd Still as the root user: for appl in sbase scalc sdraw simpress smath soffice spadmin swriter do ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl done The icons are not installed by default. While still the root user, install the icons with the following commands: cd sysui/desktop/icons && install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 && cp -r -v HighContrast/*x* /usr/share/icons/HighContrast && cp -r -v hicolor/*x* /usr/share/icons/hicolor && cp -r -v locolor/*x* /usr/share/icons/locolor If you have installed , you should copy the *.desktop files to /usr/share/applications with the following commands as the root user: install -v -d /usr/share/applications -m 755 && cd /opt/openoffice-&openoffice-version;/share/xdg/ && for appl in *.desktop do sed -i '/Exec/d' $appl echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl sed -i '/Icon/d' $appl echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl done && sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop && cp -v *.desktop /usr/share/applications && update-desktop-database Finally, if you'd like to edit OpenOffice documents directly from or , create a symbolic link in your plugins directory to /opt/openoffice-&openoffice-version;/program/libnpsoplugin.so. Additionally, you must enable the plugin from the Internet Options within any OpenOffice application. Command Explanations --enable-*: The switches listed in the example configure command above force the use of system installed libraries that are known to be available on a BLFS system that meets the required and recommended dependencies. --disable-fontooo: Use Fontconfig instead of FontOOo. --disable-gnome-vfs: Disable the use of Gnome Virtual File System libraries. Omit this switch if you have Gnome installed. --without-fonts: Do not install Bitstream Vera fonts since they are already included in X Window System Environment. --with{,out}-system-*: Determines whether to use the system libraries and programs or to build the source packages included in the build tree. --without-pam: Disable the use of Linux-PAM functions. Omit this switch if Linux-PAM is installed. --enable-build-mozilla: Build the in-tree Mozilla suite. --with-build-version=BLFS: Appends "BLFS" to the end of the version string. --with-package-format=native: This switch forces the build to skip the packaging process, leaving only the temporary installation that would be used for packaging. This temporary installation is later copied directly to the final destination. --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 OpenOffice. --disable-odk: This switch disables the build of the OpenOffice SDK. Omit this switch if you've downloaded the sdk package above. --disable-qadevooo: This switch skips the building of the quality assurance tools used by the OpenOffice development teams. --with-system-mozilla=<type> : Enables the use of a system installed gecko or XULRunner engine in place of the full Mozilla suite. This will disable the use of a Thunderbird address book as a data source. If you omit the type of installation, configure defaults to, and searches for a working XULRunner installation and will fail if one is not found. --disable-cups: Disable the use of CUPS for printing. --with-lang=<LANG>: Allows the use of additional languages in OpenOffice. ENUS is the default. --with-dict=<LANG>: Allows the use of alternate dictionaries in OpenOffice. ENUS is the default. --with-use-shell=bash: Tells the OpenOffice build system to use bash as opposed to tcsh. ./bootstrap: Build the dmake utility required to complete the build. dmake: Compiles the package. for appl in *.desktop...: Edit the *.desktop files for use with a standard BLFS system. Contents Installed Programs Installed Libraries Installed Directory scalc, sdraw, simpress, smath, soffice, spadmin, and swriter. OpenOffice libraries /opt/openoffice-&openoffice-version; Short Descriptions sbase is a database application. sbase scalc is a spreadsheet application. scalc sdraw is a drawing application. sdraw simpress is a presentation application. simpress smath is a mathematical formula editor. smath soffice opens a base window with access to all OpenOffice applications. soffice spadmin is the OpenOffice printer configuration utility. spadmin swriter is a word processing application. swriter