source: xsoft/suites/openoffice.xml@ d118bb3

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

Clarified DB Java requirement in OpenOffice deps.

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

  • Property mode set to 100644
File size: 19.6 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 amd 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 --with-system-stdlibs --without-system-jars \
210 --with-system-freetype --with-system-expat --with-system-libxml \
211 --with-system-zlib --enable-cairo --enable-build-mozilla \
212 --with-build-version=BLFS --with-package-format=native \
213 --disable-binfilter --disable-odk --disable-qadevooo \
214 --with-use-shell=bash &amp;&amp;
215cd ..</userinput></screen>
216
217 <para><application>OpenOffice</application> fails to compile if
218 <command>umask</command> is set to something exotic. The build can also
219 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
220 variables are set. Use the following commands to change your
221 environment accordingly:</para>
222
223<screen><userinput>umask 0022 &amp;&amp;
224unset LANG LC_ALL</userinput></screen>
225
226 <para>Compile <application>OpenOffice</application> using the following
227 commands:</para>
228
229<screen><userinput>patch -Np1 -i ../OOo_&openoffice-version;-use_bin_hsqldb-1.patch &amp;&amp;
230./bootstrap &amp;&amp;
231. LinuxX86Env.Set.sh &amp;&amp;
232dmake</userinput></screen>
233
234 <para>This package does not come with a test suite.</para>
235
236 <para>Install <application>OpenOffice</application> as the
237 <systemitem class="username">root</systemitem> user with the
238 following commands:</para>
239
240<screen role="root"><userinput>pushd instsetoo_native/unxlngi6.pro/OpenOffice/\
241native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
242cp -r -v openoffice.org2.3 /opt/openoffice-&openoffice-version; &amp;&amp;
243popd</userinput></screen>
244
245 <para>Still as the <systemitem class="username">root</systemitem>
246 user:</para>
247
248<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
249do
250 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
251done</userinput></screen>
252
253 <para>The icons are not installed by default. While still the
254 <systemitem class="username">root</systemitem> user, install the icons
255 with the following commands:</para>
256
257<screen role="root"><userinput>cd sysui/desktop/icons &amp;&amp;
258install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
259cp -r -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
260cp -r -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
261cp -r -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
262
263 <para>If you have installed <xref linkend="desktop-file-utils"/>, you
264 should copy the <filename>*.desktop</filename> files to
265 <filename>/usr/share/applications</filename> with the following
266 commands as the <systemitem class="username">root</systemitem> user:</para>
267
268<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
269cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
270for appl in *.desktop
271do
272 sed -i '/Exec/d' $appl
273 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
274 sed -i '/Icon/d' $appl
275 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
276done &amp;&amp;
277sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
278cp -v *.desktop /usr/share/applications &amp;&amp;
279update-desktop-database</userinput></screen>
280
281 <para>Finally, if you'd like to edit <application>OpenOffice</application>
282 documents directly from <xref linkend="seamonkey"/> or
283 <xref linkend="firefox"/>, create a symbolic link in your
284 plugins directory to
285 <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
286 Additionally, you must enable the plugin from the
287 <parameter>Internet Options</parameter> within any
288 <application>OpenOffice</application> application.</para>
289
290 </sect2>
291
292 <sect2 role="commands">
293 <title>Command Explanations</title>
294
295 <para><parameter>--enable-*</parameter>: The switches listed in the
296 example configure command above force the use of system installed
297 libraries that are known to be available on a BLFS system that meets
298 the required and recommended dependencies.</para>
299
300 <para><parameter>--disable-fontooo</parameter>: Use
301 <application>Fontconfig</application> instead of FontOOo.</para>
302
303 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
304 <application>Gnome Virtual File System</application> libraries. Omit
305 this switch if you have Gnome installed.</para>
306
307 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
308 Vera fonts since they are already included in X Window System
309 Environment.</para>
310
311 <para><parameter>--with{,out}-system-*</parameter>: Determines
312 whether to use the system libraries and programs or to build
313 the source packages included in the build tree.</para>
314
315 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
316 <application>Mozilla</application> suite.</para>
317
318 <para><parameter>--with-build-version=BLFS</parameter>:
319 Appends "BLFS" to the end of the version string.</para>
320
321 <para><parameter>--with-package-format=native</parameter>: This switch
322 disables the build of <application>RPM</application> packages.</para>
323
324 <para><parameter>--disable-binfilter</parameter>: This switch disables the
325 build of legacy <application>StarOffice-5</application> import
326 filters. Omit this switch if you've downloaded the binfilter package
327 above.</para>
328
329 <para><parameter>--disable-odk</parameter>: This switch disables the build
330 of the <application>OpenOffice</application> SDK. Ommit this switch if
331 you've downloaded the sdk package above.</para>
332
333 <para><parameter>--disable-qadevooo</parameter>: This switch skips
334 the building of the quality assurance components used by the OOo
335 dev team.</para>
336
337 <para><parameter>--with-system-mozilla=<replaceable>[mozilla-type]</replaceable>
338 </parameter>: Enables the use of system installed
339 <application>gecko</application> or <application>XULRunner</application>
340 engine in place of the full <application>Mozilla</application> suite.
341 This will disable the use of a <application>Thunderbird</application>
342 address book as a data source. If you omit the type of installation,
343 the build system defaults to <parameter>xulrunner</parameter>.</para>
344
345 <para><parameter>--disable-cups</parameter>: Disable the use of
346 <application>CUPS</application> for printing.</para>
347
348 <para><parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
349 Allows the use of additional languages in
350 <application>OpenOffice</application>. ENUS is the default.</para>
351
352 <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
353 Allows the use of alternate dictionaries in
354 <application>OpenOffice</application>. ENUS is the default.</para>
355
356 <para><parameter>--with-use-shell=bash</parameter>: Tells the OOo build
357 system to use bash as opposed to tcsh.</para>
358
359 <para><command>./bootstrap</command>: Build the
360 <application>dmake</application> utility required to complete the
361 build.</para>
362
363 <para><command>dmake</command>: Compiles the package.</para>
364
365 <para><command>for appl in *.desktop...</command>: Edit the
366 <filename>*.desktop</filename> files for use with a standard BLFS
367 system.</para>
368
369 </sect2>
370
371 <sect2 role="content">
372 <title>Contents</title>
373
374 <segmentedlist>
375 <segtitle>Installed Programs</segtitle>
376 <segtitle>Installed Libraries</segtitle>
377 <segtitle>Installed Directory</segtitle>
378
379 <seglistitem>
380 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
381 <seg><application>OpenOffice</application> libraries</seg>
382 <seg>/opt/openoffice-&openoffice-version;</seg>
383 </seglistitem>
384 </segmentedlist>
385
386 <variablelist>
387 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
388 <?dbfo list-presentation="list"?>
389 <?dbhtml list-presentation="table"?>
390
391 <varlistentry id="sbase">
392 <term><command>sbase</command></term>
393 <listitem>
394 <para>is a database application.</para>
395 <indexterm zone="openoffice sbase">
396 <primary sortas="b-sbase">sbase</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="scalc">
402 <term><command>scalc</command></term>
403 <listitem>
404 <para>is a spreadsheet application.</para>
405 <indexterm zone="openoffice scalc">
406 <primary sortas="b-scalc">scalc</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="sdraw">
412 <term><command>sdraw</command></term>
413 <listitem>
414 <para>is a drawing application.</para>
415 <indexterm zone="openoffice sdraw">
416 <primary sortas="b-sdraw">sdraw</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
421 <varlistentry id="simpress">
422 <term><command>simpress</command></term>
423 <listitem>
424 <para>is a presentation application.</para>
425 <indexterm zone="openoffice simpress">
426 <primary sortas="b-simpress">simpress</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 <varlistentry id="smath">
432 <term><command>smath</command></term>
433 <listitem>
434 <para>is a mathematical formula editor.</para>
435 <indexterm zone="openoffice smath">
436 <primary sortas="b-smath">smath</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="soffice">
442 <term><command>soffice</command></term>
443 <listitem>
444 <para>opens a base window with access to all
445 <application>OpenOffice</application> applications.</para>
446 <indexterm zone="openoffice soffice">
447 <primary sortas="b-soffice">soffice</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
451
452 <varlistentry id="spadmin">
453 <term><command>spadmin</command></term>
454 <listitem>
455 <para>is the <application>OpenOffice</application> printer
456 configuration utility.</para>
457 <indexterm zone="openoffice spadmin">
458 <primary sortas="b-spadmin">spadmin</primary>
459 </indexterm>
460 </listitem>
461 </varlistentry>
462
463 <varlistentry id="swriter">
464 <term><command>swriter</command></term>
465 <listitem>
466 <para>is a word processing application.</para>
467 <indexterm zone="openoffice swriter">
468 <primary sortas="b-swriter">swriter</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 </variablelist>
474
475 </sect2>
476
477</sect1>
Note: See TracBrowser for help on using the repository browser.