source: xsoft/suites/openoffice.xml@ fe2443a

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

cleanups in OpenOffice

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

  • Property mode set to 100644
File size: 17.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 </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="libart_lgpl"/>,
129 <xref linkend="libjpeg"/>,
130 <xref linkend="libtiff"/>, and
131 <xref linkend="startup-notification"/>.</para>
132
133 <bridgehead renderas="sect4">Optional</bridgehead>
134 <para><xref linkend="curl"/>,
135 <xref linkend="Linux_PAM"/>,
136 <xref linkend="mozilla"/>,
137<!--
138 or <xref linkend="firefox"/>,
139-->
140 <xref linkend="nas"/>,
141 <ulink url="http://www.webdav.org/neon/">neon-0.25.4</ulink>,
142 <xref linkend="python"/>,
143 <xref linkend="sane"/>, and
144 <xref linkend="unixodbc"/>.</para>
145
146 </sect2>
147
148 <sect2 role="installation">
149 <title>Installation of OpenOffice</title>
150
151 <para>Apply all of the downloaded patches:</para>
152
153<screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
154 do patch -Np1 -i ${PATCH}
155done</userinput></screen>
156
157 <para>Copy the <application>Beanshell</application> TAR ball into the
158 source tree and uncompress it:</para>
159
160<screen><userinput>cp ../bsh-2.0b4.tar.bz2 beanshell/download/ &amp;&amp;
161bzip2 -d beanshell/download/bsh-2.0b4.tar.bz2</userinput></screen>
162
163 <para>If not using the system-installed <application>Mozilla</application>
164 or <application>Firefox</application>, copy the
165 <application>Mozilla</application> source TAR ball into the source
166 tree:</para>
167
168<screen><userinput>cp ../mozilla-1.7.5.tar.gz moz/download/</userinput></screen>
169
170 <para>If you want to optimize the build, edit
171 <filename>solenv/inc/unxlngi6.mk</filename> and add the desired optimization
172 flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
173 problems with <option>-fomit-frame-pointer</option>. The best option
174 is to not use any custom optimizations. The following command removes an
175 incorrect <option>-mcpu</option> option in the above file:</para>
176
177<screen><userinput>sed -i "s:\-mcpu=pentiumpro::" \
178 solenv/inc/unxlngi6.mk</userinput></screen>
179
180<!-- To be removed before final release -->
181
182 <note><para>If building against the system Mozilla<!-- or Firefox-->,
183 a change may be required to the installed headers. The following commands
184 will make the change only if it is necessary.</para></note>
185
186<!-- <para>Mozilla:</para> -->
187<screen role="root"><userinput>cd /usr/include/mozilla-&mozilla-version; &amp;&amp;
188grep "xptinfo_enum_1" xpcom/xptinfo.h || \
189 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
190
191<!-- <para>Firefox:</para>
192<screen role="root"><userinput>cd /usr/include/firefox-&firefox-version; &amp;&amp;
193grep "xptinfo_enum_1" xpcom/xptinfo.h || \
194 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
195-->
196<!-- End TBR -->
197
198 <para>Configure <application>OpenOffice</application> using the following
199 commands:</para>
200
201<!-- To be added after xmlsec_no_mozilla patch header is corrected
202 <note><para>If you intend to use the system-installed
203 <application>Mozilla</application> or
204 <application>Firefox</application>, replace the
205 <parameter> - - enable-build-mozilla</parameter> switch with
206 <parameter>- -with-system-mozilla</parameter>. Additionally for
207 <application>Firefox</application>, add the
208 <parameter>- -with-firefox</parameter> switch. You will also be
209 unable to use a <application>Thunderbird</application> address
210 book as a data source if built against
211 <application>Firefox</application>.</para></note>
212-->
213
214 <note><para>If you intend to use the system
215 <application>Mozilla</application>, replace the
216 <parameter>--enable-build-mozilla</parameter> switch with
217 <parameter>--with-system-mozilla</parameter>.</para></note>
218
219<screen><userinput>cd config_office/ &amp;&amp;
220./configure --prefix=/opt/openoffice-2.0.0 \
221 --enable-libart --enable-libsn \
222 --disable-fontooo --without-fonts \
223 --with-system-stdlibs --with-system-freetype \
224 --with-system-zlib --with-system-jpeg \
225 --with-system-expat --with-system-libxml \
226 --with-system-curl --enable-build-mozilla \
227 --with-build-version=BLFS \
228 --with-package-format=native --disable-binfilter &amp;&amp;
229cd ..</userinput></screen>
230
231 <para><application>OpenOffice</application> fails to compile if
232 <command>umask</command> is set to something exotic. The build can also
233 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
234 variables are set. Use the following commands to change your
235 environment accordingly:</para>
236
237<screen><userinput>umask 0022 &amp;&amp;
238unset LANG LC_ALL</userinput></screen>
239
240 <para>Compile <application>OpenOffice</application> using the following
241 commands:</para>
242
243<screen><userinput>./bootstrap &amp;&amp;
244. LinuxIntelEnv.Set.sh &amp;&amp;
245dmake</userinput></screen>
246
247 <para>Install <application>OpenOffice</application> as the
248 <systemitem class="username">root</systemitem> user with the
249 following commands:</para>
250
251<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
252install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
253cp -a -v openoffice.org2.0 /opt/openoffice-2.0.0</userinput></screen>
254
255 <para>Still as the <systemitem class="username">root</systemitem>
256 user:</para>
257
258<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
259do
260 ln -v -sf /opt/openoffice-2.0.0/program/$appl /usr/bin/$appl
261done</userinput></screen>
262
263 <para>The icons are not installed by default. While still the
264 <systemitem class="username">root</systemitem> user, install the icons
265 with the following commands:</para>
266
267<screen role="root"><userinput>cd ../../../../../../../../sysui/desktop/icons &amp;&amp;
268install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
269cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
270cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
271cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
272
273 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
274 <application>KDE</application>, there is no furthur configuration
275 necessary. If you use <application>Gnome</application>, you should copy
276 the <filename>*.desktop</filename> files to
277 <filename>/usr/share/applications</filename> with the following
278 commands as the <systemitem class="username">root</systemitem> user:</para>
279
280<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
281cd /opt/openoffice-2.0.0/share/xdg/ &amp;&amp;
282for appl in *.desktop
283do
284 sed -i '/Exec/d' $appl
285 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
286 sed -i '/Icon/d' $appl
287 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
288done &amp;&amp;
289sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
290cp -v *.desktop /usr/share/applications</userinput></screen>
291
292 <para>Finally, if you'd like to edit <application>OpenOffice</application>
293 documents directly from <application>Mozilla</application> or
294 <application>Firefox</application>, create a symbolic link in your
295 plugins directory to
296 <filename>/opt/openoffice-2.0.0/program/libnpsoplugin.so</filename>.
297 Additionally, you must enable the plugin from the
298 <parameter>Internet Options</parameter> within any
299 <application>OpenOffice</application> application.</para>
300
301 </sect2>
302
303 <sect2 role="commands">
304 <title>Command Explanations</title>
305
306 <para><parameter>--enable-libart</parameter>: This switch forces the Use
307 of libart instead of <application>gpc</application> for polygon
308 clipping.</para>
309
310 <para><parameter>--enable-libsn</parameter>: This switch enables the use
311 of <application>startup-notification</application>.</para>
312
313 <para><parameter>--disable-fontooo</parameter>: Use
314 <application>Fontconfig</application> instead of FontOOo.</para>
315
316 <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
317 fonts since they are already bundled with
318 <application>X</application>.</para>
319
320 <para><parameter>--with-system-*</parameter>: Use the system libraries
321 and programs instead of building the packagees included in the build
322 tree.</para>
323
324 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
325 <application>Mozilla</application> suite.</para>
326
327 <para><parameter>--with-build-version=BLFS</parameter>:
328 Appends "BLFS" to the end of the version string.</para>
329
330 <para><parameter>--with-package-format=native</parameter>: This switch
331 disables the build of <application>RPM</application> packages.</para>
332
333 <para><parameter>--disable-binfilter</parameter>: This switch disables the
334 build of legacy <application>StarOffice-5</application> import
335 filters.</para>
336
337<!--
338 <para><parameter>- -with-firefox</parameter>: Enables the use of
339 <application>Firefox</application> in place of the full
340 <application>Mozilla</application> suite. This will disable the use
341 of a <application>Thunderbird</application> address book as a data
342 source.</para>
343-->
344
345 <para><parameter>--disable-cups</parameter>: Disable the use of
346 <application>cups</application> for printing.</para>
347
348 <para><parameter>--with-lang=<replaceable>[LANG]</replaceable></parameter>:
349 Makes an install set for the desired language. ENUS is the default.</para>
350
351 <para><parameter>--with-dict=<replaceable>[LANG]</replaceable></parameter>:
352 This switch installs dictionaries for the desired languages. ENUS is
353 the default.</para>
354
355 <para><command>./bootstrap</command>: Build the
356 <application>dmake</application> utility required to complete the
357 build.</para>
358
359 <para><command>dmake</command>: Compile the package.</para>
360
361 <para><command>for appl in *.desktop...</command>: Edit the *.desktop
362 files for use with a standard BLFS system.</para>
363
364 </sect2>
365
366 <sect2 role="content">
367 <title>Contents</title>
368
369 <segmentedlist>
370 <segtitle>Installed Programs</segtitle>
371 <segtitle>Installed Libraries</segtitle>
372 <segtitle>Installed Directory</segtitle>
373
374 <seglistitem>
375 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
376 <seg><application>OpenOffice</application> libraries</seg>
377 <seg>/opt/openoffice-2.0.0</seg>
378 </seglistitem>
379 </segmentedlist>
380
381 <variablelist>
382 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
383 <?dbfo list-presentation="list"?>
384 <?dbhtml list-presentation="table"?>
385
386 <varlistentry id="sbase">
387 <term><command>sbase</command></term>
388 <listitem>
389 <para><application>sbase</application> is a database
390 application.</para>
391 <indexterm zone="openoffice sbase">
392 <primary sortas="b-sbase">sbase</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="scalc">
398 <term><command>scalc</command></term>
399 <listitem>
400 <para><application>scalc</application> is a spreadsheet
401 application.</para>
402 <indexterm zone="openoffice scalc">
403 <primary sortas="b-scalc">scalc</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="sdraw">
409 <term><command>sdraw</command></term>
410 <listitem>
411 <para><application>sdraw</application> is a drawing
412 application.</para>
413 <indexterm zone="openoffice sdraw">
414 <primary sortas="b-sdraw">sdraw</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="simpress">
420 <term><command>simpress</command></term>
421 <listitem>
422 <para><application>simpress</application> is a presentation
423 application.</para>
424 <indexterm zone="openoffice simpress">
425 <primary sortas="b-simpress">simpress</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="smath">
431 <term><command>smath</command></term>
432 <listitem>
433 <para><application>smath</application> is a mathematical formula
434 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><application>soffice</application> opens a base window with
445 access to all <application>OpenOffice</application>
446 applications.</para>
447 <indexterm zone="openoffice soffice">
448 <primary sortas="b-soffice">soffice</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="spadmin">
454 <term><command>spadmin</command></term>
455 <listitem>
456 <para><application>spadmin</application> is the
457 <application>OpenOffice</application> printer configuration
458 utility.</para>
459 <indexterm zone="openoffice spadmin">
460 <primary sortas="b-spadmin">spadmin</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="swriter">
466 <term><command>swriter</command></term>
467 <listitem>
468 <para><application>swriter</application> is a word processing
469 application.</para>
470 <indexterm zone="openoffice swriter">
471 <primary sortas="b-swriter">swriter</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 </variablelist>
477
478 </sect2>
479
480</sect1>
Note: See TracBrowser for help on using the repository browser.