Difference between revisions of "Open Office"
Weibullguy (talk | contribs) |
Weibullguy (talk | contribs) |
||
Line 12: | Line 12: | ||
|- | |- | ||
| ftp://ftp.ussg.iu.edu/pub/openoffice/stable/{{OO-Version}}/OOo_{{OO-Version}}_src_system.tar.bz2 | | ftp://ftp.ussg.iu.edu/pub/openoffice/stable/{{OO-Version}}/OOo_{{OO-Version}}_src_system.tar.bz2 | ||
+ | |- | ||
+ | !Optional Download if Building the Office Development Kit (ODK): | ||
+ | |- | ||
+ | |ftp://ftp.ussg.iu.edu/pub/openoffice/stable/{{OO-Version}}/OOo_{{OO-Version}}_src_sdk.tar.bz2 | ||
|} | |} | ||
Line 202: | Line 206: | ||
autoreconf && | autoreconf && | ||
USE_ARCH=64 CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | USE_ARCH=64 CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
− | ./configure --prefix=/opt/openoffice- | + | ./configure --prefix=/opt/openoffice-{{OO-Version}} --libdir=/opt/openoffice-{{OO-Version}}/lib64 --enable-libart \ |
− | + | --disable-fontooo --without-fonts --with-system-stdlibs --with-system-freetype --with-system-expat \ | |
− | + | --with-system-libxml --with-system-zlib --with-build-version=CBLFS --with-package-format=native --disable-binfilter && | |
cd .. && | cd .. && | ||
umask 0022 && | umask 0022 && | ||
Line 212: | Line 216: | ||
./bootstrap && | ./bootstrap && | ||
− | + | source LinuxIntelEnv.Set.sh | |
Compile the package: | Compile the package: | ||
Line 226: | Line 230: | ||
cd instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/opt && | cd instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/opt && | ||
− | cp -r -v openoffice. | + | cp -r -v openoffice.org{{OO-Version2}} /opt/openoffice-{{OO-Version}} |
Create links in your $PATH to each program in the Open Office suite: | Create links in your $PATH to each program in the Open Office suite: | ||
Line 232: | Line 236: | ||
for appl in sbase scalc sdraw simpress smath soffice spadmin swriter | for appl in sbase scalc sdraw simpress smath soffice spadmin swriter | ||
do | do | ||
− | ln -v -sf /opt/openoffice- | + | ln -v -sf /opt/openoffice-{{OO-Version}}/program/$appl /usr/bin/$appl |
done | done | ||
Line 246: | Line 250: | ||
install -v -d /usr/share/applications -m 755 && | install -v -d /usr/share/applications -m 755 && | ||
− | cd /opt/openoffice- | + | cd /opt/openoffice-{{OO-Version}}/share/xdg/ && |
for appl in *.desktop | for appl in *.desktop | ||
do | do |
Revision as of 15:39, 27 January 2007
Contents
Introduction to Open Office
OpenOffice.org is a multiplatform and multilingual office suite that is compatible with all other major office suites.
Package Homepage: http://www.openoffice.org
Dependencies
Required
Recommended
Optional
- boost
- CUPS
- Curl
- desktop-file-utils
- EPM
- Evolution
- GNOME Virtual File System
- libjpeg
- libsndfile
- libTIFF
- libwpd
- Linux-PAM
- SeaMonkey
- Firefox
- MySpell
- NAS
- neon
- OpenLDAP
- Python
- SANE
- startup-notification
- unixODBC
Configuration Information
NOTE: If building a 64-bit version of Open Office using Sun's Java, you will need version 1.6 to complete the build successfully. Sun's Java6 is not the stable version. It has been reported that Blackdown's current stable version of Java will successfully build Open Office.
The following are some configuration options that can be passed to Open Office. Each can be passed as an enable/disable or as a with/without option.
--disable-ldap: disables the use of LDAP backend via Netscape/Mozilla or OpenLDAP. |
--enable-lockdown: enables the gconf integration work in OOo. |
--enable-libsn: enables the use of libstartup-notification. |
--disable-mozilla: build without the mozilla provided by OO. |
--disable-odk: disable building the office development kit. |
--disable-qadevooo: disable building the OO.o qa testsuites. |
--disable-fontooo: disable FontOOo; useful if using FontConfig. |
--disable-mathmldtd: disable mathmldtd. |
--enable-evolution2: Enable the built-in evolution 2 addressbook connectivity. |
--disable-cups: disable cups support. |
--disable-fontconfig: disable support for the fontconfig library. |
--disable-gtk: disable use of the Gtk+ vclplug. |
--disable-systray: do not build the system tray quickstarter. |
--enable-cairo: use the Cairo canvas backend. |
--disable-gnome-vfs: disable the use of the Gnome VFS. |
--enable-kde: use Qt/KDE vclplug. |
--disable-kdeab: disable the KDE address book support. |
--disable-binfilter: do not build the legacy binary file formats filters. These filters allow use of older Start Office formats. |
--disable-pasf: disable support for sound using portaudio/sndfile. |
--disable-pam: disable pam support. |
--disable-neon: disable neon and the compilation of webdav binding. |
--with-openldap: enables the use of the OpenLDAP. |
--with-firefox: use Firefox instead of Mozilla Suite for building. Use in conjunction with --with-system-mozilla. |
--with-xulrunner: use XULRunner instead of Mozilla Suite for building. Use in conjunction with --with-system-mozilla. |
--without-fonts do not build Bitstream Vera fonts. |
--with-package-format: specify package format(s) for OOo installsets. |
--with-system-stdlibs: use libstdc++/libgcc_s already on system. |
--with-mozilla-version: choose which version of mozilla to use while building mozilla. Default: 1.7.5. |
--with-mozilla-toolkit: choose which GUI toolkit to use while building mozilla components. Default: gtk2 |
--without-myspell-dicts: do not build the myspell dictionaries. |
--without-nas: removes nas support. |
--with-system-libs: use libs already on system. |
--with-system-zlib: use zlib already on system. |
--with-system-jpeg: use jpeg already on system. |
--with-system-expat: use expat already on system. |
--with-system-freetype: use freetype already on system. |
--with-system-libwpd: use libwpd already on system. |
--with-system-libxml: use libxml already on system. |
--with-system-python: use python already on system. |
--with-system-db: use berkeley db already on system. |
--with-system-odbc-headers: use the odbc headers already on system. |
--with-system-curl: use curl already on system. |
--with-system-boost: use boost already on system. |
--with-system-nas: use nas already on system. |
--with-system-sndfile: use sndfile already on system. |
--with-system-portaudio: use portaudio already on system. |
--with-system-neon: use neon already on system. |
--with-system-myspell: use myspell already on system. |
--with-system-mozilla: use mozilla already on system. |
--with-java: build with[out] Java support. |
--with-lang: build OpenOffice.org with additional language support. English (US) is always included by default. Separate multiple languages with a space. |
--with-dict: build OpenOffice.org with dictionary support. |
--with-build-version: add a custom version tag that will appear in the Help/About box for QA purposes. |
Non-Multilib
To do ...
Multilib
32Bit
To do ...
N32
To do ...
64Bit
Several Makefiles have -mcpu hard coded as PentiumPro, remove this with the following sed:
sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk
Configure the package, adding any configuration :
cd config_office/ && autoreconf && USE_ARCH=64 CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ ./configure --prefix=/opt/openoffice-3.1.1 --libdir=/opt/openoffice-3.1.1/lib64 --enable-libart \ --disable-fontooo --without-fonts --with-system-stdlibs --with-system-freetype --with-system-expat \ --with-system-libxml --with-system-zlib --with-build-version=CBLFS --with-package-format=native --disable-binfilter && cd .. && umask 0022 && unset LANG LC_ALL
Create the Open Office make utility and set the environment variables for the build:
./bootstrap && source LinuxIntelEnv.Set.sh
Compile the package:
dmake
To build a single "project" as it is referred to by Open Office, enter the project's directory and execute:
build && deliver
Install the package:
cd instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/opt && cp -r -v openoffice.org3 /opt/openoffice-3.1.1
Create links in your $PATH to each program in the Open Office suite:
for appl in sbase scalc sdraw simpress smath soffice spadmin swriter do ln -v -sf /opt/openoffice-3.1.1/program/$appl /usr/bin/$appl done
Install the Open Office icons:
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 desktop-file-utils installed, create desktop files for each application in the Open Office suite:
install -v -d /usr/share/applications -m 755 && cd /opt/openoffice-3.1.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
Contents
Installed Directories: | /opt/openoffice-3.1.1 |
---|---|
Installed Programs: | sbase, scalc, sdraw, simpress, smath, soffice, spadmin, and swriter |
Installed Libraries: | Various Open Office libraries. |
Short Descriptions
sbase | is a desktop database program. |
---|---|
scalc | is a spreadsheet program. |
sdraw | is a drawing program. |
simpress | is a program for creating presentations. |
smath | is a program for editing mathematical functions. |
soffice | is a "wrapper" program from which all of the Open Office programs can be accessed. |
spadmin | is the Open Office printer administration program. |
swriter | is a word processor. |