source: xsoft/suites/openoffice.xml@ 32d0e29

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 32d0e29 was 32d0e29, checked in by Randy McMurchy <randy@…>, 16 years ago

Fixed typos and minor rewording in various package instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7370 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
197 the <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 -i 's@..$/dist$/configure@uudecode="no" &amp;@' \
217 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
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 class='extension'>*.desktop</filename> files to
271 <filename class='directory'>/usr/share/applications</filename> using the
272 following commands as the <systemitem class="username">root</systemitem>
273 user:</para>
274
275<screen role="root"><userinput>install -v -d -m755 /usr/share/applications &amp;&amp;
276pushd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
277for appl in *.desktop
278do
279 sed -i '/Exec/d' $appl &amp;&amp;
280 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl &amp;&amp;
281 sed -i '/Icon/d' $appl &amp;&amp;
282 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
283done &amp;&amp;
284sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
285cp -v *.desktop /usr/share/applications &amp;&amp;
286update-desktop-database &amp;&amp;
287popd</userinput></screen>
288
289 <para>Finally, if you'd like to edit <application>OpenOffice</application>
290 documents directly from <xref linkend="seamonkey"/> or
291 <xref linkend="firefox"/>, create a symbolic link in your
292 plugins directory to <filename
293 class='libraryfile'>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
294 Additionally, you must enable the plugin from the
295 <parameter>Internet Options</parameter> within any
296 <application>OpenOffice</application> application.</para>
297
298 </sect2>
299
300 <sect2 role="commands">
301 <title>Command Explanations</title>
302
303 <para><command>sed 's@..\$dist\$/configure@uudecode="no"...'</command>:
304 This command corrects a build failure if a faulty
305 <command>uudecode</command> program provided by the <xref linkend="gmime"/>
306 package is installed.</para>
307
308 <para><parameter>--enable-*</parameter>: The switches listed in the
309 example <command>configure</command> command above force the use of system
310 installed libraries that are known to be available on a BLFS system that
311 meets the required and recommended dependencies.</para>
312
313 <para><parameter>--disable-fontooo</parameter>: Use
314 <application>Fontconfig</application> instead of the FontOOo.</para>
315
316 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
317 <application>Gnome Virtual File System</application> libraries. Omit
318 this switch if you have Gnome installed.</para>
319
320 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
321 Vera fonts since they are already included in the
322 <application>X</application> Window System Environment.</para>
323
324 <para><parameter>--with{,out}-system-*</parameter>: Determines
325 whether to use the system libraries and programs or to build
326 the source packages included in the build tree.</para>
327
328 <para><parameter>--without-pam</parameter>: Disable the use of
329 <application>Linux-PAM</application> functions. Omit this switch if
330 <application>Linux-PAM</application> is installed.</para>
331
332 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
333 <application>Mozilla</application> suite.</para>
334
335 <para><parameter>--with-build-version=BLFS</parameter>: Appends
336 <quote>BLFS</quote> to the end of the version string.</para>
337
338 <para><parameter>--with-package-format=native</parameter>: This switch
339 forces the build to skip the packaging process, leaving only the
340 temporary installation that would be used for packaging. This temporary
341 installation is later copied directly to the final destination.</para>
342
343 <para><parameter>--disable-binfilter</parameter>: This switch disables
344 the build of legacy <application>StarOffice-5</application> import
345 filters. Omit this switch if you've downloaded the
346 <application>binfilter</application> package
347 above. Warning: Installation of the legacy import filters increases the
348 build time considerably. Only install them if you have these old
349 file types, and need to edit them in
350 <application>OpenOffice</application>.</para>
351
352 <para><parameter>--disable-odk</parameter>: This switch disables the build
353 of the <application>OpenOffice</application> SDK. Omit this switch if
354 you've downloaded the SDK package (and additional requirements)
355 above.</para>
356
357 <para><parameter>--disable-qadevooo</parameter>: This switch skips
358 the building of the quality assurance tools used by the
359 <application>OpenOffice</application> development teams.</para>
360
361 <para>
362 <parameter>--with-system-mozilla=<replaceable>&lt;type&gt;</replaceable>
363 </parameter>: Enables the use of a system installed
364 <application>gecko</application> or <application>XULRunner</application>
365 engine in place of the full <application>Mozilla</application> suite.
366 This will disable the use of a <application>Thunderbird</application>
367 address book as a data source. If you omit the type of installation,
368 <command>configure</command> defaults to and searches for a working
369 <application>XULRunner</application> installation and will fail if
370 one is not found.</para>
371
372 <para><parameter>--disable-cups</parameter>: Disable the use of
373 <application>CUPS</application> for printing.</para>
374
375 <para>
376 <parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
377 Allows the use of additional languages in
378 <application>OpenOffice</application>. US English (ENUS) is the
379 default.</para>
380
381 <para>
382 <parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
383 Allows the use of alternate dictionaries in
384 <application>OpenOffice</application>. US English (ENUS) is the
385 default.</para>
386
387 <para><parameter>--with-use-shell=bash</parameter>: Tells the
388 <application>OpenOffice</application> build system to use
389 <command>bash</command> instead of <command>tcsh</command>.</para>
390
391 <para><command>./bootstrap</command>: Build the
392 <command>dmake</command> utility required to complete the
393 build.</para>
394
395 <para><command>dmake</command>: Compiles the package.</para>
396
397 <para><command>for appl in sbase scalc...</command>: Creates symlinks
398 for the applications in
399 <filename class="directory">/usr/bin</filename>.</para>
400
401 <para><command>for appl in *.desktop...</command>: Edit the
402 <filename>*.desktop</filename> files for use with a standard BLFS
403 system.</para>
404
405 </sect2>
406
407 <sect2 role="content">
408 <title>Contents</title>
409
410 <segmentedlist>
411 <segtitle>Installed Programs</segtitle>
412 <segtitle>Installed Libraries</segtitle>
413 <segtitle>Installed Directory</segtitle>
414
415 <seglistitem>
416 <seg>scalc, sdraw, simpress, smath, soffice, spadmin,
417 and swriter.</seg>
418 <seg><application>OpenOffice</application> libraries</seg>
419 <seg>/opt/openoffice-&openoffice-version;</seg>
420 </seglistitem>
421 </segmentedlist>
422
423 <variablelist>
424 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
425 <?dbfo list-presentation="list"?>
426 <?dbhtml list-presentation="table"?>
427
428 <varlistentry id="sbase">
429 <term><command>sbase</command></term>
430 <listitem>
431 <para>is a database application.</para>
432 <indexterm zone="openoffice sbase">
433 <primary sortas="b-sbase">sbase</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="scalc">
439 <term><command>scalc</command></term>
440 <listitem>
441 <para>is a spreadsheet application.</para>
442 <indexterm zone="openoffice scalc">
443 <primary sortas="b-scalc">scalc</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="sdraw">
449 <term><command>sdraw</command></term>
450 <listitem>
451 <para>is a drawing application.</para>
452 <indexterm zone="openoffice sdraw">
453 <primary sortas="b-sdraw">sdraw</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="simpress">
459 <term><command>simpress</command></term>
460 <listitem>
461 <para>is a presentation application.</para>
462 <indexterm zone="openoffice simpress">
463 <primary sortas="b-simpress">simpress</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="smath">
469 <term><command>smath</command></term>
470 <listitem>
471 <para>is a mathematical formula editor.</para>
472 <indexterm zone="openoffice smath">
473 <primary sortas="b-smath">smath</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="soffice">
479 <term><command>soffice</command></term>
480 <listitem>
481 <para>opens a base window with access to all
482 <application>OpenOffice</application> applications.</para>
483 <indexterm zone="openoffice soffice">
484 <primary sortas="b-soffice">soffice</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="spadmin">
490 <term><command>spadmin</command></term>
491 <listitem>
492 <para>is the <application>OpenOffice</application> printer
493 configuration utility.</para>
494 <indexterm zone="openoffice spadmin">
495 <primary sortas="b-spadmin">spadmin</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="swriter">
501 <term><command>swriter</command></term>
502 <listitem>
503 <para>is a word processing application.</para>
504 <indexterm zone="openoffice swriter">
505 <primary sortas="b-swriter">swriter</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 </variablelist>
511
512 </sect2>
513
514</sect1>
Note: See TracBrowser for help on using the repository browser.