source: xsoft/suites/openoffice.xml@ 768cbf0f

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 768cbf0f was 768cbf0f, checked in by DJ Lucas <dj@…>, 18 years ago

Furthur clarified OpenOffice dependencies.

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

  • Property mode set to 100644
File size: 19.1 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 installed 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> and
228 <parameter>--with-system-*</parameter> parameters. Additionally, if
229 building against <application>Firefox</application>, you must provide
230 both the <parameter>--with-system-mozilla</parameter> parameter, and
231 the <parameter>--with-firefox</parameter> parameter to the
232 <filename>configure</filename> script.</para></note>
233
234<screen><userinput>cd config_office/ &amp;&amp;
235./configure --prefix=/opt/openoffice-2.0.0 \
236 --enable-libart --disable-fontooo --disable-gnome-vfs \
237 --without-fonts --with-system-stdlibs --with-system-freetype \
238 --with-system-expat --with-system-libxml --with-system-zlib \
239 --enable-build-mozilla --with-build-version=BLFS \
240 --with-package-format=native --disable-binfilter &amp;&amp;
241cd ..</userinput></screen>
242
243 <para><application>OpenOffice</application> fails to compile if
244 <command>umask</command> is set to something exotic. The build can also
245 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
246 variables are set. Use the following commands to change your
247 environment accordingly:</para>
248
249<screen><userinput>umask 0022 &amp;&amp;
250unset LANG LC_ALL</userinput></screen>
251
252 <para>Compile <application>OpenOffice</application> using the following
253 commands:</para>
254
255<screen><userinput>./bootstrap &amp;&amp;
256. LinuxIntelEnv.Set.sh &amp;&amp;
257dmake</userinput></screen>
258
259 <para>Install <application>OpenOffice</application> as the
260 <systemitem class="username">root</systemitem> user with the
261 following commands:</para>
262
263<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
264install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
265cp -a -v openoffice.org2.0 /opt/openoffice-2.0.0</userinput></screen>
266
267 <para>Still as the <systemitem class="username">root</systemitem>
268 user:</para>
269
270<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
271do
272 ln -v -sf /opt/openoffice-2.0.0/program/$appl /usr/bin/$appl
273done</userinput></screen>
274
275 <para>The icons are not installed by default. While still the
276 <systemitem class="username">root</systemitem> user, install the icons
277 with the following commands:</para>
278
279<screen role="root"><userinput>cd ../../../../../../../../sysui/desktop/icons &amp;&amp;
280install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
281cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
282cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
283cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
284
285 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
286 <application>KDE</application>, there is no furthur configuration
287 necessary. If you use <application>Gnome</application>, you should copy
288 the <filename>*.desktop</filename> files to
289 <filename>/usr/share/applications</filename> with the following
290 commands as the <systemitem class="username">root</systemitem> user:</para>
291
292<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
293cd /opt/openoffice-2.0.0/share/xdg/ &amp;&amp;
294for appl in *.desktop
295do
296 sed -i '/Exec/d' $appl
297 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
298 sed -i '/Icon/d' $appl
299 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
300done &amp;&amp;
301sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
302cp -v *.desktop /usr/share/applications</userinput></screen>
303
304 <para>Finally, if you'd like to edit <application>OpenOffice</application>
305 documents directly from <application>Mozilla</application> or
306 <application>Firefox</application>, create a symbolic link in your
307 plugins directory to
308 <filename>/opt/openoffice-2.0.0/program/libnpsoplugin.so</filename>.
309 Additionally, you must enable the plugin from the
310 <parameter>Internet Options</parameter> within any
311 <application>OpenOffice</application> application.</para>
312
313 </sect2>
314
315 <sect2 role="commands">
316 <title>Command Explanations</title>
317
318 <para><parameter>--enable-libart</parameter>: This switch forces the Use
319 of libart instead of <application>gpc</application> for polygon
320 clipping.</para>
321
322 <para><parameter>--enable-libsn</parameter>: This switch enables the use
323 of <application>startup-notification</application>.</para>
324
325 <para><parameter>--disable-fontooo</parameter>: Use
326 <application>Fontconfig</application> instead of FontOOo.</para>
327
328 <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
329 fonts since they are already bundled with
330 <application>X</application>.</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>--disable-gnome-vfs</parameter>: Disable the use of
359 <application>Gnome Virtual File System</application> libraries.</para>
360
361 <para><parameter>--with-lang=<replaceable>[LANG]</replaceable></parameter>:
362 Makes an install set for the desired language. ENUS is the default.</para>
363
364 <para><parameter>--with-dict=<replaceable>[LANG]</replaceable></parameter>:
365 This switch installs dictionaries for the desired languages. ENUS is
366 the default.</para>
367
368 <para><command>./bootstrap</command>: Build the
369 <application>dmake</application> utility required to complete the
370 build.</para>
371
372 <para><command>dmake</command>: Compile the package.</para>
373
374 <para><command>for appl in *.desktop...</command>: Edit the *.desktop
375 files for use with a standard BLFS system.</para>
376
377 </sect2>
378
379 <sect2 role="content">
380 <title>Contents</title>
381
382 <segmentedlist>
383 <segtitle>Installed Programs</segtitle>
384 <segtitle>Installed Libraries</segtitle>
385 <segtitle>Installed Directory</segtitle>
386
387 <seglistitem>
388 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
389 <seg><application>OpenOffice</application> libraries</seg>
390 <seg>/opt/openoffice-2.0.0</seg>
391 </seglistitem>
392 </segmentedlist>
393
394 <variablelist>
395 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
396 <?dbfo list-presentation="list"?>
397 <?dbhtml list-presentation="table"?>
398
399 <varlistentry id="sbase">
400 <term><command>sbase</command></term>
401 <listitem>
402 <para><application>sbase</application> is a database
403 application.</para>
404 <indexterm zone="openoffice sbase">
405 <primary sortas="b-sbase">sbase</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="scalc">
411 <term><command>scalc</command></term>
412 <listitem>
413 <para><application>scalc</application> is a spreadsheet
414 application.</para>
415 <indexterm zone="openoffice scalc">
416 <primary sortas="b-scalc">scalc</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
421 <varlistentry id="sdraw">
422 <term><command>sdraw</command></term>
423 <listitem>
424 <para><application>sdraw</application> is a drawing
425 application.</para>
426 <indexterm zone="openoffice sdraw">
427 <primary sortas="b-sdraw">sdraw</primary>
428 </indexterm>
429 </listitem>
430 </varlistentry>
431
432 <varlistentry id="simpress">
433 <term><command>simpress</command></term>
434 <listitem>
435 <para><application>simpress</application> is a presentation
436 application.</para>
437 <indexterm zone="openoffice simpress">
438 <primary sortas="b-simpress">simpress</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="smath">
444 <term><command>smath</command></term>
445 <listitem>
446 <para><application>smath</application> is a mathematical formula
447 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><application>soffice</application> opens a base window with
458 access to all <application>OpenOffice</application>
459 applications.</para>
460 <indexterm zone="openoffice soffice">
461 <primary sortas="b-soffice">soffice</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
466 <varlistentry id="spadmin">
467 <term><command>spadmin</command></term>
468 <listitem>
469 <para><application>spadmin</application> is the
470 <application>OpenOffice</application> printer configuration
471 utility.</para>
472 <indexterm zone="openoffice spadmin">
473 <primary sortas="b-spadmin">spadmin</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="swriter">
479 <term><command>swriter</command></term>
480 <listitem>
481 <para><application>swriter</application> is a word processing
482 application.</para>
483 <indexterm zone="openoffice swriter">
484 <primary sortas="b-swriter">swriter</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 </variablelist>
490
491 </sect2>
492
493</sect1>
Note: See TracBrowser for help on using the repository browser.