source: xsoft/suites/openoffice.xml@ e53e295

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

moved to gz file for bsh (OpenOffice)

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

  • Property mode set to 100644
File size: 18.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;_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="&sources-anduin-ftp;/b/bsh-2.0b4-src.tar.gz"/>
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="seamonkey"/> 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:</para>
179
180<screen><userinput>cp ../bsh-2.0b4-src.tar.bz2 beanshell/download/</userinput></screen>
181
182 <para>If not using the system-installed <application>Mozilla</application>
183 or <application>Firefox</application>, copy the
184 <application>Mozilla</application> source TAR ball into the source
185 tree:</para>
186
187<screen><userinput>cp ../mozilla-source-1.7.5.tar.gz moz/download/</userinput></screen>
188
189 <para>If you want to optimize the build, edit the appropriate makefile in
190 <filename>solenv/inc/</filename> and add the desired optimization
191 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
192 specific, for instance edit <filename>solenv/inc/unxlngi6.mk</filename>
193 for i686. Some users have reported problems with
194 <option>-fomit-frame-pointer</option>. The best option is to not use any
195 custom optimizations. The following command removes an incorrect
196 <option>-mcpu</option> option in several of the makefiles:</para>
197
198<screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
199
200<!-- To be removed before final release -->
201
202 <note><para>If building against the system Mozilla or Firefox,
203 a change may be required to the external headers. The following commands
204 will make the change only if it is necessary.</para></note>
205
206<para>Mozilla:</para>
207<screen role="root"><userinput>grep "xptinfo_enum_1" /usr/include/mozilla-&mozilla-version;/xpcom/xptinfo.h || \
208 sed -i 's@enum@enum xptinfo_enum_1@' \
209 /usr/include/mozilla-&mozilla-version;/xpcom/xptinfo.h</userinput></screen>
210
211<para>Firefox:</para>
212<screen role="root"><userinput>grep "xptinfo_enum_1" /usr/include/firefox-&firefox-version;/xpcom/xptinfo.h || \
213 sed -i 's@enum@enum xptinfo_enum_1@' \
214 /usr/include/firefox-&firefox-version;/xpcom/xptinfo.h</userinput></screen>
215
216<!-- End to be removed -->
217
218 <para>Configure <application>OpenOffice</application> using the following
219 commands:</para>
220
221 <note><para>Because of the complexity of the
222 <application>OpenOffice</application> build system, it is not possible to
223 provide generic build instructions for all systems. You should review
224 the output of <command>config_office/configure --help</command> and take
225 advantage of any system installed programs and libraries available using
226 the <parameter>--enable</parameter>, <parameter>--disable</parameter>, and
227 <parameter>--with-system-*</parameter> parameters.</para></note>
228
229<screen><userinput>cd config_office/ &amp;&amp;
230./configure --prefix=/opt/openoffice-2.0.0 \
231 --enable-libart --disable-fontooo --disable-gnome-vfs \
232 --without-fonts --with-system-stdlibs --with-system-freetype \
233 --with-system-expat --with-system-libxml --with-system-zlib \
234 --enable-build-mozilla --with-build-version=BLFS \
235 --with-package-format=native --disable-binfilter &amp;&amp;
236cd ..</userinput></screen>
237
238 <para><application>OpenOffice</application> fails to compile if
239 <command>umask</command> is set to something exotic. The build can also
240 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
241 variables are set. Use the following commands to change your
242 environment accordingly:</para>
243
244<screen><userinput>umask 0022 &amp;&amp;
245unset LANG LC_ALL</userinput></screen>
246
247 <para>Compile <application>OpenOffice</application> using the following
248 commands:</para>
249
250<screen><userinput>./bootstrap &amp;&amp;
251. LinuxIntelEnv.Set.sh &amp;&amp;
252dmake</userinput></screen>
253
254 <para>Install <application>OpenOffice</application> as the
255 <systemitem class="username">root</systemitem> user with the
256 following commands:</para>
257
258<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
259install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
260cp -a -v openoffice.org2.0 /opt/openoffice-2.0.0</userinput></screen>
261
262 <para>Still as the <systemitem class="username">root</systemitem>
263 user:</para>
264
265<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
266do
267 ln -v -sf /opt/openoffice-2.0.0/program/$appl /usr/bin/$appl
268done</userinput></screen>
269
270 <para>The icons are not installed by default. While still the
271 <systemitem class="username">root</systemitem> user, install the icons
272 with the following commands:</para>
273
274<screen role="root"><userinput>cd ../../../../../../../../sysui/desktop/icons &amp;&amp;
275install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
276cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
277cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
278cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
279
280 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
281 <application>KDE</application>, there is no further configuration
282 necessary. If you use <application>Gnome</application>, you should copy
283 the <filename>*.desktop</filename> files to
284 <filename>/usr/share/applications</filename> with the following
285 commands as the <systemitem class="username">root</systemitem> user:</para>
286
287<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
288cd /opt/openoffice-2.0.0/share/xdg/ &amp;&amp;
289for appl in *.desktop
290do
291 sed -i '/Exec/d' $appl
292 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
293 sed -i '/Icon/d' $appl
294 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
295done &amp;&amp;
296sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
297cp -v *.desktop /usr/share/applications</userinput></screen>
298
299 <para>Finally, if you'd like to edit <application>OpenOffice</application>
300 documents directly from <application>Mozilla</application> or
301 <application>Firefox</application>, create a symbolic link in your
302 plugins directory to
303 <filename>/opt/openoffice-2.0.0/program/libnpsoplugin.so</filename>.
304 Additionally, you must enable the plugin from the
305 <parameter>Internet Options</parameter> within any
306 <application>OpenOffice</application> application.</para>
307
308 </sect2>
309
310 <sect2 role="commands">
311 <title>Command Explanations</title>
312
313 <para><parameter>--enable-libart</parameter>: This switch forces the use
314 of libart instead of <application>gpc</application> for polygon
315 clipping.</para>
316
317 <para><parameter>--enable-libsn</parameter>: This switch enables the use
318 of <application>startup-notification</application>.</para>
319
320 <para><parameter>--disable-fontooo</parameter>: Use
321 <application>Fontconfig</application> instead of FontOOo.</para>
322
323 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
324 <application>Gnome Virtual File System</application> libraries. Omit
325 this switch if you have Gnome installed.</para>
326
327 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
328 Vera fonts since they are already included in X Window System
329 Environment.</para>
330
331 <para><parameter>--with-system-*</parameter>: Use the system libraries
332 and programs instead of building the source packages included in the build
333 tree.</para>
334
335 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
336 <application>Mozilla</application> suite.</para>
337
338 <para><parameter>--with-build-version=BLFS</parameter>:
339 Appends "BLFS" to the end of the version string.</para>
340
341 <para><parameter>--with-package-format=native</parameter>: This switch
342 disables the build of <application>RPM</application> packages.</para>
343
344 <para><parameter>--disable-binfilter</parameter>: This switch disables the
345 build of legacy <application>StarOffice-5</application> import
346 filters.</para>
347
348 <para><parameter>--with-firefox</parameter>: Enables the use of
349 <application>Firefox</application> in place of the full
350 <application>Mozilla</application> suite. This will disable the use
351 of a <application>Thunderbird</application> address book as a data
352 source.</para>
353
354 <para><parameter>--disable-cups</parameter>: Disable the use of
355 <application>CUPS</application> for printing.</para>
356
357 <para><parameter>--with-lang=<replaceable>[LANG]</replaceable></parameter>:
358 Makes an install set for the desired language. ENUS is the default.</para>
359
360 <para><parameter>--with-dict=<replaceable>[LANG]</replaceable></parameter>:
361 This switch installs dictionaries for the desired languages. ENUS is
362 the default.</para>
363
364 <para><command>./bootstrap</command>: Build the
365 <application>dmake</application> utility required to complete the
366 build.</para>
367
368 <para><command>dmake</command>: Compile the package.</para>
369
370 <para><command>for appl in *.desktop...</command>: Edit the
371 <filename>*.desktop</filename> files for use with a standard BLFS
372 system.</para>
373
374 </sect2>
375
376 <sect2 role="content">
377 <title>Contents</title>
378
379 <segmentedlist>
380 <segtitle>Installed Programs</segtitle>
381 <segtitle>Installed Libraries</segtitle>
382 <segtitle>Installed Directory</segtitle>
383
384 <seglistitem>
385 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
386 <seg><application>OpenOffice</application> libraries</seg>
387 <seg>/opt/openoffice-2.0.0</seg>
388 </seglistitem>
389 </segmentedlist>
390
391 <variablelist>
392 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
393 <?dbfo list-presentation="list"?>
394 <?dbhtml list-presentation="table"?>
395
396 <varlistentry id="sbase">
397 <term><command>sbase</command></term>
398 <listitem>
399 <para>is a database application.</para>
400 <indexterm zone="openoffice sbase">
401 <primary sortas="b-sbase">sbase</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="scalc">
407 <term><command>scalc</command></term>
408 <listitem>
409 <para>is a spreadsheet application.</para>
410 <indexterm zone="openoffice scalc">
411 <primary sortas="b-scalc">scalc</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="sdraw">
417 <term><command>sdraw</command></term>
418 <listitem>
419 <para>is a drawing application.</para>
420 <indexterm zone="openoffice sdraw">
421 <primary sortas="b-sdraw">sdraw</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry id="simpress">
427 <term><command>simpress</command></term>
428 <listitem>
429 <para>is a presentation application.</para>
430 <indexterm zone="openoffice simpress">
431 <primary sortas="b-simpress">simpress</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="smath">
437 <term><command>smath</command></term>
438 <listitem>
439 <para>is a mathematical formula editor.</para>
440 <indexterm zone="openoffice smath">
441 <primary sortas="b-smath">smath</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="soffice">
447 <term><command>soffice</command></term>
448 <listitem>
449 <para>opens a base window with access to all
450 <application>OpenOffice</application> applications.</para>
451 <indexterm zone="openoffice soffice">
452 <primary sortas="b-soffice">soffice</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="spadmin">
458 <term><command>spadmin</command></term>
459 <listitem>
460 <para>is the <application>OpenOffice</application> printer
461 configuration utility.</para>
462 <indexterm zone="openoffice spadmin">
463 <primary sortas="b-spadmin">spadmin</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="swriter">
469 <term><command>swriter</command></term>
470 <listitem>
471 <para>is a word processing application.</para>
472 <indexterm zone="openoffice swriter">
473 <primary sortas="b-swriter">swriter</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 </variablelist>
479
480 </sect2>
481
482</sect1>
Note: See TracBrowser for help on using the repository browser.