source: xsoft/suites/openoffice.xml@ efbbeb9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 efbbeb9 was efbbeb9, checked in by DJ Lucas <dj@…>, 19 years ago

fixed typo

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

  • Property mode set to 100644
File size: 12.7 KB
RevLine 
[87ba6cd5]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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">
[4467c5b]8 <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_source.tar.gz">
[034b8c8]9 <!ENTITY openoffice-md5sum "20c10db97865ae4c51dc827d668b8939">
[4467c5b]10 <!ENTITY openoffice-size "214 MB">
11 <!ENTITY openoffice-buildsize "3.1 GB">
12 <!ENTITY openoffice-time "75 SBU">
[87ba6cd5]13]>
14
[5342913]15<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
[a0f03b0]16<sect1info>
[14a732e]17
[5cd0959d]18<othername>$LastChangedBy$</othername>
19<date>$Date$</date>
[14a732e]20
[a0f03b0]21</sect1info>
[14a732e]22
[6a1f1202]23<?dbhtml filename="openoffice.html" ?>
[5342913]24<title>OpenOffice-&openoffice-version;</title>
[f45b1953]25
[87ba6cd5]26<sect2>
27<title>Introduction to <application>OpenOffice</application></title>
28
[4467c5b]29<para><application>OpenOffice</application> is an office suite, the
30open source sibling of <application>StarOffice</application>.</para>
[87ba6cd5]31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
[28629da4]34<listitem><para>Download Mirrors (HTTP): <ulink
[87ba6cd5]35url="&openoffice-download-http;"/></para></listitem>
36<listitem><para>Download (FTP): <ulink
37url="&openoffice-download-ftp;"/></para></listitem>
[034b8c8]38<listitem><para>Download MD5 sum: &openoffice-md5sum;</para></listitem>
[28629da4]39<listitem><para>Download size: &openoffice-size;
40(additional 11-13 MB for localized help content file)</para></listitem>
[87ba6cd5]41<listitem><para>Estimated Disk space required:
[28629da4]42&openoffice-buildsize; (more if using localized help content)</para></listitem>
[87ba6cd5]43<listitem><para>Estimated build time:
[28629da4]44&openoffice-time; (longer if using localized help content)</para></listitem>
[87ba6cd5]45</itemizedlist>
46</sect3>
47
48<sect3><title>Additional downloads</title>
49<itemizedlist spacing='compact'>
[2dfcd1d]50
[4467c5b]51<listitem><para>Required patch for gcc-&gcc3-version;: <ulink
52url="&patch-root;/openoffice-&openoffice-version;-gcc33-1.patch"/></para>
[2dfcd1d]53</listitem>
54
[4467c5b]55<listitem><para>Required patch for use with NPTL: <ulink
56url="&patch-root;/openoffice-&openoffice-version;-nptl-1.patch"/></para>
[2dfcd1d]57</listitem>
58
[28629da4]59<listitem><para>Required patch if compiling with
[4467c5b]60<acronym>J2SDK</acronym>-&j2sdk-src-version;: <ulink
[2dfcd1d]61url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para>
62</listitem>
63
[4467c5b]64<listitem><para>Required patch (Executable <command>test</command> is in
65<filename class="directory">/bin</filename>,
66not in <filename class="directory">/usr/bin</filename>): <ulink
67url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para>
68</listitem>
69
70<listitem><para>Optional patch if you wish to use the system freetype:
71<ulink
72url="&patch-root;/openoffice-&openoffice-version;-freetype-1.patch"/></para>
[cc4ad03]73</listitem>
74
[4467c5b]75<listitem><para>Optional patch if
76Linux-<acronym>PAM</acronym>-&Linux_PAM-version; is not installed:
77<ulink
78url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para>
[2dfcd1d]79</listitem>
80
[28629da4]81<listitem><para>General Polygon Clipper Library (Optional if
82libart_lgpl-&libart_lgpl-version; is used): <ulink
[2dfcd1d]83url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para>
84</listitem>
85
[28629da4]86<listitem><para>The source <acronym>TAR</acronym> ball only contains English
87language help. A localized help content file may be available at: <ulink
[2dfcd1d]88url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para>
89</listitem>
90
[28629da4]91</itemizedlist>
[87ba6cd5]92</sect3>
[4f6275fd]93
94<sect3><title><application>OpenOffice</application> dependencies</title>
95<sect4><title>Required</title>
[aa0f6ab4]96<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
97<xref linkend="zip"/>,
98<xref linkend="unzip"/>,
[2dfcd1d]99<xref linkend="tcsh"/>,
100<xref linkend="which"/> and
[4467c5b]101<xref linkend="gcc3"/>.</para>
[28629da4]102</sect4>
103
[4f6275fd]104<sect4><title>Recommended</title>
[4467c5b]105<para><xref linkend="j2sdk"/>,
106<xref linkend="freetype2"/>,
107<xref linkend="pkgconfig"/>,
108<xref linkend="startup-notification"/> and
109<xref linkend="desktop-file-utils"/>.</para>
[aa0f6ab4]110</sect4>
[28629da4]111
[4f6275fd]112<sect4><title>Optional</title>
[aa0f6ab4]113<para><xref linkend="Linux_PAM"/>,
114<xref linkend="libart_lgpl"/>,
[2dfcd1d]115<xref linkend="apache-ant"/> and
[4467c5b]116<xref linkend="curl"/>.</para>
[aa0f6ab4]117</sect4>
[4f6275fd]118</sect3>
119
[87ba6cd5]120</sect2>
121
122<sect2>
123<title>Installation of <application>OpenOffice</application></title>
124
[4467c5b]125<para><application>OpenOffice</application> does not create a directory
126when you extract the <acronym>TAR</acronym> ball. Create a build directory
127and extract the source with the following commands:</para>
128
129<screen><userinput><command>mkdir OOo-build &amp;&amp;
130cd OOo-build &amp;&amp;
131tar -zxvf ../OOo_&openoffice-version;_source.tar.gz</command></userinput></screen>
[87ba6cd5]132
[4467c5b]133<para>Optionally, untar and move the gpc files, and apply the downloaded
134patches:</para>
135
136<screen><userinput><command>tar -zxvf ../gpc231.tar.Z &amp;&amp;
[2dfcd1d]137mv gpc231/* external/gpc &amp;&amp;
138rmdir gpc231 &amp;&amp;
139for patch in ../openoffice-&openoffice-version;-*.patch
140 do patch -Np1 -i $patch
[28629da4]141 done</command></userinput></screen>
[87ba6cd5]142
[2dfcd1d]143<para>STLport looks for the c++ headers in the wrong location. Put a
144temporary symlink in place to satisfy STLport:</para>
145
[4467c5b]146<screen><userinput><command>ln -sf /opt/gcc-&gcc3-version;/include/c++/&gcc3-version; /usr/g++-v3</command></userinput></screen>
[2dfcd1d]147
148<para>OpenOffice fails to build with gcc-3.4.1. Set your path to
[4467c5b]149include gcc-&gcc3-version;:</para>
[2dfcd1d]150
151<screen><userinput><command>export PATH_HOLD=$PATH &amp;&amp;
[4467c5b]152export PATH=/opt/gcc-&gcc3-version;/bin:$PATH</command></userinput></screen>
[2dfcd1d]153
[87ba6cd5]154<para>If you want to optimize the build, edit
155<filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
[b1623c2]156flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
[28629da4]157problems with <parameter>-fomit-frame-pointer</parameter>. The best option is
158to not use any custom optimizations. The following command removes an incorrect
[4467c5b]159<parameter>-mcpu</parameter> option in the above file:</para>
[87ba6cd5]160
161<screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
[28629da4]162 solenv/inc/unxlngi4.mk</command></userinput></screen>
[87ba6cd5]163
[b1623c2]164<para>Configure <application>OpenOffice</application> using the following
[2dfcd1d]165commands. You may build install sets for specific languages based on your
166preferences. Supply a comma separated list to the <envar>--with-lang=</envar>
167switch. If a particular component is not available in the language of your
[4467c5b]168choice, the default will be US English. If you need other languages, be sure
169to add <parameter>ENUS</parameter> to the list; otherwise the build will
170fail:</para>
[87ba6cd5]171
172<screen><userinput><command>cd config_office/ &amp;&amp;
[2dfcd1d]173./configure --with-lang=ENUS \
174 --with-dict=ENUS --without-fonts \
175 --enable-libsn --with-system-zlib \
176 --with-system-freetype &amp;&amp;
[87ba6cd5]177cd ..</command></userinput></screen>
178
[2dfcd1d]179<para><application>OpenOffice</application> fails to compile if
180<command>umask</command> is set to something exotic. The build can also
[4467c5b]181fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
182variables are set. Use the following commands to change your
183environment accordingly:</para>
[2dfcd1d]184
185<screen><userinput><command>umask 0022 &amp;&amp;
186unset LANG LC_ALL</command></userinput></screen>
187
[87ba6cd5]188<para>Compile <application>OpenOffice</application> using the following
[28629da4]189commands:</para>
[87ba6cd5]190
191<screen><userinput><command>./bootstrap &amp;&amp;
192bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
193
[28629da4]194<para>If you have downloaded localized help content <filename>tgz</filename>
195files, you will need to untar them to the appropriate directory as shown
[4467c5b]196below and then recreate the installation set:</para>
[87ba6cd5]197
198<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &amp;&amp;
[2dfcd1d]199for i in ../../../../../helpcontent_*_unix.tgz
[28629da4]200 do tar -xvzf $i
201 done &amp;&amp;
[87ba6cd5]202cd ../../../../instsetoo &amp;&amp;
203rm -rf unxlngi4.pro &amp;&amp;
204cd .. &amp;&amp;
205bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
206
[4467c5b]207<para>Install <application>OpenOffice</application> using the following
208commands to install the US English language set. To install a localized
209version, replace the 01 with the international telephone country code for
210your country:</para>
[87ba6cd5]211
212<screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
213sed -i "s:^oo_home=.*:oo_home=openoffice:" install &amp;&amp;
214./install --prefix=/opt &amp;&amp;
[28629da4]215for appl in sagenda scalc sdraw sfax simpress slabel sletter \
216 smaster smath smemo soffice spadmin svcard sweb swriter
217 do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
218 done</command></userinput></screen>
[87ba6cd5]219
[034b8c8]220<para>If you have installed <xref linkend="desktop-file-utils"/> and use
221<application>KDE</application>, there is no furthur configuration
222necessary. If you use <application>Gnome</application>, you should copy
223the <filename>*.desktop</filename> files to
224<filename>/usr/share/applications</filename> with the following
225commands:</para>
226
[efbbeb9]227<screen><userinput><command>install -d /usr/share/applications -m 755 &amp;&amp;
[286510e1]228for D in /opt/openoffice/share/gnome/net/ooo645*
[034b8c8]229 do cp $D /usr/share/applications/`basname $D | sed 's/645//'`
230 done</command></userinput></screen>
[4467c5b]231
[2dfcd1d]232<para>Finally, return your environment to it's original state:</para>
233
234<screen><userinput><command>export PATH=$PATH_HOLD &amp;&amp;
235rm -f /usr/g++-v3</command></userinput></screen>
236
[14a732e]237</sect2>
238
[87ba6cd5]239<sect2>
240<title>Command explanations</title>
241
242<para>
[b1623c2]243<command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
244appropriate location.</para>
[87ba6cd5]245
[2dfcd1d]246<para><parameter>--with-lang=ENUS</parameter>: Make install set for the
247US English language.</para>
[87ba6cd5]248
[2dfcd1d]249<para><parameter>--with-dict=ENUS</parameter>: Install dictionaries for
250the US English language.</para>
[87ba6cd5]251
[14123136]252<para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
[b1623c2]253polygon clipping.</para>
[87ba6cd5]254
[28629da4]255<para><parameter>--with-libsn</parameter>: Use
256<application>startup-notification</application>.</para>
[87ba6cd5]257
[b1623c2]258<para><parameter>--disable-java</parameter>: Do not build components that need
259java.</para>
[87ba6cd5]260
[b1623c2]261<para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
262clipping capability.</para>
[87ba6cd5]263
[b1623c2]264<para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
[28629da4]265fonts since they are already bundled with <application>X</application>.</para>
[87ba6cd5]266
[2dfcd1d]267<para><parameter>--with-system-curl</parameter>: Use the system
268installed curl.</para>
269
[b1623c2]270<para><command>./bootstrap</command>: Create packages required to bootstrap
271the build.</para>
[87ba6cd5]272
273<para><command>dmake</command>: Compile the package.</para>
274
275<para><command>sed -i "s:^oo_home=...</command>: Remove version specific
276installation directory.</para>
277
[28629da4]278<para><command>for appl in sagenda scalc sdraw sfax ...;
[b1623c2]279do ...</command>: Create links so that the package can be started from the
280command-line without changes to the existing path.</para>
[87ba6cd5]281
282</sect2>
283
284<sect2>
285<title>Contents</title>
286
287<para>The <application>OpenOffice</application> package contains
[28629da4]288<command>sagenda</command>, <command>scalc</command>,
289<command>sdraw</command>, <command>sfax</command>,
290<command>simpress</command>, <command>slabel</command>,
291<command>sletter</command>, <command>smaster</command>,
292<command>smath</command>, <command>smemo</command>,
293<command>soffice</command>, <command>spadmin</command>,
294<command>svcard</command>, <command>sweb</command>,
295<command>swriter</command>, <application>OpenOffice</application>
296libraries and support utilities.</para>
[87ba6cd5]297
298</sect2>
299
300<sect2><title>Description</title>
301
[28629da4]302<sect3><title>sagenda</title>
303<para>Create an agenda template and start
304<command>swriter</command>.</para></sect3>
[87ba6cd5]305
306<sect3><title>scalc</title>
307<para>Spreadsheet application.</para></sect3>
308
309<sect3><title>sdraw</title>
310<para>Drawing application.</para></sect3>
311
[28629da4]312<sect3><title>sfax</title>
313<para>Create a fax template and start
314<command>swriter</command>.</para></sect3>
315
316<sect3><title>simpress</title>
317<para>Presentation application.</para></sect3>
318
319<sect3><title>slabel</title>
320<para>Create a label template and start
321<command>swriter</command>.</para></sect3>
322
323<sect3><title>sletter</title>
324<para>Create a letter template and start
325<command>swriter</command>.</para></sect3>
326
327<sect3><title>smaster</title>
328<para>Creates a new master document.</para></sect3>
329
[87ba6cd5]330<sect3><title>smath</title>
331<para>Mathematical formula editor.</para></sect3>
332
[28629da4]333<sect3><title>smemo</title>
334<para>Create a memo template and start
335<command>swriter</command>.</para></sect3>
336
337<sect3><title>soffice</title>
338<para>Opens a base window with access to all
339<application>OpenOffice</application> applications.</para></sect3>
340
[87ba6cd5]341<sect3><title>spadmin</title>
[28629da4]342<para><application>OpenOffice</application> Printer Configuration. You may
343need to run this if you are having any printing problems.</para></sect3>
344
345<sect3><title>svcard</title>
346<para>Business card application.</para></sect3>
347
348<sect3><title>sweb</title>
349<para>An <acronym>HTML</acronym> editor.</para></sect3>
350
351<sect3><title>swriter</title>
352<para>Word processing application.</para></sect3>
[87ba6cd5]353
354</sect2>
[f45b1953]355
356</sect1>
357
Note: See TracBrowser for help on using the repository browser.