source: xsoft/suites/openoffice.xml@ 864b24de

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 864b24de was 864b24de, checked in by Randy McMurchy <randy@…>, 17 years ago

Removed extraneous spaces in the XML

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

  • Property mode set to 100644
File size: 17.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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-md5sum "f68832ff3458664ae2b741ec67d30104">
10 <!ENTITY openoffice-size "294 MB">
11 <!ENTITY openoffice-buildsize "6 GB">
12 <!ENTITY openoffice-time "129 SBU">
13]>
14
15<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
16 <?dbhtml filename="openoffice.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>OpenOffice-&openoffice-version;</title>
24
25 <indexterm zone="openoffice">
26 <primary sortas="a-OpenOffice">OpenOffice</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to OpenOffice</title>
31
32 <para><application>OpenOffice</application> is an office suite, the
33 open source sibling of <application>StarOffice</application>.</para>
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>Download (HTTP): <ulink url="&openoffice-download-http;"/></para>
39 </listitem>
40 <listitem>
41 <para>Download (FTP): <ulink url="&openoffice-download-ftp;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download MD5 sum: &openoffice-md5sum;</para>
45 </listitem>
46 <listitem>
47 <para>Download size: &openoffice-size;</para>
48 </listitem>
49 <listitem>
50 <para>Estimated disk space required: &openoffice-buildsize;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated build time: &openoffice-time;</para>
54 </listitem>
55 </itemizedlist>
56
57 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
58 <itemizedlist spacing='compact'>
59
60 <listitem>
61 <para>Required patch:
62 <ulink url="&patch-root;/OOo_&openoffice-version;-xauth-1.patch"/>
63 </para>
64 </listitem>
65
66 <listitem>
67 <para>Required patch if
68 <application>Linux-PAM</application>-&linux-pam-version; is not
69 installed:
70 <ulink url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
71 </listitem>
72
73 <listitem>
74 <para>Required patch if building against the system-installed
75 Mozilla products (<application>NSS</application>,
76 <application>Firefox</application>, or
77 <application>Seamonkey</application>):
78 <ulink url="&patch-root;/OOo_&openoffice-version;-system_mozilla_fixes-1.patch"/>
79 </para>
80 </listitem>
81
82 <listitem>
83 <para>Required 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 </itemizedlist>
88
89 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required"><xref linkend="apache-ant"/>,
93 <xref linkend="gtk2"/>,
94 <xref linkend="libidl"/>,
95 <xref linkend="libxml2"/>,
96 <application>Perl Modules</application>
97 <xref linkend="perl-xml-parser"/> and
98 <xref linkend="perl-archive-zip"/>,
99 <xref linkend="tcsh"/>,
100 <xref linkend="unzip"/>,
101 <xref linkend="which"/>, and
102 <xref linkend="zip"/></para>
103
104 <bridgehead renderas="sect4">Recommended</bridgehead>
105 <para role="recommended"><xref linkend="libart_lgpl"/></para>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional"><ulink
109 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
110 <ulink url="http://boost.sourceforge.net/">boost</ulink>,
111 <xref linkend="cups"/>,
112 <xref linkend="curl"/>,
113 <!-- <xref linkend="db"/>, THIS IS CURRENTLY BROKEN! Internal version is
114 4.2.x, just too different. Using the system db (which must be rebuilt
115 with java bindings) results in a segfault of javac and gcj because of
116 xalan caching leading to OOM killing the process. Experimental patches
117 exist, but require that libxslt is used in place of xalan....big change,
118 not quite ready for the book. -->
119 <xref linkend="desktop-file-utils"/>,
120 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
121 <xref linkend="evolution"/>,
122 <xref linkend="gnome-vfs"/>,
123 <ulink url="http://www.cs.man.ac.uk/~toby/alan/software/">GPC</ulink>,
124 <xref linkend="kde"/>,
125 <xref linkend="libjpeg"/>,
126 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
127 <xref linkend="libtiff"/>,
128 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
129 <xref linkend="linux-pam"/>,
130 <xref linkend="seamonkey"/> (must be built against the system
131 <xref linkend="nss"/>) or <xref linkend="firefox"/> (with ldap support),
132 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
133 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
134 <xref linkend="nas"/>,
135 <ulink url="http://www.webdav.org/neon/">neon</ulink>,
136 <xref linkend="openldap"/>,
137 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
138 <xref linkend="python"/>,
139 <ulink url="http://www.gingerall.com/charlie/ga/xml/p_sab.xml">Sablotron</ulink>,
140 <xref linkend="sane"/>,
141 <xref linkend="startup-notification"/>,
142 <ulink url="http://sourceforge.net/projects/stlport/">STLPort</ulink>, and
143 <xref linkend="unixodbc"/></para>
144
145 <para condition="html" role="usernotes">User Notes:
146 <ulink url="&blfs-wiki;/openoffice"/></para>
147
148 </sect2>
149
150 <sect2 role="installation">
151 <title>Installation of OpenOffice</title>
152
153 <para>Apply all of the downloaded patches:</para>
154
155<screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
156 do patch -Np1 -i ${PATCH}
157done</userinput></screen>
158
159 <para>If you wish to build an in-tree <application>Mozilla</application>,
160 as opposed to using a system wide installation, copy the
161 <application>Mozilla</application> source tarball into the source
162 tree:</para>
163
164<screen><userinput>cp ../mozilla-source-1.7.5.tar.gz moz/download/</userinput></screen>
165
166 <para>If you want to optimize the build, edit the appropriate makefile in
167 <filename>solenv/inc/</filename> and add the desired optimization
168 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
169 specific, for instance edit <filename>solenv/inc/unxlngi6.mk</filename>
170 for i686. Some users have reported problems with
171 <option>-fomit-frame-pointer</option>. The best option is to not use any
172 custom optimizations. The following command removes an incorrect
173 <option>-mcpu</option> option in several of the makefiles:</para>
174
175<screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
176
177 <para>Configure <application>OpenOffice</application> using the following
178 commands:</para>
179
180 <note><para>Because of the complexity of the
181 <application>OpenOffice</application> build system, it is not possible to
182 provide generic build instructions for all systems. You should review
183 the output of <command>config_office/configure --help</command> and take
184 advantage of any system installed programs and libraries available using
185 the <parameter>--enable</parameter>, <parameter>--disable</parameter>, and
186 <parameter>--with-system-*</parameter> parameters.</para></note>
187
188 <warning><para>Do not use the <parameter>--with-system-db</parameter>
189 switch. The <application>BerkeleyDB</application> that is installed with
190 LFS is too new for this version of
191 <application>OpenOffice</application>.</para></warning>
192
193<screen><userinput>cd config_office/ &amp;&amp;
194autoreconf &amp;&amp;
195./configure --prefix=/opt/openoffice-&openoffice-version; \
196 --enable-libart --disable-fontooo --disable-gnome-vfs \
197 --without-fonts --with-system-stdlibs --with-system-freetype \
198 --with-system-expat --with-system-libxml --with-system-zlib \
199 --enable-build-mozilla --with-build-version=BLFS \
200 --with-package-format=native --disable-binfilter &amp;&amp;
201cd ..</userinput></screen>
202
203 <para><application>OpenOffice</application> fails to compile if
204 <command>umask</command> is set to something exotic. The build can also
205 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
206 variables are set. Use the following commands to change your
207 environment accordingly:</para>
208
209<screen><userinput>umask 0022 &amp;&amp;
210unset LANG LC_ALL</userinput></screen>
211
212 <para>Compile <application>OpenOffice</application> using the following
213 commands:</para>
214
215<screen><userinput>./bootstrap &amp;&amp;
216. LinuxIntelEnv.Set.sh &amp;&amp;
217dmake</userinput></screen>
218
219 <para>This package does not come with a test suite.</para>
220
221 <para>Install <application>OpenOffice</application> as the
222 <systemitem class="username">root</systemitem> user with the
223 following commands:</para>
224
225<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
226native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
227cp -r -v openoffice.org2.0 /opt/openoffice-&openoffice-version;</userinput></screen>
228
229 <para>Still as the <systemitem class="username">root</systemitem>
230 user:</para>
231
232<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
233do
234 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
235done</userinput></screen>
236
237 <para>The icons are not installed by default. While still the
238 <systemitem class="username">root</systemitem> user, install the icons
239 with the following commands:</para>
240
241<screen role="root"><userinput>cd ../../../../../../../../../sysui/desktop/icons &amp;&amp;
242install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
243cp -r -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
244cp -r -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
245cp -r -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
246
247 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
248 <application>KDE</application>, there is no further configuration
249 necessary. If you use <application>Gnome</application>, you should copy
250 the <filename>*.desktop</filename> files to
251 <filename>/usr/share/applications</filename> with the following
252 commands as the <systemitem class="username">root</systemitem> user:</para>
253
254<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
255cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
256for appl in *.desktop
257do
258 sed -i '/Exec/d' $appl
259 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
260 sed -i '/Icon/d' $appl
261 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
262done &amp;&amp;
263sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
264cp -v *.desktop /usr/share/applications</userinput></screen>
265
266 <para>Finally, if you'd like to edit <application>OpenOffice</application>
267 documents directly from <application>Mozilla</application> or
268 <application>Firefox</application>, create a symbolic link in your
269 plugins directory to
270 <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
271 Additionally, you must enable the plugin from the
272 <parameter>Internet Options</parameter> within any
273 <application>OpenOffice</application> application.</para>
274
275 </sect2>
276
277 <sect2 role="commands">
278 <title>Command Explanations</title>
279
280 <para><parameter>--enable-libart</parameter>: This switch forces the use
281 of libart instead of <application>gpc</application> for polygon
282 clipping.</para>
283
284 <para><parameter>--enable-libsn</parameter>: This switch enables the use
285 of <application>startup-notification</application>.</para>
286
287 <para><parameter>--disable-fontooo</parameter>: Use
288 <application>Fontconfig</application> instead of FontOOo.</para>
289
290 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
291 <application>Gnome Virtual File System</application> libraries. Omit
292 this switch if you have Gnome installed.</para>
293
294 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
295 Vera fonts since they are already included in X Window System
296 Environment.</para>
297
298 <para><parameter>--with-system-*</parameter>: Use the system libraries
299 and programs instead of building the source packages included in the build
300 tree.</para>
301
302 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
303 <application>Mozilla</application> suite.</para>
304
305 <para><parameter>--with-build-version=BLFS</parameter>:
306 Appends "BLFS" to the end of the version string.</para>
307
308 <para><parameter>--with-package-format=native</parameter>: This switch
309 disables the build of <application>RPM</application> packages.</para>
310
311 <para><parameter>--disable-binfilter</parameter>: This switch disables the
312 build of legacy <application>StarOffice-5</application> import
313 filters.</para>
314
315 <para><parameter>--with-firefox</parameter>: Enables the use of
316 <application>Firefox</application> in place of the full
317 <application>Mozilla</application> suite. This will disable the use
318 of a <application>Thunderbird</application> address book as a data
319 source.</para>
320
321 <para><parameter>--disable-cups</parameter>: Disable the use of
322 <application>CUPS</application> for printing.</para>
323
324 <para><parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
325 Makes an install set for the desired language. ENUS is the default.</para>
326
327 <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
328 This switch installs dictionaries for the desired languages. ENUS is
329 the default.</para>
330
331 <para><command>./bootstrap</command>: Build the
332 <application>dmake</application> utility required to complete the
333 build.</para>
334
335 <para><command>dmake</command>: Compile the package.</para>
336
337 <para><command>for appl in *.desktop...</command>: Edit the
338 <filename>*.desktop</filename> files for use with a standard BLFS
339 system.</para>
340
341 </sect2>
342
343 <sect2 role="content">
344 <title>Contents</title>
345
346 <segmentedlist>
347 <segtitle>Installed Programs</segtitle>
348 <segtitle>Installed Libraries</segtitle>
349 <segtitle>Installed Directory</segtitle>
350
351 <seglistitem>
352 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
353 <seg><application>OpenOffice</application> libraries</seg>
354 <seg>/opt/openoffice-&openoffice-version;</seg>
355 </seglistitem>
356 </segmentedlist>
357
358 <variablelist>
359 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
360 <?dbfo list-presentation="list"?>
361 <?dbhtml list-presentation="table"?>
362
363 <varlistentry id="sbase">
364 <term><command>sbase</command></term>
365 <listitem>
366 <para>is a database application.</para>
367 <indexterm zone="openoffice sbase">
368 <primary sortas="b-sbase">sbase</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="scalc">
374 <term><command>scalc</command></term>
375 <listitem>
376 <para>is a spreadsheet application.</para>
377 <indexterm zone="openoffice scalc">
378 <primary sortas="b-scalc">scalc</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="sdraw">
384 <term><command>sdraw</command></term>
385 <listitem>
386 <para>is a drawing application.</para>
387 <indexterm zone="openoffice sdraw">
388 <primary sortas="b-sdraw">sdraw</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
393 <varlistentry id="simpress">
394 <term><command>simpress</command></term>
395 <listitem>
396 <para>is a presentation application.</para>
397 <indexterm zone="openoffice simpress">
398 <primary sortas="b-simpress">simpress</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="smath">
404 <term><command>smath</command></term>
405 <listitem>
406 <para>is a mathematical formula editor.</para>
407 <indexterm zone="openoffice smath">
408 <primary sortas="b-smath">smath</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="soffice">
414 <term><command>soffice</command></term>
415 <listitem>
416 <para>opens a base window with access to all
417 <application>OpenOffice</application> applications.</para>
418 <indexterm zone="openoffice soffice">
419 <primary sortas="b-soffice">soffice</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="spadmin">
425 <term><command>spadmin</command></term>
426 <listitem>
427 <para>is the <application>OpenOffice</application> printer
428 configuration utility.</para>
429 <indexterm zone="openoffice spadmin">
430 <primary sortas="b-spadmin">spadmin</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="swriter">
436 <term><command>swriter</command></term>
437 <listitem>
438 <para>is a word processing application.</para>
439 <indexterm zone="openoffice swriter">
440 <primary sortas="b-swriter">swriter</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
445 </variablelist>
446
447 </sect2>
448
449</sect1>
Note: See TracBrowser for help on using the repository browser.