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