source: xsoft/suites/openoffice.xml@ be617a2

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

more package patch renaming

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

  • Property mode set to 100644
File size: 8.6 KB
RevLine 
[87ba6cd5]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
[5342913]14<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
[6a1f1202]15<?dbhtml filename="openoffice.html" ?>
[5342913]16<title>OpenOffice-&openoffice-version;</title>
[f45b1953]17
[87ba6cd5]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
[b1623c2]59url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
[87ba6cd5]60<listitem><para>Required patch if <xref linkend="Linux_PAM"/> is not installed: <ulink
[b1623c2]61url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para></listitem>
[87ba6cd5]62<listitem><para>Required patch if compiling with <acronym>JDK</acronym> 1.4.2: <ulink
[b1623c2]63url="&patch-root;/openoffice-&openoffice-version;-jdk-1.4.2-fix-1.patch"/></para></listitem>
[87ba6cd5]64<listitem><para>Recommended patch: <ulink
[b1623c2]65url="&patch-root;/openoffice-&openoffice-version;-domainname-1.patch"/></para></listitem>
[87ba6cd5]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
[b1623c2]84flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
85problems with -fomit-frame-pointer. The best option is to not use any custom
86optimizations. The following command removes an incorrect -mcpu option in the
87above file.</para>
[87ba6cd5]88
89<screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
90solenv/inc/unxlngi4.mk</command></userinput></screen>
91
[b1623c2]92<para>Configure <application>OpenOffice</application> using the following
93commands. You may build install sets for only specific languages based on your
94preferences. If a particular component is not available in the language of your
95choice, the default will be English. The following option compiles all
96available languages. If you restrict the languages, be sure to add ENUS to the
97list; otherwise the build fails. Also, the build fails when the environment
98variable <envar>LANG</envar> is set. Unset it before compiling.</para>
[87ba6cd5]99
100<screen><userinput><command>cd config_office/ &amp;&amp;
101./configure --with-lang=ALL \
[b1623c2]102 --with-dict=ALL --without-fonts \
103 --enable-libsn --with-system-zlib &amp;&amp;
[87ba6cd5]104cd ..</command></userinput></screen>
105
106<para>Compile <application>OpenOffice</application> using the following
107commands.</para>
108
[b1623c2]109<note><para><application>OpenOffice</application> fails to compile if the
110umask is set to something exotic. Set umask to 022 if you normally set it to
111something else.</para></note>
[87ba6cd5]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>
[b1623c2]151<command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
152appropriate location.</para>
[87ba6cd5]153
[b1623c2]154<para><parameter>--with-lang=ALL</parameter>: Make install sets for all
155available languages.</para>
[87ba6cd5]156
[b1623c2]157<para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
158available languages.</para>
[87ba6cd5]159
[b1623c2]160<para><parameter>--with-libart</parameter>: Use libart instead of gpc for
161polygon clipping.</para>
[87ba6cd5]162
163<para><parameter>--with-libsn</parameter>: Use startup-notification.</para>
164
[b1623c2]165<para><parameter>--disable-java</parameter>: Do not build components that need
166java.</para>
[87ba6cd5]167
[b1623c2]168<para><parameter>--without-gpc</parameter>: Do not use gpc. Removes polygon
169clipping capability.</para>
[87ba6cd5]170
[b1623c2]171<para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
172fonts since they are already bundled with X.</para>
[87ba6cd5]173
[b1623c2]174<para><command>./bootstrap</command>: Create packages required to bootstrap
175the build.</para>
[87ba6cd5]176
177<para><command>dmake</command>: Compile the package.</para>
178
179<para><command>sed -i "s:^oo_home=...</command>: Remove version specific
180installation directory.</para>
181
182<para><command>for appl in swriter scalc sdraw simpress smath soffice;
[b1623c2]183do ...</command>: Create links so that the package can be started from the
184command-line without changes to the existing path.</para>
[87ba6cd5]185
186</sect2>
187
188<sect2>
189<title>Contents</title>
190
191<para>The <application>OpenOffice</application> package contains
192<command>swriter</command>,
193<command>simpress</command>, <command>scalc</command>,
194<command>sdraw</command>, <command>smath</command>,
195and <command>spadmin</command>.</para>
196
197</sect2>
198
199<sect2><title>Description</title>
200
201<sect3><title>swriter</title>
202<para>Word processing application.</para></sect3>
203
204<sect3><title>simpress</title>
205<para>Presentation application.</para></sect3>
206
207<sect3><title>scalc</title>
208<para>Spreadsheet application.</para></sect3>
209
210<sect3><title>sdraw</title>
211<para>Drawing application.</para></sect3>
212
213<sect3><title>smath</title>
214<para>Mathematical formula editor.</para></sect3>
215
216<sect3><title>spadmin</title>
217<para>OpenOffice Printer Configuration. You may need to run this if
218you are having any printing problems.</para></sect3>
219
220</sect2>
[f45b1953]221
222</sect1>
223
Note: See TracBrowser for help on using the repository browser.