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 "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">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="openoffice.html" ?>
|
---|
20 | <title>OpenOffice-&openoffice-version;</title>
|
---|
21 |
|
---|
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'>
|
---|
30 | <listitem><para>Download Mirrors (HTTP): <ulink
|
---|
31 | url="&openoffice-download-http;"/></para></listitem>
|
---|
32 | <listitem><para>Download (FTP): <ulink
|
---|
33 | url="&openoffice-download-ftp;"/></para></listitem>
|
---|
34 | <listitem><para>Download size: &openoffice-size;
|
---|
35 | (additional 11-13 MB for localized help content file)</para></listitem>
|
---|
36 | <listitem><para>Estimated Disk space required:
|
---|
37 | &openoffice-buildsize; (more if using localized help content)</para></listitem>
|
---|
38 | <listitem><para>Estimated build time:
|
---|
39 | &openoffice-time; (longer if using localized help content)</para></listitem>
|
---|
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
|
---|
48 | url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
|
---|
49 | <listitem><para>Required patch if Linux-<acronym>PAM</acronym>-&Linux_PAM-version;
|
---|
50 | is not installed: <ulink
|
---|
51 | url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para></listitem>
|
---|
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>
|
---|
55 | <listitem><para>Recommended patch: <ulink
|
---|
56 | url="&patch-root;/openoffice-&openoffice-version;-domainname-1.patch"/></para></listitem>
|
---|
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>
|
---|
64 | </sect3>
|
---|
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"/>,
|
---|
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 |
|
---|
79 | <sect4><title>Recommended</title>
|
---|
80 | <para><xref linkend="j2sdk"/></para></sect4>
|
---|
81 |
|
---|
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 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2>
|
---|
92 | <title>Installation of <application>OpenOffice</application></title>
|
---|
93 |
|
---|
94 | <para>Apply the downloaded patches and, optionally, untar and move the gpc
|
---|
95 | files:</para>
|
---|
96 |
|
---|
97 | <screen><userinput><command>mv ../gpc231/* external/gpc &&
|
---|
98 | for p in ../openoffice-&openoffice-version;-*.patch
|
---|
99 | do patch -Np1 -i $p
|
---|
100 | done</command></userinput></screen>
|
---|
101 |
|
---|
102 | <para>If you want to optimize the build, edit
|
---|
103 | <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
|
---|
104 | flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
|
---|
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>
|
---|
108 |
|
---|
109 | <screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
|
---|
110 | solenv/inc/unxlngi4.mk</command></userinput></screen>
|
---|
111 |
|
---|
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
|
---|
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>
|
---|
120 |
|
---|
121 | <screen><userinput><command>cd config_office/ &&
|
---|
122 | ./configure --with-lang=ALL \
|
---|
123 | --with-dict=ALL --without-fonts \
|
---|
124 | --enable-libsn --with-system-zlib &&
|
---|
125 | cd ..</command></userinput></screen>
|
---|
126 |
|
---|
127 | <para>Compile <application>OpenOffice</application> using the following
|
---|
128 | commands:</para>
|
---|
129 |
|
---|
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
|
---|
133 | something else.</para></note>
|
---|
134 |
|
---|
135 | <screen><userinput><command>./bootstrap &&
|
---|
136 | bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
|
---|
137 |
|
---|
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>
|
---|
141 |
|
---|
142 | <screen><userinput><command>cd solver/645/unxlngi4.pro/pck &&
|
---|
143 | for i in $(ls ../../../../../helpcontent_*_unix.tgz)
|
---|
144 | do tar -xvzf $i
|
---|
145 | done &&
|
---|
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
|
---|
156 | <application>X</application> window. You can use <command>Xvfb</command> if
|
---|
157 | you are compiling on a console.</para>
|
---|
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 &&
|
---|
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>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2>
|
---|
170 | <title>Command explanations</title>
|
---|
171 |
|
---|
172 | <para>
|
---|
173 | <command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
|
---|
174 | appropriate location.</para>
|
---|
175 |
|
---|
176 | <para><parameter>--with-lang=ALL</parameter>: Make install sets for all
|
---|
177 | available languages.</para>
|
---|
178 |
|
---|
179 | <para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
|
---|
180 | available languages.</para>
|
---|
181 |
|
---|
182 | <para><parameter>--with-libart</parameter>: Use libart instead of gpc for
|
---|
183 | polygon clipping.</para>
|
---|
184 |
|
---|
185 | <para><parameter>--with-libsn</parameter>: Use
|
---|
186 | <application>startup-notification</application>.</para>
|
---|
187 |
|
---|
188 | <para><parameter>--disable-java</parameter>: Do not build components that need
|
---|
189 | java.</para>
|
---|
190 |
|
---|
191 | <para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
|
---|
192 | clipping capability.</para>
|
---|
193 |
|
---|
194 | <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
|
---|
195 | fonts since they are already bundled with <application>X</application>.</para>
|
---|
196 |
|
---|
197 | <para><command>./bootstrap</command>: Create packages required to bootstrap
|
---|
198 | the build.</para>
|
---|
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 |
|
---|
205 | <para><command>for appl in sagenda scalc sdraw sfax ...;
|
---|
206 | do ...</command>: Create links so that the package can be started from the
|
---|
207 | command-line without changes to the existing path.</para>
|
---|
208 |
|
---|
209 | </sect2>
|
---|
210 |
|
---|
211 | <sect2>
|
---|
212 | <title>Contents</title>
|
---|
213 |
|
---|
214 | <para>The <application>OpenOffice</application> package contains
|
---|
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>
|
---|
224 |
|
---|
225 | </sect2>
|
---|
226 |
|
---|
227 | <sect2><title>Description</title>
|
---|
228 |
|
---|
229 | <sect3><title>sagenda</title>
|
---|
230 | <para>Create an agenda template and start
|
---|
231 | <command>swriter</command>.</para></sect3>
|
---|
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 |
|
---|
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 |
|
---|
257 | <sect3><title>smath</title>
|
---|
258 | <para>Mathematical formula editor.</para></sect3>
|
---|
259 |
|
---|
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 |
|
---|
268 | <sect3><title>spadmin</title>
|
---|
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>
|
---|
280 |
|
---|
281 | </sect2>
|
---|
282 |
|
---|
283 | </sect1>
|
---|
284 |
|
---|