[87ba6cd5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY openoffice-download-http "http://download.openoffice.org/&openoffice-version;/source.html">
|
---|
| 8 | <!ENTITY openoffice-download-ftp " ">
|
---|
| 9 | <!ENTITY openoffice-size "189 MB">
|
---|
| 10 | <!ENTITY openoffice-buildsize "5.0 GB">
|
---|
| 11 | <!ENTITY openoffice-time " ">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[5342913] | 14 | <sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
|
---|
[6a1f1202] | 15 | <?dbhtml filename="openoffice.html" ?>
|
---|
[5342913] | 16 | <title>OpenOffice-&openoffice-version;</title>
|
---|
[f45b1953] | 17 |
|
---|
[87ba6cd5] | 18 | <sect2>
|
---|
| 19 | <title>Introduction to <application>OpenOffice</application></title>
|
---|
| 20 |
|
---|
| 21 | <para>The <application>OpenOffice</application> is an office suite, the
|
---|
| 22 | Open Source sibling of <application>StarOffice</application>.</para>
|
---|
| 23 |
|
---|
| 24 | <sect3><title>Package information</title>
|
---|
| 25 | <itemizedlist spacing='compact'>
|
---|
| 26 | <listitem><para>Download (HTTP): <ulink
|
---|
| 27 | url="&openoffice-download-http;"/></para></listitem>
|
---|
| 28 | <listitem><para>Download (FTP): <ulink
|
---|
| 29 | url="&openoffice-download-ftp;"/></para></listitem>
|
---|
| 30 | <listitem><para>Download size: &openoffice-size;</para></listitem>
|
---|
| 31 | <listitem><para>Estimated Disk space required:
|
---|
| 32 | &openoffice-buildsize;</para></listitem>
|
---|
| 33 | <listitem><para>Estimated build time:
|
---|
| 34 | &openoffice-time;</para></listitem>
|
---|
| 35 | </itemizedlist>
|
---|
| 36 | </sect3>
|
---|
| 37 |
|
---|
| 38 | <sect3><title><application>OpenOffice</application> dependencies</title>
|
---|
| 39 | <sect4><title>Required</title>
|
---|
| 40 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
| 41 | <xref linkend="zip"/>, <xref linkend="unzip"/>, <xref linkend="tcsh"/>,
|
---|
| 42 | <xref linkend="which"/></para></sect4>
|
---|
| 43 | <sect4><title>Recommended</title>
|
---|
| 44 | <para><xref linkend="j2sdk"/></para></sect4>
|
---|
| 45 | <sect4><title>Optional</title>
|
---|
| 46 | <para><xref linkend="Linux_PAM"/>,
|
---|
| 47 | <xref linkend="libart_lgpl"/>,
|
---|
| 48 | <xref linkend="startup-notification"/> and <ulink
|
---|
| 49 | url="http://ant.apache.org/">Apache Ant</ulink></para></sect4>
|
---|
| 50 | </sect3>
|
---|
| 51 |
|
---|
| 52 | <sect3><title>Additional downloads</title>
|
---|
| 53 | <itemizedlist spacing='compact'>
|
---|
| 54 | <listitem><para>General Polygon Clipper Library (Optional if <xref linkend="libart_lgpl"/> is used): <ulink
|
---|
| 55 | url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para></listitem>
|
---|
| 56 | <listitem><para>Required patch (Executable <command>test</command> is in
|
---|
| 57 | <filename class="directory">/bin</filename>,
|
---|
| 58 | not in <filename class="directory">/usr/bin</filename>): <ulink
|
---|
[b1623c2] | 59 | url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
|
---|
[87ba6cd5] | 60 | <listitem><para>Required patch if <xref linkend="Linux_PAM"/> is not installed: <ulink
|
---|
[b1623c2] | 61 | url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para></listitem>
|
---|
[87ba6cd5] | 62 | <listitem><para>Required patch if compiling with <acronym>JDK</acronym> 1.4.2: <ulink
|
---|
[b1623c2] | 63 | url="&patch-root;/openoffice-&openoffice-version;-jdk-1.4.2-fix-1.patch"/></para></listitem>
|
---|
[87ba6cd5] | 64 | <listitem><para>Recommended patch: <ulink
|
---|
[b1623c2] | 65 | url="&patch-root;/openoffice-&openoffice-version;-domainname-1.patch"/></para></listitem>
|
---|
[87ba6cd5] | 66 | <listitem><para>The source <acronym>TAR</acronym> ball only contains English language help. A localized help
|
---|
| 67 | content file may be available at <ulink
|
---|
| 68 | url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para></listitem></itemizedlist>
|
---|
| 69 | </sect3>
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2>
|
---|
| 73 | <title>Installation of <application>OpenOffice</application></title>
|
---|
| 74 |
|
---|
| 75 | <para>Apply the downloaded patches and optionally copy the gpc files.</para>
|
---|
| 76 |
|
---|
| 77 | <screen><userinput><command>mv ../gpc231/* external/gpc &&
|
---|
| 78 | for p in ../openoffice-&openoffice-version;-*.patch
|
---|
| 79 | do patch -Np1 -i $p
|
---|
| 80 | done</command></userinput></screen>
|
---|
| 81 |
|
---|
| 82 | <para>If you want to optimize the build, edit
|
---|
| 83 | <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
|
---|
[b1623c2] | 84 | flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
|
---|
| 85 | problems with -fomit-frame-pointer. The best option is to not use any custom
|
---|
| 86 | optimizations. The following command removes an incorrect -mcpu option in the
|
---|
| 87 | above file.</para>
|
---|
[87ba6cd5] | 88 |
|
---|
| 89 | <screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
|
---|
| 90 | solenv/inc/unxlngi4.mk</command></userinput></screen>
|
---|
| 91 |
|
---|
[b1623c2] | 92 | <para>Configure <application>OpenOffice</application> using the following
|
---|
| 93 | commands. You may build install sets for only specific languages based on your
|
---|
| 94 | preferences. If a particular component is not available in the language of your
|
---|
| 95 | choice, the default will be English. The following option compiles all
|
---|
| 96 | available languages. If you restrict the languages, be sure to add ENUS to the
|
---|
| 97 | list; otherwise the build fails. Also, the build fails when the environment
|
---|
| 98 | variable <envar>LANG</envar> is set. Unset it before compiling.</para>
|
---|
[87ba6cd5] | 99 |
|
---|
| 100 | <screen><userinput><command>cd config_office/ &&
|
---|
| 101 | ./configure --with-lang=ALL \
|
---|
[b1623c2] | 102 | --with-dict=ALL --without-fonts \
|
---|
| 103 | --enable-libsn --with-system-zlib &&
|
---|
[87ba6cd5] | 104 | cd ..</command></userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>Compile <application>OpenOffice</application> using the following
|
---|
| 107 | commands.</para>
|
---|
| 108 |
|
---|
[b1623c2] | 109 | <note><para><application>OpenOffice</application> fails to compile if the
|
---|
| 110 | umask is set to something exotic. Set umask to 022 if you normally set it to
|
---|
| 111 | something else.</para></note>
|
---|
[87ba6cd5] | 112 |
|
---|
| 113 | <screen><userinput><command>./bootstrap &&
|
---|
| 114 | bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para>If you have downloaded localized help content zip files, you will need
|
---|
| 117 | to unzip them to the appropriate directory as mentioned below and then recreate
|
---|
| 118 | the installation set.</para>
|
---|
| 119 |
|
---|
| 120 | <screen><userinput><command>cd solver/645/unxlngi4.pro/pck &&
|
---|
| 121 | for i in $(ls ../../../../../helpcontent_*_unix.tgz)
|
---|
| 122 | do
|
---|
| 123 | tar -xvzf $i
|
---|
| 124 | done &&
|
---|
| 125 | cd ../../../../instsetoo &&
|
---|
| 126 | rm -rf unxlngi4.pro &&
|
---|
| 127 | cd .. &&
|
---|
| 128 | bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>Install <application>OpenOffice</application> using the following
|
---|
| 131 | commands to install the English language set. To install a localized version,
|
---|
| 132 | replace the 01 with the international telephone country code for your country.
|
---|
| 133 | Note that when installing, <application>OpenOffice</application> needs an
|
---|
| 134 | <application>X</application> display, even though there is no visible
|
---|
| 135 | <application>X</application> window. You can use
|
---|
| 136 | <application>Xvfb</application> if you are compiling on a console.</para>
|
---|
| 137 |
|
---|
| 138 | <screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &&
|
---|
| 139 | sed -i "s:^oo_home=.*:oo_home=openoffice:" install &&
|
---|
| 140 | ./install --prefix=/opt &&
|
---|
| 141 | for appl in swriter scalc sdraw simpress smath soffice spadmin
|
---|
| 142 | do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
|
---|
| 143 | done</command></userinput></screen>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2>
|
---|
| 148 | <title>Command explanations</title>
|
---|
| 149 |
|
---|
| 150 | <para>
|
---|
[b1623c2] | 151 | <command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
|
---|
| 152 | appropriate location.</para>
|
---|
[87ba6cd5] | 153 |
|
---|
[b1623c2] | 154 | <para><parameter>--with-lang=ALL</parameter>: Make install sets for all
|
---|
| 155 | available languages.</para>
|
---|
[87ba6cd5] | 156 |
|
---|
[b1623c2] | 157 | <para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
|
---|
| 158 | available languages.</para>
|
---|
[87ba6cd5] | 159 |
|
---|
[b1623c2] | 160 | <para><parameter>--with-libart</parameter>: Use libart instead of gpc for
|
---|
| 161 | polygon clipping.</para>
|
---|
[87ba6cd5] | 162 |
|
---|
| 163 | <para><parameter>--with-libsn</parameter>: Use startup-notification.</para>
|
---|
| 164 |
|
---|
[b1623c2] | 165 | <para><parameter>--disable-java</parameter>: Do not build components that need
|
---|
| 166 | java.</para>
|
---|
[87ba6cd5] | 167 |
|
---|
[b1623c2] | 168 | <para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
|
---|
| 169 | clipping capability.</para>
|
---|
[87ba6cd5] | 170 |
|
---|
[b1623c2] | 171 | <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
|
---|
| 172 | fonts since they are already bundled with X.</para>
|
---|
[87ba6cd5] | 173 |
|
---|
[b1623c2] | 174 | <para><command>./bootstrap</command>: Create packages required to bootstrap
|
---|
| 175 | the build.</para>
|
---|
[87ba6cd5] | 176 |
|
---|
| 177 | <para><command>dmake</command>: Compile the package.</para>
|
---|
| 178 |
|
---|
| 179 | <para><command>sed -i "s:^oo_home=...</command>: Remove version specific
|
---|
| 180 | installation directory.</para>
|
---|
| 181 |
|
---|
| 182 | <para><command>for appl in swriter scalc sdraw simpress smath soffice;
|
---|
[b1623c2] | 183 | do ...</command>: Create links so that the package can be started from the
|
---|
| 184 | command-line without changes to the existing path.</para>
|
---|
[87ba6cd5] | 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | <sect2>
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <para>The <application>OpenOffice</application> package contains
|
---|
| 192 | <command>swriter</command>,
|
---|
| 193 | <command>simpress</command>, <command>scalc</command>,
|
---|
| 194 | <command>sdraw</command>, <command>smath</command>,
|
---|
| 195 | and <command>spadmin</command>.</para>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2><title>Description</title>
|
---|
| 200 |
|
---|
| 201 | <sect3><title>swriter</title>
|
---|
| 202 | <para>Word processing application.</para></sect3>
|
---|
| 203 |
|
---|
| 204 | <sect3><title>simpress</title>
|
---|
| 205 | <para>Presentation application.</para></sect3>
|
---|
| 206 |
|
---|
| 207 | <sect3><title>scalc</title>
|
---|
| 208 | <para>Spreadsheet application.</para></sect3>
|
---|
| 209 |
|
---|
| 210 | <sect3><title>sdraw</title>
|
---|
| 211 | <para>Drawing application.</para></sect3>
|
---|
| 212 |
|
---|
| 213 | <sect3><title>smath</title>
|
---|
| 214 | <para>Mathematical formula editor.</para></sect3>
|
---|
| 215 |
|
---|
| 216 | <sect3><title>spadmin</title>
|
---|
| 217 | <para>OpenOffice Printer Configuration. You may need to run this if
|
---|
| 218 | you are having any printing problems.</para></sect3>
|
---|
| 219 |
|
---|
| 220 | </sect2>
|
---|
[f45b1953] | 221 |
|
---|
| 222 | </sect1>
|
---|
| 223 |
|
---|