1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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/&openoffice-version;/OOo_&openoffice-version;_src.tar.gz">
|
---|
9 | <!ENTITY openoffice-md5sum "1c8e860adae05087a53bdba5646962a9">
|
---|
10 | <!ENTITY openoffice-size "213 MB">
|
---|
11 | <!ENTITY openoffice-buildsize "3120 MB">
|
---|
12 | <!ENTITY openoffice-time "70 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
|
---|
16 | <?dbhtml filename="openoffice.html" ?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>OpenOffice-&openoffice-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="openoffice">
|
---|
26 | <primary sortas="a-OpenOffice">OpenOffice</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to OpenOffice</title>
|
---|
31 |
|
---|
32 | <para><application>OpenOffice</application> is an office suite, the
|
---|
33 | open source sibling of <application>StarOffice</application>.</para>
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>Download (HTTP): <ulink url="&openoffice-download-http;"/></para>
|
---|
39 | </listitem>
|
---|
40 | <listitem>
|
---|
41 | <para>Download (FTP): <ulink url="&openoffice-download-ftp;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download MD5 sum: &openoffice-md5sum;</para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download size: &openoffice-size;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Estimated disk space required: &openoffice-buildsize;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated build time: &openoffice-time;</para>
|
---|
54 | </listitem>
|
---|
55 | </itemizedlist>
|
---|
56 |
|
---|
57 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
58 | <itemizedlist spacing='compact'>
|
---|
59 | <listitem>
|
---|
60 | <para>Required patch for gcc-&gcc-version;: <ulink
|
---|
61 | url="&patch-root;/OOo_&openoffice-version;-gcc4-1.patch"/>
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Required patch for use with NPTL: <ulink
|
---|
66 | url="&patch-root;/OOo_&openoffice-version;-nptl-1.patch"/></para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>Required patch if compiling with
|
---|
70 | <application>JDK</application>-&jdk-src-version;: <ulink
|
---|
71 | url="&patch-root;/OOo_&openoffice-version;-jdk_1.5.0_fix-1.patch"/>
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | <listitem>
|
---|
75 | <para>Required patch for STLport-4.6.2: <ulink
|
---|
76 | url="&patch-root;/OOo_&openoffice-version;-STLport_4.6.2-1.patch"/></para>
|
---|
77 | </listitem>
|
---|
78 | <listitem>
|
---|
79 | <para>Required patch for use with glibc-2.3.5: <ulink
|
---|
80 | url="&patch-root;/OOo_&openoffice-version;-doublefree-1.patch"/></para>
|
---|
81 | </listitem>
|
---|
82 | <listitem>
|
---|
83 | <para>Optional patch if you wish to use the system freetype:
|
---|
84 | <ulink
|
---|
85 | url="&patch-root;/OOo_&openoffice-version;-freetype-1.patch"/></para>
|
---|
86 | </listitem>
|
---|
87 | <listitem>
|
---|
88 | <para>Optional patch if
|
---|
89 | <application>Linux-PAM</application>-&Linux_PAM-version; is not installed:
|
---|
90 | <ulink
|
---|
91 | url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
|
---|
92 | </listitem>
|
---|
93 | <listitem>
|
---|
94 | <para>STLport-4.6.2: <ulink
|
---|
95 | url="http://www.stlport.org/archive/STLport-4.6.2.tar.gz"/></para>
|
---|
96 | </listitem>
|
---|
97 | <listitem>
|
---|
98 | <para>The source TAR ball only contains English
|
---|
99 | language help. A localized help content file may be available at: <ulink
|
---|
100 | url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>
|
---|
101 | </para>
|
---|
102 | </listitem>
|
---|
103 | </itemizedlist>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
108 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
109 | <xref linkend="zip"/>,
|
---|
110 | <xref linkend="unzip"/>,
|
---|
111 | <xref linkend="tcsh"/>, and
|
---|
112 | <xref linkend="which"/>.</para>
|
---|
113 |
|
---|
114 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
115 | <para><xref linkend="jdk"/>,
|
---|
116 | <xref linkend="freetype2"/>,
|
---|
117 | <xref linkend="pkgconfig"/>,
|
---|
118 | <xref linkend="startup-notification"/>,
|
---|
119 | <xref linkend="desktop-file-utils"/>,
|
---|
120 | <xref linkend="apache-ant"/>,
|
---|
121 | <xref linkend="libart_lgpl"/>, and
|
---|
122 | <xref linkend="curl"/>.</para>
|
---|
123 |
|
---|
124 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
125 | <para><xref linkend="Linux_PAM"/> and
|
---|
126 | <xref linkend="nas"/>.</para>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | <sect2 role="installation">
|
---|
131 | <title>Installation of OpenOffice</title>
|
---|
132 |
|
---|
133 | <para>Apply all of the downloaded patches:</para>
|
---|
134 |
|
---|
135 | <screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
|
---|
136 | do patch -Np1 -i ${PATCH}
|
---|
137 | done</userinput></screen>
|
---|
138 |
|
---|
139 | <para>Copy the STLport TAR ball into the source tree:</para>
|
---|
140 |
|
---|
141 | <screen><userinput>cp ../STLport-4.6.2.tar.gz stlport/download/</userinput></screen>
|
---|
142 |
|
---|
143 | <para>STLport looks for the c++ headers in the wrong location. Put a
|
---|
144 | temporary symlink in place to satisfy STLport:</para>
|
---|
145 |
|
---|
146 | <para>As the <systemitem class="username">root</systemitem> user:</para>
|
---|
147 |
|
---|
148 | <screen role="root"><userinput>ln -sf /usr/include/c++/&gcc-version; /usr/g++-v3</userinput></screen>
|
---|
149 |
|
---|
150 | <para>If you want to optimize the build, edit
|
---|
151 | <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
|
---|
152 | flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
|
---|
153 | problems with <option>-fomit-frame-pointer</option>. The best option
|
---|
154 | is to not use any custom optimizations. The following command removes an
|
---|
155 | incorrect <option>-mcpu</option> option in the above file:</para>
|
---|
156 |
|
---|
157 | <screen><userinput>sed -i "s:\-mcpu=pentiumpro::" \
|
---|
158 | solenv/inc/unxlngi4.mk</userinput></screen>
|
---|
159 |
|
---|
160 | <para>Configure <application>OpenOffice</application> using the following
|
---|
161 | commands. You may build install sets for specific languages based on your
|
---|
162 | preferences. Supply a comma separated list to the
|
---|
163 | <envar>--with-lang=</envar> switch. If a particular component is not
|
---|
164 | available in the language of your choice, the default will be US English.
|
---|
165 | If you need other languages, be sure to add <parameter>ENUS</parameter>
|
---|
166 | to the list; otherwise the build will fail:</para>
|
---|
167 |
|
---|
168 | <screen><userinput>cd config_office/ &&
|
---|
169 | ./configure --with-lang=ENUS \
|
---|
170 | --with-dict=ENUS --without-fonts \
|
---|
171 | --enable-libsn --with-system-zlib \
|
---|
172 | --with-system-freetype \
|
---|
173 | --with-system-curl --disable-fontooo \
|
---|
174 | --enable-libart &&
|
---|
175 | cd ..</userinput></screen>
|
---|
176 |
|
---|
177 | <para><application>OpenOffice</application> fails to compile if
|
---|
178 | <command>umask</command> is set to something exotic. The build can also
|
---|
179 | fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
|
---|
180 | variables are set. Use the following commands to change your
|
---|
181 | environment accordingly:</para>
|
---|
182 |
|
---|
183 | <screen><userinput>umask 0022 &&
|
---|
184 | unset LANG LC_ALL</userinput></screen>
|
---|
185 |
|
---|
186 | <para>Compile <application>OpenOffice</application> using the following
|
---|
187 | commands:</para>
|
---|
188 |
|
---|
189 | <screen><userinput>./bootstrap &&
|
---|
190 | . LinuxIntelEnv.Set.sh &&
|
---|
191 | dmake</userinput></screen>
|
---|
192 |
|
---|
193 | <para>If you have downloaded localized help content <filename>tgz</filename>
|
---|
194 | files, you will need to untar them to the appropriate directory as shown
|
---|
195 | below and then recreate the installation set:</para>
|
---|
196 |
|
---|
197 | <screen><userinput>for i in ../helpcontent_*_unix.tgz
|
---|
198 | do tar -C solver/645/unxlngi4.pro/pck -zxf $i
|
---|
199 | done &&
|
---|
200 | rm -rf instsetoo/unxlngi4.pro &&
|
---|
201 | bash -c "source LinuxIntelEnv.Set.sh ; dmake"</userinput></screen>
|
---|
202 |
|
---|
203 | <para>Install <application>OpenOffice</application> using the following
|
---|
204 | commands to install the US English language set. To install a localized
|
---|
205 | version, replace the 01 with the international telephone country code for
|
---|
206 | your country:</para>
|
---|
207 |
|
---|
208 | <screen><userinput>cd instsetoo/unxlngi4.pro/01/normal &&
|
---|
209 | sed -i "s:^oo_home=.*:oo_home=openoffice:" install</userinput></screen>
|
---|
210 |
|
---|
211 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
212 |
|
---|
213 | <screen role="root"><userinput>./install --prefix=/opt &&
|
---|
214 | for appl in sagenda scalc sdraw sfax simpress slabel sletter \
|
---|
215 | smaster smath smemo soffice spadmin svcard sweb swriter
|
---|
216 | do ln -v -sf /opt/openoffice/program/$appl /usr/bin/$appl
|
---|
217 | done</userinput></screen>
|
---|
218 |
|
---|
219 | <para>If you have installed <xref linkend="desktop-file-utils"/> and use
|
---|
220 | <application>KDE</application>, there is no furthur configuration
|
---|
221 | necessary. If you use <application>Gnome</application>, you should copy
|
---|
222 | the <filename>*.desktop</filename> files to
|
---|
223 | <filename>/usr/share/applications</filename> with the following
|
---|
224 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
225 |
|
---|
226 | <screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &&
|
---|
227 | cp -v /opt/openoffice/share/gnome/net/ooo645*.desktop \
|
---|
228 | /usr/share/applications/ &&
|
---|
229 | rename -v ooo645 ooo /usr/share/applications/ooo645*.desktop</userinput></screen>
|
---|
230 |
|
---|
231 | </sect2>
|
---|
232 |
|
---|
233 | <sect2 role="commands">
|
---|
234 | <title>Command Explanations</title>
|
---|
235 |
|
---|
236 | <para><parameter>--with-lang=ENUS</parameter>: Make install set for the
|
---|
237 | US English language.</para>
|
---|
238 |
|
---|
239 | <para><parameter>--with-dict=ENUS</parameter>: Install dictionaries for
|
---|
240 | the US English language.</para>
|
---|
241 |
|
---|
242 | <para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
|
---|
243 | polygon clipping.</para>
|
---|
244 |
|
---|
245 | <para><parameter>--enable-libsn</parameter>: Use
|
---|
246 | <application>startup-notification</application>.</para>
|
---|
247 |
|
---|
248 | <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
|
---|
249 | fonts since they are already bundled with <application>X</application>.</para>
|
---|
250 |
|
---|
251 | <para><parameter>--with-system-curl</parameter>: Use the system
|
---|
252 | installed curl.</para>
|
---|
253 |
|
---|
254 | <para><option>--disable-java</option>: Do not build components that need
|
---|
255 | java.</para>
|
---|
256 |
|
---|
257 | <para><option>--without-gpc</option>: Do not use gpc. Removes polygon
|
---|
258 | clipping capability.</para>
|
---|
259 |
|
---|
260 | <para><command>./bootstrap</command>: Create packages required to bootstrap
|
---|
261 | the build.</para>
|
---|
262 |
|
---|
263 | <para><command>dmake</command>: Compile the package.</para>
|
---|
264 |
|
---|
265 | <para><command>sed -i "s:^oo_home=...</command>: Remove version specific
|
---|
266 | installation directory.</para>
|
---|
267 |
|
---|
268 | <para><command>for appl in sagenda scalc sdraw sfax ...;
|
---|
269 | do ...</command>: Create links so that the package can be started from the
|
---|
270 | command-line without changes to the existing path.</para>
|
---|
271 |
|
---|
272 | </sect2>
|
---|
273 |
|
---|
274 | <sect2 role="content">
|
---|
275 | <title>Contents</title>
|
---|
276 |
|
---|
277 | <segmentedlist>
|
---|
278 | <segtitle>Installed Programs</segtitle>
|
---|
279 | <segtitle>Installed Libraries</segtitle>
|
---|
280 | <segtitle>Installed Directory</segtitle>
|
---|
281 |
|
---|
282 | <seglistitem>
|
---|
283 | <seg>sagenda, scalc, sdraw, sfax, simpress, slabel,
|
---|
284 | sletter, smaster, smath, smemo, soffice, spadmin,
|
---|
285 | svcard, sweb, swriter, and support utilities</seg>
|
---|
286 | <seg><application>OpenOffice</application> libraries</seg>
|
---|
287 | <seg>/opt/openoffice</seg>
|
---|
288 | </seglistitem>
|
---|
289 | </segmentedlist>
|
---|
290 |
|
---|
291 | <variablelist>
|
---|
292 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
293 | <?dbfo list-presentation="list"?>
|
---|
294 | <?dbhtml list-presentation="table"?>
|
---|
295 |
|
---|
296 | <varlistentry id="sagenda">
|
---|
297 | <term><command>sagenda</command></term>
|
---|
298 | <listitem>
|
---|
299 | <para>create an agenda template and start
|
---|
300 | <command>swriter</command>.</para>
|
---|
301 | <indexterm zone="openoffice sagenda">
|
---|
302 | <primary sortas="b-sagenda">sagenda</primary>
|
---|
303 | </indexterm>
|
---|
304 | </listitem>
|
---|
305 | </varlistentry>
|
---|
306 |
|
---|
307 | <varlistentry id="scalc">
|
---|
308 | <term><command>scalc</command></term>
|
---|
309 | <listitem>
|
---|
310 | <para>spreadsheet application.</para>
|
---|
311 | <indexterm zone="openoffice scalc">
|
---|
312 | <primary sortas="b-scalc">scalc</primary>
|
---|
313 | </indexterm>
|
---|
314 | </listitem>
|
---|
315 | </varlistentry>
|
---|
316 |
|
---|
317 | <varlistentry id="sdraw">
|
---|
318 | <term><command>sdraw</command></term>
|
---|
319 | <listitem>
|
---|
320 | <para>drawing application.</para>
|
---|
321 | <indexterm zone="openoffice sdraw">
|
---|
322 | <primary sortas="b-sdraw">sdraw</primary>
|
---|
323 | </indexterm>
|
---|
324 | </listitem>
|
---|
325 | </varlistentry>
|
---|
326 |
|
---|
327 | <varlistentry id="sfax">
|
---|
328 | <term><command>sfax</command></term>
|
---|
329 | <listitem>
|
---|
330 | <para>create a fax template and start
|
---|
331 | <command>swriter</command>.</para>
|
---|
332 | <indexterm zone="openoffice sfax">
|
---|
333 | <primary sortas="b-sfax">sfax</primary>
|
---|
334 | </indexterm>
|
---|
335 | </listitem>
|
---|
336 | </varlistentry>
|
---|
337 |
|
---|
338 | <varlistentry id="simpress">
|
---|
339 | <term><command>simpress</command></term>
|
---|
340 | <listitem>
|
---|
341 | <para>presentation application.</para>
|
---|
342 | <indexterm zone="openoffice simpress">
|
---|
343 | <primary sortas="b-simpress">simpress</primary>
|
---|
344 | </indexterm>
|
---|
345 | </listitem>
|
---|
346 | </varlistentry>
|
---|
347 |
|
---|
348 | <varlistentry id="slabel">
|
---|
349 | <term><command>slabel</command></term>
|
---|
350 | <listitem>
|
---|
351 | <para>create a label template and start
|
---|
352 | <command>swriter</command>.</para>
|
---|
353 | <indexterm zone="openoffice slabel">
|
---|
354 | <primary sortas="b-slabel">slabel</primary>
|
---|
355 | </indexterm>
|
---|
356 | </listitem>
|
---|
357 | </varlistentry>
|
---|
358 |
|
---|
359 | <varlistentry id="sletter">
|
---|
360 | <term><command>sletter</command></term>
|
---|
361 | <listitem>
|
---|
362 | <para>create a letter template and start
|
---|
363 | <command>swriter</command>.</para>
|
---|
364 | <indexterm zone="openoffice sletter">
|
---|
365 | <primary sortas="b-sletter">sletter</primary>
|
---|
366 | </indexterm>
|
---|
367 | </listitem>
|
---|
368 | </varlistentry>
|
---|
369 |
|
---|
370 | <varlistentry id="smaster">
|
---|
371 | <term><command>smaster</command></term>
|
---|
372 | <listitem>
|
---|
373 | <para>creates a new master document.</para>
|
---|
374 | <indexterm zone="openoffice smaster">
|
---|
375 | <primary sortas="b-smaster">smaster</primary>
|
---|
376 | </indexterm>
|
---|
377 | </listitem>
|
---|
378 | </varlistentry>
|
---|
379 |
|
---|
380 | <varlistentry id="smath">
|
---|
381 | <term><command>smath</command></term>
|
---|
382 | <listitem>
|
---|
383 | <para>mathematical formula editor.</para>
|
---|
384 | <indexterm zone="openoffice smath">
|
---|
385 | <primary sortas="b-smath">smath</primary>
|
---|
386 | </indexterm>
|
---|
387 | </listitem>
|
---|
388 | </varlistentry>
|
---|
389 |
|
---|
390 | <varlistentry id="smemo">
|
---|
391 | <term><command>smemo</command></term>
|
---|
392 | <listitem>
|
---|
393 | <para>create a memo template and start
|
---|
394 | <command>swriter</command>.</para>
|
---|
395 | <indexterm zone="openoffice smemo">
|
---|
396 | <primary sortas="b-smemo">smemo</primary>
|
---|
397 | </indexterm>
|
---|
398 | </listitem>
|
---|
399 | </varlistentry>
|
---|
400 |
|
---|
401 | <varlistentry id="soffice">
|
---|
402 | <term><command>soffice</command></term>
|
---|
403 | <listitem>
|
---|
404 | <para>opens a base window with access to all
|
---|
405 | <application>OpenOffice</application> applications.</para>
|
---|
406 | <indexterm zone="openoffice soffice">
|
---|
407 | <primary sortas="b-soffice">soffice</primary>
|
---|
408 | </indexterm>
|
---|
409 | </listitem>
|
---|
410 | </varlistentry>
|
---|
411 |
|
---|
412 | <varlistentry id="spadmin">
|
---|
413 | <term><command>spadmin</command></term>
|
---|
414 | <listitem>
|
---|
415 | <para><application>OpenOffice</application> Printer Configuration.
|
---|
416 | You may need to run this if you are having any printing
|
---|
417 | problems.</para>
|
---|
418 | <indexterm zone="openoffice spadmin">
|
---|
419 | <primary sortas="b-spadmin">spadmin</primary>
|
---|
420 | </indexterm>
|
---|
421 | </listitem>
|
---|
422 | </varlistentry>
|
---|
423 |
|
---|
424 | <varlistentry id="svcard">
|
---|
425 | <term><command>svcard</command></term>
|
---|
426 | <listitem>
|
---|
427 | <para>business card application.</para>
|
---|
428 | <indexterm zone="openoffice svcard">
|
---|
429 | <primary sortas="b-svcard">svcard</primary>
|
---|
430 | </indexterm>
|
---|
431 | </listitem>
|
---|
432 | </varlistentry>
|
---|
433 |
|
---|
434 | <varlistentry id="sweb">
|
---|
435 | <term><command>sweb</command></term>
|
---|
436 | <listitem>
|
---|
437 | <para>an HTML editor.</para>
|
---|
438 | <indexterm zone="openoffice sweb">
|
---|
439 | <primary sortas="b-sweb">sweb</primary>
|
---|
440 | </indexterm>
|
---|
441 | </listitem>
|
---|
442 | </varlistentry>
|
---|
443 |
|
---|
444 | <varlistentry id="swriter">
|
---|
445 | <term><command>swriter</command></term>
|
---|
446 | <listitem>
|
---|
447 | <para>word processing application.</para>
|
---|
448 | <indexterm zone="openoffice swriter">
|
---|
449 | <primary sortas="b-swriter">swriter</primary>
|
---|
450 | </indexterm>
|
---|
451 | </listitem>
|
---|
452 | </varlistentry>
|
---|
453 |
|
---|
454 | </variablelist>
|
---|
455 |
|
---|
456 | </sect2>
|
---|
457 |
|
---|
458 | </sect1>
|
---|