source: xsoft/suites/openoffice.xml@ 622f1c7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 622f1c7 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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

  • Property mode set to 100644
File size: 17.8 KB
RevLine 
[87ba6cd5]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[87ba6cd5]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[24ebcaa8]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/&openoffice-version;/OOo_&openoffice-version;_src.tar.gz"> -->
9 <!ENTITY openoffice-download-http "&sources-anduin-http;/o/OOo_&openoffice-version;_src.tar.gz">
10 <!ENTITY openoffice-download-ftp "&sources-anduin-ftp;/o/OOo_&openoffice-version;_src.tar.gz">
[c4ba62c8]11 <!ENTITY openoffice-md5sum "f68832ff3458664ae2b741ec67d30104">
12 <!ENTITY openoffice-size "294 MB">
13 <!ENTITY openoffice-buildsize "6 GB">
14 <!ENTITY openoffice-time "129 SBU">
[87ba6cd5]15]>
16
[5342913]17<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
[c1c5faae]18 <?dbhtml filename="openoffice.html" ?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>OpenOffice-&openoffice-version;</title>
26
27 <indexterm zone="openoffice">
28 <primary sortas="a-OpenOffice">OpenOffice</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to OpenOffice</title>
33
34 <para><application>OpenOffice</application> is an office suite, the
35 open source sibling of <application>StarOffice</application>.</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&openoffice-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&openoffice-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &openoffice-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &openoffice-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &openoffice-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &openoffice-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
[a098628]61
[c1c5faae]62 <listitem>
[6e8c293]63 <para>Required patch:
[c4ba62c8]64 <ulink url="&patch-root;/OOo_&openoffice-version;-xauth-1.patch"/>
[4eca288]65 </para>
[c1c5faae]66 </listitem>
[4eca288]67
[c1c5faae]68 <listitem>
[6e8c293]69 <para>Required patch if
[bccbdaea]70 <application>Linux-PAM</application>-&linux-pam-version; is not
[d1f23e0]71 installed:
[a098628]72 <ulink url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
[9f12e36]73 </listitem>
[4eca288]74
[c1c5faae]75 <listitem>
[6e8c293]76 <para>Required patch if building against the system-installed
[9f12e36]77 Mozilla products (<application>NSS</application>,
78 <application>Firefox</application>, or
[4eca288]79 <application>Seamonkey</application>):
[c4ba62c8]80 <ulink url="&patch-root;/OOo_&openoffice-version;-system_mozilla_fixes-1.patch"/>
[01f09271]81 </para>
[c1c5faae]82 </listitem>
[a098628]83
[01f09271]84 <listitem>
[6e8c293]85 <para>Required download if you wish to build the in-tree
86 <application>Mozilla</application> browser:
[a098628]87 <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
[01f09271]88 </listitem>
[c1c5faae]89 </itemizedlist>
90
91 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
92
93 <bridgehead renderas="sect4">Required</bridgehead>
[d1f23e0]94 <para role="required"><xref linkend="apache-ant"/>,
[a27d1cf]95 <xref linkend="gtk2"/>,
[cdb6f7a]96 <xref linkend="libidl"/>,
97 <xref linkend="libxml2"/>,
98 <application>Perl Modules</application>
99 <xref linkend="perl-xml-parser"/> and
[01f09271]100 <xref linkend="perl-archive-zip"/>,
[cdb6f7a]101 <xref linkend="tcsh"/>,
102 <xref linkend="unzip"/>,
[bccbdaea]103 <xref linkend="which"/>, and
[c1cc405]104 <xref linkend="zip"/></para>
[c1c5faae]105
106 <bridgehead renderas="sect4">Recommended</bridgehead>
[c1cc405]107 <para role="recommended"><xref linkend="libart_lgpl"/></para>
[c1c5faae]108
109 <bridgehead renderas="sect4">Optional</bridgehead>
[d1f23e0]110 <para role="optional"><ulink
111 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
[a098628]112 <ulink url="http://boost.sourceforge.net/">boost</ulink>,
[768cbf0f]113 <xref linkend="cups"/>,
[a098628]114 <xref linkend="curl"/>,
[4eca288]115 <!-- <xref linkend="db"/>, THIS IS CURRENTLY BROKEN! Internal version is
[9f12e36]116 4.2.x, just too different. Using the system db (which must be rebuilt
117 with java bindings) results in a segfault of javac and gcj because of
118 xalan caching leading to OOM killing the process. Experimental patches
119 exist, but require that libxslt is used in place of xalan....big change,
[4eca288]120 not quite ready for the book. -->
[768cbf0f]121 <xref linkend="desktop-file-utils"/>,
[a098628]122 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
123 <xref linkend="evolution"/>,
[768cbf0f]124 <xref linkend="gnome-vfs"/>,
[a098628]125 <ulink url="http://www.cs.man.ac.uk/~toby/alan/software/">GPC</ulink>,
126 <xref linkend="kde"/>,
127 <xref linkend="libjpeg"/>,
128 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
129 <xref linkend="libtiff"/>,
130 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
[6603f8b]131 <xref linkend="linux-pam"/>,
[9f12e36]132 <xref linkend="seamonkey"/> (must be built against the system
[6067373]133 <xref linkend="nss"/>) or <xref linkend="firefox"/> (with ldap support),
[a098628]134 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
135 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
[01f09271]136 <xref linkend="nas"/>,
[a098628]137 <ulink url="http://www.webdav.org/neon/">neon</ulink>,
[4eca288]138 <xref linkend="openldap"/>,
[a098628]139 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
[cdb6f7a]140 <xref linkend="python"/>,
[a098628]141 <ulink url="http://www.gingerall.com/charlie/ga/xml/p_sab.xml">Sablotron</ulink>,
142 <xref linkend="sane"/>,
[768cbf0f]143 <xref linkend="startup-notification"/>,
[a098628]144 <ulink url="http://sourceforge.net/projects/stlport/">STLPort</ulink>, and
[c1cc405]145 <xref linkend="unixodbc"/></para>
[c1c5faae]146
[38e4f06]147 <para condition="html" role="usernotes">User Notes:
148 <ulink url="&blfs-wiki;/openoffice"/></para>
149
[c1c5faae]150 </sect2>
151
152 <sect2 role="installation">
153 <title>Installation of OpenOffice</title>
154
155 <para>Apply all of the downloaded patches:</para>
[4467c5b]156
[c1c5faae]157<screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
[5f0bab7]158 do patch -Np1 -i ${PATCH}
[c1c5faae]159done</userinput></screen>
[5f0bab7]160
[864b24de]161 <para>If you wish to build an in-tree <application>Mozilla</application>,
[6e8c293]162 as opposed to using a system wide installation, copy the
[099b774]163 <application>Mozilla</application> source tarball into the source
[01f09271]164 tree:</para>
[2dfcd1d]165
[f922e62]166<screen><userinput>cp ../mozilla-source-1.7.5.tar.gz moz/download/</userinput></screen>
[2dfcd1d]167
[f922e62]168 <para>If you want to optimize the build, edit the appropriate makefile in
169 <filename>solenv/inc/</filename> and add the desired optimization
170 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
171 specific, for instance edit <filename>solenv/inc/unxlngi6.mk</filename>
[d1f23e0]172 for i686. Some users have reported problems with
173 <option>-fomit-frame-pointer</option>. The best option is to not use any
174 custom optimizations. The following command removes an incorrect
[f922e62]175 <option>-mcpu</option> option in several of the makefiles:</para>
[87ba6cd5]176
[f922e62]177<screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
[01f09271]178
[c1c5faae]179 <para>Configure <application>OpenOffice</application> using the following
[2e7058a6]180 commands:</para>
[87ba6cd5]181
[6473e74]182 <note><para>Because of the complexity of the
[768cbf0f]183 <application>OpenOffice</application> build system, it is not possible to
[6473e74]184 provide generic build instructions for all systems. You should review
185 the output of <command>config_office/configure --help</command> and take
186 advantage of any system installed programs and libraries available using
187 the <parameter>--enable</parameter>, <parameter>--disable</parameter>, and
[f9e8aa2]188 <parameter>--with-system-*</parameter> parameters.</para></note>
[01f09271]189
[9f12e36]190 <warning><para>Do not use the <parameter>--with-system-db</parameter>
[57e87ac2]191 or <parameter>--disable-odk</parameter> switches. Both are known to
192 cause build failures.</para></warning>
[4eca288]193
[c1c5faae]194<screen><userinput>cd config_office/ &amp;&amp;
[4eca288]195autoreconf &amp;&amp;
196./configure --prefix=/opt/openoffice-&openoffice-version; \
[768cbf0f]197 --enable-libart --disable-fontooo --disable-gnome-vfs \
[a098628]198 --without-fonts --with-system-stdlibs --with-system-freetype \
199 --with-system-expat --with-system-libxml --with-system-zlib \
200 --enable-build-mozilla --with-build-version=BLFS \
[01f09271]201 --with-package-format=native --disable-binfilter &amp;&amp;
[c1c5faae]202cd ..</userinput></screen>
[87ba6cd5]203
[c1c5faae]204 <para><application>OpenOffice</application> fails to compile if
205 <command>umask</command> is set to something exotic. The build can also
206 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
207 variables are set. Use the following commands to change your
208 environment accordingly:</para>
[2dfcd1d]209
[c1c5faae]210<screen><userinput>umask 0022 &amp;&amp;
211unset LANG LC_ALL</userinput></screen>
[2dfcd1d]212
[c1c5faae]213 <para>Compile <application>OpenOffice</application> using the following
214 commands:</para>
[87ba6cd5]215
[c1c5faae]216<screen><userinput>./bootstrap &amp;&amp;
[e7d7f69]217. LinuxIntelEnv.Set.sh &amp;&amp;
218dmake</userinput></screen>
[87ba6cd5]219
[6e8c293]220 <para>This package does not come with a test suite.</para>
221
[bccbdaea]222 <para>Install <application>OpenOffice</application> as the
223 <systemitem class="username">root</systemitem> user with the
[01f09271]224 following commands:</para>
[87ba6cd5]225
[01f09271]226<screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
[4eca288]227native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
[dc19fbff]228cp -r -v openoffice.org2.0 /opt/openoffice-&openoffice-version;</userinput></screen>
[87ba6cd5]229
[bccbdaea]230 <para>Still as the <systemitem class="username">root</systemitem>
[01f09271]231 user:</para>
[87ba6cd5]232
[01f09271]233<screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
[bccbdaea]234do
[4eca288]235 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
[01f09271]236done</userinput></screen>
[8a64f4b]237
[bccbdaea]238 <para>The icons are not installed by default. While still the
[01f09271]239 <systemitem class="username">root</systemitem> user, install the icons
240 with the following commands:</para>
[8a64f4b]241
[4eca288]242<screen role="root"><userinput>cd ../../../../../../../../../sysui/desktop/icons &amp;&amp;
[01f09271]243install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
[dc19fbff]244cp -r -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
245cp -r -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
246cp -r -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
[c1c5faae]247
248 <para>If you have installed <xref linkend="desktop-file-utils"/> and use
[c1cc405]249 <application>KDE</application>, there is no further configuration
[c1c5faae]250 necessary. If you use <application>Gnome</application>, you should copy
251 the <filename>*.desktop</filename> files to
252 <filename>/usr/share/applications</filename> with the following
[e7d7f69]253 commands as the <systemitem class="username">root</systemitem> user:</para>
[c1c5faae]254
255<screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
[4eca288]256cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
[01f09271]257for appl in *.desktop
258do
259 sed -i '/Exec/d' $appl
260 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
261 sed -i '/Icon/d' $appl
262 echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
263done &amp;&amp;
264sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
[cdb6f7a]265cp -v *.desktop /usr/share/applications</userinput></screen>
[01f09271]266
267 <para>Finally, if you'd like to edit <application>OpenOffice</application>
268 documents directly from <application>Mozilla</application> or
[bccbdaea]269 <application>Firefox</application>, create a symbolic link in your
270 plugins directory to
[4eca288]271 <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
[bccbdaea]272 Additionally, you must enable the plugin from the
273 <parameter>Internet Options</parameter> within any
[01f09271]274 <application>OpenOffice</application> application.</para>
[c1c5faae]275
276 </sect2>
277
278 <sect2 role="commands">
279 <title>Command Explanations</title>
280
[f9e8aa2]281 <para><parameter>--enable-libart</parameter>: This switch forces the use
[bccbdaea]282 of libart instead of <application>gpc</application> for polygon
[cdb6f7a]283 clipping.</para>
[c1c5faae]284
[cdb6f7a]285 <para><parameter>--enable-libsn</parameter>: This switch enables the use
286 of <application>startup-notification</application>.</para>
[c1c5faae]287
[bccbdaea]288 <para><parameter>--disable-fontooo</parameter>: Use
[01f09271]289 <application>Fontconfig</application> instead of FontOOo.</para>
290
[f9e8aa2]291 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
292 <application>Gnome Virtual File System</application> libraries. Omit
293 this switch if you have Gnome installed.</para>
294
[6473e74]295 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
296 Vera fonts since they are already included in X Window System
[f9e8aa2]297 Environment.</para>
[c1c5faae]298
[01f09271]299 <para><parameter>--with-system-*</parameter>: Use the system libraries
[a098628]300 and programs instead of building the source packages included in the build
[01f09271]301 tree.</para>
[c1c5faae]302
[01f09271]303 <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
304 <application>Mozilla</application> suite.</para>
[c1c5faae]305
[01f09271]306 <para><parameter>--with-build-version=BLFS</parameter>:
[cdb6f7a]307 Appends "BLFS" to the end of the version string.</para>
[c1c5faae]308
[bccbdaea]309 <para><parameter>--with-package-format=native</parameter>: This switch
[cdb6f7a]310 disables the build of <application>RPM</application> packages.</para>
[c1c5faae]311
[bccbdaea]312 <para><parameter>--disable-binfilter</parameter>: This switch disables the
313 build of legacy <application>StarOffice-5</application> import
[cdb6f7a]314 filters.</para>
[01f09271]315
[a098628]316 <para><parameter>--with-firefox</parameter>: Enables the use of
[01f09271]317 <application>Firefox</application> in place of the full
318 <application>Mozilla</application> suite. This will disable the use
319 of a <application>Thunderbird</application> address book as a data
320 source.</para>
[cdb6f7a]321
[bccbdaea]322 <para><parameter>--disable-cups</parameter>: Disable the use of
[c1cc405]323 <application>CUPS</application> for printing.</para>
[01f09271]324
[38e4f06]325 <para><parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
[cdb6f7a]326 Makes an install set for the desired language. ENUS is the default.</para>
[01f09271]327
[38e4f06]328 <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
[bccbdaea]329 This switch installs dictionaries for the desired languages. ENUS is
[cdb6f7a]330 the default.</para>
[c1c5faae]331
[bccbdaea]332 <para><command>./bootstrap</command>: Build the
333 <application>dmake</application> utility required to complete the
[01f09271]334 build.</para>
[c1c5faae]335
[01f09271]336 <para><command>dmake</command>: Compile the package.</para>
337
[c1cc405]338 <para><command>for appl in *.desktop...</command>: Edit the
339 <filename>*.desktop</filename> files for use with a standard BLFS
340 system.</para>
[c1c5faae]341
342 </sect2>
343
344 <sect2 role="content">
345 <title>Contents</title>
346
347 <segmentedlist>
348 <segtitle>Installed Programs</segtitle>
349 <segtitle>Installed Libraries</segtitle>
[8a64f4b]350 <segtitle>Installed Directory</segtitle>
[c1c5faae]351
352 <seglistitem>
[01f09271]353 <seg>scalc, sdraw, simpress, smath, soffice, spadmin, and swriter.</seg>
[c1c5faae]354 <seg><application>OpenOffice</application> libraries</seg>
[4eca288]355 <seg>/opt/openoffice-&openoffice-version;</seg>
[c1c5faae]356 </seglistitem>
357 </segmentedlist>
358
359 <variablelist>
360 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
361 <?dbfo list-presentation="list"?>
362 <?dbhtml list-presentation="table"?>
363
[01f09271]364 <varlistentry id="sbase">
365 <term><command>sbase</command></term>
[c1c5faae]366 <listitem>
[c1cc405]367 <para>is a database application.</para>
[01f09271]368 <indexterm zone="openoffice sbase">
369 <primary sortas="b-sbase">sbase</primary>
[c1c5faae]370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="scalc">
375 <term><command>scalc</command></term>
376 <listitem>
[c1cc405]377 <para>is a spreadsheet application.</para>
[c1c5faae]378 <indexterm zone="openoffice scalc">
379 <primary sortas="b-scalc">scalc</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="sdraw">
385 <term><command>sdraw</command></term>
386 <listitem>
[c1cc405]387 <para>is a drawing application.</para>
[c1c5faae]388 <indexterm zone="openoffice sdraw">
389 <primary sortas="b-sdraw">sdraw</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="simpress">
395 <term><command>simpress</command></term>
396 <listitem>
[c1cc405]397 <para>is a presentation application.</para>
[c1c5faae]398 <indexterm zone="openoffice simpress">
399 <primary sortas="b-simpress">simpress</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="smath">
405 <term><command>smath</command></term>
406 <listitem>
[c1cc405]407 <para>is a mathematical formula editor.</para>
[c1c5faae]408 <indexterm zone="openoffice smath">
409 <primary sortas="b-smath">smath</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="soffice">
415 <term><command>soffice</command></term>
416 <listitem>
[c1cc405]417 <para>opens a base window with access to all
418 <application>OpenOffice</application> applications.</para>
[c1c5faae]419 <indexterm zone="openoffice soffice">
420 <primary sortas="b-soffice">soffice</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="spadmin">
426 <term><command>spadmin</command></term>
427 <listitem>
[c1cc405]428 <para>is the <application>OpenOffice</application> printer
429 configuration utility.</para>
[c1c5faae]430 <indexterm zone="openoffice spadmin">
431 <primary sortas="b-spadmin">spadmin</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="swriter">
437 <term><command>swriter</command></term>
438 <listitem>
[c1cc405]439 <para>is a word processing application.</para>
[c1c5faae]440 <indexterm zone="openoffice swriter">
441 <primary sortas="b-swriter">swriter</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 </variablelist>
447
448 </sect2>
[f45b1953]449
450</sect1>
Note: See TracBrowser for help on using the repository browser.