source: xsoft/suites/openoffice.xml@ c58da20

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 c58da20 was 6067373, checked in by DJ Lucas <dj@…>, 18 years ago

Updated OpenOffice to new system-moz patch and added notes to moz product pages about OOo and system NSS.

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

  • Property mode set to 100644
File size: 19.3 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 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY openoffice-download-http "http://download.openoffice.org/&openoffice-version;/source.html">
20 <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src.tar.gz">
21 <!ENTITY openoffice-md5sum "1b50c8c4c1002edbc4993060ca05ca8f">
22 <!ENTITY openoffice-size "280 MB">
23 <!ENTITY openoffice-buildsize "5.8 GB">
24 <!ENTITY openoffice-time "117 SBU">
25]>
26
27<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
28 <?dbhtml filename="openoffice.html" ?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 <keywordset>
34 <keyword role="package">OOo_&openoffice-version;_src.tar</keyword>
35 <keyword role="ftpdir">OOo</keyword>
36 </keywordset>
37 </sect1info>
38
39 <title>OpenOffice-&openoffice-version;</title>
40
41 <indexterm zone="openoffice">
42 <primary sortas="a-OpenOffice">OpenOffice</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to OpenOffice</title>
47
48 <para><application>OpenOffice</application> is an office suite, the
49 open source sibling of <application>StarOffice</application>.</para>
50
51 <bridgehead renderas="sect3">Package Information</bridgehead>
52 <itemizedlist spacing="compact">
53 <listitem>
54 <para>Download (HTTP): <ulink url="&openoffice-download-http;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download (FTP): <ulink url="&openoffice-download-ftp;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download MD5 sum: &openoffice-md5sum;</para>
61 </listitem>
62 <listitem>
63 <para>Download size: &openoffice-size;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated disk space required: &openoffice-buildsize;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated build time: &openoffice-time;</para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing='compact'>
75
76 <listitem>
77 <para>Required patch for use with
78 <application>JDK</application>-&jdk-src-version;:
79 <ulink url="&patch-root;/OOo_&openoffice-version;-jdk_1.5-1.patch"/>
80 </para>
81 </listitem>
82
83 <listitem>
84 <para>Required patch to fix broken printing support during
85 installation:
86 <ulink url="&patch-root;/OOo_&openoffice-version;-print_fix-1.patch"/>
87 </para>
88 </listitem>
89
90 <listitem>
91 <para>Optional patch if
92 <application>Linux-PAM</application>-&linux-pam-version; is not
93 installed:
94 <ulink url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
95 </listitem>
96
97 <listitem>
98 <para>Optional patch if building against
99 <application>Xorg</application>:
100 <ulink url="&patch-root;/OOo_&openoffice-version;-xauth-1.patch"/>
101 </para>
102 </listitem>
103
104 <listitem>
105 <para>Optional patch if building against the system-installed
106 Mozilla products (<application>NSS</application>,
107 <application>Firefox</application>, or
108 <application>Seamonkey</application>):
109 <ulink url="&patch-root;/OOo_&openoffice-version;-system_mozilla_fixes-2.patch"/>
110 </para>
111 </listitem>
112
113 <listitem>
114 <para>Required update for use with
115 <application>JDK-&jdk-src-version;</application>:
116 <ulink url="&sources-anduin-ftp;/b/bsh-2.0b4-src.tar.gz"/>
117 </para>
118 </listitem>
119 <listitem>
120 <para>Optional download if not using the system
121 <application>Mozilla</application> or
122 <application>Firefox</application> browser:
123 <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
124 </listitem>
125 </itemizedlist>
126
127 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
128
129 <bridgehead renderas="sect4">Required</bridgehead>
130 <para role="required"><xref linkend="apache-ant"/>,
131 <xref linkend="gtk2"/>,
132 <xref linkend="libidl"/>,
133 <xref linkend="libxml2"/>,
134 <application>Perl Modules</application>
135 <xref linkend="perl-xml-parser"/> and
136 <xref linkend="perl-archive-zip"/>,
137 <xref linkend="tcsh"/>,
138 <xref linkend="unzip"/>,
139 <xref linkend="which"/>, and
140 <xref linkend="zip"/></para>
141
142 <bridgehead renderas="sect4">Recommended</bridgehead>
143 <para role="recommended"><xref linkend="libart_lgpl"/></para>
144
145 <bridgehead renderas="sect4">Optional</bridgehead>
146 <para role="optional"><ulink
147 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
148 <ulink url="http://boost.sourceforge.net/">boost</ulink>,
149 <xref linkend="cups"/>,
150 <xref linkend="curl"/>,
151 <!-- <xref linkend="db"/>, THIS IS CURRENTLY BROKEN! Internal version is
152 4.2.x, just too different. Using the system db (which must be rebuilt
153 with java bindings) results in a segfault of javac and gcj because of
154 xalan caching leading to OOM killing the process. Experimental patches
155 exist, but require that libxslt is used in place of xalan....big change,
156 not quite ready for the book. -->
157 <xref linkend="desktop-file-utils"/>,
158 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
159 <xref linkend="evolution"/>,
160 <xref linkend="gnome-vfs"/>,
161 <ulink url="http://www.cs.man.ac.uk/~toby/alan/software/">GPC</ulink>,
162 <xref linkend="kde"/>,
163 <xref linkend="libjpeg"/>,
164 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
165 <xref linkend="libtiff"/>,
166 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
167 <xref linkend="linux-pam"/>,
168 <xref linkend="seamonkey"/> (must be built against the system
169 <xref linkend="nss"/>) or <xref linkend="firefox"/> (with ldap support),
170 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
171 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
172 <xref linkend="nas"/>,
173 <ulink url="http://www.webdav.org/neon/">neon</ulink>,
174 <xref linkend="openldap"/>,
175 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
176 <xref linkend="python"/>,
177 <ulink url="http://www.gingerall.com/charlie/ga/xml/p_sab.xml">Sablotron</ulink>,
178 <xref linkend="sane"/>,
179 <xref linkend="startup-notification"/>,
180 <ulink url="http://sourceforge.net/projects/stlport/">STLPort</ulink>, and
181 <xref linkend="unixodbc"/></para>
182
183 <para condition="html" role="usernotes">User Notes:
184 <ulink url="&blfs-wiki;/openoffice"/></para>
185
186 </sect2>
187
188 <sect2 role="installation">
189 <title>Installation of OpenOffice</title>
190
191 <para>Apply all of the downloaded patches:</para>
192
193<screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
194 do patch -Np1 -i ${PATCH}
195done</userinput></screen>
196
197 <para>Copy the <application>Beanshell</application> tarball into the
198 source tree:</para>
199
200<screen><userinput>cp ../bsh-2.0b4-src.tar.gz beanshell/download/</userinput></screen>
201
202 <para>If not using the system-installed <application>Mozilla</application>
203 or <application>Firefox</application>, copy the
204 <application>Mozilla</application> source tarball into the source
205 tree:</para>
206
207<screen><userinput>cp ../mozilla-source-1.7.5.tar.gz moz/download/</userinput></screen>
208
209 <para>If you want to optimize the build, edit the appropriate makefile in
210 <filename>solenv/inc/</filename> and add the desired optimization
211 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
212 specific, for instance edit <filename>solenv/inc/unxlngi6.mk</filename>
213 for i686. Some users have reported problems with
214 <option>-fomit-frame-pointer</option>. The best option is to not use any
215 custom optimizations. The following command removes an incorrect
216 <option>-mcpu</option> option in several of the makefiles:</para>
217
218<screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
219
220 <para>Configure <application>OpenOffice</application> using the following
221 commands:</para>
222
223 <note><para>Because of the complexity of the
224 <application>OpenOffice</application> build system, it is not possible to
225 provide generic build instructions for all systems. You should review
226 the output of <command>config_office/configure --help</command> and take
227 advantage of any system installed programs and libraries available using
228 the <parameter>--enable</parameter>, <parameter>--disable</parameter>, and
229 <parameter>--with-system-*</parameter> parameters.</para></note>
230
231 <warning><para>Do not use the <parameter>--with-system-db</parameter>
232 switch. The <application>BerkeleyDB</application> that is installed with
233 LFS is too new for this version of
234 <application>OpenOffice</application>.</para></warning>
235
236<screen><userinput>cd config_office/ &amp;&amp;
237autoreconf &amp;&amp;
238./configure --prefix=/opt/openoffice-&openoffice-version; \
239 --enable-libart --disable-fontooo --disable-gnome-vfs \
240 --without-fonts --with-system-stdlibs --with-system-freetype \
241 --with-system-expat --with-system-libxml --with-system-zlib \
242 --enable-build-mozilla --with-build-version=BLFS \
243 --with-package-format=native --disable-binfilter &amp;&amp;
244cd ..</userinput></screen>
245
246 <para><application>OpenOffice</application> fails to compile if
247 <command>umask</command> is set to something exotic. The build can also
248 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
249 variables are set. Use the following commands to change your
250 environment accordingly:</para>
251
252<screen><userinput>umask 0022 &amp;&amp;
253unset LANG LC_ALL</userinput></screen>
254
255 <para>Compile <application>OpenOffice</application> using the following
256 commands:</para>
257
258<screen><userinput>./bootstrap &amp;&amp;
259. LinuxIntelEnv.Set.sh &amp;&amp;
260dmake</userinput></screen>
261
262 <para>Install <application>OpenOffice</application> as the
263 <systemitem class="username">root</systemitem> user with the
264 following commands:</para>
265
266<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
267native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
268cp -a -v openoffice.org2.0 /opt/openoffice-&openoffice-version;</userinput></screen>
269
270 <para>Still as the <systemitem class="username">root</systemitem>
271 user:</para>
272
273<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
274do
275 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
276done</userinput></screen>
277
278 <para>The icons are not installed by default. While still the
279 <systemitem class="username">root</systemitem> user, install the icons
280 with the following commands:</para>
281
282<screen role="root"><userinput>cd ../../../../../../../../../sysui/desktop/icons &amp;&amp;
283install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
284cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
285cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
286cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
287
288 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
289 <application>KDE</application>, there is no further configuration
290 necessary. If you use <application>Gnome</application>, you should copy
291 the <filename>*.desktop</filename> files to
292 <filename>/usr/share/applications</filename> with the following
293 commands as the <systemitem class="username">root</systemitem> user:</para>
294
295<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
296cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
297for appl in *.desktop
298do
299 sed -i '/Exec/d' $appl
300 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
301 sed -i '/Icon/d' $appl
302 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
303done &amp;&amp;
304sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
305cp -v *.desktop /usr/share/applications</userinput></screen>
306
307 <para>Finally, if you'd like to edit <application>OpenOffice</application>
308 documents directly from <application>Mozilla</application> or
309 <application>Firefox</application>, create a symbolic link in your
310 plugins directory to
311 <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
312 Additionally, you must enable the plugin from the
313 <parameter>Internet Options</parameter> within any
314 <application>OpenOffice</application> application.</para>
315
316 </sect2>
317
318 <sect2 role="commands">
319 <title>Command Explanations</title>
320
321 <para><parameter>--enable-libart</parameter>: This switch forces the use
322 of libart instead of <application>gpc</application> for polygon
323 clipping.</para>
324
325 <para><parameter>--enable-libsn</parameter>: This switch enables the use
326 of <application>startup-notification</application>.</para>
327
328 <para><parameter>--disable-fontooo</parameter>: Use
329 <application>Fontconfig</application> instead of FontOOo.</para>
330
331 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
332 <application>Gnome Virtual File System</application> libraries. Omit
333 this switch if you have Gnome installed.</para>
334
335 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
336 Vera fonts since they are already included in X Window System
337 Environment.</para>
338
339 <para><parameter>--with-system-*</parameter>: Use the system libraries
340 and programs instead of building the source packages included in the build
341 tree.</para>
342
343 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
344 <application>Mozilla</application> suite.</para>
345
346 <para><parameter>--with-build-version=BLFS</parameter>:
347 Appends "BLFS" to the end of the version string.</para>
348
349 <para><parameter>--with-package-format=native</parameter>: This switch
350 disables the build of <application>RPM</application> packages.</para>
351
352 <para><parameter>--disable-binfilter</parameter>: This switch disables the
353 build of legacy <application>StarOffice-5</application> import
354 filters.</para>
355
356 <para><parameter>--with-firefox</parameter>: Enables the use of
357 <application>Firefox</application> in place of the full
358 <application>Mozilla</application> suite. This will disable the use
359 of a <application>Thunderbird</application> address book as a data
360 source.</para>
361
362 <para><parameter>--disable-cups</parameter>: Disable the use of
363 <application>CUPS</application> for printing.</para>
364
365 <para><parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
366 Makes an install set for the desired language. ENUS is the default.</para>
367
368 <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
369 This switch installs dictionaries for the desired languages. ENUS is
370 the default.</para>
371
372 <para><command>./bootstrap</command>: Build the
373 <application>dmake</application> utility required to complete the
374 build.</para>
375
376 <para><command>dmake</command>: Compile the package.</para>
377
378 <para><command>for appl in *.desktop...</command>: Edit the
379 <filename>*.desktop</filename> files for use with a standard BLFS
380 system.</para>
381
382 </sect2>
383
384 <sect2 role="content">
385 <title>Contents</title>
386
387 <segmentedlist>
388 <segtitle>Installed Programs</segtitle>
389 <segtitle>Installed Libraries</segtitle>
390 <segtitle>Installed Directory</segtitle>
391
392 <seglistitem>
393 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
394 <seg><application>OpenOffice</application> libraries</seg>
395 <seg>/opt/openoffice-&openoffice-version;</seg>
396 </seglistitem>
397 </segmentedlist>
398
399 <variablelist>
400 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
401 <?dbfo list-presentation="list"?>
402 <?dbhtml list-presentation="table"?>
403
404 <varlistentry id="sbase">
405 <term><command>sbase</command></term>
406 <listitem>
407 <para>is a database application.</para>
408 <indexterm zone="openoffice sbase">
409 <primary sortas="b-sbase">sbase</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="scalc">
415 <term><command>scalc</command></term>
416 <listitem>
417 <para>is a spreadsheet application.</para>
418 <indexterm zone="openoffice scalc">
419 <primary sortas="b-scalc">scalc</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="sdraw">
425 <term><command>sdraw</command></term>
426 <listitem>
427 <para>is a drawing application.</para>
428 <indexterm zone="openoffice sdraw">
429 <primary sortas="b-sdraw">sdraw</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="simpress">
435 <term><command>simpress</command></term>
436 <listitem>
437 <para>is a presentation application.</para>
438 <indexterm zone="openoffice simpress">
439 <primary sortas="b-simpress">simpress</primary>
440 </indexterm>
441 </listitem>
442 </varlistentry>
443
444 <varlistentry id="smath">
445 <term><command>smath</command></term>
446 <listitem>
447 <para>is a mathematical formula editor.</para>
448 <indexterm zone="openoffice smath">
449 <primary sortas="b-smath">smath</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="soffice">
455 <term><command>soffice</command></term>
456 <listitem>
457 <para>opens a base window with access to all
458 <application>OpenOffice</application> applications.</para>
459 <indexterm zone="openoffice soffice">
460 <primary sortas="b-soffice">soffice</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="spadmin">
466 <term><command>spadmin</command></term>
467 <listitem>
468 <para>is the <application>OpenOffice</application> printer
469 configuration utility.</para>
470 <indexterm zone="openoffice spadmin">
471 <primary sortas="b-spadmin">spadmin</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 <varlistentry id="swriter">
477 <term><command>swriter</command></term>
478 <listitem>
479 <para>is a word processing application.</para>
480 <indexterm zone="openoffice swriter">
481 <primary sortas="b-swriter">swriter</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 </variablelist>
487
488 </sect2>
489
490</sect1>
Note: See TracBrowser for help on using the repository browser.