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