source: xsoft/suites/openoffice.xml@ cb612ee6

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

Updated to OpenOffice-3.2.1.

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

  • Property mode set to 100644
File size: 20.4 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 "4fa713fb796bc57e5eb9dfb0758adda0">
12 <!ENTITY openoffice-core-size "205 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 "e6405c8108bdcf4cc2bf066d88aa5ae1">
16 <!ENTITY openoffice-system-size "59 MB">
17 <!ENTITY openoffice-buildsize "4.9-7.3 GB (depending on configured options)">
18 <!ENTITY openoffice-time "96-109 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;-build_with_db5-1.patch"/>
80 </para>
81 </listitem>
82 <listitem>
83 <para>Required download:
84 <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.14/seamonkey-1.1.14.source.tar.bz2"/></para>
85 </listitem>
86 <listitem>
87 <para>Optional download if you would like to localize the
88 installation:
89 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_l10n.tar.bz2"/></para>
90 </listitem>
91 <listitem>
92 <para>Optional download if you need to support the old
93 <application>StarOffice-5.2</application> file formats:
94 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_binfilter.tar.bz2"/></para>
95 </listitem>
96 <listitem>
97 <para>Optional download if you want to build additional extensions
98 for <application>OpenOffice</application>:
99 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_extensions.tar.bz2"/></para>
100 </listitem>
101 <listitem>
102 <para>Optional download if you want to build the office development kit
103 (cross platform requirement is not optional):
104 <ulink url="http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll"/></para>
105 </listitem>
106 </itemizedlist>
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">Optional</bridgehead>
121 <para role="optional"><ulink
122 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
123 <ulink url="http://boost.sourceforge.net/">boost</ulink>,
124 <xref linkend="cups"/>,
125 <xref linkend="curl"/>,
126 <xref linkend="db"/> (built with Java support),
127 <xref linkend="desktop-file-utils"/>,
128 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
129 <xref linkend="evolution"/>,
130 <xref linkend="gnome-vfs"/> (should use --enable-gio instead),
131 <xref linkend="kde"/>,
132 <xref linkend="libjpeg"/>,
133 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
134 <xref linkend="libtiff"/>,
135 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
136 <xref linkend="libxslt"/>,
137 <xref linkend="libxml2"/>,
138 <xref linkend="linux-pam"/>,
139 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
140 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
141 <ulink url="http://www.webdav.org/neon/">neon</ulink>,
142 <xref linkend="openldap"/>,
143 <xref linkend="python"/>,
144 <xref linkend="sane"/>,
145 <xref linkend="startup-notification"/>, and
146 <xref linkend="unixodbc"/></para>
147
148 <para condition="html" role="usernotes">User Notes:
149 <ulink url="&blfs-wiki;/openoffice"/></para>
150
151 </sect2>
152
153 <sect2 role="installation">
154 <title>Installation of OpenOffice</title>
155
156 <para>The <application>OpenOffice</application> source code is
157 distributed in several tarballs. You should extract each from the
158 same top-level directory before entering the build directory. At
159 a minimum, you will need to extract the <quote>core</quote> and
160 <quote>system</quote> tarballs. Note that the source directory name
161 is not consistent with the tarball name and will be named
162 <filename class='directory'>OOO320_m19</filename>.</para>
163
164 <para>It is possible to build with a system-installed
165 <application>Mozilla</application>, however, it requires a very intrusive
166 patch, and is version specific. Additionally, you'll need to build against
167 <xref linkend="seamonkey"/> or <xref linkend="thunderbird"/> for full
168 LDAP and address book functionality. Instead, use the in-tree
169 <application>Seamonkey</application> build. Copy the tarball into
170 the source tree with the following command:</para>
171
172<screen><userinput>cp ../seamonkey-1.1.14-source.tar.bz2 moz/download/</userinput></screen>
173
174 <para>If you want to optimize the build, edit the appropriate makefile in
175 <filename>solenv/inc/</filename> and add the desired optimization
176 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
177 specific, for instance edit <filename>unxlngi6.mk</filename> for i686, or
178 <filename>unxlngx6.mk</filename> for x86_64. Some users have reported
179 problems with <option>-fomit-frame-pointer</option>. The best option is to
180 not use any custom optimizations.</para>
181
182 <note>
183 <para>Because of the complexity of the
184 <application>OpenOffice</application> build system, it is not possible to
185 provide generic build instructions for all systems. You should review
186 the output of <command>configure --help</command> and take advantage of
187 any system installed programs and libraries available using the
188 <parameter>--enable-*</parameter>, <parameter>--disable-*</parameter>,
189 and <parameter>--with-system-*</parameter> parameters, and provide any
190 additional environment variables needed.</para>
191 </note>
192
193 <para><application>OpenOffice</application> fails to compile if
194 <command>umask</command> is set to something exotic. The build can also
195 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
196 variables are set. Use the following commands to change your
197 environment accordingly:</para>
198
199<screen><userinput>umask 0022 &amp;&amp;
200unset LANG LC_ALL</userinput></screen>
201
202 <para>Install <application>OpenOffice</application> by running the
203 following commands:</para>
204
205<!-- uudecode didn't fuss...but left in for reference
206sed -i 's@..$/dist$/configure@uudecode="no" &amp;@' \
207 berkeleydb/makefile.mk &amp;&amp;
208-->
209
210<screen><userinput>patch -Np1 -i ../OOo_&openoffice-version;-with-system-db5-1.patch &amp;&amp;
211autoreconf &amp;&amp;
212PKG_CONFIG=/usr/bin/pkg-config ./configure \
213 --disable-binfilter \
214 --disable-fontooo \
215 --disable-gnome-vfs \
216 --disable-odk \
217 --disable-qadevooo \
218 --enable-cairo \
219 --without-afms \
220 --without-fonts \
221 --without-ppds \
222 --without-pam \
223 --with-system-stdlibs \
224 --with-system-cairo \
225 --with-system-expat \
226 --with-system-zlib \
227 --with-package-format=native \
228 --with-vendor="BLFS" \
229 --with-use-shell=bash &amp;&amp;
230source LinuxX86Env.Set.sh &amp;&amp;
231./bootstrap &amp;&amp;
232make</userinput></screen>
233
234 <para>This package does not come with a test suite.</para>
235
236 <para>Now, as the <systemitem class="username">root</systemitem>
237 user:</para>
238
239<screen role="root"><userinput>pushd instsetoo_native/unxlng?6.pro/OpenOffice/\
240native/install/en-US/linux-2.6-*/buildroot/opt &amp;&amp;
241cp -r -v openoffice.org3 /opt/openoffice-&openoffice-version; &amp;&amp;
242cp -r -v openoffice.org/* /opt/openoffice-&openoffice-version; &amp;&amp;
243ln -sf basis3.2 /opt/openoffice-&openoffice-version;/basis-link &amp;&amp;
244popd &amp;&amp;
245
246for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
247do
248 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin
249done &amp;&amp;
250
251pushd sysui/desktop/icons &amp;&amp;
252install -v -m755 -d /usr/share/icons/{hicolor,locolor} &amp;&amp;
253cp -r -v hicolor/* /usr/share/icons/hicolor &amp;&amp;
254cp -r -v locolor/* /usr/share/icons/locolor &amp;&amp;
255popd</userinput></screen>
256
257 <para>If you have installed <xref linkend="desktop-file-utils"/>, you
258 should copy the <filename class='extension'>*.desktop</filename> files to
259 <filename class='directory'>/usr/share/applications</filename> using the
260 following commands as the <systemitem class="username">root</systemitem>
261 user:</para>
262
263<screen role="root"><userinput>install -v -d -m755 /usr/share/applications &amp;&amp;
264pushd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
265for appl in *.desktop
266do
267 sed -i '/Exec/d' $appl &amp;&amp;
268 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl &amp;&amp;
269 sed -i '/Icon/d' $appl &amp;&amp;
270 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
271done &amp;&amp;
272sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
273cp -v *.desktop /usr/share/applications &amp;&amp;
274update-desktop-database &amp;&amp;
275popd</userinput></screen>
276
277 <para>Finally, if you'd like to edit <application>OpenOffice</application>
278 documents directly from <xref linkend="seamonkey"/> or
279 <xref linkend="firefox"/>, create a symbolic link in your
280 plugins directory to <filename
281 class='libraryfile'>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
282 Additionally, you must enable the plugin from the
283 <parameter>Internet Options</parameter> within any
284 <application>OpenOffice</application> application.</para>
285
286 </sect2>
287
288 <sect2 role="commands">
289 <title>Command Explanations</title>
290
291 <para><envar>PKG_CONFIG=/usr/bin/pkg-config</envar>:
292 This variable must be set as the version check in
293 <filename>configure</filename> is broken.</para>
294
295 <para><parameter>--disable-binfilter</parameter>: This switch disables
296 the build of legacy <application>StarOffice-5</application> import
297 filters. Omit this switch if you've downloaded the
298 <application>binfilter</application> package
299 above. Warning: Installation of the legacy import filters increases the
300 build time considerably. Only install them if you have these old
301 file types, and need to edit them in
302 <application>OpenOffice</application>.</para>
303
304 <para><parameter>--disable-fontooo</parameter>: Use
305 <application>Fontconfig</application> instead of the FontOOo.</para>
306
307 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
308 <application>Gnome Virtual File System</application> libraries. Omit
309 this switch only if gio is not available.</para>
310
311 <para><parameter>--disable-odk</parameter>: This switch disables the build
312 of the <application>OpenOffice</application> SDK. Omit this switch if
313 you've downloaded the SDK package (and additional requirements)
314 above.</para>
315
316 <para><parameter>--disable-qadevooo</parameter>: This switch skips
317 the building of the quality assurance tools used by the
318 <application>OpenOffice</application> development teams.</para>
319
320 <para><parameter>--enable-cairo</parameter>: This switch listed in the
321 example <command>configure</command> command above forces the use of the
322 system installed cairo.</para>
323
324 <para><parameter>--without-afms</parameter>: Do not install afm font types
325 as system installed TrueType fonts are already available.</para>
326
327 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
328 Vera fonts since they are already included in the
329 <application>X</application> Window System Environment.</para>
330
331 <para><parameter>--without-ppds</parameter>: Do not install printer
332 description files as these should be handled by your print system.</para>
333
334 <para><parameter>--without-pam</parameter>: Disable the use of
335 <application>Linux-PAM</application> functions. Omit this switch if
336 <application>Linux-PAM</application> is installed.</para>
337
338 <para><parameter>--with{,out}-system-*</parameter>: Determines
339 whether to use the system libraries and programs or to build
340 the source packages included in the build tree.</para>
341
342 <para><parameter>--with-build-version="3.2.1-1"</parameter>: Changes the
343 build version to append "-1" to the default version string.</para>
344
345 <para><parameter>--with-vendor="BLFS"</parameter>: Changed the vendor
346 string to "BLFS" in the help->about dialog.</para>
347
348 <para><parameter>--with-use-shell=bash</parameter>: Tells the
349 <application>OpenOffice</application> build system to use
350 <command>bash</command> instead of <command>tcsh</command>.</para>
351
352 <para><command>./bootstrap</command>: Build the
353 <command>dmake</command> utility required to complete the
354 build.</para>
355
356 <para>
357 <parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
358 Allows the use of additional languages in
359 <application>OpenOffice</application>. US English (ENUS) is the
360 default.</para>
361
362 <para>
363 <parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
364 Allows the use of alternate dictionaries in
365 <application>OpenOffice</application>. US English (ENUS) is the
366 default.</para>
367
368 <para><parameter>--with-use-shell=bash</parameter>: Tells the
369 <application>OpenOffice</application> build system to use
370 <command>bash</command> instead of <command>tcsh</command>.</para>
371
372 <para><command>./bootstrap</command>: Build the
373 <command>dmake</command> utility required to complete the
374 build.</para>
375
376 <para><command>for appl in sbase scalc...</command>: Creates symlinks
377 for the applications in
378 <filename class="directory">/usr/bin</filename>.</para>
379
380 <para><command>for appl in *.desktop...</command>: Edit the
381 <filename>*.desktop</filename> files for use with a standard BLFS
382 system.</para>
383
384 </sect2>
385
386 <sect2 role="content">
387 <title>Contents</title>
388
389 <segmentedlist>
390 <segtitle>Installed Programs</segtitle>
391 <segtitle>Installed Libraries</segtitle>
392 <segtitle>Installed Directory</segtitle>
393
394 <seglistitem>
395 <seg>sbase, scalc, sdraw, simpress, smath, soffice, spadmin,
396 and swriter</seg>
397 <seg><application>OpenOffice</application> libraries</seg>
398 <seg>/opt/openoffice-&openoffice-version;</seg>
399 </seglistitem>
400 </segmentedlist>
401
402 <variablelist>
403 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
404 <?dbfo list-presentation="list"?>
405 <?dbhtml list-presentation="table"?>
406
407 <varlistentry id="sbase">
408 <term><command>sbase</command></term>
409 <listitem>
410 <para>is a database application.</para>
411 <indexterm zone="openoffice sbase">
412 <primary sortas="b-sbase">sbase</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="scalc">
418 <term><command>scalc</command></term>
419 <listitem>
420 <para>is a spreadsheet application.</para>
421 <indexterm zone="openoffice scalc">
422 <primary sortas="b-scalc">scalc</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="sdraw">
428 <term><command>sdraw</command></term>
429 <listitem>
430 <para>is a drawing application.</para>
431 <indexterm zone="openoffice sdraw">
432 <primary sortas="b-sdraw">sdraw</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="simpress">
438 <term><command>simpress</command></term>
439 <listitem>
440 <para>is a presentation application.</para>
441 <indexterm zone="openoffice simpress">
442 <primary sortas="b-simpress">simpress</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="smath">
448 <term><command>smath</command></term>
449 <listitem>
450 <para>is a mathematical formula editor.</para>
451 <indexterm zone="openoffice smath">
452 <primary sortas="b-smath">smath</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="soffice">
458 <term><command>soffice</command></term>
459 <listitem>
460 <para>opens a base window with access to all
461 <application>OpenOffice</application> applications.</para>
462 <indexterm zone="openoffice soffice">
463 <primary sortas="b-soffice">soffice</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="spadmin">
469 <term><command>spadmin</command></term>
470 <listitem>
471 <para>is the <application>OpenOffice</application> printer
472 configuration utility.</para>
473 <indexterm zone="openoffice spadmin">
474 <primary sortas="b-spadmin">spadmin</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="swriter">
480 <term><command>swriter</command></term>
481 <listitem>
482 <para>is a word processing application.</para>
483 <indexterm zone="openoffice swriter">
484 <primary sortas="b-swriter">swriter</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 </variablelist>
490
491 </sect2>
492
493</sect1>
Note: See TracBrowser for help on using the repository browser.