source: xsoft/suites/openoffice.xml@ 560e5960

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 560e5960 was 560e5960, checked in by DJ Lucas <dj@…>, 19 years ago

Added OpenOffice security patch

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

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