source: xsoft/suites/openoffice.xml@ 66bdcaf6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 66bdcaf6 was 66bdcaf6, checked in by DJ Lucas <dj@…>, 17 years ago

Updated to OpenOffice-2.2.1

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

  • Property mode set to 100644
File size: 20.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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-core-download-http "http://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_core.tar.bz2">
10 <!ENTITY openoffice-core-download-ftp "ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_core.tar.bz2">
11 <!ENTITY openoffice-core-md5sum "35d4037ce3a4d19bf52ba72c68ef6756">
12 <!ENTITY openoffice-core-size "118 MB">
13 <!ENTITY openoffice-system-download-http "http://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_system.tar.bz2">
14 <!ENTITY openoffice-system-download-ftp "ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_system.tar.bz2">
15 <!ENTITY openoffice-system-download-ftp " ">
16 <!ENTITY openoffice-system-md5sum "13967b9599333066466810569a86c366">
17 <!ENTITY openoffice-system-size "30">
18 <!ENTITY openoffice-buildsize "5.1 GB">
19 <!ENTITY openoffice-time "76 SBU">
20]>
21
22<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
23 <?dbhtml filename="openoffice.html" ?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
29
30 <title>OpenOffice-&openoffice-version;</title>
31
32 <indexterm zone="openoffice">
33 <primary sortas="a-OpenOffice">OpenOffice</primary>
34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to OpenOffice</title>
38
39 <para><application>OpenOffice</application> is an office suite, the
40 open source sibling of <application>StarOffice</application>.</para>
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>OpenOffice Core Download (HTTP): <ulink url="&openoffice-core-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>OpenOffice Core Download (FTP): <ulink url="&openoffice-core-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>OpenOffice Core Download MD5 sum: &openoffice-core-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>OpenOffice Core Download size: &openoffice-core-size;</para>
55 </listitem>
56 <listitem>
57 <para>OpenOffice System Download (HTTP): <ulink url="&openoffice-system-download-http;"/></para>
58 </listitem>
59 <listitem>
60 <para>OpenOffice System Download (FTP): <ulink url="&openoffice-system-download-ftp;"/></para>
61 </listitem>
62 <listitem>
63 <para>OpenOffice System Download MD5 sum: &openoffice-system-md5sum;</para>
64 </listitem>
65 <listitem>
66 <para>OpenOffice System Download size: &openoffice-system-size;</para>
67 </listitem>
68
69 <listitem>
70 <para>Estimated disk space required: &openoffice-buildsize;</para>
71 </listitem>
72 <listitem>
73 <para>Estimated build time: &openoffice-time;</para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing='compact'>
79
80 <listitem>
81 <para>Required patch:
82 <ulink url="&patch-root;/OOo_&openoffice-version;-use_bin_hsqldb-1.patch"/>
83 </para>
84 </listitem>
85
86 <listitem>
87 <para>Required download if you wish to build the in-tree
88 <application>Mozilla</application> browser:
89 <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
90 </listitem>
91
92 <listitem>
93 <para>Optional download if you wish to build the
94 <application>OpenOffice</application> SDK:
95 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_sdk.tar.bz2"/></para>
96 </listitem>
97
98 <listitem>
99 <para>Optional download if you would like to localize the
100 installation:
101 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_l10n.tar.bz2"/></para>
102 </listitem>
103
104 <listitem>
105 <para>Optional download if you need to support the old
106 <application>StarOffice-5.x</application> file formats:
107 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_binfilter.tar.bz2"/></para>
108 </listitem>
109
110 </itemizedlist>
111
112 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
113
114 <bridgehead renderas="sect4">Required</bridgehead>
115 <para role="required"><xref linkend="apache-ant"/>,
116 <xref linkend="gtk2"/>,
117 <xref linkend="libidl"/>,
118 <xref linkend="libxml2"/>,
119 <application>Perl Modules</application>
120 <xref linkend="perl-xml-parser"/> and
121 <xref linkend="perl-archive-zip"/>,
122 <xref linkend="unzip"/>,
123 <xref linkend="which"/>, and
124 <xref linkend="zip"/></para>
125
126 <bridgehead renderas="sect4">Recommended</bridgehead>
127 <para role="recommended"><xref linkend="libart_lgpl"/></para>
128
129 <bridgehead renderas="sect4">Optional</bridgehead>
130 <para role="optional"><ulink
131 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
132 <ulink url="http://boost.sourceforge.net/">boost</ulink>,
133 <xref linkend="cups"/>,
134 <xref linkend="curl"/>,
135 <!-- <xref linkend="db"/>, THIS IS CURRENTLY BROKEN! Internal version is
136 4.2.x, just too different. Using the system db (which must be rebuilt
137 with java bindings) results in a segfault of javac and gcj because of
138 xalan caching leading to OOM killing the process. Experimental patches
139 exist, but require that libxslt is used in place of xalan....big change,
140 not quite ready for the book, and apearently stil not for OOo devs either
141 on this update 2 minor versions later. -->
142 <xref linkend="desktop-file-utils"/>,
143 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
144 <xref linkend="evolution"/>,
145 <xref linkend="gnome-vfs"/>,
146 <ulink url="http://www.cs.man.ac.uk/~toby/alan/software/">GPC</ulink>,
147 <xref linkend="kde"/>,
148 <xref linkend="libjpeg"/>,
149 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
150 <xref linkend="libtiff"/>,
151 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
152 <xref linkend="linux-pam"/>,
153 <xref linkend="firefox"/> (with ldap support),
154 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
155 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
156 <xref linkend="nas"/>,
157 <ulink url="http://www.webdav.org/neon/">neon</ulink>,
158 <xref linkend="openldap"/>,
159 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
160 <xref linkend="python"/>,
161 <ulink url="http://www.gingerall.com/charlie/ga/xml/p_sab.xml">Sablotron</ulink>,
162 <xref linkend="sane"/>,
163 <xref linkend="startup-notification"/>,
164 <ulink url="http://sourceforge.net/projects/stlport/">STLPort</ulink>, and
165 <xref linkend="unixodbc"/></para>
166
167 <para condition="html" role="usernotes">User Notes:
168 <ulink url="&blfs-wiki;/openoffice"/></para>
169
170 </sect2>
171
172 <sect2 role="installation">
173 <title>Installation of OpenOffice</title>
174
175 <para>Unlike other BLFS packages, <application>OpenOffice</application>
176 source code is now distributed in several tarballs. You should extract
177 each from the same top-level directory before entering the build
178 direcotry. At a minimum, you will need to extract the src and core
179 tarballs. Additionally, the source direcotry name is not consistent
180 with the tarball name amd will be called OOF680_m18.</para>
181
182 <para>If you wish to build an in-tree <application>Mozilla</application>,
183 as opposed to using a system wide installation, copy the
184 <application>Mozilla</application> source tarball 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.</para>
196
197 <note><para>Because of the complexity of the
198 <application>OpenOffice</application> build system, it is not possible to
199 provide generic build instructions for all systems. You should review
200 the output of <command>config_office/configure --help</command> and take
201 advantage of any system installed programs and libraries available using
202 the <parameter>--enable-*</parameter>, <parameter>--disable-*</parameter>,
203 and <parameter>--with-system-*</parameter> parameters. Additionally, if
204 you have installed <application>KDE</application> in the
205 <filename>/opt</filename> prefix, and would like to use the
206 <parameter>--enable-kde</parameter> switch, you must set
207 <command>KDEDIR=$KDE_PREFIX</command> before running
208 configure.</para></note>
209
210 <warning><para>Do not use the <parameter>--with-system-db</parameter>
211 switch as it is known to cause build failures related to incompatibilities
212 between the internal and system versions.</para></warning>
213
214 <para>Configure <application>OpenOffice</application> using the following
215 commands:</para>
216
217<screen><userinput>cd config_office/ &amp;&amp;
218./configure --prefix=/opt/openoffice-&openoffice-version; \
219 --enable-libart --disable-fontooo --disable-gnome-vfs \
220 --without-fonts --with-system-stdlibs --without-system-jars \
221 --with-system-freetype --with-system-expat --with-system-libxml \
222 --with-system-zlib --enable-cairo --enable-build-mozilla \
223 --with-build-version=BLFS --with-package-format=native \
224 --disable-binfilter --disable-odk --disable-qadevooo \
225 --with-use-shell=bash &amp;&amp;
226cd ..</userinput></screen>
227
228 <para><application>OpenOffice</application> fails to compile if
229 <command>umask</command> is set to something exotic. The build can also
230 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
231 variables are set. Use the following commands to change your
232 environment accordingly:</para>
233
234<screen><userinput>umask 0022 &amp;&amp;
235unset LANG LC_ALL</userinput></screen>
236
237 <para>Compile <application>OpenOffice</application> using the following
238 commands:</para>
239
240<screen><userinput>patch -Np1 -i ../OOo_&openoffice-version;-use_bin_hsqldb-1.patch &amp;&amp;
241./bootstrap &amp;&amp;
242. LinuxX86Env.Set.sh &amp;&amp;
243dmake</userinput></screen>
244
245 <para>This package does not come with a test suite.</para>
246
247 <para>Install <application>OpenOffice</application> as the
248 <systemitem class="username">root</systemitem> user with the
249 following commands:</para>
250
251<screen role="root"><userinput>pushd instsetoo_native/unxlngi6.pro/OpenOffice/\
252native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
253cp -r -v openoffice.org2.2 /opt/openoffice-&openoffice-version; &amp;&amp;
254popd</userinput></screen>
255
256 <para>Still as the <systemitem class="username">root</systemitem>
257 user:</para>
258
259<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
260do
261 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
262done</userinput></screen>
263
264 <para>The icons are not installed by default. While still the
265 <systemitem class="username">root</systemitem> user, install the icons
266 with the following commands:</para>
267
268<screen role="root"><userinput>cd sysui/desktop/icons &amp;&amp;
269install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
270cp -r -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
271cp -r -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
272cp -r -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
273
274 <para>If you have installed <xref linkend="desktop-file-utils"/>, you
275 should copy the <filename>*.desktop</filename> files to
276 <filename>/usr/share/applications</filename> with the following
277 commands as the <systemitem class="username">root</systemitem> user:</para>
278
279<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
280cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
281for appl in *.desktop
282do
283 sed -i '/Exec/d' $appl
284 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
285 sed -i '/Icon/d' $appl
286 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
287done &amp;&amp;
288sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
289cp -v *.desktop /usr/share/applications &amp;&amp;
290update-desktop-database</userinput></screen>
291
292 <para>Finally, if you'd like to edit <application>OpenOffice</application>
293 documents directly from <xref linkend="seamonkey"/> or
294 <xref linkend="firefox"/>, create a symbolic link in your
295 plugins directory to
296 <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
297 Additionally, you must enable the plugin from the
298 <parameter>Internet Options</parameter> within any
299 <application>OpenOffice</application> application.</para>
300
301 </sect2>
302
303 <sect2 role="commands">
304 <title>Command Explanations</title>
305
306 <para><parameter>--enable-*</parameter>: The switches listed in the
307 example configure command above force the use of system installed
308 libraries that are known to be available on a BLFS system that meets
309 the required and recommended dependencies.</para>
310
311 <para><parameter>--disable-fontooo</parameter>: Use
312 <application>Fontconfig</application> instead of FontOOo.</para>
313
314 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
315 <application>Gnome Virtual File System</application> libraries. Omit
316 this switch if you have Gnome installed.</para>
317
318 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
319 Vera fonts since they are already included in X Window System
320 Environment.</para>
321
322 <para><parameter>--with{,out}-system-*</parameter>: Determines
323 whether to use the system libraries and programs or to build
324 the source packages included in the build tree.</para>
325
326 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
327 <application>Mozilla</application> suite.</para>
328
329 <para><parameter>--with-build-version=BLFS</parameter>:
330 Appends "BLFS" to the end of the version string.</para>
331
332 <para><parameter>--with-package-format=native</parameter>: This switch
333 disables the build of <application>RPM</application> packages.</para>
334
335 <para><parameter>--disable-binfilter</parameter>: This switch disables the
336 build of legacy <application>StarOffice-5</application> import
337 filters. Omit this switch if you've downloaded the binfilter package
338 above.</para>
339
340 <para><parameter>--disable-odk</parameter>: This switch disables the build
341 of the <application>OpenOffice</application> SDK. Ommit this switch if
342 you've downloaded the sdk package above.</para>
343
344 <para><parameter>--disable-qadevooo</parameter>: This switch skips
345 the building of the quality assurance components used by the OOo
346 dev team.</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 and also requires that you include the
353 <parameter>--with-system-mozilla</parameter> switch.</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>&lt;LANG&gt;</replaceable></parameter>:
359 Allows the use of additional languages in
360 <application>OpenOffice</application>. ENUS is the default.</para>
361
362 <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
363 Allows the use of alternate dictionaries in
364 <application>OpenOffice</application>. ENUS is the default.</para>
365
366 <para><parameter>--with-use-shell=bash</parameter>: Tells the OOo build
367 system to use bash as opposed to tcsh.</para>
368
369 <para><command>./bootstrap</command>: Build the
370 <application>dmake</application> utility required to complete the
371 build.</para>
372
373 <para><command>dmake</command>: Compiles the package.</para>
374
375 <para><command>for appl in *.desktop...</command>: Edit the
376 <filename>*.desktop</filename> files for use with a standard BLFS
377 system.</para>
378
379 </sect2>
380
381 <sect2 role="content">
382 <title>Contents</title>
383
384 <segmentedlist>
385 <segtitle>Installed Programs</segtitle>
386 <segtitle>Installed Libraries</segtitle>
387 <segtitle>Installed Directory</segtitle>
388
389 <seglistitem>
390 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
391 <seg><application>OpenOffice</application> libraries</seg>
392 <seg>/opt/openoffice-&openoffice-version;</seg>
393 </seglistitem>
394 </segmentedlist>
395
396 <variablelist>
397 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
398 <?dbfo list-presentation="list"?>
399 <?dbhtml list-presentation="table"?>
400
401 <varlistentry id="sbase">
402 <term><command>sbase</command></term>
403 <listitem>
404 <para>is a database application.</para>
405 <indexterm zone="openoffice sbase">
406 <primary sortas="b-sbase">sbase</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="scalc">
412 <term><command>scalc</command></term>
413 <listitem>
414 <para>is a spreadsheet 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>is a drawing application.</para>
425 <indexterm zone="openoffice sdraw">
426 <primary sortas="b-sdraw">sdraw</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 <varlistentry id="simpress">
432 <term><command>simpress</command></term>
433 <listitem>
434 <para>is a presentation application.</para>
435 <indexterm zone="openoffice simpress">
436 <primary sortas="b-simpress">simpress</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="smath">
442 <term><command>smath</command></term>
443 <listitem>
444 <para>is a mathematical formula editor.</para>
445 <indexterm zone="openoffice smath">
446 <primary sortas="b-smath">smath</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
451 <varlistentry id="soffice">
452 <term><command>soffice</command></term>
453 <listitem>
454 <para>opens a base window with access to all
455 <application>OpenOffice</application> applications.</para>
456 <indexterm zone="openoffice soffice">
457 <primary sortas="b-soffice">soffice</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
462 <varlistentry id="spadmin">
463 <term><command>spadmin</command></term>
464 <listitem>
465 <para>is the <application>OpenOffice</application> printer
466 configuration utility.</para>
467 <indexterm zone="openoffice spadmin">
468 <primary sortas="b-spadmin">spadmin</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="swriter">
474 <term><command>swriter</command></term>
475 <listitem>
476 <para>is a word processing application.</para>
477 <indexterm zone="openoffice swriter">
478 <primary sortas="b-swriter">swriter</primary>
479 </indexterm>
480 </listitem>
481 </varlistentry>
482
483 </variablelist>
484
485 </sect2>
486
487</sect1>
Note: See TracBrowser for help on using the repository browser.