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/&openoffice-version;/OOo_&openoffice-version;_source.tar.gz">
|
---|
9 | <!ENTITY openoffice-md5sum "20c10db97865ae4c51dc827d668b8939">
|
---|
10 | <!ENTITY openoffice-size "214 MB">
|
---|
11 | <!ENTITY openoffice-buildsize "3.1 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-&gcc3-version;: <ulink
|
---|
52 | url="&patch-root;/openoffice-&openoffice-version;-gcc33-1.patch"/></para>
|
---|
53 | </listitem>
|
---|
54 |
|
---|
55 | <listitem><para>Required patch for use with NPTL: <ulink
|
---|
56 | url="&patch-root;/openoffice-&openoffice-version;-nptl-1.patch"/></para>
|
---|
57 | </listitem>
|
---|
58 |
|
---|
59 | <listitem><para>Required patch if compiling with
|
---|
60 | <acronym>J2SDK</acronym>-&j2sdk-src-version;: <ulink
|
---|
61 | url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-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;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para>
|
---|
68 | </listitem>
|
---|
69 |
|
---|
70 | <listitem><para>Optional patch if you wish to use the system freetype:
|
---|
71 | <ulink
|
---|
72 | url="&patch-root;/openoffice-&openoffice-version;-freetype-1.patch"/></para>
|
---|
73 | </listitem>
|
---|
74 |
|
---|
75 | <listitem><para>Optional patch if
|
---|
76 | Linux-<acronym>PAM</acronym>-&Linux_PAM-version; is not installed:
|
---|
77 | <ulink
|
---|
78 | url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para>
|
---|
79 | </listitem>
|
---|
80 |
|
---|
81 | <listitem><para>General Polygon Clipper Library (Optional if
|
---|
82 | libart_lgpl-&libart_lgpl-version; is used): <ulink
|
---|
83 | url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para>
|
---|
84 | </listitem>
|
---|
85 |
|
---|
86 | <listitem><para>The source <acronym>TAR</acronym> ball only contains English
|
---|
87 | language help. A localized help content file may be available at: <ulink
|
---|
88 | url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para>
|
---|
89 | </listitem>
|
---|
90 |
|
---|
91 | </itemizedlist>
|
---|
92 | </sect3>
|
---|
93 |
|
---|
94 | <sect3><title><application>OpenOffice</application> dependencies</title>
|
---|
95 | <sect4><title>Required</title>
|
---|
96 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
97 | <xref linkend="zip"/>,
|
---|
98 | <xref linkend="unzip"/>,
|
---|
99 | <xref linkend="tcsh-package"/>,
|
---|
100 | <xref linkend="which"/> and
|
---|
101 | <xref linkend="gcc3"/>.</para>
|
---|
102 | </sect4>
|
---|
103 |
|
---|
104 | <sect4><title>Recommended</title>
|
---|
105 | <para><xref linkend="j2sdk"/>,
|
---|
106 | <xref linkend="freetype2"/>,
|
---|
107 | <xref linkend="pkgconfig"/>,
|
---|
108 | <xref linkend="startup-notification"/> and
|
---|
109 | <xref linkend="desktop-file-utils"/>.</para>
|
---|
110 | </sect4>
|
---|
111 |
|
---|
112 | <sect4><title>Optional</title>
|
---|
113 | <para><xref linkend="Linux_PAM"/>,
|
---|
114 | <xref linkend="libart_lgpl"/>,
|
---|
115 | <xref linkend="apache-ant"/> and
|
---|
116 | <xref linkend="curl"/>.</para>
|
---|
117 | </sect4>
|
---|
118 | </sect3>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2>
|
---|
123 | <title>Installation of <application>OpenOffice</application></title>
|
---|
124 |
|
---|
125 | <para><application>OpenOffice</application> does not create a directory
|
---|
126 | when you extract the <acronym>TAR</acronym> ball. Create a build directory
|
---|
127 | and extract the source with the following commands:</para>
|
---|
128 |
|
---|
129 | <screen><userinput><command>mkdir OOo-build &&
|
---|
130 | cd OOo-build &&
|
---|
131 | tar -zxvf ../OOo_&openoffice-version;_source.tar.gz</command></userinput></screen>
|
---|
132 |
|
---|
133 | <para>Optionally, untar and move the gpc files, and apply the downloaded
|
---|
134 | patches:</para>
|
---|
135 |
|
---|
136 | <screen><userinput><command>tar -zxvf ../gpc231.tar.Z &&
|
---|
137 | mv gpc231/* external/gpc &&
|
---|
138 | rmdir gpc231 &&
|
---|
139 | for patch in ../openoffice-&openoffice-version;-*.patch
|
---|
140 | do patch -Np1 -i $patch
|
---|
141 | done</command></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 | <screen><userinput><command>ln -sf /opt/gcc-&gcc3-version;/include/c++/&gcc3-version; /usr/g++-v3</command></userinput></screen>
|
---|
147 |
|
---|
148 | <para>OpenOffice fails to build with gcc-3.4.1. Set your path to
|
---|
149 | include gcc-&gcc3-version;:</para>
|
---|
150 |
|
---|
151 | <screen><userinput><command>export PATH_HOLD=$PATH &&
|
---|
152 | export PATH=/opt/gcc-&gcc3-version;/bin:$PATH</command></userinput></screen>
|
---|
153 |
|
---|
154 | <para>If you want to optimize the build, edit
|
---|
155 | <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
|
---|
156 | flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
|
---|
157 | problems with <parameter>-fomit-frame-pointer</parameter>. The best option is
|
---|
158 | to not use any custom optimizations. The following command removes an incorrect
|
---|
159 | <parameter>-mcpu</parameter> option in the above file:</para>
|
---|
160 |
|
---|
161 | <screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
|
---|
162 | solenv/inc/unxlngi4.mk</command></userinput></screen>
|
---|
163 |
|
---|
164 | <para>Configure <application>OpenOffice</application> using the following
|
---|
165 | commands. You may build install sets for specific languages based on your
|
---|
166 | preferences. Supply a comma separated list to the <envar>--with-lang=</envar>
|
---|
167 | switch. If a particular component is not available in the language of your
|
---|
168 | choice, the default will be US English. If you need other languages, be sure
|
---|
169 | to add <parameter>ENUS</parameter> to the list; otherwise the build will
|
---|
170 | fail:</para>
|
---|
171 |
|
---|
172 | <screen><userinput><command>cd config_office/ &&
|
---|
173 | ./configure --with-lang=ENUS \
|
---|
174 | --with-dict=ENUS --without-fonts \
|
---|
175 | --enable-libsn --with-system-zlib \
|
---|
176 | --with-system-freetype &&
|
---|
177 | cd ..</command></userinput></screen>
|
---|
178 |
|
---|
179 | <para><application>OpenOffice</application> fails to compile if
|
---|
180 | <command>umask</command> is set to something exotic. The build can also
|
---|
181 | fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
|
---|
182 | variables are set. Use the following commands to change your
|
---|
183 | environment accordingly:</para>
|
---|
184 |
|
---|
185 | <screen><userinput><command>umask 0022 &&
|
---|
186 | unset LANG LC_ALL</command></userinput></screen>
|
---|
187 |
|
---|
188 | <para>Compile <application>OpenOffice</application> using the following
|
---|
189 | commands:</para>
|
---|
190 |
|
---|
191 | <screen><userinput><command>./bootstrap &&
|
---|
192 | bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
|
---|
193 |
|
---|
194 | <para>If you have downloaded localized help content <filename>tgz</filename>
|
---|
195 | files, you will need to untar them to the appropriate directory as shown
|
---|
196 | below and then recreate the installation set:</para>
|
---|
197 |
|
---|
198 | <screen><userinput><command>for i in ../helpcontent_*_unix.tgz
|
---|
199 | do tar -C solver/645/unxlngi4.pro/pck -xvzf $i
|
---|
200 | done &&
|
---|
201 | rm -rf instsetoo/unxlngi4.pro &&
|
---|
202 | bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
|
---|
203 |
|
---|
204 | <para>Install <application>OpenOffice</application> using the following
|
---|
205 | commands to install the US English language set. To install a localized
|
---|
206 | version, replace the 01 with the international telephone country code for
|
---|
207 | your country:</para>
|
---|
208 |
|
---|
209 | <screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &&
|
---|
210 | sed -i "s:^oo_home=.*:oo_home=openoffice:" install &&
|
---|
211 | ./install --prefix=/opt &&
|
---|
212 | for appl in sagenda scalc sdraw sfax simpress slabel sletter \
|
---|
213 | smaster smath smemo soffice spadmin svcard sweb swriter
|
---|
214 | do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
|
---|
215 | done</command></userinput></screen>
|
---|
216 |
|
---|
217 | <para>If you have installed <xref linkend="desktop-file-utils"/> and use
|
---|
218 | <application>KDE</application>, there is no furthur configuration
|
---|
219 | necessary. If you use <application>Gnome</application>, you should copy
|
---|
220 | the <filename>*.desktop</filename> files to
|
---|
221 | <filename>/usr/share/applications</filename> with the following
|
---|
222 | commands:</para>
|
---|
223 |
|
---|
224 | <screen><userinput><command>install -d /usr/share/applications -m 755 &&
|
---|
225 | cp /opt/openoffice/share/gnome/net/ooo645*.desktop \
|
---|
226 | /usr/share/applications/ &&
|
---|
227 | rename ooo645 ooo /usr/share/applications/ooo645*.desktop</command></userinput></screen>
|
---|
228 |
|
---|
229 | <para>Finally, return your environment to it's original state:</para>
|
---|
230 |
|
---|
231 | <screen><userinput><command>export PATH=$PATH_HOLD &&
|
---|
232 | rm -f /usr/g++-v3</command></userinput></screen>
|
---|
233 |
|
---|
234 | </sect2>
|
---|
235 |
|
---|
236 | <sect2>
|
---|
237 | <title>Command explanations</title>
|
---|
238 |
|
---|
239 | <para>
|
---|
240 | <command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
|
---|
241 | appropriate location.</para>
|
---|
242 |
|
---|
243 | <para><parameter>--with-lang=ENUS</parameter>: Make install set for the
|
---|
244 | US English language.</para>
|
---|
245 |
|
---|
246 | <para><parameter>--with-dict=ENUS</parameter>: Install dictionaries for
|
---|
247 | the US English language.</para>
|
---|
248 |
|
---|
249 | <para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
|
---|
250 | polygon clipping.</para>
|
---|
251 |
|
---|
252 | <para><parameter>--with-libsn</parameter>: Use
|
---|
253 | <application>startup-notification</application>.</para>
|
---|
254 |
|
---|
255 | <para><parameter>--disable-java</parameter>: Do not build components that need
|
---|
256 | java.</para>
|
---|
257 |
|
---|
258 | <para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
|
---|
259 | clipping capability.</para>
|
---|
260 |
|
---|
261 | <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
|
---|
262 | fonts since they are already bundled with <application>X</application>.</para>
|
---|
263 |
|
---|
264 | <para><parameter>--with-system-curl</parameter>: Use the system
|
---|
265 | installed curl.</para>
|
---|
266 |
|
---|
267 | <para><command>./bootstrap</command>: Create packages required to bootstrap
|
---|
268 | the build.</para>
|
---|
269 |
|
---|
270 | <para><command>dmake</command>: Compile the package.</para>
|
---|
271 |
|
---|
272 | <para><command>sed -i "s:^oo_home=...</command>: Remove version specific
|
---|
273 | installation directory.</para>
|
---|
274 |
|
---|
275 | <para><command>for appl in sagenda scalc sdraw sfax ...;
|
---|
276 | do ...</command>: Create links so that the package can be started from the
|
---|
277 | command-line without changes to the existing path.</para>
|
---|
278 |
|
---|
279 | </sect2>
|
---|
280 |
|
---|
281 | <sect2>
|
---|
282 | <title>Contents</title>
|
---|
283 |
|
---|
284 | <para>The <application>OpenOffice</application> package contains
|
---|
285 | <command>sagenda</command>, <command>scalc</command>,
|
---|
286 | <command>sdraw</command>, <command>sfax</command>,
|
---|
287 | <command>simpress</command>, <command>slabel</command>,
|
---|
288 | <command>sletter</command>, <command>smaster</command>,
|
---|
289 | <command>smath</command>, <command>smemo</command>,
|
---|
290 | <command>soffice</command>, <command>spadmin</command>,
|
---|
291 | <command>svcard</command>, <command>sweb</command>,
|
---|
292 | <command>swriter</command>, <application>OpenOffice</application>
|
---|
293 | libraries and support utilities.</para>
|
---|
294 |
|
---|
295 | </sect2>
|
---|
296 |
|
---|
297 | <sect2><title>Description</title>
|
---|
298 |
|
---|
299 | <sect3><title>sagenda</title>
|
---|
300 | <para>Create an agenda template and start
|
---|
301 | <command>swriter</command>.</para></sect3>
|
---|
302 |
|
---|
303 | <sect3><title>scalc</title>
|
---|
304 | <para>Spreadsheet application.</para></sect3>
|
---|
305 |
|
---|
306 | <sect3><title>sdraw</title>
|
---|
307 | <para>Drawing application.</para></sect3>
|
---|
308 |
|
---|
309 | <sect3><title>sfax</title>
|
---|
310 | <para>Create a fax template and start
|
---|
311 | <command>swriter</command>.</para></sect3>
|
---|
312 |
|
---|
313 | <sect3><title>simpress</title>
|
---|
314 | <para>Presentation application.</para></sect3>
|
---|
315 |
|
---|
316 | <sect3><title>slabel</title>
|
---|
317 | <para>Create a label template and start
|
---|
318 | <command>swriter</command>.</para></sect3>
|
---|
319 |
|
---|
320 | <sect3><title>sletter</title>
|
---|
321 | <para>Create a letter template and start
|
---|
322 | <command>swriter</command>.</para></sect3>
|
---|
323 |
|
---|
324 | <sect3><title>smaster</title>
|
---|
325 | <para>Creates a new master document.</para></sect3>
|
---|
326 |
|
---|
327 | <sect3><title>smath</title>
|
---|
328 | <para>Mathematical formula editor.</para></sect3>
|
---|
329 |
|
---|
330 | <sect3><title>smemo</title>
|
---|
331 | <para>Create a memo template and start
|
---|
332 | <command>swriter</command>.</para></sect3>
|
---|
333 |
|
---|
334 | <sect3><title>soffice</title>
|
---|
335 | <para>Opens a base window with access to all
|
---|
336 | <application>OpenOffice</application> applications.</para></sect3>
|
---|
337 |
|
---|
338 | <sect3><title>spadmin</title>
|
---|
339 | <para><application>OpenOffice</application> Printer Configuration. You may
|
---|
340 | need to run this if you are having any printing problems.</para></sect3>
|
---|
341 |
|
---|
342 | <sect3><title>svcard</title>
|
---|
343 | <para>Business card application.</para></sect3>
|
---|
344 |
|
---|
345 | <sect3><title>sweb</title>
|
---|
346 | <para>An <acronym>HTML</acronym> editor.</para></sect3>
|
---|
347 |
|
---|
348 | <sect3><title>swriter</title>
|
---|
349 | <para>Word processing application.</para></sect3>
|
---|
350 |
|
---|
351 | </sect2>
|
---|
352 |
|
---|
353 | </sect1>
|
---|
354 |
|
---|