source: xsoft/suites/openoffice.xml@ 3f87e4a

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 3f87e4a was 3f87e4a, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed the Berkeley DB dependency from packages utilizing it as BDB is now built in LFS

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

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