source: xsoft/suites/openoffice.xml@ 14123136

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 14123136 was 14123136, checked in by Igor Živković <igor@…>, 20 years ago

Corrected OpenOffice's configure switch for libart, reported by Nathan Coulson.

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

  • Property mode set to 100644
File size: 10.8 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"/>, <xref linkend="unzip"/>, <xref linkend="tcsh"/>,
70<xref linkend="which"/> and <ulink
71url="http://ftp.tuniv.szczecin.pl/pub/Linux/alpha-gnu/bison/bison-1.875a.tar.bz2">Bison-1.875a
72</ulink></para>
73
74<para><emphasis>Note:</emphasis> Bison-1.875a is an update to the
75<acronym>LFS</acronym> version of 1.875. Run <command>bison --version</command>
76to find out what your system has.</para>
77</sect4>
78
79<sect4><title>Recommended</title>
80<para><xref linkend="j2sdk"/></para></sect4>
81
82<sect4><title>Optional</title>
83<para><xref linkend="Linux_PAM"/>,
84<xref linkend="libart_lgpl"/>,
85<xref linkend="startup-notification"/> and <ulink
86url="http://ant.apache.org/">Apache Ant</ulink></para></sect4>
87</sect3>
88
89</sect2>
90
91<sect2>
92<title>Installation of <application>OpenOffice</application></title>
93
94<para>Apply the downloaded patches and, optionally, untar and move the gpc
95files:</para>
96
97<screen><userinput><command>mv ../gpc231/* external/gpc &amp;&amp;
98for p in ../openoffice-&openoffice-version;-*.patch
99 do patch -Np1 -i $p
100 done</command></userinput></screen>
101
102<para>If you want to optimize the build, edit
103<filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
104flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
105problems with <parameter>-fomit-frame-pointer</parameter>. The best option is
106to not use any custom optimizations. The following command removes an incorrect
107<parameter>-mcpu</parameter> option in the above file.</para>
108
109<screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
110 solenv/inc/unxlngi4.mk</command></userinput></screen>
111
112<para>Configure <application>OpenOffice</application> using the following
113commands. You may build install sets for only specific languages based on your
114preferences. If a particular component is not available in the language of your
115choice, the default will be English. The following option compiles all
116available languages. If you restrict the languages, be sure to add
117<parameter>ENUS</parameter> to the list; otherwise the build fails. Also, the
118build fails when the environment variable <envar>LANG</envar> is set. Unset it
119before compiling.</para>
120
121<screen><userinput><command>cd config_office/ &amp;&amp;
122./configure --with-lang=ALL \
123 --with-dict=ALL --without-fonts \
124 --enable-libsn --with-system-zlib &amp;&amp;
125cd ..</command></userinput></screen>
126
127<para>Compile <application>OpenOffice</application> using the following
128commands:</para>
129
130<note><para><application>OpenOffice</application> fails to compile if
131<command>umask</command> is set to something exotic. Set
132<command>umask 0022</command> if you normally set it to
133something else.</para></note>
134
135<screen><userinput><command>./bootstrap &amp;&amp;
136bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
137
138<para>If you have downloaded localized help content <filename>tgz</filename>
139files, you will need to untar them to the appropriate directory as shown
140below and then recreate the installation set.</para>
141
142<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &amp;&amp;
143for i in $(ls ../../../../../helpcontent_*_unix.tgz)
144 do tar -xvzf $i
145 done &amp;&amp;
146cd ../../../../instsetoo &amp;&amp;
147rm -rf unxlngi4.pro &amp;&amp;
148cd .. &amp;&amp;
149bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
150
151<para>Install <application>OpenOffice</application> using the following
152commands to install the English language set. To install a localized version,
153replace the 01 with the international telephone country code for your country.
154Note that when installing, <application>OpenOffice</application> needs an
155<application>X</application> display, even though there is no visible
156<application>X</application> window. You can use <command>Xvfb</command> if
157you are compiling on a console.</para>
158
159<screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
160sed -i "s:^oo_home=.*:oo_home=openoffice:" install &amp;&amp;
161./install --prefix=/opt &amp;&amp;
162for appl in sagenda scalc sdraw sfax simpress slabel sletter \
163 smaster smath smemo soffice spadmin svcard sweb swriter
164 do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
165 done</command></userinput></screen>
166
167</sect2>
168
169<sect2>
170<title>Command explanations</title>
171
172<para>
173<command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
174appropriate location.</para>
175
176<para><parameter>--with-lang=ALL</parameter>: Make install sets for all
177available languages.</para>
178
179<para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
180available languages.</para>
181
182<para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
183polygon clipping.</para>
184
185<para><parameter>--with-libsn</parameter>: Use
186<application>startup-notification</application>.</para>
187
188<para><parameter>--disable-java</parameter>: Do not build components that need
189java.</para>
190
191<para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
192clipping capability.</para>
193
194<para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
195fonts since they are already bundled with <application>X</application>.</para>
196
197<para><command>./bootstrap</command>: Create packages required to bootstrap
198the build.</para>
199
200<para><command>dmake</command>: Compile the package.</para>
201
202<para><command>sed -i "s:^oo_home=...</command>: Remove version specific
203installation directory.</para>
204
205<para><command>for appl in sagenda scalc sdraw sfax ...;
206do ...</command>: Create links so that the package can be started from the
207command-line without changes to the existing path.</para>
208
209</sect2>
210
211<sect2>
212<title>Contents</title>
213
214<para>The <application>OpenOffice</application> package contains
215<command>sagenda</command>, <command>scalc</command>,
216<command>sdraw</command>, <command>sfax</command>,
217<command>simpress</command>, <command>slabel</command>,
218<command>sletter</command>, <command>smaster</command>,
219<command>smath</command>, <command>smemo</command>,
220<command>soffice</command>, <command>spadmin</command>,
221<command>svcard</command>, <command>sweb</command>,
222<command>swriter</command>, <application>OpenOffice</application>
223libraries and support utilities.</para>
224
225</sect2>
226
227<sect2><title>Description</title>
228
229<sect3><title>sagenda</title>
230<para>Create an agenda template and start
231<command>swriter</command>.</para></sect3>
232
233<sect3><title>scalc</title>
234<para>Spreadsheet application.</para></sect3>
235
236<sect3><title>sdraw</title>
237<para>Drawing application.</para></sect3>
238
239<sect3><title>sfax</title>
240<para>Create a fax template and start
241<command>swriter</command>.</para></sect3>
242
243<sect3><title>simpress</title>
244<para>Presentation application.</para></sect3>
245
246<sect3><title>slabel</title>
247<para>Create a label template and start
248<command>swriter</command>.</para></sect3>
249
250<sect3><title>sletter</title>
251<para>Create a letter template and start
252<command>swriter</command>.</para></sect3>
253
254<sect3><title>smaster</title>
255<para>Creates a new master document.</para></sect3>
256
257<sect3><title>smath</title>
258<para>Mathematical formula editor.</para></sect3>
259
260<sect3><title>smemo</title>
261<para>Create a memo template and start
262<command>swriter</command>.</para></sect3>
263
264<sect3><title>soffice</title>
265<para>Opens a base window with access to all
266<application>OpenOffice</application> applications.</para></sect3>
267
268<sect3><title>spadmin</title>
269<para><application>OpenOffice</application> Printer Configuration. You may
270need to run this if you are having any printing problems.</para></sect3>
271
272<sect3><title>svcard</title>
273<para>Business card application.</para></sect3>
274
275<sect3><title>sweb</title>
276<para>An <acronym>HTML</acronym> editor.</para></sect3>
277
278<sect3><title>swriter</title>
279<para>Word processing application.</para></sect3>
280
281</sect2>
282
283</sect1>
284
Note: See TracBrowser for help on using the repository browser.