source: xsoft/suites/openoffice.xml@ 1aadfdf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 1aadfdf was fe2443a, checked in by DJ Lucas <dj@…>, 19 years ago

cleanups in OpenOffice

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

  • Property mode set to 100644
File size: 17.9 KB
RevLine 
[87ba6cd5]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[87ba6cd5]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY openoffice-download-http "http://download.openoffice.org/&openoffice-version;/source.html">
[e7d7f69]8 <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src.tar.gz">
[01f09271]9 <!ENTITY openoffice-md5sum "a68933afc2bf432d11b2043ac99ba0aa">
10 <!ENTITY openoffice-size "263 MB">
11 <!ENTITY openoffice-buildsize "5.7 GB">
12 <!ENTITY openoffice-time "117 SBU">
[87ba6cd5]13]>
14
[5342913]15<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
[c1c5faae]16 <?dbhtml filename="openoffice.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>OpenOffice-&openoffice-version;</title>
24
25 <indexterm zone="openoffice">
26 <primary sortas="a-OpenOffice">OpenOffice</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to OpenOffice</title>
31
32 <para><application>OpenOffice</application> is an office suite, the
33 open source sibling of <application>StarOffice</application>.</para>
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>Download (HTTP): <ulink url="&openoffice-download-http;"/></para>
39 </listitem>
40 <listitem>
41 <para>Download (FTP): <ulink url="&openoffice-download-ftp;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download MD5 sum: &openoffice-md5sum;</para>
45 </listitem>
46 <listitem>
47 <para>Download size: &openoffice-size;</para>
48 </listitem>
49 <listitem>
50 <para>Estimated disk space required: &openoffice-buildsize;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated build time: &openoffice-time;</para>
54 </listitem>
55 </itemizedlist>
56
57 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
58 <itemizedlist spacing='compact'>
59 <listitem>
[01f09271]60 <para>Required patch for use with gcc-&gcc-version;: <ulink
[e7d7f69]61 url="&patch-root;/OOo_&openoffice-version;-gcc4-1.patch"/>
[c1c5faae]62 </para>
63 </listitem>
64 <listitem>
65 <para>Required patch for use with NPTL: <ulink
66 url="&patch-root;/OOo_&openoffice-version;-nptl-1.patch"/></para>
67 </listitem>
68 <listitem>
[01f09271]69 <para>Required patch for use with
[c1c5faae]70 <application>JDK</application>-&jdk-src-version;: <ulink
[4e6352fb]71 url="&patch-root;/OOo_&openoffice-version;-jdk_1.5-1.patch"/>
[c1c5faae]72 </para>
73 </listitem>
74 <listitem>
[3342946]75 <para>Required patch for use with pkgconfig-0.17 and greater:
[c1c5faae]76 <ulink
[3342946]77 url="&patch-root;/OOo_&openoffice-version;-pkgconfig_0.17-1.patch"/></para>
[c1c5faae]78 </listitem>
[01f09271]79
[c1c5faae]80 <listitem>
81 <para>Optional patch if
[01f09271]82 <application>Linux-PAM</application>-&Linux_PAM-version; is not
83 installed: <ulink
[c1c5faae]84 url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
[01f09271]85 </listitem>
86
87<!-- Will be added after patch header is corrected.
[c1c5faae]88 <listitem>
[01f09271]89 <para>Optional patch if building against the system installed
90 <application>Firefox</application>: <ulink
91 url="&patch-root;/OOo_&openoffice-version;-xmlsec_no_mozilla-1.patch"/>
92 </para>
[c1c5faae]93 </listitem>
[01f09271]94-->
[c1c5faae]95 <listitem>
[01f09271]96 <para>Required update for use with
97 <application>JDK-&jdk-src-version;</application>. <ulink
98 url="ftp://anduin.linuxfromscratch.org/BLFS/svn/b/bsh-2.0b4-src.tar.bz2"/>
[c1c5faae]99 </para>
100 </listitem>
[01f09271]101 <listitem>
102 <para>Optional download if not using the system
103 <application>Mozilla</application>
104<!-- or <application>Firefox</application> -->
105 browser. <ulink
106 url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
107 </listitem>
[c1c5faae]108 </itemizedlist>
109
110 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
111
112 <bridgehead renderas="sect4">Required</bridgehead>
[fe2443a]113 <para><xref linkend="apache-ant"/>,
[cdb6f7a]114 <xref linkend="libidl"/>,
115 <xref linkend="libxml2"/>,
116 <application>Perl Modules</application>
117 <xref linkend="perl-xml-parser"/> and
[01f09271]118 <xref linkend="perl-archive-zip"/>,
[cdb6f7a]119 <xref linkend="tcsh"/>,
120 <xref linkend="unzip"/>,
121 <xref linkend="which"/>, and
122 <xref linkend="zip"/>.</para>
[c1c5faae]123
124 <bridgehead renderas="sect4">Recommended</bridgehead>
[cdb6f7a]125 <para><xref linkend="cups"/>,
[c1c5faae]126 <xref linkend="desktop-file-utils"/>,
[cdb6f7a]127 <xref linkend="freetype2"/>,
128 <xref linkend="libart_lgpl"/>,
129 <xref linkend="libjpeg"/>,
130 <xref linkend="libtiff"/>, and
131 <xref linkend="startup-notification"/>.</para>
[c1c5faae]132
133 <bridgehead renderas="sect4">Optional</bridgehead>
[fe2443a]134 <para><xref linkend="curl"/>,
[cdb6f7a]135 <xref linkend="Linux_PAM"/>,
136 <xref linkend="mozilla"/>,
137<!--
138 or <xref linkend="firefox"/>,
139-->
[01f09271]140 <xref linkend="nas"/>,
141 <ulink url="http://www.webdav.org/neon/">neon-0.25.4</ulink>,
[cdb6f7a]142 <xref linkend="python"/>,
143 <xref linkend="sane"/>, and
144 <xref linkend="unixodbc"/>.</para>
[c1c5faae]145
146 </sect2>
147
148 <sect2 role="installation">
149 <title>Installation of OpenOffice</title>
150
151 <para>Apply all of the downloaded patches:</para>
[4467c5b]152
[c1c5faae]153<screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
[5f0bab7]154 do patch -Np1 -i ${PATCH}
[c1c5faae]155done</userinput></screen>
[5f0bab7]156
[01f09271]157 <para>Copy the <application>Beanshell</application> TAR ball into the
158 source tree and uncompress it:</para>
[5f0bab7]159
[01f09271]160<screen><userinput>cp ../bsh-2.0b4.tar.bz2 beanshell/download/ &amp;&amp;
161bzip2 -d beanshell/download/bsh-2.0b4.tar.bz2</userinput></screen>
[87ba6cd5]162
[01f09271]163 <para>If not using the system-installed <application>Mozilla</application>
164 or <application>Firefox</application>, copy the
165 <application>Mozilla</application> source TAR ball into the source
166 tree:</para>
[2dfcd1d]167
[01f09271]168<screen><userinput>cp ../mozilla-1.7.5.tar.gz moz/download/</userinput></screen>
[2dfcd1d]169
[c1c5faae]170 <para>If you want to optimize the build, edit
[01f09271]171 <filename>solenv/inc/unxlngi6.mk</filename> and add the desired optimization
[c1c5faae]172 flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported
173 problems with <option>-fomit-frame-pointer</option>. The best option
174 is to not use any custom optimizations. The following command removes an
175 incorrect <option>-mcpu</option> option in the above file:</para>
[87ba6cd5]176
[c1c5faae]177<screen><userinput>sed -i "s:\-mcpu=pentiumpro::" \
[01f09271]178 solenv/inc/unxlngi6.mk</userinput></screen>
179
180<!-- To be removed before final release -->
181
[fe2443a]182 <note><para>If building against the system Mozilla<!-- or Firefox-->,
[cdb6f7a]183 a change may be required to the installed headers. The following commands
184 will make the change only if it is necessary.</para></note>
[01f09271]185
186<!-- <para>Mozilla:</para> -->
187<screen role="root"><userinput>cd /usr/include/mozilla-&mozilla-version; &amp;&amp;
188grep "xptinfo_enum_1" xpcom/xptinfo.h || \
189 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
190
191<!-- <para>Firefox:</para>
192<screen role="root"><userinput>cd /usr/include/firefox-&firefox-version; &amp;&amp;
193grep "xptinfo_enum_1" xpcom/xptinfo.h || \
194 sed -i 's@enum@enum xptinfo_enum_1@' xpcom/xptinfo.h</userinput></screen>
195-->
196<!-- End TBR -->
[87ba6cd5]197
[c1c5faae]198 <para>Configure <application>OpenOffice</application> using the following
[2e7058a6]199 commands:</para>
[87ba6cd5]200
[01f09271]201<!-- To be added after xmlsec_no_mozilla patch header is corrected
202 <note><para>If you intend to use the system-installed
203 <application>Mozilla</application> or
204 <application>Firefox</application>, replace the
205 <parameter> - - enable-build-mozilla</parameter> switch with
206 <parameter>- -with-system-mozilla</parameter>. Additionally for
207 <application>Firefox</application>, add the
208 <parameter>- -with-firefox</parameter> switch. You will also be
209 unable to use a <application>Thunderbird</application> address
210 book as a data source if built against
211 <application>Firefox</application>.</para></note>
212-->
213
[fe2443a]214 <note><para>If you intend to use the system
[01f09271]215 <application>Mozilla</application>, replace the
216 <parameter>--enable-build-mozilla</parameter> switch with
217 <parameter>--with-system-mozilla</parameter>.</para></note>
218
[c1c5faae]219<screen><userinput>cd config_office/ &amp;&amp;
[01f09271]220./configure --prefix=/opt/openoffice-2.0.0 \
221 --enable-libart --enable-libsn \
222 --disable-fontooo --without-fonts \
223 --with-system-stdlibs --with-system-freetype \
224 --with-system-zlib --with-system-jpeg \
225 --with-system-expat --with-system-libxml \
226 --with-system-curl --enable-build-mozilla \
227 --with-build-version=BLFS \
228 --with-package-format=native --disable-binfilter &amp;&amp;
[c1c5faae]229cd ..</userinput></screen>
[87ba6cd5]230
[c1c5faae]231 <para><application>OpenOffice</application> fails to compile if
232 <command>umask</command> is set to something exotic. The build can also
233 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
234 variables are set. Use the following commands to change your
235 environment accordingly:</para>
[2dfcd1d]236
[c1c5faae]237<screen><userinput>umask 0022 &amp;&amp;
238unset LANG LC_ALL</userinput></screen>
[2dfcd1d]239
[c1c5faae]240 <para>Compile <application>OpenOffice</application> using the following
241 commands:</para>
[87ba6cd5]242
[c1c5faae]243<screen><userinput>./bootstrap &amp;&amp;
[e7d7f69]244. LinuxIntelEnv.Set.sh &amp;&amp;
245dmake</userinput></screen>
[87ba6cd5]246
[01f09271]247 <para>Install <application>OpenOffice</application> as the
248 <systemitem class="username">root</systemitem> user with the
249 following commands:</para>
[87ba6cd5]250
[01f09271]251<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
252install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
[cdb6f7a]253cp -a -v openoffice.org2.0 /opt/openoffice-2.0.0</userinput></screen>
[87ba6cd5]254
[01f09271]255 <para>Still as the <systemitem class="username">root</systemitem>
256 user:</para>
[87ba6cd5]257
[01f09271]258<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
259do
260 ln -v -sf /opt/openoffice-2.0.0/program/$appl /usr/bin/$appl
261done</userinput></screen>
[8a64f4b]262
[01f09271]263 <para>The icons are not installed by default. While still the
264 <systemitem class="username">root</systemitem> user, install the icons
265 with the following commands:</para>
[8a64f4b]266
[01f09271]267<screen role="root"><userinput>cd ../../../../../../../../sysui/desktop/icons &amp;&amp;
268install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
[cdb6f7a]269cp -a -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
270cp -a -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
271cp -a -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
[c1c5faae]272
273 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
274 <application>KDE</application>, there is no furthur configuration
275 necessary. If you use <application>Gnome</application>, you should copy
276 the <filename>*.desktop</filename> files to
277 <filename>/usr/share/applications</filename> with the following
[e7d7f69]278 commands as the <systemitem class="username">root</systemitem> user:</para>
[c1c5faae]279
280<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
[01f09271]281cd /opt/openoffice-2.0.0/share/xdg/ &amp;&amp;
282for appl in *.desktop
283do
284 sed -i '/Exec/d' $appl
285 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
286 sed -i '/Icon/d' $appl
287 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
288done &amp;&amp;
289sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
[cdb6f7a]290cp -v *.desktop /usr/share/applications</userinput></screen>
[01f09271]291
292 <para>Finally, if you'd like to edit <application>OpenOffice</application>
293 documents directly from <application>Mozilla</application> or
294 <application>Firefox</application>, create a symbolic link in your
295 plugins directory to
296 <filename>/opt/openoffice-2.0.0/program/libnpsoplugin.so</filename>.
297 Additionally, you must enable the plugin from the
298 <parameter>Internet Options</parameter> within any
299 <application>OpenOffice</application> application.</para>
[c1c5faae]300
301 </sect2>
302
303 <sect2 role="commands">
304 <title>Command Explanations</title>
305
[cdb6f7a]306 <para><parameter>--enable-libart</parameter>: This switch forces the Use
307 of libart instead of <application>gpc</application> for polygon
308 clipping.</para>
[c1c5faae]309
[cdb6f7a]310 <para><parameter>--enable-libsn</parameter>: This switch enables the use
311 of <application>startup-notification</application>.</para>
[c1c5faae]312
[01f09271]313 <para><parameter>--disable-fontooo</parameter>: Use
314 <application>Fontconfig</application> instead of FontOOo.</para>
315
[c1c5faae]316 <para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
[01f09271]317 fonts since they are already bundled with
318 <application>X</application>.</para>
[c1c5faae]319
[01f09271]320 <para><parameter>--with-system-*</parameter>: Use the system libraries
321 and programs instead of building the packagees included in the build
322 tree.</para>
[c1c5faae]323
[01f09271]324 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
325 <application>Mozilla</application> suite.</para>
[c1c5faae]326
[01f09271]327 <para><parameter>--with-build-version=BLFS</parameter>:
[cdb6f7a]328 Appends "BLFS" to the end of the version string.</para>
[c1c5faae]329
[cdb6f7a]330 <para><parameter>--with-package-format=native</parameter>: This switch
331 disables the build of <application>RPM</application> packages.</para>
[c1c5faae]332
[cdb6f7a]333 <para><parameter>--disable-binfilter</parameter>: This switch disables the
334 build of legacy <application>StarOffice-5</application> import
335 filters.</para>
[01f09271]336
[cdb6f7a]337<!--
338 <para><parameter>- -with-firefox</parameter>: Enables the use of
[01f09271]339 <application>Firefox</application> in place of the full
340 <application>Mozilla</application> suite. This will disable the use
341 of a <application>Thunderbird</application> address book as a data
342 source.</para>
[cdb6f7a]343-->
344
345 <para><parameter>--disable-cups</parameter>: Disable the use of
346 <application>cups</application> for printing.</para>
[01f09271]347
348 <para><parameter>--with-lang=<replaceable>[LANG]</replaceable></parameter>:
[cdb6f7a]349 Makes an install set for the desired language. ENUS is the default.</para>
[01f09271]350
351 <para><parameter>--with-dict=<replaceable>[LANG]</replaceable></parameter>:
[cdb6f7a]352 This switch installs dictionaries for the desired languages. ENUS is
353 the default.</para>
[c1c5faae]354
[01f09271]355 <para><command>./bootstrap</command>: Build the
356 <application>dmake</application> utility required to complete the
357 build.</para>
[c1c5faae]358
[01f09271]359 <para><command>dmake</command>: Compile the package.</para>
360
361 <para><command>for appl in *.desktop...</command>: Edit the *.desktop
362 files for use with a standard BLFS system.</para>
[c1c5faae]363
364 </sect2>
365
366 <sect2 role="content">
367 <title>Contents</title>
368
369 <segmentedlist>
370 <segtitle>Installed Programs</segtitle>
371 <segtitle>Installed Libraries</segtitle>
[8a64f4b]372 <segtitle>Installed Directory</segtitle>
[c1c5faae]373
374 <seglistitem>
[01f09271]375 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
[c1c5faae]376 <seg><application>OpenOffice</application> libraries</seg>
[01f09271]377 <seg>/opt/openoffice-2.0.0</seg>
[c1c5faae]378 </seglistitem>
379 </segmentedlist>
380
381 <variablelist>
382 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
383 <?dbfo list-presentation="list"?>
384 <?dbhtml list-presentation="table"?>
385
[01f09271]386 <varlistentry id="sbase">
387 <term><command>sbase</command></term>
[c1c5faae]388 <listitem>
[cdb6f7a]389 <para><application>sbase</application> is a database
390 application.</para>
[01f09271]391 <indexterm zone="openoffice sbase">
392 <primary sortas="b-sbase">sbase</primary>
[c1c5faae]393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="scalc">
398 <term><command>scalc</command></term>
399 <listitem>
[cdb6f7a]400 <para><application>scalc</application> is a spreadsheet
401 application.</para>
[c1c5faae]402 <indexterm zone="openoffice scalc">
403 <primary sortas="b-scalc">scalc</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="sdraw">
409 <term><command>sdraw</command></term>
410 <listitem>
[cdb6f7a]411 <para><application>sdraw</application> is a drawing
412 application.</para>
[c1c5faae]413 <indexterm zone="openoffice sdraw">
414 <primary sortas="b-sdraw">sdraw</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="simpress">
420 <term><command>simpress</command></term>
421 <listitem>
[cdb6f7a]422 <para><application>simpress</application> is a presentation
423 application.</para>
[c1c5faae]424 <indexterm zone="openoffice simpress">
425 <primary sortas="b-simpress">simpress</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="smath">
431 <term><command>smath</command></term>
432 <listitem>
[cdb6f7a]433 <para><application>smath</application> is a mathematical formula
434 editor.</para>
[c1c5faae]435 <indexterm zone="openoffice smath">
436 <primary sortas="b-smath">smath</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="soffice">
442 <term><command>soffice</command></term>
443 <listitem>
[cdb6f7a]444 <para><application>soffice</application> opens a base window with
445 access to all <application>OpenOffice</application>
446 applications.</para>
[c1c5faae]447 <indexterm zone="openoffice soffice">
448 <primary sortas="b-soffice">soffice</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="spadmin">
454 <term><command>spadmin</command></term>
455 <listitem>
[cdb6f7a]456 <para><application>spadmin</application> is the
457 <application>OpenOffice</application> printer configuration
458 utility.</para>
[c1c5faae]459 <indexterm zone="openoffice spadmin">
460 <primary sortas="b-spadmin">spadmin</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="swriter">
466 <term><command>swriter</command></term>
467 <listitem>
[cdb6f7a]468 <para><application>swriter</application> is a word processing
469 application.</para>
[c1c5faae]470 <indexterm zone="openoffice swriter">
471 <primary sortas="b-swriter">swriter</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 </variablelist>
477
478 </sect2>
[f45b1953]479
480</sect1>
Note: See TracBrowser for help on using the repository browser.