source: xsoft/suites/openoffice.xml@ 34c58817

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

Recent OOo suggestions and fix for BDB.

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

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