%general-entities; ]> $LastChangedBy$ $Date$ OpenOffice-&openoffice-version; Introduction to <application>OpenOffice</application> The OpenOffice is an office suite, the Open Source sibling of StarOffice. Package information Download Mirrors (HTTP): Download (FTP): Download size: &openoffice-size; (additional 11-13 MB for localized help content file) Estimated Disk space required: &openoffice-buildsize; (more if using localized help content) Estimated build time: &openoffice-time; (longer if using localized help content) Additional downloads Required patch (Executable test is in /bin, not in /usr/bin): Required patch to use system freetype: Required patch if Linux-PAM-&Linux_PAM-version; is not installed: Required patch if compiling with JDK-&j2sdk-src-version;: Required patch for gcc-3.3.3: Required patch for use with NPTL: General Polygon Clipper Library (Optional if libart_lgpl-&libart_lgpl-version; is used): The source TAR ball only contains English language help. A localized help content file may be available at: . <application>OpenOffice</application> dependencies Required X ( or ), , , , , and Recommended Optional , , , and Installation of <application>OpenOffice</application> Apply the downloaded patches and, optionally, untar and move the gpc files: tar -zxf ../gpc231.tar.Z && mv gpc231/* external/gpc && rmdir gpc231 && for patch in ../openoffice-&openoffice-version;-*.patch do patch -Np1 -i $patch done STLport looks for the c++ headers in the wrong location. Put a temporary symlink in place to satisfy STLport: ln -sf /opt/gcc-3.3.3/include/c++/3.3.3 /usr/g++-v3 OpenOffice fails to build with gcc-3.4.1. Set your path to include gcc-3.3.3. export PATH_HOLD=$PATH && export PATH=/opt/gcc-3.3.3/bin:$PATH If you want to optimize the build, edit solenv/inc/unxlngi4.mk and add the desired optimization flags to the CFLAGSOPT variable. Some users have reported problems with -fomit-frame-pointer. The best option is to not use any custom optimizations. The following command removes an incorrect -mcpu option in the above file. sed -i "s:\-mcpu=pentiumpro::" \ solenv/inc/unxlngi4.mk Configure OpenOffice using the following commands. You may build install sets for specific languages based on your preferences. Supply a comma separated list to the --with-lang= switch. If a particular component is not available in the language of your choice, the default will be English. If you need other languages, be sure to add ENUS to the list; otherwise the build will fail. cd config_office/ && ./configure --with-lang=ENUS \ --with-dict=ENUS --without-fonts \ --enable-libsn --with-system-zlib \ --with-system-freetype && cd .. OpenOffice fails to compile if umask is set to something exotic. The build can also fial if the LANG or LC_ALL evvironment variables are set. umask 0022 && unset LANG LC_ALL Compile OpenOffice using the following commands: ./bootstrap && bash -c "source LinuxIntelEnv.Set.sh; dmake" If you have downloaded localized help content tgz files, you will need to untar them to the appropriate directory as shown below and then recreate the installation set. cd solver/645/unxlngi4.pro/pck && for i in ../../../../../helpcontent_*_unix.tgz do tar -xvzf $i done && cd ../../../../instsetoo && rm -rf unxlngi4.pro && cd .. && bash -c "source LinuxIntelEnv.Set.sh ; dmake" Install OpenOffice using the following commands to install the English language set. To install a localized version, replace the 01 with the international telephone country code for your country. cd instsetoo/unxlngi4.pro/01/normal && sed -i "s:^oo_home=.*:oo_home=openoffice:" install && ./install --prefix=/opt && for appl in sagenda scalc sdraw sfax simpress slabel sletter \ smaster smath smemo soffice spadmin svcard sweb swriter do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl done Finally, return your environment to it's original state: export PATH=$PATH_HOLD && rm -f /usr/g++-v3 Command explanations mv ../gpc231/gpc.* external/gpc: Copy the gpc files to the appropriate location. --with-lang=ENUS: Make install set for the US English language. --with-dict=ENUS: Install dictionaries for the US English language. --enable-libart: Use libart instead of gpc for polygon clipping. --with-libsn: Use startup-notification. --disable-java: Do not build components that need java. --without-gpc: Do not use gpc. Removes polygon clipping capability. --without-fonts: Do not install Bitstream Vera fonts since they are already bundled with X. --with-system-curl: Use the system installed curl. ./bootstrap: Create packages required to bootstrap the build. dmake: Compile the package. sed -i "s:^oo_home=...: Remove version specific installation directory. for appl in sagenda scalc sdraw sfax ...; do ...: Create links so that the package can be started from the command-line without changes to the existing path. Contents The OpenOffice package contains sagenda, scalc, sdraw, sfax, simpress, slabel, sletter, smaster, smath, smemo, soffice, spadmin, svcard, sweb, swriter, OpenOffice libraries and support utilities. Description sagenda Create an agenda template and start swriter. scalc Spreadsheet application. sdraw Drawing application. sfax Create a fax template and start swriter. simpress Presentation application. slabel Create a label template and start swriter. sletter Create a letter template and start swriter. smaster Creates a new master document. smath Mathematical formula editor. smemo Create a memo template and start swriter. soffice Opens a base window with access to all OpenOffice applications. spadmin OpenOffice Printer Configuration. You may need to run this if you are having any printing problems. svcard Business card application. sweb An HTML editor. swriter Word processing application.