[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">
|
---|
[28629da4] | 8 | <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/1.1.2/OOo_&openoffice-version;_source.tar.gz">
|
---|
| 9 | <!ENTITY openoffice-size "221 MB">
|
---|
| 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'>
|
---|
| 45 | <listitem><para>Required patch (Executable <command>test</command> is in
|
---|
| 46 | <filename class="directory">/bin</filename>,
|
---|
| 47 | not in <filename class="directory">/usr/bin</filename>): <ulink
|
---|
[b1623c2] | 48 | url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
|
---|
[28629da4] | 49 | <listitem><para>Required patch if Linux-<acronym>PAM</acronym>-&Linux_PAM-version;
|
---|
| 50 | is not installed: <ulink
|
---|
[b1623c2] | 51 | url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para></listitem>
|
---|
[28629da4] | 52 | <listitem><para>Required patch if compiling with
|
---|
| 53 | <acronym>JDK</acronym>-&j2sdk-src-version;: <ulink
|
---|
| 54 | url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para></listitem>
|
---|
[87ba6cd5] | 55 | <listitem><para>Recommended patch: <ulink
|
---|
[b1623c2] | 56 | url="&patch-root;/openoffice-&openoffice-version;-domainname-1.patch"/></para></listitem>
|
---|
[28629da4] | 57 | <listitem><para>General Polygon Clipper Library (Optional if
|
---|
| 58 | libart_lgpl-&libart_lgpl-version; is used): <ulink
|
---|
| 59 | url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para></listitem>
|
---|
| 60 | <listitem><para>The source <acronym>TAR</acronym> ball only contains English
|
---|
| 61 | language help. A localized help content file may be available at: <ulink
|
---|
| 62 | url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para></listitem>
|
---|
| 63 | </itemizedlist>
|
---|
[87ba6cd5] | 64 | </sect3>
|
---|
[4f6275fd] | 65 |
|
---|
| 66 | <sect3><title><application>OpenOffice</application> dependencies</title>
|
---|
| 67 | <sect4><title>Required</title>
|
---|
| 68 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
| 69 | <xref linkend="zip"/>, <xref linkend="unzip"/>, <xref linkend="tcsh"/>,
|
---|
[28629da4] | 70 | <xref linkend="which"/> and <ulink
|
---|
| 71 | url="http://ftp.tuniv.szczecin.pl/pub/Linux/alpha-gnu/bison/bison-1.875a.tar.bz2">Bison-1.875a
|
---|
| 72 | </ulink></para>
|
---|
| 73 |
|
---|
| 74 | <para><emphasis>Note:</emphasis> Bison-1.875a is an update to the
|
---|
| 75 | <acronym>LFS</acronym> version of 1.875. Run <command>bison --version</command>
|
---|
| 76 | to find out what your system has.</para>
|
---|
| 77 | </sect4>
|
---|
| 78 |
|
---|
[4f6275fd] | 79 | <sect4><title>Recommended</title>
|
---|
| 80 | <para><xref linkend="j2sdk"/></para></sect4>
|
---|
[28629da4] | 81 |
|
---|
[4f6275fd] | 82 | <sect4><title>Optional</title>
|
---|
| 83 | <para><xref linkend="Linux_PAM"/>,
|
---|
| 84 | <xref linkend="libart_lgpl"/>,
|
---|
| 85 | <xref linkend="startup-notification"/> and <ulink
|
---|
| 86 | url="http://ant.apache.org/">Apache Ant</ulink></para></sect4>
|
---|
| 87 | </sect3>
|
---|
| 88 |
|
---|
[87ba6cd5] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2>
|
---|
| 92 | <title>Installation of <application>OpenOffice</application></title>
|
---|
| 93 |
|
---|
[28629da4] | 94 | <para>Apply the downloaded patches and, optionally, untar and move the gpc
|
---|
| 95 | files:</para>
|
---|
[87ba6cd5] | 96 |
|
---|
| 97 | <screen><userinput><command>mv ../gpc231/* external/gpc &&
|
---|
| 98 | for p in ../openoffice-&openoffice-version;-*.patch
|
---|
[28629da4] | 99 | do patch -Np1 -i $p
|
---|
| 100 | done</command></userinput></screen>
|
---|
[87ba6cd5] | 101 |
|
---|
| 102 | <para>If you want to optimize the build, edit
|
---|
| 103 | <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
|
---|
[b1623c2] | 104 | flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
|
---|
[28629da4] | 105 | problems with <parameter>-fomit-frame-pointer</parameter>. The best option is
|
---|
| 106 | to not use any custom optimizations. The following command removes an incorrect
|
---|
| 107 | <parameter>-mcpu</parameter> option in the above file.</para>
|
---|
[87ba6cd5] | 108 |
|
---|
| 109 | <screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
|
---|
[28629da4] | 110 | solenv/inc/unxlngi4.mk</command></userinput></screen>
|
---|
[87ba6cd5] | 111 |
|
---|
[b1623c2] | 112 | <para>Configure <application>OpenOffice</application> using the following
|
---|
| 113 | commands. You may build install sets for only specific languages based on your
|
---|
| 114 | preferences. If a particular component is not available in the language of your
|
---|
| 115 | choice, the default will be English. The following option compiles all
|
---|
[28629da4] | 116 | available languages. If you restrict the languages, be sure to add
|
---|
| 117 | <parameter>ENUS</parameter> to the list; otherwise the build fails. Also, the
|
---|
| 118 | build fails when the environment variable <envar>LANG</envar> is set. Unset it
|
---|
| 119 | before compiling.</para>
|
---|
[87ba6cd5] | 120 |
|
---|
| 121 | <screen><userinput><command>cd config_office/ &&
|
---|
| 122 | ./configure --with-lang=ALL \
|
---|
[b1623c2] | 123 | --with-dict=ALL --without-fonts \
|
---|
| 124 | --enable-libsn --with-system-zlib &&
|
---|
[87ba6cd5] | 125 | cd ..</command></userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>Compile <application>OpenOffice</application> using the following
|
---|
[28629da4] | 128 | commands:</para>
|
---|
[87ba6cd5] | 129 |
|
---|
[28629da4] | 130 | <note><para><application>OpenOffice</application> fails to compile if
|
---|
| 131 | <command>umask</command> is set to something exotic. Set
|
---|
| 132 | <command>umask 0022</command> if you normally set it to
|
---|
[b1623c2] | 133 | something else.</para></note>
|
---|
[87ba6cd5] | 134 |
|
---|
| 135 | <screen><userinput><command>./bootstrap &&
|
---|
| 136 | bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
|
---|
| 137 |
|
---|
[28629da4] | 138 | <para>If you have downloaded localized help content <filename>tgz</filename>
|
---|
| 139 | files, you will need to untar them to the appropriate directory as shown
|
---|
| 140 | below and then recreate the installation set.</para>
|
---|
[87ba6cd5] | 141 |
|
---|
| 142 | <screen><userinput><command>cd solver/645/unxlngi4.pro/pck &&
|
---|
| 143 | for i in $(ls ../../../../../helpcontent_*_unix.tgz)
|
---|
[28629da4] | 144 | do tar -xvzf $i
|
---|
| 145 | done &&
|
---|
[87ba6cd5] | 146 | cd ../../../../instsetoo &&
|
---|
| 147 | rm -rf unxlngi4.pro &&
|
---|
| 148 | cd .. &&
|
---|
| 149 | bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
|
---|
| 150 |
|
---|
| 151 | <para>Install <application>OpenOffice</application> using the following
|
---|
| 152 | commands to install the English language set. To install a localized version,
|
---|
| 153 | replace the 01 with the international telephone country code for your country.
|
---|
| 154 | Note that when installing, <application>OpenOffice</application> needs an
|
---|
| 155 | <application>X</application> display, even though there is no visible
|
---|
[28629da4] | 156 | <application>X</application> window. You can use <command>Xvfb</command> if
|
---|
| 157 | you are compiling on a console.</para>
|
---|
[87ba6cd5] | 158 |
|
---|
| 159 | <screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &&
|
---|
| 160 | sed -i "s:^oo_home=.*:oo_home=openoffice:" install &&
|
---|
| 161 | ./install --prefix=/opt &&
|
---|
[28629da4] | 162 | for appl in sagenda scalc sdraw sfax simpress slabel sletter \
|
---|
| 163 | smaster smath smemo soffice spadmin svcard sweb swriter
|
---|
| 164 | do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
|
---|
| 165 | done</command></userinput></screen>
|
---|
[87ba6cd5] | 166 |
|
---|
| 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | <sect2>
|
---|
| 170 | <title>Command explanations</title>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
[b1623c2] | 173 | <command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
|
---|
| 174 | appropriate location.</para>
|
---|
[87ba6cd5] | 175 |
|
---|
[b1623c2] | 176 | <para><parameter>--with-lang=ALL</parameter>: Make install sets for all
|
---|
| 177 | available languages.</para>
|
---|
[87ba6cd5] | 178 |
|
---|
[b1623c2] | 179 | <para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
|
---|
| 180 | available languages.</para>
|
---|
[87ba6cd5] | 181 |
|
---|
[b1623c2] | 182 | <para><parameter>--with-libart</parameter>: Use libart instead of gpc for
|
---|
| 183 | polygon clipping.</para>
|
---|
[87ba6cd5] | 184 |
|
---|
[28629da4] | 185 | <para><parameter>--with-libsn</parameter>: Use
|
---|
| 186 | <application>startup-notification</application>.</para>
|
---|
[87ba6cd5] | 187 |
|
---|
[b1623c2] | 188 | <para><parameter>--disable-java</parameter>: Do not build components that need
|
---|
| 189 | java.</para>
|
---|
[87ba6cd5] | 190 |
|
---|
[b1623c2] | 191 | <para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
|
---|
| 192 | clipping capability.</para>
|
---|
[87ba6cd5] | 193 |
|
---|
[b1623c2] | 194 | <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
|
---|
[28629da4] | 195 | fonts since they are already bundled with <application>X</application>.</para>
|
---|
[87ba6cd5] | 196 |
|
---|
[b1623c2] | 197 | <para><command>./bootstrap</command>: Create packages required to bootstrap
|
---|
| 198 | the build.</para>
|
---|
[87ba6cd5] | 199 |
|
---|
| 200 | <para><command>dmake</command>: Compile the package.</para>
|
---|
| 201 |
|
---|
| 202 | <para><command>sed -i "s:^oo_home=...</command>: Remove version specific
|
---|
| 203 | installation directory.</para>
|
---|
| 204 |
|
---|
[28629da4] | 205 | <para><command>for appl in sagenda scalc sdraw sfax ...;
|
---|
[b1623c2] | 206 | do ...</command>: Create links so that the package can be started from the
|
---|
| 207 | command-line without changes to the existing path.</para>
|
---|
[87ba6cd5] | 208 |
|
---|
| 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | <sect2>
|
---|
| 212 | <title>Contents</title>
|
---|
| 213 |
|
---|
| 214 | <para>The <application>OpenOffice</application> package contains
|
---|
[28629da4] | 215 | <command>sagenda</command>, <command>scalc</command>,
|
---|
| 216 | <command>sdraw</command>, <command>sfax</command>,
|
---|
| 217 | <command>simpress</command>, <command>slabel</command>,
|
---|
| 218 | <command>sletter</command>, <command>smaster</command>,
|
---|
| 219 | <command>smath</command>, <command>smemo</command>,
|
---|
| 220 | <command>soffice</command>, <command>spadmin</command>,
|
---|
| 221 | <command>svcard</command>, <command>sweb</command>,
|
---|
| 222 | <command>swriter</command>, <application>OpenOffice</application>
|
---|
| 223 | libraries and support utilities.</para>
|
---|
[87ba6cd5] | 224 |
|
---|
| 225 | </sect2>
|
---|
| 226 |
|
---|
| 227 | <sect2><title>Description</title>
|
---|
| 228 |
|
---|
[28629da4] | 229 | <sect3><title>sagenda</title>
|
---|
| 230 | <para>Create an agenda template and start
|
---|
| 231 | <command>swriter</command>.</para></sect3>
|
---|
[87ba6cd5] | 232 |
|
---|
| 233 | <sect3><title>scalc</title>
|
---|
| 234 | <para>Spreadsheet application.</para></sect3>
|
---|
| 235 |
|
---|
| 236 | <sect3><title>sdraw</title>
|
---|
| 237 | <para>Drawing application.</para></sect3>
|
---|
| 238 |
|
---|
[28629da4] | 239 | <sect3><title>sfax</title>
|
---|
| 240 | <para>Create a fax template and start
|
---|
| 241 | <command>swriter</command>.</para></sect3>
|
---|
| 242 |
|
---|
| 243 | <sect3><title>simpress</title>
|
---|
| 244 | <para>Presentation application.</para></sect3>
|
---|
| 245 |
|
---|
| 246 | <sect3><title>slabel</title>
|
---|
| 247 | <para>Create a label template and start
|
---|
| 248 | <command>swriter</command>.</para></sect3>
|
---|
| 249 |
|
---|
| 250 | <sect3><title>sletter</title>
|
---|
| 251 | <para>Create a letter template and start
|
---|
| 252 | <command>swriter</command>.</para></sect3>
|
---|
| 253 |
|
---|
| 254 | <sect3><title>smaster</title>
|
---|
| 255 | <para>Creates a new master document.</para></sect3>
|
---|
| 256 |
|
---|
[87ba6cd5] | 257 | <sect3><title>smath</title>
|
---|
| 258 | <para>Mathematical formula editor.</para></sect3>
|
---|
| 259 |
|
---|
[28629da4] | 260 | <sect3><title>smemo</title>
|
---|
| 261 | <para>Create a memo template and start
|
---|
| 262 | <command>swriter</command>.</para></sect3>
|
---|
| 263 |
|
---|
| 264 | <sect3><title>soffice</title>
|
---|
| 265 | <para>Opens a base window with access to all
|
---|
| 266 | <application>OpenOffice</application> applications.</para></sect3>
|
---|
| 267 |
|
---|
[87ba6cd5] | 268 | <sect3><title>spadmin</title>
|
---|
[28629da4] | 269 | <para><application>OpenOffice</application> Printer Configuration. You may
|
---|
| 270 | need to run this if you are having any printing problems.</para></sect3>
|
---|
| 271 |
|
---|
| 272 | <sect3><title>svcard</title>
|
---|
| 273 | <para>Business card application.</para></sect3>
|
---|
| 274 |
|
---|
| 275 | <sect3><title>sweb</title>
|
---|
| 276 | <para>An <acronym>HTML</acronym> editor.</para></sect3>
|
---|
| 277 |
|
---|
| 278 | <sect3><title>swriter</title>
|
---|
| 279 | <para>Word processing application.</para></sect3>
|
---|
[87ba6cd5] | 280 |
|
---|
| 281 | </sect2>
|
---|
[f45b1953] | 282 |
|
---|
| 283 | </sect1>
|
---|
| 284 |
|
---|