source: xsoft/suites/openoffice.xml@ 24ebcaa8

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 24ebcaa8 was 24ebcaa8, checked in by Randy McMurchy <randy@…>, 17 years ago

Fixed broken download URLs in the NAS, libmikmod, OpenOffice, SANE Backends, ESP Ghostscript and CUPS instructions

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