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