source: xsoft/suites/openoffice.xml@ 5f0bab7

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

update to jdk-1.5 and related fixes

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

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