source: xsoft/suites/openoffice.xml@ aa0f6ab4

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

Removed note about a specific version of Bison from OpenOffice instructions as LFS-6.0-Testing's version is compatible

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

  • Property mode set to 100644
File size: 10.5 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/1.1.2/OOo_&openoffice-version;_source.tar.gz">
9 <!ENTITY openoffice-size "221 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<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="openoffice.html" ?>
20<title>OpenOffice-&openoffice-version;</title>
21
22<sect2>
23<title>Introduction to <application>OpenOffice</application></title>
24
25<para>The <application>OpenOffice</application> is an office suite, the
26Open Source sibling of <application>StarOffice</application>.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download Mirrors (HTTP): <ulink
31url="&openoffice-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink
33url="&openoffice-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &openoffice-size;
35(additional 11-13 MB for localized help content file)</para></listitem>
36<listitem><para>Estimated Disk space required:
37&openoffice-buildsize; (more if using localized help content)</para></listitem>
38<listitem><para>Estimated build time:
39&openoffice-time; (longer if using localized help content)</para></listitem>
40</itemizedlist>
41</sect3>
42
43<sect3><title>Additional downloads</title>
44<itemizedlist spacing='compact'>
45<listitem><para>Required patch (Executable <command>test</command> is in
46<filename class="directory">/bin</filename>,
47not in <filename class="directory">/usr/bin</filename>): <ulink
48url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
49<listitem><para>Required patch if Linux-<acronym>PAM</acronym>-&Linux_PAM-version;
50is not installed: <ulink
51url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para></listitem>
52<listitem><para>Required patch if compiling with
53<acronym>JDK</acronym>-&j2sdk-src-version;: <ulink
54url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para></listitem>
55<listitem><para>Recommended patch: <ulink
56url="&patch-root;/openoffice-&openoffice-version;-domainname-1.patch"/></para></listitem>
57<listitem><para>General Polygon Clipper Library (Optional if
58libart_lgpl-&libart_lgpl-version; is used): <ulink
59url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para></listitem>
60<listitem><para>The source <acronym>TAR</acronym> ball only contains English
61language help. A localized help content file may be available at: <ulink
62url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para></listitem>
63</itemizedlist>
64</sect3>
65
66<sect3><title><application>OpenOffice</application> dependencies</title>
67<sect4><title>Required</title>
68<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
69<xref linkend="zip"/>,
70<xref linkend="unzip"/>,
71<xref linkend="tcsh"/> and
72<xref linkend="which"/></para>
73</sect4>
74
75<sect4><title>Recommended</title>
76<para><xref linkend="j2sdk"/></para>
77</sect4>
78
79<sect4><title>Optional</title>
80<para><xref linkend="Linux_PAM"/>,
81<xref linkend="libart_lgpl"/>,
82<xref linkend="startup-notification"/> and
83<xref linkend="apache-ant"/></para>
84</sect4>
85</sect3>
86
87</sect2>
88
89<sect2>
90<title>Installation of <application>OpenOffice</application></title>
91
92<para>Apply the downloaded patches and, optionally, untar and move the gpc
93files:</para>
94
95<screen><userinput><command>mv ../gpc231/* external/gpc &amp;&amp;
96for p in ../openoffice-&openoffice-version;-*.patch
97 do patch -Np1 -i $p
98 done</command></userinput></screen>
99
100<para>If you want to optimize the build, edit
101<filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
102flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
103problems with <parameter>-fomit-frame-pointer</parameter>. The best option is
104to not use any custom optimizations. The following command removes an incorrect
105<parameter>-mcpu</parameter> option in the above file.</para>
106
107<screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
108 solenv/inc/unxlngi4.mk</command></userinput></screen>
109
110<para>Configure <application>OpenOffice</application> using the following
111commands. You may build install sets for only specific languages based on your
112preferences. If a particular component is not available in the language of your
113choice, the default will be English. The following option compiles all
114available languages. If you restrict the languages, be sure to add
115<parameter>ENUS</parameter> to the list; otherwise the build fails. Also, the
116build fails when the environment variable <envar>LANG</envar> is set. Unset it
117before compiling.</para>
118
119<screen><userinput><command>cd config_office/ &amp;&amp;
120./configure --with-lang=ALL \
121 --with-dict=ALL --without-fonts \
122 --enable-libsn --with-system-zlib &amp;&amp;
123cd ..</command></userinput></screen>
124
125<para>Compile <application>OpenOffice</application> using the following
126commands:</para>
127
128<note><para><application>OpenOffice</application> fails to compile if
129<command>umask</command> is set to something exotic. Set
130<command>umask 0022</command> if you normally set it to
131something else.</para></note>
132
133<screen><userinput><command>./bootstrap &amp;&amp;
134bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
135
136<para>If you have downloaded localized help content <filename>tgz</filename>
137files, you will need to untar them to the appropriate directory as shown
138below and then recreate the installation set.</para>
139
140<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &amp;&amp;
141for i in $(ls ../../../../../helpcontent_*_unix.tgz)
142 do tar -xvzf $i
143 done &amp;&amp;
144cd ../../../../instsetoo &amp;&amp;
145rm -rf unxlngi4.pro &amp;&amp;
146cd .. &amp;&amp;
147bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
148
149<para>Install <application>OpenOffice</application> using the following
150commands to install the English language set. To install a localized version,
151replace the 01 with the international telephone country code for your country.
152Note that when installing, <application>OpenOffice</application> needs an
153<application>X</application> display, even though there is no visible
154<application>X</application> window. You can use <command>Xvfb</command> if
155you are compiling on a console.</para>
156
157<screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
158sed -i "s:^oo_home=.*:oo_home=openoffice:" install &amp;&amp;
159./install --prefix=/opt &amp;&amp;
160for appl in sagenda scalc sdraw sfax simpress slabel sletter \
161 smaster smath smemo soffice spadmin svcard sweb swriter
162 do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
163 done</command></userinput></screen>
164
165</sect2>
166
167<sect2>
168<title>Command explanations</title>
169
170<para>
171<command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
172appropriate location.</para>
173
174<para><parameter>--with-lang=ALL</parameter>: Make install sets for all
175available languages.</para>
176
177<para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
178available languages.</para>
179
180<para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
181polygon clipping.</para>
182
183<para><parameter>--with-libsn</parameter>: Use
184<application>startup-notification</application>.</para>
185
186<para><parameter>--disable-java</parameter>: Do not build components that need
187java.</para>
188
189<para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
190clipping capability.</para>
191
192<para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
193fonts since they are already bundled with <application>X</application>.</para>
194
195<para><command>./bootstrap</command>: Create packages required to bootstrap
196the build.</para>
197
198<para><command>dmake</command>: Compile the package.</para>
199
200<para><command>sed -i "s:^oo_home=...</command>: Remove version specific
201installation directory.</para>
202
203<para><command>for appl in sagenda scalc sdraw sfax ...;
204do ...</command>: Create links so that the package can be started from the
205command-line without changes to the existing path.</para>
206
207</sect2>
208
209<sect2>
210<title>Contents</title>
211
212<para>The <application>OpenOffice</application> package contains
213<command>sagenda</command>, <command>scalc</command>,
214<command>sdraw</command>, <command>sfax</command>,
215<command>simpress</command>, <command>slabel</command>,
216<command>sletter</command>, <command>smaster</command>,
217<command>smath</command>, <command>smemo</command>,
218<command>soffice</command>, <command>spadmin</command>,
219<command>svcard</command>, <command>sweb</command>,
220<command>swriter</command>, <application>OpenOffice</application>
221libraries and support utilities.</para>
222
223</sect2>
224
225<sect2><title>Description</title>
226
227<sect3><title>sagenda</title>
228<para>Create an agenda template and start
229<command>swriter</command>.</para></sect3>
230
231<sect3><title>scalc</title>
232<para>Spreadsheet application.</para></sect3>
233
234<sect3><title>sdraw</title>
235<para>Drawing application.</para></sect3>
236
237<sect3><title>sfax</title>
238<para>Create a fax template and start
239<command>swriter</command>.</para></sect3>
240
241<sect3><title>simpress</title>
242<para>Presentation application.</para></sect3>
243
244<sect3><title>slabel</title>
245<para>Create a label template and start
246<command>swriter</command>.</para></sect3>
247
248<sect3><title>sletter</title>
249<para>Create a letter template and start
250<command>swriter</command>.</para></sect3>
251
252<sect3><title>smaster</title>
253<para>Creates a new master document.</para></sect3>
254
255<sect3><title>smath</title>
256<para>Mathematical formula editor.</para></sect3>
257
258<sect3><title>smemo</title>
259<para>Create a memo template and start
260<command>swriter</command>.</para></sect3>
261
262<sect3><title>soffice</title>
263<para>Opens a base window with access to all
264<application>OpenOffice</application> applications.</para></sect3>
265
266<sect3><title>spadmin</title>
267<para><application>OpenOffice</application> Printer Configuration. You may
268need to run this if you are having any printing problems.</para></sect3>
269
270<sect3><title>svcard</title>
271<para>Business card application.</para></sect3>
272
273<sect3><title>sweb</title>
274<para>An <acronym>HTML</acronym> editor.</para></sect3>
275
276<sect3><title>swriter</title>
277<para>Word processing application.</para></sect3>
278
279</sect2>
280
281</sect1>
282
Note: See TracBrowser for help on using the repository browser.