source: xsoft/suites/openoffice.xml@ bcd89599

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bcd89599 was 4f6275fd, checked in by Randy McMurchy <randy@…>, 20 years ago

Change hardcoded version numbers to entities in various packages

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

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