source: xsoft/suites/openoffice.xml@ 01f09271

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

Updated to OpenOffice-2.0.0

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

  • Property mode set to 100644
File size: 17.8 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.0_fix-1.patch"/>
72 </para>
73 </listitem>
74 <listitem>
75 <para>Optional patch if you wish to use the system freetype:
76 <ulink
77 url="&patch-root;/OOo_&openoffice-version;-freetype-1.patch"/></para>
78 </listitem>
79
80<!-- To be added after verification
81 <listitem>
82 <para>Optional patch if
83 <application>Linux-PAM</application>-&Linux_PAM-version; is not
84 installed: <ulink
85 url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
86 </listitem>
87-->
88
89<!-- Will be added after patch header is corrected.
90 <listitem>
91 <para>Optional patch if building against the system installed
92 <application>Firefox</application>: <ulink
93 url="&patch-root;/OOo_&openoffice-version;-xmlsec_no_mozilla-1.patch"/>
94 </para>
95 </listitem>
96-->
97 <listitem>
98 <para>Required update for use with
99 <application>JDK-&jdk-src-version;</application>. <ulink
100 url="ftp://anduin.linuxfromscratch.org/BLFS/svn/b/bsh-2.0b4-src.tar.bz2"/>
101 </para>
102 </listitem>
103 <listitem>
104 <para>Optional download if not using the system
105 <application>Mozilla</application>
106<!-- or <application>Firefox</application> -->
107 browser. <ulink
108 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="zip"/>,
116 <xref linkend="unzip"/>,
117 <xref linkend="tcsh"/>,
118 <xref linkend="which"/>,
119 <xref linkend="jdk"/>,
120 <xref linkend="apache-ant"/>,
121 <xref linkend="pkgconfig"/>,
122 <xref linkend="perl-xml-parser"/>,
123 <xref linkend="perl-archive-zip"/>,
124 <xref linkend="libidl"/>, and
125 <xref linkend="libxml2"/>.</para>
126
127 <bridgehead renderas="sect4">Recommended</bridgehead>
128 <para><xref linkend="freetype2"/>,
129 <xref linkend="startup-notification"/>,
130 <xref linkend="desktop-file-utils"/>,
131 <xref linkend="libart_lgpl"/>, and
132 <xref linkend="curl"/>,
133 <xref linkend="libjpeg"/>, and
134 <xref linkend="libtiff"/>.</para>
135
136 <bridgehead renderas="sect4">Optional</bridgehead>
137 <para><xref linkend="Linux_PAM"/>,
138 <xref linkend="nas"/>,
139 <xref linkend="python"/>,
140 <ulink url="http://www.webdav.org/neon/">neon-0.25.4</ulink>,
141 <xref linkend="unixodbc"/>,
142 <xref linkend="mozilla"/>, and
143<!-- <xref linkend="mozilla"/> or <xref linkend="firefox"/>, and -->
144 <xref linkend="sane"/>.</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 you have previously installed Mozilla
183<!-- or Firefox, -->
184 a change
185 may be needed to the installed headers. As the root user, use these
186 commands to make the change if needed.</para></note>
187
188<!-- <para>Mozilla:</para> -->
189<screen role="root"><userinput>cd /usr/include/mozilla-&mozilla-version; &amp;&amp;
190grep "xptinfo_enum_1" xpcom/xptinfo.h || \
191 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
192
193<!-- <para>Firefox:</para>
194<screen role="root"><userinput>cd /usr/include/firefox-&firefox-version; &amp;&amp;
195grep "xptinfo_enum_1" xpcom/xptinfo.h || \
196 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
197-->
198<!-- End TBR -->
199
200 <para>Configure <application>OpenOffice</application> using the following
201 commands. You may build install sets for specific languages based on your
202 preferences. Supply a comma separated list to the
203 <envar>--with-lang=</envar> switch. If a particular component is not
204 available in the language of your choice, the default will be US English.
205 If you need other languages, be sure to add <parameter>ENUS</parameter>
206 to the list; otherwise the build will fail:</para>
207
208<!-- To be added after xmlsec_no_mozilla patch header is corrected
209 <note><para>If you intend to use the system-installed
210 <application>Mozilla</application> or
211 <application>Firefox</application>, replace the
212 <parameter> - - enable-build-mozilla</parameter> switch with
213 <parameter>- -with-system-mozilla</parameter>. Additionally for
214 <application>Firefox</application>, add the
215 <parameter>- -with-firefox</parameter> switch. You will also be
216 unable to use a <application>Thunderbird</application> address
217 book as a data source if built against
218 <application>Firefox</application>.</para></note>
219-->
220
221 <note><para>If you intend to use the system-installed
222 <application>Mozilla</application>, replace the
223 <parameter>--enable-build-mozilla</parameter> switch with
224 <parameter>--with-system-mozilla</parameter>.</para></note>
225
226<screen><userinput>cd config_office/ &amp;&amp;
227./configure --prefix=/opt/openoffice-2.0.0 \
228 --enable-libart --enable-libsn \
229 --disable-fontooo --without-fonts \
230 --with-system-stdlibs --with-system-freetype \
231 --with-system-zlib --with-system-jpeg \
232 --with-system-expat --with-system-libxml \
233 --with-system-curl --enable-build-mozilla \
234 --with-build-version=BLFS \
235 --with-package-format=native --disable-binfilter &amp;&amp;
236cd ..</userinput></screen>
237
238 <para><application>OpenOffice</application> fails to compile if
239 <command>umask</command> is set to something exotic. The build can also
240 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
241 variables are set. Use the following commands to change your
242 environment accordingly:</para>
243
244<screen><userinput>umask 0022 &amp;&amp;
245unset LANG LC_ALL</userinput></screen>
246
247 <para>Compile <application>OpenOffice</application> using the following
248 commands:</para>
249
250<screen><userinput>./bootstrap &amp;&amp;
251. LinuxIntelEnv.Set.sh &amp;&amp;
252dmake</userinput></screen>
253
254 <para>Install <application>OpenOffice</application> as the
255 <systemitem class="username">root</systemitem> user with the
256 following commands:</para>
257
258<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
259install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
260cp -a openoffice.org2.0 /opt/openoffice-2.0.0</userinput></screen>
261
262 <para>Still as the <systemitem class="username">root</systemitem>
263 user:</para>
264
265<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
266do
267 ln -v -sf /opt/openoffice-2.0.0/program/$appl /usr/bin/$appl
268done</userinput></screen>
269
270 <para>The icons are not installed by default. While still the
271 <systemitem class="username">root</systemitem> user, install the icons
272 with the following commands:</para>
273
274<screen role="root"><userinput>cd ../../../../../../../../sysui/desktop/icons &amp;&amp;
275install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
276cp -a HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
277cp -a hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
278cp -a locolor/*x* /usr/share/icons/locolor</userinput></screen>
279
280 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
281 <application>KDE</application>, there is no furthur configuration
282 necessary. If you use <application>Gnome</application>, you should copy
283 the <filename>*.desktop</filename> files to
284 <filename>/usr/share/applications</filename> with the following
285 commands as the <systemitem class="username">root</systemitem> user:</para>
286
287<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
288cd /opt/openoffice-2.0.0/share/xdg/ &amp;&amp;
289for appl in *.desktop
290do
291 sed -i '/Exec/d' $appl
292 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
293 sed -i '/Icon/d' $appl
294 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
295done &amp;&amp;
296sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
297cp *.desktop /usr/share/applications</userinput></screen>
298
299 <para>Finally, if you'd like to edit <application>OpenOffice</application>
300 documents directly from <application>Mozilla</application> or
301 <application>Firefox</application>, create a symbolic link in your
302 plugins directory to
303 <filename>/opt/openoffice-2.0.0/program/libnpsoplugin.so</filename>.
304 Additionally, you must enable the plugin from the
305 <parameter>Internet Options</parameter> within any
306 <application>OpenOffice</application> application.</para>
307
308 </sect2>
309
310 <sect2 role="commands">
311 <title>Command Explanations</title>
312
313 <para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
314 polygon clipping.</para>
315
316 <para><parameter>--enable-libsn</parameter>: Use
317 <application>startup-notification</application>.</para>
318
319 <para><parameter>--disable-fontooo</parameter>: Use
320 <application>Fontconfig</application> instead of FontOOo.</para>
321
322 <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
323 fonts since they are already bundled with
324 <application>X</application>.</para>
325
326 <para><parameter>--with-system-*</parameter>: Use the system libraries
327 and programs instead of building the packagees 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>: diables the
337 build of <application>RPM</application> packages.</para>
338
339 <para><parameter>--disable-binfilter</parameter>: disables the build of
340 legacy <application>StarOffice-5</application> import 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>--with-lang=<replaceable>[LANG]</replaceable></parameter>:
349 Make install set for the desired language. ENUS is the default.</para>
350
351 <para><parameter>--with-dict=<replaceable>[LANG]</replaceable></parameter>:
352 Install dictionaries for the desired language. ENUS is the default.</para>
353
354 <para><command>./bootstrap</command>: Build the
355 <application>dmake</application> utility required to complete the
356 build.</para>
357
358 <para><command>dmake</command>: Compile the package.</para>
359
360 <para><command>for appl in *.desktop...</command>: Edit the *.desktop
361 files for use with a standard BLFS system.</para>
362
363 </sect2>
364
365 <sect2 role="content">
366 <title>Contents</title>
367
368 <segmentedlist>
369 <segtitle>Installed Programs</segtitle>
370 <segtitle>Installed Libraries</segtitle>
371 <segtitle>Installed Directory</segtitle>
372
373 <seglistitem>
374 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
375 <seg><application>OpenOffice</application> libraries</seg>
376 <seg>/opt/openoffice-2.0.0</seg>
377 </seglistitem>
378 </segmentedlist>
379
380 <variablelist>
381 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
382 <?dbfo list-presentation="list"?>
383 <?dbhtml list-presentation="table"?>
384
385 <varlistentry id="sbase">
386 <term><command>sbase</command></term>
387 <listitem>
388 <para>database application.</para>
389 <indexterm zone="openoffice sbase">
390 <primary sortas="b-sbase">sbase</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="scalc">
396 <term><command>scalc</command></term>
397 <listitem>
398 <para>spreadsheet application.</para>
399 <indexterm zone="openoffice scalc">
400 <primary sortas="b-scalc">scalc</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 <varlistentry id="sdraw">
406 <term><command>sdraw</command></term>
407 <listitem>
408 <para>drawing application.</para>
409 <indexterm zone="openoffice sdraw">
410 <primary sortas="b-sdraw">sdraw</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="simpress">
416 <term><command>simpress</command></term>
417 <listitem>
418 <para>presentation application.</para>
419 <indexterm zone="openoffice simpress">
420 <primary sortas="b-simpress">simpress</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="smath">
426 <term><command>smath</command></term>
427 <listitem>
428 <para>mathematical formula editor.</para>
429 <indexterm zone="openoffice smath">
430 <primary sortas="b-smath">smath</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="soffice">
436 <term><command>soffice</command></term>
437 <listitem>
438 <para>opens a base window with access to all
439 <application>OpenOffice</application> applications.</para>
440 <indexterm zone="openoffice soffice">
441 <primary sortas="b-soffice">soffice</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="spadmin">
447 <term><command>spadmin</command></term>
448 <listitem>
449 <para><application>OpenOffice</application> Printer Configuration.
450 You may need to run this if you are having any printing
451 problems.</para>
452 <indexterm zone="openoffice spadmin">
453 <primary sortas="b-spadmin">spadmin</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="swriter">
459 <term><command>swriter</command></term>
460 <listitem>
461 <para>word processing application.</para>
462 <indexterm zone="openoffice swriter">
463 <primary sortas="b-swriter">swriter</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 </variablelist>
469
470 </sect2>
471
472</sect1>
Note: See TracBrowser for help on using the repository browser.