source: xsoft/suites/openoffice.xml@ 4467c5b

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 4467c5b was 4467c5b, checked in by DJ Lucas <dj@…>, 17 years ago

Updated to OpenOffice-1.1.4

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

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