source: xsoft/suites/openoffice.xml@ d4fee9a

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 d4fee9a was d4fee9a, checked in by Chris Staub <chris@…>, 16 years ago

Fix typo in OOo instructions

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

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