source: xsoft/suites/openoffice.xml@ 76a39aa

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 76a39aa was a098628, checked in by DJ Lucas <dj@…>, 19 years ago

complete openoffice instructions

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

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