source: archive/suites/openoffice.xml@ ccded7e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ccded7e was ad6ebf1, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Cleanup X. X Software

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

  • Property mode set to 100644
File size: 21.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src.tar.gz"> -->
9 <!ENTITY openoffice-core-download-http "http://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_core.tar.bz2">
10 <!ENTITY openoffice-core-download-ftp "ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_core.tar.bz2">
11 <!ENTITY openoffice-core-md5sum "4fa713fb796bc57e5eb9dfb0758adda0">
12 <!ENTITY openoffice-core-size "205 MB">
13 <!ENTITY openoffice-system-download-http "http://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_system.tar.bz2">
14 <!ENTITY openoffice-system-download-ftp "ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_system.tar.bz2">
15 <!ENTITY openoffice-system-md5sum "e6405c8108bdcf4cc2bf066d88aa5ae1">
16 <!ENTITY openoffice-system-size "59 MB">
17 <!ENTITY openoffice-buildsize "4.9-7.3 GB (depending on configured options)">
18 <!ENTITY openoffice-time "96-109 SBU (depending on configured options)">
19]>
20
21<sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
22 <?dbhtml filename="openoffice.html" ?>
23
24 <sect1info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>OpenOffice-&openoffice-version;</title>
30
31 <indexterm zone="openoffice">
32 <primary sortas="a-OpenOffice">OpenOffice</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to OpenOffice</title>
37
38 <para><application>OpenOffice</application> is an office suite, the
39 open source sibling of <application>StarOffice</application>.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>OpenOffice Core Download (HTTP): <ulink url="&openoffice-core-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>OpenOffice Core Download (FTP): <ulink url="&openoffice-core-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>OpenOffice Core Download MD5 sum: &openoffice-core-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>OpenOffice Core Download size: &openoffice-core-size;</para>
54 </listitem>
55 <listitem>
56 <para>OpenOffice System Download (HTTP): <ulink url="&openoffice-system-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>OpenOffice System Download (FTP): <ulink url="&openoffice-system-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>OpenOffice System Download MD5 sum: &openoffice-system-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>OpenOffice System Download size: &openoffice-system-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &openoffice-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &openoffice-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing='compact'>
77 <listitem>
78 <para>Required patch:
79 <ulink url="&patch-root;/OOo_&openoffice-version;-build_with_db5-1.patch"/>
80 </para>
81 </listitem>
82 <listitem>
83 <para>Required download:
84 <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.14/seamonkey-1.1.14.source.tar.bz2"/></para>
85 </listitem>
86 <listitem>
87 <para>Optional download if you would like to localize the
88 installation:
89 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_l10n.tar.bz2"/></para>
90 </listitem>
91 <listitem>
92 <para>Optional download if you need to support the old
93 <application>StarOffice-5.2</application> file formats:
94 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_binfilter.tar.bz2"/></para>
95 </listitem>
96 <listitem>
97 <para>Optional download if you want to build additional extensions
98 for <application>OpenOffice</application>:
99 <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_extensions.tar.bz2"/></para>
100 </listitem>
101 <listitem>
102 <para>Optional download if you want to build the office development kit
103 (cross platform requirement is not optional):
104 <ulink url="http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll"/></para>
105 </listitem>
106 </itemizedlist>
107 <bridgehead renderas="sect3">OpenOffice Dependencies</bridgehead>
108
109 <bridgehead renderas="sect4">Required</bridgehead>
110 <para role="required"><xref linkend="apache-ant"/>,
111 <xref linkend="gtk2"/>,
112 <xref linkend="libidl"/>,
113 <application>Perl Modules</application>
114 <xref linkend="perl-xml-parser"/> and
115 <xref linkend="perl-archive-zip"/>,
116 <xref linkend="unzip"/>,
117 <xref linkend="which"/>, and
118 <xref linkend="zip"/></para>
119
120 <bridgehead renderas="sect4">Optional</bridgehead>
121 <para role="optional"><ulink
122 url="http://packages.debian.org/testing/libdevel/libaltlinuxhyph-dev">ALTLinuxhyph</ulink>,
123 <xref linkend="boost"/>,
124 <xref linkend="cups"/>,
125 <xref linkend="curl"/>,
126 <xref linkend="db"/> (built with Java support),
127 <xref linkend="desktop-file-utils"/>,
128 <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
129 <xref linkend="evolution"/>,
130 <!--<xref linkend="gnome-vfs"/> (should use \-\-enable-gio instead),-->
131 <!-- <xref linkend="kde"/>, -->
132 <xref linkend="libjpeg"/>,
133 <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>,
134 <xref linkend="libtiff"/>,
135 <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
136 <xref linkend="libxslt"/>,
137 <xref linkend="libxml2"/>,
138 <xref linkend="linux-pam"/>,
139 <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
140 <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
141 <xref linkend="neon"/>,
142 <xref linkend="openldap"/>,
143 <xref linkend="python2"/>,
144 <xref linkend="sane"/>,
145 <xref linkend="startup-notification"/>, and
146 <xref linkend="unixodbc"/></para>
147
148 <para condition="html" role="usernotes">User Notes:
149 <ulink url="&blfs-wiki;/openoffice"/></para>
150
151 </sect2>
152
153 <sect2 role="installation">
154 <title>Installation of OpenOffice</title>
155
156 <para>The <application>OpenOffice</application> source code is
157 distributed in several tarballs. You should extract each from the
158 same top-level directory before entering the build directory. At
159 a minimum, you will need to extract the <quote>core</quote> and
160 <quote>system</quote> tarballs. Note that the source directory name
161 is not consistent with the tarball name and will be named
162 <filename class='directory'>OOO320_m19</filename>.</para>
163
164 <para>It is possible to build with a system-installed
165 <application>Mozilla</application>, however, it requires a very intrusive
166 patch, and is version specific. Additionally, you'll need to build against
167 <xref linkend="seamonkey"/> or <xref linkend="thunderbird"/> for full
168 LDAP and address book functionality. Instead, use the in-tree
169 <application>Seamonkey</application> build. Copy the tarball into
170 the source tree with the following command:</para>
171
172<screen><userinput>cp ../seamonkey-1.1.14-source.tar.bz2 moz/download/</userinput></screen>
173
174 <para>If you want to optimize the build, edit the appropriate makefile in
175 <filename>solenv/inc/</filename> and add the desired optimization
176 flags to the <envar>CFLAGSOPT</envar> variable. The makefiles are arch
177 specific, for instance edit <filename>unxlngi6.mk</filename> for i686, or
178 <filename>unxlngx6.mk</filename> for x86_64. Some users have reported
179 problems with <option>-fomit-frame-pointer</option>. The best option is to
180 not use any custom optimizations.</para>
181
182 <note>
183 <para>Because of the complexity of the
184 <application>OpenOffice</application> build system, it is not possible to
185 provide generic build instructions for all systems. You should review
186 the output of <command>configure --help</command> and take advantage of
187 any system installed programs and libraries available using the
188 <parameter>--enable-*</parameter>, <parameter>--disable-*</parameter>,
189 and <parameter>--with-system-*</parameter> parameters, and provide any
190 additional environment variables needed.</para>
191 </note>
192
193 <para><application>OpenOffice</application> fails to compile if
194 <command>umask</command> is set to something exotic. The build can also
195 fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
196 variables are set. Use the following commands to change your
197 environment accordingly:</para>
198
199<screen><userinput>umask 0022 &amp;&amp;
200unset LANG LC_ALL</userinput></screen>
201
202 <para>Install <application>OpenOffice</application> by running the
203 following commands:</para>
204
205<!-- uudecode didn't fuss...but left in for reference
206sed -i 's@..$/dist$/configure@uudecode="no" &amp;@' \
207 berkeleydb/makefile.mk &amp;&amp;
208-->
209
210<screen><userinput>patch -Np1 -i ../OOo_&openoffice-version;-with-system-db5-1.patch &amp;&amp;
211autoreconf &amp;&amp;
212PKG_CONFIG=/usr/bin/pkg-config ./configure \
213 --disable-binfilter \
214 --disable-fontooo \
215 --disable-gnome-vfs \
216 --disable-odk \
217 --disable-qadevooo \
218 --enable-cairo \
219 --without-afms \
220 --without-fonts \
221 --without-ppds \
222 --without-pam \
223 --with-system-stdlibs \
224 --with-system-cairo \
225 --with-system-expat \
226 --with-system-zlib \
227 --with-package-format=native \
228 --with-vendor="BLFS" \
229 --with-use-shell=bash &amp;&amp;
230source LinuxX86Env.Set.sh &amp;&amp;
231./bootstrap &amp;&amp;
232make</userinput></screen>
233
234 <para>This package does not come with a test suite.</para>
235
236 <para>Now, as the <systemitem class="username">root</systemitem>
237 user:</para>
238
239<screen role="root"><userinput>pushd instsetoo_native/unxlng?6.pro/OpenOffice/\
240native/install/en-US/linux-2.6-*/buildroot/opt &amp;&amp;
241cp -r -v openoffice.org3 /opt/openoffice-&openoffice-version; &amp;&amp;
242cp -r -v openoffice.org/* /opt/openoffice-&openoffice-version; &amp;&amp;
243ln -sf basis3.2 /opt/openoffice-&openoffice-version;/basis-link &amp;&amp;
244popd &amp;&amp;
245
246for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
247do
248 ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin
249done &amp;&amp;
250
251pushd sysui/desktop/icons &amp;&amp;
252install -v -m755 -d /usr/share/icons/{hicolor,locolor} &amp;&amp;
253cp -r -v hicolor/* /usr/share/icons/hicolor &amp;&amp;
254cp -r -v locolor/* /usr/share/icons/locolor &amp;&amp;
255popd</userinput></screen>
256
257 <para>If you have installed <xref linkend="desktop-file-utils"/>, you
258 should copy the <filename class='extension'>*.desktop</filename> files to
259 <filename class='directory'>/usr/share/applications</filename> using the
260 following commands as the <systemitem class="username">root</systemitem>
261 user:</para>
262
263<screen role="root"><userinput>install -v -d -m755 /usr/share/applications &amp;&amp;
264pushd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
265for appl in *.desktop
266do
267 sed -i '/Exec/d' $appl &amp;&amp;
268 echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl &amp;&amp;
269 sed -i '/Icon/d' $appl &amp;&amp;
270 echo "Icon=`echo "ooo-${appl}3.2" | sed 's/\.desktop//'`" >> $appl
271done &amp;&amp;
272sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
273cp -v *.desktop /usr/share/applications &amp;&amp;
274update-desktop-database &amp;&amp;
275popd</userinput></screen>
276
277 <para>If you've chosen to build any additional dictionaries or any of the
278 extensions, you'll need to copy them to the installation directory. Run
279 the following commands as the
280 <systemitem class="username">root</systemitem> user:</para>
281
282 <note><para>The following two command blocks will not exit with a zero
283 value, and the second will require you to press 'y' before installation.
284 Keep this in mind if scripting the build.</para></note>
285
286<screen role="root"><userinput>cp -v dictionaries/unxlngi6.pro/bin/dict-*.oxt \
287 sdext/unxlngi6.pro/bin/*.oxt \
288 reportbuilder/unxlngi6.pro/bin/report-builder.oxt \
289 swext/unxlngi6.pro/bin/wiki-publisher.oxt \
290 /opt/openoffice-3.2.1/share/extension/install</userinput></screen>
291
292 <para>Now, while still the <systemitem class="username">root</systemitem>
293 user, add everything into the shared installation:</para>
294
295<screen role="root"><userinput>for ext in /opt/openoffice-3.2.1/share/extension/install/*.oxt
296do
297 /opt/openoffice-3.2.1/program/unopkg add --shared --verbose $ext
298done</userinput></screen>
299
300 <note><para><application>OpenOffice</application> default language tools
301 will not work out of the box. You will have to explicitly select the
302 proper language settings from within one of the installed programs by
303 going into the Tools menu and selecting Options. Under Language Settings,
304 Languages, select the desired language for all settings. Do not leave
305 "Default" in any drop down menu here.</para></note>
306
307 <para>Finally, if you'd like to edit <application>OpenOffice</application>
308 documents directly from <xref linkend="seamonkey"/> or
309 <xref linkend="firefox"/>, create a symbolic link in your
310 plugins directory to <filename
311 class='libraryfile'>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
312 Additionally, you must enable the plugin from the
313 <parameter>Internet Options</parameter> within any
314 <application>OpenOffice</application> application.</para>
315
316 </sect2>
317
318 <sect2 role="commands">
319 <title>Command Explanations</title>
320
321 <para><envar>PKG_CONFIG=/usr/bin/pkg-config</envar>:
322 This variable must be set as the version check in
323 <filename>configure</filename> is broken.</para>
324
325 <para><parameter>--disable-binfilter</parameter>: This switch disables
326 the build of legacy <application>StarOffice-5</application> import
327 filters. Omit this switch if you've downloaded the
328 <application>binfilter</application> package
329 above. Warning: Installation of the legacy import filters increases the
330 build time considerably. Only install them if you have these old
331 file types, and need to edit them in
332 <application>OpenOffice</application>.</para>
333
334 <para><parameter>--disable-fontooo</parameter>: Use
335 <application>Fontconfig</application> instead of the FontOOo.</para>
336
337 <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
338 <application>Gnome Virtual File System</application> libraries. Omit
339 this switch only if gio is not available.</para>
340
341 <para><parameter>--disable-odk</parameter>: This switch disables the build
342 of the <application>OpenOffice</application> SDK. Omit this switch if
343 you've downloaded the SDK package (and additional requirements)
344 above.</para>
345
346 <para><parameter>--disable-qadevooo</parameter>: This switch skips
347 the building of the quality assurance tools used by the
348 <application>OpenOffice</application> development teams.</para>
349
350 <para><parameter>--enable-cairo</parameter>: This switch listed in the
351 example <command>configure</command> command above forces the use of the
352 system installed cairo.</para>
353
354 <para><parameter>--without-afms</parameter>: Do not install afm font types
355 as system installed TrueType fonts are already available.</para>
356
357 <para><parameter>--without-fonts</parameter>: Do not install Bitstream
358 Vera fonts since they are already included in the
359 <application>X</application> Window System Environment.</para>
360
361 <para><parameter>--without-ppds</parameter>: Do not install printer
362 description files as these should be handled by your print system.</para>
363
364 <para><parameter>--without-pam</parameter>: Disable the use of
365 <application>Linux-PAM</application> functions. Omit this switch if
366 <application>Linux-PAM</application> is installed.</para>
367
368 <para><parameter>--with{,out}-system-*</parameter>: Determines
369 whether to use the system libraries and programs or to build
370 the source packages included in the build tree.</para>
371
372 <para><parameter>--with-build-version="3.2.1-1"</parameter>: Changes the
373 build version to append "-1" to the default version string.</para>
374
375 <para><parameter>--with-vendor="BLFS"</parameter>: Changed the vendor
376 string to "BLFS" in the help->about dialog.</para>
377
378 <para><parameter>--with-use-shell=bash</parameter>: Tells the
379 <application>OpenOffice</application> build system to use
380 <command>bash</command> instead of <command>tcsh</command>.</para>
381
382 <para><command>./bootstrap</command>: Build the
383 <command>dmake</command> utility required to complete the
384 build.</para>
385
386 <para>
387 <parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
388 Allows the use of additional languages in
389 <application>OpenOffice</application>. US English (ENUS) is the
390 default.</para>
391
392 <para>
393 <parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
394 Allows the use of alternate dictionaries in
395 <application>OpenOffice</application>. US English (ENUS) is the
396 default.</para>
397
398 <para><parameter>--with-use-shell=bash</parameter>: Tells the
399 <application>OpenOffice</application> build system to use
400 <command>bash</command> instead of <command>tcsh</command>.</para>
401
402 <para><command>./bootstrap</command>: Build the
403 <command>dmake</command> utility required to complete the
404 build.</para>
405
406 <para><command>for appl in sbase scalc...</command>: Creates symlinks
407 for the applications in
408 <filename class="directory">/usr/bin</filename>.</para>
409
410 <para><command>for appl in *.desktop...</command>: Edit the
411 <filename>*.desktop</filename> files for use with a standard BLFS
412 system.</para>
413
414 </sect2>
415
416 <sect2 role="content">
417 <title>Contents</title>
418
419 <segmentedlist>
420 <segtitle>Installed Programs</segtitle>
421 <segtitle>Installed Libraries</segtitle>
422 <segtitle>Installed Directory</segtitle>
423
424 <seglistitem>
425 <seg>sbase, scalc, sdraw, simpress, smath, soffice, spadmin,
426 and swriter</seg>
427 <seg><application>OpenOffice</application> libraries</seg>
428 <seg>/opt/openoffice-&openoffice-version;</seg>
429 </seglistitem>
430 </segmentedlist>
431
432 <variablelist>
433 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
434 <?dbfo list-presentation="list"?>
435 <?dbhtml list-presentation="table"?>
436
437 <varlistentry id="sbase">
438 <term><command>sbase</command></term>
439 <listitem>
440 <para>is a database application.</para>
441 <indexterm zone="openoffice sbase">
442 <primary sortas="b-sbase">sbase</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="scalc">
448 <term><command>scalc</command></term>
449 <listitem>
450 <para>is a spreadsheet application.</para>
451 <indexterm zone="openoffice scalc">
452 <primary sortas="b-scalc">scalc</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="sdraw">
458 <term><command>sdraw</command></term>
459 <listitem>
460 <para>is a drawing application.</para>
461 <indexterm zone="openoffice sdraw">
462 <primary sortas="b-sdraw">sdraw</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="simpress">
468 <term><command>simpress</command></term>
469 <listitem>
470 <para>is a presentation application.</para>
471 <indexterm zone="openoffice simpress">
472 <primary sortas="b-simpress">simpress</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="smath">
478 <term><command>smath</command></term>
479 <listitem>
480 <para>is a mathematical formula editor.</para>
481 <indexterm zone="openoffice smath">
482 <primary sortas="b-smath">smath</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="soffice">
488 <term><command>soffice</command></term>
489 <listitem>
490 <para>opens a base window with access to all
491 <application>OpenOffice</application> applications.</para>
492 <indexterm zone="openoffice soffice">
493 <primary sortas="b-soffice">soffice</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="spadmin">
499 <term><command>spadmin</command></term>
500 <listitem>
501 <para>is the <application>OpenOffice</application> printer
502 configuration utility.</para>
503 <indexterm zone="openoffice spadmin">
504 <primary sortas="b-spadmin">spadmin</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="swriter">
510 <term><command>swriter</command></term>
511 <listitem>
512 <para>is a word processing application.</para>
513 <indexterm zone="openoffice swriter">
514 <primary sortas="b-swriter">swriter</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 </variablelist>
520
521 </sect2>
522
523</sect1>
Note: See TracBrowser for help on using the repository browser.