source: xsoft/suites/openoffice.xml@ 87ba6cd5

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 87ba6cd5 was 87ba6cd5, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML update for Chapter 34

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

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