source: xsoft/suites/openoffice.xml@ 57e87ac2

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

corrected dl location for JDK update 10 (update 11 released), merge to 6.2.x branch

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

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