source: xsoft/suites/openoffice.xml@ 4c34d6e2

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 4c34d6e2 was b4647e21, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Typo fix. Xsoft.

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

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