OpenOffice-2.3.1
      
      
        
          Introduction to OpenOffice
        
        
          OpenOffice is an office suite, the
          open source sibling of StarOffice.
        
        
          Package Information
        
        
        
          Additional Downloads
        
        
        
          OpenOffice Dependencies
        
        
          Required
        
        
          Apache Ant-1.7.0, GTK+-2.10.13, libIDL-0.8.8, Perl
          Modules XML::Parser-2.34 and Archive::Zip-1.20, UnZip-5.52,
          which-2.19, and Zip-2.32
        
        
          Recommended
        
        
          libart_lgpl-2.3.19 and libxslt-1.1.22
        
        
          Optional
        
        
          ALTLinuxhyph,
          boost,
          CUPS-1.2.12, cURL-7.16.3,
          Berkeley DB-4.5.20 (built with Java
          support), desktop-file-utils-0.13,
          EPM,
          Evolution-2.10.3, GNOME Virtual File
          System-2.18.1, GPC, KDE, libjpeg-6b,
          libsndfile, LibTIFF-3.8.2, libwpd, Linux-PAM-0.99.10.0, Firefox-2.0.0.15
          (with ldap support), MySpell,
          MyThes,
          NAS-1.9, neon, OpenLDAP-2.3.39, PortAudio, Python-2.5.2,
          Sablotron,
          SANE-1.0.18, startup-notification-0.9, STLPort, and
          unixODBC-2.2.12
        
        
          User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/openoffice
        
       
      
        
          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 “core” and “system” tarballs. Note that the source
          directory name is not consistent with the tarball name and 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 -fomit-frame-pointer. The best option is to not use
          any custom optimizations.
        
        
          
          
            Note
          
          
            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.
          
         
        
          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
        
          Install OpenOffice by running the
          following commands:
        
        
patch -Np1 -i ../OOo_2.3.1-use_bin_hsqldb-1.patch &&
sed -i 's@..$/dist$/configure@uudecode="no" &@' \
    berkeleydb/makefile.mk &&
pushd config_office &&
./configure --prefix=/opt/openoffice-2.3.1 \
            --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-libxslt          \
            --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 &&
popd &&
./bootstrap &&
source LinuxX86Env.Set.sh &&
dmake
        
          This package does not come with a test suite.
        
        
          Now, as the root user:
        
        
pushd instsetoo_native/unxlngi6.pro/OpenOffice/\
native/install/en-US/linux-2.6-intel/buildroot/opt &&
cp -r -v openoffice.org2.3 /opt/openoffice-2.3.1 &&
popd &&
for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
do
    ln -v -sf /opt/openoffice-2.3.1/program/$appl /usr/bin
done &&
pushd sysui/desktop/icons &&
install -v -m755 -d /usr/share/icons/{HighContrast,hicolor,locolor} &&
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 &&
popd
        
          If you have installed desktop-file-utils-0.13, 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/openoffice-2.3.1/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 &&
popd
        
          Finally, if you'd like to edit OpenOffice documents directly from SeaMonkey-1.1.9 or Firefox-2.0.0.15,
          create a symbolic link in your plugins directory to /opt/openoffice-2.3.1/program/libnpsoplugin.so.
          Additionally, you must enable the plugin from the Internet Options within any
          OpenOffice application.
        
       
      
        
          Command Explanations
        
        
          sed
          's@..\$dist\$/configure@uudecode="no"...': This
          command corrects a build failure if a faulty uudecode program provided by the
          GMime-2.2.10 package is installed.
        
        
          --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 the 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 the
          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 (and additional requirements) 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. US English (ENUS) is the default.
        
        
          --with-dict=<LANG>: Allows
          the use of alternate dictionaries in OpenOffice. US English (ENUS) is the default.
        
        
          --with-use-shell=bash:
          Tells the OpenOffice build system
          to use bash instead
          of tcsh.
        
        
          ./bootstrap: Build
          the dmake utility
          required to complete the build.
        
        
          dmake: Compiles the
          package.
        
        
          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:
              scalc, sdraw, simpress, smath, soffice,
              spadmin, and swriter.
            
            
              Installed Libraries:
              OpenOffice libraries
            
            
              Installed Directory:
              /opt/openoffice-2.3.1
            
           
         
        
          
            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 OpenOffice applications.
                   
                 | 
              
              
                | 
                   
                    spadmin
                   
                 | 
                
                   
                    is the OpenOffice
                    printer configuration utility.
                   
                 | 
              
              
                | 
                   
                    swriter
                   
                 | 
                
                   
                    is a word processing application.
                   
                 | 
              
            
          
         
       
      
        Last updated on 2008-05-09 08:00:42 -0500