source: xsoft/suites/openoffice.xml@ 91cb43ad

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 91cb43ad was f922e62, checked in by DJ Lucas <dj@…>, 19 years ago

OpenOffice updates

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

  • Property mode set to 100644
File size: 18.2 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;: <ulink
61 url="&patch-root;/OOo_&openoffice-version;-gcc4-1.patch"/>
62 </para>
63 </listitem>
64 <listitem>
65 <para>Required patch for use with NPTL: <ulink
66 url="&patch-root;/OOo_&openoffice-version;-nptl-1.patch"/></para>
67 </listitem>
68 <listitem>
69 <para>Required patch for use with
70 <application>JDK</application>-&jdk-src-version;: <ulink
71 url="&patch-root;/OOo_&openoffice-version;-jdk_1.5-1.patch"/>
72 </para>
73 </listitem>
74 <listitem>
75 <para>Required patch for use with pkgconfig-0.17 and greater:
76 <ulink
77 url="&patch-root;/OOo_&openoffice-version;-pkgconfig_0.17-1.patch"/></para>
78 </listitem>
79
80 <listitem>
81 <para>Optional patch if
82 <application>Linux-PAM</application>-&linux-pam-version; is not
83 installed: <ulink
84 url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
85 </listitem>
86
87<!-- Will be added after patch header is corrected.
88 <listitem>
89 <para>Optional patch if building against the system installed
90 <application>Firefox</application>: <ulink
91 url="&patch-root;/OOo_&openoffice-version;-xmlsec_no_mozilla-1.patch"/>
92 </para>
93 </listitem>
94-->
95 <listitem>
96 <para>Required update for use with
97 <application>JDK-&jdk-src-version;</application>. <ulink
98 url="ftp://anduin.linuxfromscratch.org/BLFS/svn/b/bsh-2.0b4-src.tar.bz2"/>
99 </para>
100 </listitem>
101 <listitem>
102 <para>Optional download if not using the system
103 <application>Mozilla</application>
104<!-- or <application>Firefox</application> -->
105 browser. <ulink
106 url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
107 </listitem>
108 </itemizedlist>
109
110 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
111
112 <bridgehead renderas="sect4">Required</bridgehead>
113 <para><xref linkend="apache-ant"/>,
114 <xref linkend="libidl"/>,
115 <xref linkend="libxml2"/>,
116 <application>Perl Modules</application>
117 <xref linkend="perl-xml-parser"/> and
118 <xref linkend="perl-archive-zip"/>,
119 <xref linkend="tcsh"/>,
120 <xref linkend="unzip"/>,
121 <xref linkend="which"/>, and
122 <xref linkend="zip"/>.</para>
123
124 <bridgehead renderas="sect4">Recommended</bridgehead>
125 <para><xref linkend="cups"/>,
126 <xref linkend="desktop-file-utils"/>,
127 <xref linkend="freetype2"/>,
128 <xref linkend="gtk2"/>,
129 <xref linkend="gnome-vfs"/>,
130 <xref linkend="libart_lgpl"/>,
131 <xref linkend="libjpeg"/>,
132 <xref linkend="libtiff"/>, and
133 <xref linkend="startup-notification"/>.</para>
134
135 <bridgehead renderas="sect4">Optional</bridgehead>
136 <para><xref linkend="curl"/>,
137 <xref linkend="linux-pam"/>,
138 <xref linkend="mozilla"/>,
139<!--
140 or <xref linkend="firefox"/>,
141-->
142 <xref linkend="nas"/>,
143 <ulink url="http://www.webdav.org/neon/">neon-0.25.4</ulink>,
144 <xref linkend="python"/>,
145 <xref linkend="sane"/>, and
146 <xref linkend="unixodbc"/>.</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>Copy the <application>Beanshell</application> TAR ball into the
160 source tree and uncompress it:</para>
161
162<screen><userinput>cp ../bsh-2.0b4-src.tar.bz2 beanshell/download/ &amp;&amp;
163bzip2 -d beanshell/download/bsh-2.0b4-src.tar.bz2</userinput></screen>
164
165 <para>If not using the system-installed <application>Mozilla</application>
166 or <application>Firefox</application>, copy the
167 <application>Mozilla</application> source TAR ball into the source
168 tree:</para>
169
170<screen><userinput>cp ../mozilla-source-1.7.5.tar.gz moz/download/</userinput></screen>
171
172 <para>If you want to optimize the build, edit the appropriate makefile in
173 <filename>solenv/inc/</filename> and add the desired optimization
174 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
175 specific, for instance edit <filename>solenv/inc/unxlngi6.mk</filename>
176 for i686. Some users have reported problems with
177 <option>-fomit-frame-pointer</option>. The best option is to not use any
178 custom optimizations. The following command removes an incorrect
179 <option>-mcpu</option> option in several of the makefiles:</para>
180
181<screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
182
183<!-- To be removed before final release -->
184
185 <note><para>If building against the system Mozilla<!-- or Firefox-->,
186 a change may be required to the installed headers. The following commands
187 will make the change only if it is necessary.</para></note>
188
189<!-- <para>Mozilla:</para> -->
190<screen role="root"><userinput>cd /usr/include/mozilla-&mozilla-version; &amp;&amp;
191grep "xptinfo_enum_1" xpcom/xptinfo.h || \
192 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
193
194<!-- <para>Firefox:</para>
195<screen role="root"><userinput>cd /usr/include/firefox-&firefox-version; &amp;&amp;
196grep "xptinfo_enum_1" xpcom/xptinfo.h || \
197 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
198-->
199<!-- End TBR -->
200
201 <para>Configure <application>OpenOffice</application> using the following
202 commands:</para>
203
204<!-- To be added after xmlsec_no_mozilla patch header is corrected
205 <note><para>If you intend to use the system-installed
206 <application>Mozilla</application> or
207 <application>Firefox</application>, replace the
208 <parameter> - - enable-build-mozilla</parameter> switch with
209 <parameter>- -with-system-mozilla</parameter>. Additionally for
210 <application>Firefox</application>, add the
211 <parameter>- -with-firefox</parameter> switch. You will also be
212 unable to use a <application>Thunderbird</application> address
213 book as a data source if built against
214 <application>Firefox</application>.</para></note>
215-->
216
217 <note><para>If you intend to use the system
218 <application>Mozilla</application>, replace the
219 <parameter>--enable-build-mozilla</parameter> switch with
220 <parameter>--with-system-mozilla</parameter>.</para></note>
221
222<screen><userinput>cd config_office/ &amp;&amp;
223./configure --prefix=/opt/openoffice-2.0.0 \
224 --enable-libart --enable-libsn \
225 --disable-fontooo --without-fonts \
226 --with-system-stdlibs --with-system-freetype \
227 --with-system-zlib --with-system-jpeg \
228 --with-system-expat --with-system-libxml \
229 --with-system-curl --enable-build-mozilla \
230 --with-build-version=BLFS \
231 --with-package-format=native --disable-binfilter &amp;&amp;
232cd ..</userinput></screen>
233
234 <para><application>OpenOffice</application> fails to compile if
235 <command>umask</command> is set to something exotic. The build can also
236 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
237 variables are set. Use the following commands to change your
238 environment accordingly:</para>
239
240<screen><userinput>umask 0022 &amp;&amp;
241unset LANG LC_ALL</userinput></screen>
242
243 <para>Compile <application>OpenOffice</application> using the following
244 commands:</para>
245
246<screen><userinput>./bootstrap &amp;&amp;
247. LinuxIntelEnv.Set.sh &amp;&amp;
248dmake</userinput></screen>
249
250 <para>Install <application>OpenOffice</application> as the
251 <systemitem class="username">root</systemitem> user with the
252 following commands:</para>
253
254<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
255install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
256cp -a -v openoffice.org2.0 /opt/openoffice-2.0.0</userinput></screen>
257
258 <para>Still as the <systemitem class="username">root</systemitem>
259 user:</para>
260
261<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
262do
263 ln -v -sf /opt/openoffice-2.0.0/program/$appl /usr/bin/$appl
264done</userinput></screen>
265
266 <para>The icons are not installed by default. While still the
267 <systemitem class="username">root</systemitem> user, install the icons
268 with the following commands:</para>
269
270<screen role="root"><userinput>cd ../../../../../../../../sysui/desktop/icons &amp;&amp;
271install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
272cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
273cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
274cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
275
276 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
277 <application>KDE</application>, there is no furthur configuration
278 necessary. If you use <application>Gnome</application>, you should copy
279 the <filename>*.desktop</filename> files to
280 <filename>/usr/share/applications</filename> with the following
281 commands as the <systemitem class="username">root</systemitem> user:</para>
282
283<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
284cd /opt/openoffice-2.0.0/share/xdg/ &amp;&amp;
285for appl in *.desktop
286do
287 sed -i '/Exec/d' $appl
288 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
289 sed -i '/Icon/d' $appl
290 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
291done &amp;&amp;
292sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
293cp -v *.desktop /usr/share/applications</userinput></screen>
294
295 <para>Finally, if you'd like to edit <application>OpenOffice</application>
296 documents directly from <application>Mozilla</application> or
297 <application>Firefox</application>, create a symbolic link in your
298 plugins directory to
299 <filename>/opt/openoffice-2.0.0/program/libnpsoplugin.so</filename>.
300 Additionally, you must enable the plugin from the
301 <parameter>Internet Options</parameter> within any
302 <application>OpenOffice</application> application.</para>
303
304 </sect2>
305
306 <sect2 role="commands">
307 <title>Command Explanations</title>
308
309 <para><parameter>--enable-libart</parameter>: This switch forces the Use
310 of libart instead of <application>gpc</application> for polygon
311 clipping.</para>
312
313 <para><parameter>--enable-libsn</parameter>: This switch enables the use
314 of <application>startup-notification</application>.</para>
315
316 <para><parameter>--disable-fontooo</parameter>: Use
317 <application>Fontconfig</application> instead of FontOOo.</para>
318
319 <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
320 fonts since they are already bundled with
321 <application>X</application>.</para>
322
323 <para><parameter>--with-system-*</parameter>: Use the system libraries
324 and programs instead of building the packagees included in the build
325 tree.</para>
326
327 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
328 <application>Mozilla</application> suite.</para>
329
330 <para><parameter>--with-build-version=BLFS</parameter>:
331 Appends "BLFS" to the end of the version string.</para>
332
333 <para><parameter>--with-package-format=native</parameter>: This switch
334 disables the build of <application>RPM</application> packages.</para>
335
336 <para><parameter>--disable-binfilter</parameter>: This switch disables the
337 build of legacy <application>StarOffice-5</application> import
338 filters.</para>
339
340<!--
341 <para><parameter>- -with-firefox</parameter>: Enables the use of
342 <application>Firefox</application> in place of the full
343 <application>Mozilla</application> suite. This will disable the use
344 of a <application>Thunderbird</application> address book as a data
345 source.</para>
346-->
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.