source: xsoft/suites/openoffice.xml@ 8d2ba562

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 8d2ba562 was 8d2ba562, checked in by Dan Nichilson <dnicholson@…>, 18 years ago

Fixed typo in OOo bsh command

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

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