source: xsoft/suites/openoffice.xml@ 50b154ba

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 50b154ba was 14a732e, checked in by DJ Lucas <dj@…>, 19 years ago

fix validation error in openoffice

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

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