source: xsoft/suites/openoffice.xml@ b56f06c3

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 b56f06c3 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

  • Property mode set to 100644
File size: 19.1 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 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY openoffice-download-http "http://download.openoffice.org/&openoffice-version;/source.html">
20 <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src.tar.gz">
21 <!ENTITY openoffice-md5sum "1b50c8c4c1002edbc4993060ca05ca8f">
22 <!ENTITY openoffice-size "280 MB">
23 <!ENTITY openoffice-buildsize "5.8 GB">
24 <!ENTITY openoffice-time "117 SBU">
25]>
26
27<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
28 <?dbhtml filename="openoffice.html" ?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 </sect1info>
34
35 <title>OpenOffice-&openoffice-version;</title>
36
37 <indexterm zone="openoffice">
38 <primary sortas="a-OpenOffice">OpenOffice</primary>
39 </indexterm>
40
41 <sect2 role="package">
42 <title>Introduction to OpenOffice</title>
43
44 <para><application>OpenOffice</application> is an office suite, the
45 open source sibling of <application>StarOffice</application>.</para>
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>Download (HTTP): <ulink url="&openoffice-download-http;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download (FTP): <ulink url="&openoffice-download-ftp;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download MD5 sum: &openoffice-md5sum;</para>
57 </listitem>
58 <listitem>
59 <para>Download size: &openoffice-size;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated disk space required: &openoffice-buildsize;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated build time: &openoffice-time;</para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
70 <itemizedlist spacing='compact'>
71
72 <listitem>
73 <para>Required patch for use with
74 <application>JDK</application>-&jdk-src-version;:
75 <ulink url="&patch-root;/OOo_&openoffice-version;-jdk_1.5-1.patch"/>
76 </para>
77 </listitem>
78
79 <listitem>
80 <para>Required patch to fix broken printing support during
81 installation:
82 <ulink url="&patch-root;/OOo_&openoffice-version;-print_fix-1.patch"/>
83 </para>
84 </listitem>
85
86 <listitem>
87 <para>Optional patch if
88 <application>Linux-PAM</application>-&linux-pam-version; is not
89 installed:
90 <ulink url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
91 </listitem>
92
93 <listitem>
94 <para>Optional patch if building against
95 <application>Xorg</application>:
96 <ulink url="&patch-root;/OOo_&openoffice-version;-xauth-1.patch"/>
97 </para>
98 </listitem>
99
100 <listitem>
101 <para>Optional patch if building against the system-installed
102 Mozilla products (<application>NSS</application>,
103 <application>Firefox</application>, or
104 <application>Seamonkey</application>):
105 <ulink url="&patch-root;/OOo_&openoffice-version;-system_mozilla_fixes-2.patch"/>
106 </para>
107 </listitem>
108
109 <listitem>
110 <para>Required update for use with
111 <application>JDK-&jdk-src-version;</application>:
112 <ulink url="&sources-anduin-ftp;/b/bsh-2.0b4-src.tar.gz"/>
113 </para>
114 </listitem>
115 <listitem>
116 <para>Optional download if not using the system
117 <application>Mozilla</application> or
118 <application>Firefox</application> browser:
119 <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
120 </listitem>
121 </itemizedlist>
122
123 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
124
125 <bridgehead renderas="sect4">Required</bridgehead>
126 <para role="required"><xref linkend="apache-ant"/>,
127 <xref linkend="gtk2"/>,
128 <xref linkend="libidl"/>,
129 <xref linkend="libxml2"/>,
130 <application>Perl Modules</application>
131 <xref linkend="perl-xml-parser"/> and
132 <xref linkend="perl-archive-zip"/>,
133 <xref linkend="tcsh"/>,
134 <xref linkend="unzip"/>,
135 <xref linkend="which"/>, and
136 <xref linkend="zip"/></para>
137
138 <bridgehead renderas="sect4">Recommended</bridgehead>
139 <para role="recommended"><xref linkend="libart_lgpl"/></para>
140
141 <bridgehead renderas="sect4">Optional</bridgehead>
142 <para role="optional"><ulink
143 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
144 <ulink url="http://boost.sourceforge.net/">boost</ulink>,
145 <xref linkend="cups"/>,
146 <xref linkend="curl"/>,
147 <!-- <xref linkend="db"/>, THIS IS CURRENTLY BROKEN! Internal version is
148 4.2.x, just too different. Using the system db (which must be rebuilt
149 with java bindings) results in a segfault of javac and gcj because of
150 xalan caching leading to OOM killing the process. Experimental patches
151 exist, but require that libxslt is used in place of xalan....big change,
152 not quite ready for the book. -->
153 <xref linkend="desktop-file-utils"/>,
154 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
155 <xref linkend="evolution"/>,
156 <xref linkend="gnome-vfs"/>,
157 <ulink url="http://www.cs.man.ac.uk/~toby/alan/software/">GPC</ulink>,
158 <xref linkend="kde"/>,
159 <xref linkend="libjpeg"/>,
160 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
161 <xref linkend="libtiff"/>,
162 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
163 <xref linkend="linux-pam"/>,
164 <xref linkend="seamonkey"/> (must be built against the system
165 <xref linkend="nss"/>) or <xref linkend="firefox"/> (with ldap support),
166 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
167 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
168 <xref linkend="nas"/>,
169 <ulink url="http://www.webdav.org/neon/">neon</ulink>,
170 <xref linkend="openldap"/>,
171 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
172 <xref linkend="python"/>,
173 <ulink url="http://www.gingerall.com/charlie/ga/xml/p_sab.xml">Sablotron</ulink>,
174 <xref linkend="sane"/>,
175 <xref linkend="startup-notification"/>,
176 <ulink url="http://sourceforge.net/projects/stlport/">STLPort</ulink>, and
177 <xref linkend="unixodbc"/></para>
178
179 <para condition="html" role="usernotes">User Notes:
180 <ulink url="&blfs-wiki;/openoffice"/></para>
181
182 </sect2>
183
184 <sect2 role="installation">
185 <title>Installation of OpenOffice</title>
186
187 <para>Apply all of the downloaded patches:</para>
188
189<screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
190 do patch -Np1 -i ${PATCH}
191done</userinput></screen>
192
193 <para>Copy the <application>Beanshell</application> tarball into the
194 source tree:</para>
195
196<screen><userinput>cp ../bsh-2.0b4-src.tar.gz beanshell/download/</userinput></screen>
197
198 <para>If not using the system-installed <application>Mozilla</application>
199 or <application>Firefox</application>, copy the
200 <application>Mozilla</application> source tarball into the source
201 tree:</para>
202
203<screen><userinput>cp ../mozilla-source-1.7.5.tar.gz moz/download/</userinput></screen>
204
205 <para>If you want to optimize the build, edit the appropriate makefile in
206 <filename>solenv/inc/</filename> and add the desired optimization
207 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
208 specific, for instance edit <filename>solenv/inc/unxlngi6.mk</filename>
209 for i686. Some users have reported problems with
210 <option>-fomit-frame-pointer</option>. The best option is to not use any
211 custom optimizations. The following command removes an incorrect
212 <option>-mcpu</option> option in several of the makefiles:</para>
213
214<screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
215
216 <para>Configure <application>OpenOffice</application> using the following
217 commands:</para>
218
219 <note><para>Because of the complexity of the
220 <application>OpenOffice</application> build system, it is not possible to
221 provide generic build instructions for all systems. You should review
222 the output of <command>config_office/configure --help</command> and take
223 advantage of any system installed programs and libraries available using
224 the <parameter>--enable</parameter>, <parameter>--disable</parameter>, and
225 <parameter>--with-system-*</parameter> parameters.</para></note>
226
227 <warning><para>Do not use the <parameter>--with-system-db</parameter>
228 switch. The <application>BerkeleyDB</application> that is installed with
229 LFS is too new for this version of
230 <application>OpenOffice</application>.</para></warning>
231
232<screen><userinput>cd config_office/ &amp;&amp;
233autoreconf &amp;&amp;
234./configure --prefix=/opt/openoffice-&openoffice-version; \
235 --enable-libart --disable-fontooo --disable-gnome-vfs \
236 --without-fonts --with-system-stdlibs --with-system-freetype \
237 --with-system-expat --with-system-libxml --with-system-zlib \
238 --enable-build-mozilla --with-build-version=BLFS \
239 --with-package-format=native --disable-binfilter &amp;&amp;
240cd ..</userinput></screen>
241
242 <para><application>OpenOffice</application> fails to compile if
243 <command>umask</command> is set to something exotic. The build can also
244 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
245 variables are set. Use the following commands to change your
246 environment accordingly:</para>
247
248<screen><userinput>umask 0022 &amp;&amp;
249unset LANG LC_ALL</userinput></screen>
250
251 <para>Compile <application>OpenOffice</application> using the following
252 commands:</para>
253
254<screen><userinput>./bootstrap &amp;&amp;
255. LinuxIntelEnv.Set.sh &amp;&amp;
256dmake</userinput></screen>
257
258 <para>Install <application>OpenOffice</application> as the
259 <systemitem class="username">root</systemitem> user with the
260 following commands:</para>
261
262<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
263native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
264cp -a -v openoffice.org2.0 /opt/openoffice-&openoffice-version;</userinput></screen>
265
266 <para>Still as the <systemitem class="username">root</systemitem>
267 user:</para>
268
269<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
270do
271 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
272done</userinput></screen>
273
274 <para>The icons are not installed by default. While still the
275 <systemitem class="username">root</systemitem> user, install the icons
276 with the following commands:</para>
277
278<screen role="root"><userinput>cd ../../../../../../../../../sysui/desktop/icons &amp;&amp;
279install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
280cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
281cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
282cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
283
284 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
285 <application>KDE</application>, there is no further configuration
286 necessary. If you use <application>Gnome</application>, you should copy
287 the <filename>*.desktop</filename> files to
288 <filename>/usr/share/applications</filename> with the following
289 commands as the <systemitem class="username">root</systemitem> user:</para>
290
291<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
292cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
293for appl in *.desktop
294do
295 sed -i '/Exec/d' $appl
296 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
297 sed -i '/Icon/d' $appl
298 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
299done &amp;&amp;
300sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
301cp -v *.desktop /usr/share/applications</userinput></screen>
302
303 <para>Finally, if you'd like to edit <application>OpenOffice</application>
304 documents directly from <application>Mozilla</application> or
305 <application>Firefox</application>, create a symbolic link in your
306 plugins directory to
307 <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
308 Additionally, you must enable the plugin from the
309 <parameter>Internet Options</parameter> within any
310 <application>OpenOffice</application> application.</para>
311
312 </sect2>
313
314 <sect2 role="commands">
315 <title>Command Explanations</title>
316
317 <para><parameter>--enable-libart</parameter>: This switch forces the use
318 of libart instead of <application>gpc</application> for polygon
319 clipping.</para>
320
321 <para><parameter>--enable-libsn</parameter>: This switch enables the use
322 of <application>startup-notification</application>.</para>
323
324 <para><parameter>--disable-fontooo</parameter>: Use
325 <application>Fontconfig</application> instead of FontOOo.</para>
326
327 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
328 <application>Gnome Virtual File System</application> libraries. Omit
329 this switch if you have Gnome installed.</para>
330
331 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
332 Vera fonts since they are already included in X Window System
333 Environment.</para>
334
335 <para><parameter>--with-system-*</parameter>: Use the system libraries
336 and programs instead of building the source packages included in the build
337 tree.</para>
338
339 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
340 <application>Mozilla</application> suite.</para>
341
342 <para><parameter>--with-build-version=BLFS</parameter>:
343 Appends "BLFS" to the end of the version string.</para>
344
345 <para><parameter>--with-package-format=native</parameter>: This switch
346 disables the build of <application>RPM</application> packages.</para>
347
348 <para><parameter>--disable-binfilter</parameter>: This switch disables the
349 build of legacy <application>StarOffice-5</application> import
350 filters.</para>
351
352 <para><parameter>--with-firefox</parameter>: Enables the use of
353 <application>Firefox</application> in place of the full
354 <application>Mozilla</application> suite. This will disable the use
355 of a <application>Thunderbird</application> address book as a data
356 source.</para>
357
358 <para><parameter>--disable-cups</parameter>: Disable the use of
359 <application>CUPS</application> for printing.</para>
360
361 <para><parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
362 Makes an install set for the desired language. ENUS is the default.</para>
363
364 <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
365 This switch installs dictionaries for the desired languages. ENUS is
366 the default.</para>
367
368 <para><command>./bootstrap</command>: Build the
369 <application>dmake</application> utility required to complete the
370 build.</para>
371
372 <para><command>dmake</command>: Compile the package.</para>
373
374 <para><command>for appl in *.desktop...</command>: Edit the
375 <filename>*.desktop</filename> files for use with a standard BLFS
376 system.</para>
377
378 </sect2>
379
380 <sect2 role="content">
381 <title>Contents</title>
382
383 <segmentedlist>
384 <segtitle>Installed Programs</segtitle>
385 <segtitle>Installed Libraries</segtitle>
386 <segtitle>Installed Directory</segtitle>
387
388 <seglistitem>
389 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
390 <seg><application>OpenOffice</application> libraries</seg>
391 <seg>/opt/openoffice-&openoffice-version;</seg>
392 </seglistitem>
393 </segmentedlist>
394
395 <variablelist>
396 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
397 <?dbfo list-presentation="list"?>
398 <?dbhtml list-presentation="table"?>
399
400 <varlistentry id="sbase">
401 <term><command>sbase</command></term>
402 <listitem>
403 <para>is a database application.</para>
404 <indexterm zone="openoffice sbase">
405 <primary sortas="b-sbase">sbase</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="scalc">
411 <term><command>scalc</command></term>
412 <listitem>
413 <para>is a spreadsheet application.</para>
414 <indexterm zone="openoffice scalc">
415 <primary sortas="b-scalc">scalc</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
419
420 <varlistentry id="sdraw">
421 <term><command>sdraw</command></term>
422 <listitem>
423 <para>is a drawing 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>is a presentation application.</para>
434 <indexterm zone="openoffice simpress">
435 <primary sortas="b-simpress">simpress</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="smath">
441 <term><command>smath</command></term>
442 <listitem>
443 <para>is a mathematical formula editor.</para>
444 <indexterm zone="openoffice smath">
445 <primary sortas="b-smath">smath</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="soffice">
451 <term><command>soffice</command></term>
452 <listitem>
453 <para>opens a base window with access to all
454 <application>OpenOffice</application> applications.</para>
455 <indexterm zone="openoffice soffice">
456 <primary sortas="b-soffice">soffice</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="spadmin">
462 <term><command>spadmin</command></term>
463 <listitem>
464 <para>is the <application>OpenOffice</application> printer
465 configuration utility.</para>
466 <indexterm zone="openoffice spadmin">
467 <primary sortas="b-spadmin">spadmin</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
471
472 <varlistentry id="swriter">
473 <term><command>swriter</command></term>
474 <listitem>
475 <para>is a word processing 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.