[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">
|
---|
[2dfcd1d] | 8 | <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;-1_source.tar.gz">
|
---|
| 9 | <!ENTITY openoffice-size "205 MB">
|
---|
[28629da4] | 10 | <!ENTITY openoffice-buildsize "5.8 GB">
|
---|
| 11 | <!ENTITY openoffice-time "81 SBU">
|
---|
[87ba6cd5] | 12 | ]>
|
---|
| 13 |
|
---|
[5342913] | 14 | <sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[14a732e] | 16 |
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[14a732e] | 19 |
|
---|
[a0f03b0] | 20 | </sect1info>
|
---|
[14a732e] | 21 |
|
---|
[6a1f1202] | 22 | <?dbhtml filename="openoffice.html" ?>
|
---|
[5342913] | 23 | <title>OpenOffice-&openoffice-version;</title>
|
---|
[f45b1953] | 24 |
|
---|
[87ba6cd5] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>OpenOffice</application></title>
|
---|
| 27 |
|
---|
| 28 | <para>The <application>OpenOffice</application> is an office suite, the
|
---|
| 29 | Open Source sibling of <application>StarOffice</application>.</para>
|
---|
| 30 |
|
---|
| 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
[28629da4] | 33 | <listitem><para>Download Mirrors (HTTP): <ulink
|
---|
[87ba6cd5] | 34 | url="&openoffice-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink
|
---|
| 36 | url="&openoffice-download-ftp;"/></para></listitem>
|
---|
[28629da4] | 37 | <listitem><para>Download size: &openoffice-size;
|
---|
| 38 | (additional 11-13 MB for localized help content file)</para></listitem>
|
---|
[87ba6cd5] | 39 | <listitem><para>Estimated Disk space required:
|
---|
[28629da4] | 40 | &openoffice-buildsize; (more if using localized help content)</para></listitem>
|
---|
[87ba6cd5] | 41 | <listitem><para>Estimated build time:
|
---|
[28629da4] | 42 | &openoffice-time; (longer if using localized help content)</para></listitem>
|
---|
[87ba6cd5] | 43 | </itemizedlist>
|
---|
| 44 | </sect3>
|
---|
| 45 |
|
---|
| 46 | <sect3><title>Additional downloads</title>
|
---|
| 47 | <itemizedlist spacing='compact'>
|
---|
[2dfcd1d] | 48 |
|
---|
[87ba6cd5] | 49 | <listitem><para>Required patch (Executable <command>test</command> is in
|
---|
| 50 | <filename class="directory">/bin</filename>,
|
---|
| 51 | not in <filename class="directory">/usr/bin</filename>): <ulink
|
---|
[b1623c2] | 52 | url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
|
---|
[2dfcd1d] | 53 |
|
---|
| 54 | <listitem><para>Required patch to use system freetype: <ulink
|
---|
| 55 | url="&patch-root;/openoffice-&openoffice-version;-freetype-1.patch"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 |
|
---|
| 58 | <listitem><para>Required patch if
|
---|
| 59 | Linux-<acronym>PAM</acronym>-&Linux_PAM-version; is not installed: <ulink
|
---|
| 60 | url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para>
|
---|
| 61 | </listitem>
|
---|
| 62 |
|
---|
[28629da4] | 63 | <listitem><para>Required patch if compiling with
|
---|
| 64 | <acronym>JDK</acronym>-&j2sdk-src-version;: <ulink
|
---|
[2dfcd1d] | 65 | url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 |
|
---|
| 68 | <listitem><para>Required patch for gcc-3.3.3: <ulink
|
---|
[cc4ad03] | 69 | url="&patch-root;/openoffice-&openoffice-version;-gcc333-1.patch"/></para>
|
---|
| 70 | </listitem>
|
---|
| 71 |
|
---|
| 72 | <listitem><para>Required patch for use with NPTL: <ulink
|
---|
| 73 | url="&patch-root;/openoffice-&openoffice-version;-nptl-1.patch"/></para>
|
---|
[2dfcd1d] | 74 | </listitem>
|
---|
| 75 |
|
---|
[28629da4] | 76 | <listitem><para>General Polygon Clipper Library (Optional if
|
---|
| 77 | libart_lgpl-&libart_lgpl-version; is used): <ulink
|
---|
[2dfcd1d] | 78 | url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para>
|
---|
| 79 | </listitem>
|
---|
| 80 |
|
---|
[28629da4] | 81 | <listitem><para>The source <acronym>TAR</acronym> ball only contains English
|
---|
| 82 | language help. A localized help content file may be available at: <ulink
|
---|
[2dfcd1d] | 83 | url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para>
|
---|
| 84 | </listitem>
|
---|
| 85 |
|
---|
[28629da4] | 86 | </itemizedlist>
|
---|
[87ba6cd5] | 87 | </sect3>
|
---|
[4f6275fd] | 88 |
|
---|
| 89 | <sect3><title><application>OpenOffice</application> dependencies</title>
|
---|
| 90 | <sect4><title>Required</title>
|
---|
[aa0f6ab4] | 91 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
[2dfcd1d] | 92 | <xref linkend="freetype2"/>,
|
---|
[aa0f6ab4] | 93 | <xref linkend="zip"/>,
|
---|
| 94 | <xref linkend="unzip"/>,
|
---|
[2dfcd1d] | 95 | <xref linkend="tcsh"/>,
|
---|
| 96 | <xref linkend="which"/> and
|
---|
| 97 | <xref linkend="gcc3"/></para>
|
---|
[28629da4] | 98 | </sect4>
|
---|
| 99 |
|
---|
[4f6275fd] | 100 | <sect4><title>Recommended</title>
|
---|
[aa0f6ab4] | 101 | <para><xref linkend="j2sdk"/></para>
|
---|
| 102 | </sect4>
|
---|
[28629da4] | 103 |
|
---|
[4f6275fd] | 104 | <sect4><title>Optional</title>
|
---|
[aa0f6ab4] | 105 | <para><xref linkend="Linux_PAM"/>,
|
---|
| 106 | <xref linkend="libart_lgpl"/>,
|
---|
[2dfcd1d] | 107 | <xref linkend="startup-notification"/>,
|
---|
| 108 | <xref linkend="apache-ant"/> and
|
---|
| 109 | <xref linkend="curl"/></para>
|
---|
[aa0f6ab4] | 110 | </sect4>
|
---|
[4f6275fd] | 111 | </sect3>
|
---|
| 112 |
|
---|
[87ba6cd5] | 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2>
|
---|
| 116 | <title>Installation of <application>OpenOffice</application></title>
|
---|
| 117 |
|
---|
[28629da4] | 118 | <para>Apply the downloaded patches and, optionally, untar and move the gpc
|
---|
| 119 | files:</para>
|
---|
[87ba6cd5] | 120 |
|
---|
[2dfcd1d] | 121 | <screen><userinput><command>tar -zxf ../gpc231.tar.Z &&
|
---|
| 122 | mv gpc231/* external/gpc &&
|
---|
| 123 | rmdir gpc231 &&
|
---|
| 124 | for patch in ../openoffice-&openoffice-version;-*.patch
|
---|
| 125 | do patch -Np1 -i $patch
|
---|
[28629da4] | 126 | done</command></userinput></screen>
|
---|
[87ba6cd5] | 127 |
|
---|
[2dfcd1d] | 128 | <para>STLport looks for the c++ headers in the wrong location. Put a
|
---|
| 129 | temporary symlink in place to satisfy STLport:</para>
|
---|
| 130 |
|
---|
| 131 | <screen><userinput><command>ln -sf /opt/gcc-3.3.3/include/c++/3.3.3 /usr/g++-v3</command></userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>OpenOffice fails to build with gcc-3.4.1. Set your path to
|
---|
| 134 | include gcc-3.3.3.</para>
|
---|
| 135 |
|
---|
| 136 | <screen><userinput><command>export PATH_HOLD=$PATH &&
|
---|
| 137 | export PATH=/opt/gcc-3.3.3/bin:$PATH</command></userinput></screen>
|
---|
| 138 |
|
---|
[87ba6cd5] | 139 | <para>If you want to optimize the build, edit
|
---|
| 140 | <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
|
---|
[b1623c2] | 141 | flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
|
---|
[28629da4] | 142 | problems with <parameter>-fomit-frame-pointer</parameter>. The best option is
|
---|
| 143 | to not use any custom optimizations. The following command removes an incorrect
|
---|
| 144 | <parameter>-mcpu</parameter> option in the above file.</para>
|
---|
[87ba6cd5] | 145 |
|
---|
| 146 | <screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
|
---|
[28629da4] | 147 | solenv/inc/unxlngi4.mk</command></userinput></screen>
|
---|
[87ba6cd5] | 148 |
|
---|
[b1623c2] | 149 | <para>Configure <application>OpenOffice</application> using the following
|
---|
[2dfcd1d] | 150 | commands. You may build install sets for specific languages based on your
|
---|
| 151 | preferences. Supply a comma separated list to the <envar>--with-lang=</envar>
|
---|
| 152 | switch. If a particular component is not available in the language of your
|
---|
| 153 | choice, the default will be English. If you need other languages, be sure to
|
---|
| 154 | add <parameter>ENUS</parameter> to the list; otherwise the build will
|
---|
| 155 | fail.</para>
|
---|
[87ba6cd5] | 156 |
|
---|
| 157 | <screen><userinput><command>cd config_office/ &&
|
---|
[2dfcd1d] | 158 | ./configure --with-lang=ENUS \
|
---|
| 159 | --with-dict=ENUS --without-fonts \
|
---|
| 160 | --enable-libsn --with-system-zlib \
|
---|
| 161 | --with-system-freetype &&
|
---|
[87ba6cd5] | 162 | cd ..</command></userinput></screen>
|
---|
| 163 |
|
---|
[2dfcd1d] | 164 | <para><application>OpenOffice</application> fails to compile if
|
---|
| 165 | <command>umask</command> is set to something exotic. The build can also
|
---|
| 166 | fial if the <envar>LANG</envar> or <envar>LC_ALL</envar> evvironment
|
---|
| 167 | variables are set.</para>
|
---|
| 168 |
|
---|
| 169 | <screen><userinput><command>umask 0022 &&
|
---|
| 170 | unset LANG LC_ALL</command></userinput></screen>
|
---|
| 171 |
|
---|
[87ba6cd5] | 172 | <para>Compile <application>OpenOffice</application> using the following
|
---|
[28629da4] | 173 | commands:</para>
|
---|
[87ba6cd5] | 174 |
|
---|
| 175 | <screen><userinput><command>./bootstrap &&
|
---|
| 176 | bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
|
---|
| 177 |
|
---|
[28629da4] | 178 | <para>If you have downloaded localized help content <filename>tgz</filename>
|
---|
| 179 | files, you will need to untar them to the appropriate directory as shown
|
---|
| 180 | below and then recreate the installation set.</para>
|
---|
[87ba6cd5] | 181 |
|
---|
| 182 | <screen><userinput><command>cd solver/645/unxlngi4.pro/pck &&
|
---|
[2dfcd1d] | 183 | for i in ../../../../../helpcontent_*_unix.tgz
|
---|
[28629da4] | 184 | do tar -xvzf $i
|
---|
| 185 | done &&
|
---|
[87ba6cd5] | 186 | cd ../../../../instsetoo &&
|
---|
| 187 | rm -rf unxlngi4.pro &&
|
---|
| 188 | cd .. &&
|
---|
| 189 | bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
|
---|
| 190 |
|
---|
| 191 | <para>Install <application>OpenOffice</application> using the following
|
---|
| 192 | commands to install the English language set. To install a localized version,
|
---|
[2dfcd1d] | 193 | replace the 01 with the international telephone country code for your
|
---|
| 194 | country.</para>
|
---|
[87ba6cd5] | 195 |
|
---|
| 196 | <screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &&
|
---|
| 197 | sed -i "s:^oo_home=.*:oo_home=openoffice:" install &&
|
---|
| 198 | ./install --prefix=/opt &&
|
---|
[28629da4] | 199 | for appl in sagenda scalc sdraw sfax simpress slabel sletter \
|
---|
| 200 | smaster smath smemo soffice spadmin svcard sweb swriter
|
---|
| 201 | do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
|
---|
| 202 | done</command></userinput></screen>
|
---|
[87ba6cd5] | 203 |
|
---|
[2dfcd1d] | 204 | <para>Finally, return your environment to it's original state:</para>
|
---|
| 205 |
|
---|
| 206 | <screen><userinput><command>export PATH=$PATH_HOLD &&
|
---|
| 207 | rm -f /usr/g++-v3</command></userinput></screen>
|
---|
| 208 |
|
---|
[14a732e] | 209 | </sect2>
|
---|
| 210 |
|
---|
[87ba6cd5] | 211 | <sect2>
|
---|
| 212 | <title>Command explanations</title>
|
---|
| 213 |
|
---|
| 214 | <para>
|
---|
[b1623c2] | 215 | <command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
|
---|
| 216 | appropriate location.</para>
|
---|
[87ba6cd5] | 217 |
|
---|
[2dfcd1d] | 218 | <para><parameter>--with-lang=ENUS</parameter>: Make install set for the
|
---|
| 219 | US English language.</para>
|
---|
[87ba6cd5] | 220 |
|
---|
[2dfcd1d] | 221 | <para><parameter>--with-dict=ENUS</parameter>: Install dictionaries for
|
---|
| 222 | the US English language.</para>
|
---|
[87ba6cd5] | 223 |
|
---|
[14123136] | 224 | <para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
|
---|
[b1623c2] | 225 | polygon clipping.</para>
|
---|
[87ba6cd5] | 226 |
|
---|
[28629da4] | 227 | <para><parameter>--with-libsn</parameter>: Use
|
---|
| 228 | <application>startup-notification</application>.</para>
|
---|
[87ba6cd5] | 229 |
|
---|
[b1623c2] | 230 | <para><parameter>--disable-java</parameter>: Do not build components that need
|
---|
| 231 | java.</para>
|
---|
[87ba6cd5] | 232 |
|
---|
[b1623c2] | 233 | <para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
|
---|
| 234 | clipping capability.</para>
|
---|
[87ba6cd5] | 235 |
|
---|
[b1623c2] | 236 | <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
|
---|
[28629da4] | 237 | fonts since they are already bundled with <application>X</application>.</para>
|
---|
[87ba6cd5] | 238 |
|
---|
[2dfcd1d] | 239 | <para><parameter>--with-system-curl</parameter>: Use the system
|
---|
| 240 | installed curl.</para>
|
---|
| 241 |
|
---|
[b1623c2] | 242 | <para><command>./bootstrap</command>: Create packages required to bootstrap
|
---|
| 243 | the build.</para>
|
---|
[87ba6cd5] | 244 |
|
---|
| 245 | <para><command>dmake</command>: Compile the package.</para>
|
---|
| 246 |
|
---|
| 247 | <para><command>sed -i "s:^oo_home=...</command>: Remove version specific
|
---|
| 248 | installation directory.</para>
|
---|
| 249 |
|
---|
[28629da4] | 250 | <para><command>for appl in sagenda scalc sdraw sfax ...;
|
---|
[b1623c2] | 251 | do ...</command>: Create links so that the package can be started from the
|
---|
| 252 | command-line without changes to the existing path.</para>
|
---|
[87ba6cd5] | 253 |
|
---|
| 254 | </sect2>
|
---|
| 255 |
|
---|
| 256 | <sect2>
|
---|
| 257 | <title>Contents</title>
|
---|
| 258 |
|
---|
| 259 | <para>The <application>OpenOffice</application> package contains
|
---|
[28629da4] | 260 | <command>sagenda</command>, <command>scalc</command>,
|
---|
| 261 | <command>sdraw</command>, <command>sfax</command>,
|
---|
| 262 | <command>simpress</command>, <command>slabel</command>,
|
---|
| 263 | <command>sletter</command>, <command>smaster</command>,
|
---|
| 264 | <command>smath</command>, <command>smemo</command>,
|
---|
| 265 | <command>soffice</command>, <command>spadmin</command>,
|
---|
| 266 | <command>svcard</command>, <command>sweb</command>,
|
---|
| 267 | <command>swriter</command>, <application>OpenOffice</application>
|
---|
| 268 | libraries and support utilities.</para>
|
---|
[87ba6cd5] | 269 |
|
---|
| 270 | </sect2>
|
---|
| 271 |
|
---|
| 272 | <sect2><title>Description</title>
|
---|
| 273 |
|
---|
[28629da4] | 274 | <sect3><title>sagenda</title>
|
---|
| 275 | <para>Create an agenda template and start
|
---|
| 276 | <command>swriter</command>.</para></sect3>
|
---|
[87ba6cd5] | 277 |
|
---|
| 278 | <sect3><title>scalc</title>
|
---|
| 279 | <para>Spreadsheet application.</para></sect3>
|
---|
| 280 |
|
---|
| 281 | <sect3><title>sdraw</title>
|
---|
| 282 | <para>Drawing application.</para></sect3>
|
---|
| 283 |
|
---|
[28629da4] | 284 | <sect3><title>sfax</title>
|
---|
| 285 | <para>Create a fax template and start
|
---|
| 286 | <command>swriter</command>.</para></sect3>
|
---|
| 287 |
|
---|
| 288 | <sect3><title>simpress</title>
|
---|
| 289 | <para>Presentation application.</para></sect3>
|
---|
| 290 |
|
---|
| 291 | <sect3><title>slabel</title>
|
---|
| 292 | <para>Create a label template and start
|
---|
| 293 | <command>swriter</command>.</para></sect3>
|
---|
| 294 |
|
---|
| 295 | <sect3><title>sletter</title>
|
---|
| 296 | <para>Create a letter template and start
|
---|
| 297 | <command>swriter</command>.</para></sect3>
|
---|
| 298 |
|
---|
| 299 | <sect3><title>smaster</title>
|
---|
| 300 | <para>Creates a new master document.</para></sect3>
|
---|
| 301 |
|
---|
[87ba6cd5] | 302 | <sect3><title>smath</title>
|
---|
| 303 | <para>Mathematical formula editor.</para></sect3>
|
---|
| 304 |
|
---|
[28629da4] | 305 | <sect3><title>smemo</title>
|
---|
| 306 | <para>Create a memo template and start
|
---|
| 307 | <command>swriter</command>.</para></sect3>
|
---|
| 308 |
|
---|
| 309 | <sect3><title>soffice</title>
|
---|
| 310 | <para>Opens a base window with access to all
|
---|
| 311 | <application>OpenOffice</application> applications.</para></sect3>
|
---|
| 312 |
|
---|
[87ba6cd5] | 313 | <sect3><title>spadmin</title>
|
---|
[28629da4] | 314 | <para><application>OpenOffice</application> Printer Configuration. You may
|
---|
| 315 | need to run this if you are having any printing problems.</para></sect3>
|
---|
| 316 |
|
---|
| 317 | <sect3><title>svcard</title>
|
---|
| 318 | <para>Business card application.</para></sect3>
|
---|
| 319 |
|
---|
| 320 | <sect3><title>sweb</title>
|
---|
| 321 | <para>An <acronym>HTML</acronym> editor.</para></sect3>
|
---|
| 322 |
|
---|
| 323 | <sect3><title>swriter</title>
|
---|
| 324 | <para>Word processing application.</para></sect3>
|
---|
[87ba6cd5] | 325 |
|
---|
| 326 | </sect2>
|
---|
[f45b1953] | 327 |
|
---|
| 328 | </sect1>
|
---|
| 329 |
|
---|