source: xsoft/suites/openoffice.xml@ 8a64f4b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8a64f4b was 8a64f4b, checked in by David Jensen <djensen@…>, 19 years ago

oops role=root in JDK, user/root split complete in OpenOffice

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4618 af4574ff-66df-0310-9fd7-8a98e5e911e0

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