r3147 - in trunk/BOOK: . introduction/welcome xsoft/suites

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sat Dec 25 20:18:05 PST 2004


Author: dj
Date: 2004-12-25 21:18:05 -0700 (Sat, 25 Dec 2004)
New Revision: 3147

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xsoft/suites/openoffice.xml
Log:
Updated to OpenOffice-1.1.4

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-12-26 03:42:16 UTC (rev 3146)
+++ trunk/BOOK/general.ent	2004-12-26 04:18:05 UTC (rev 3147)
@@ -377,7 +377,7 @@
 
 <!-- Chapter 34 -->    
 <!ENTITY koffice-version              "1.3.5">  
-<!ENTITY openoffice-version           "1.1.3"> 
+<!ENTITY openoffice-version           "1.1.4"> 
 
 <!-- Chapter 35 -->        
 <!ENTITY mozilla-version              "1.7.3">  

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-12-26 03:42:16 UTC (rev 3146)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-12-26 04:18:05 UTC (rev 3147)
@@ -22,6 +22,9 @@
 
 <itemizedlist>
 
+<listitem><para>December 26th, 2004 [dj]: Updated to OpenOffice 
+1.1.4.</para></listitem>
+
 <listitem><para>December 26th, 2004 [randy]: Added dependencies to 
 the G-Wrap instructions.</para></listitem>
 

Modified: trunk/BOOK/xsoft/suites/openoffice.xml
===================================================================
--- trunk/BOOK/xsoft/suites/openoffice.xml	2004-12-26 03:42:16 UTC (rev 3146)
+++ trunk/BOOK/xsoft/suites/openoffice.xml	2004-12-26 04:18:05 UTC (rev 3147)
@@ -5,10 +5,10 @@
   %general-entities;
 
   <!ENTITY openoffice-download-http "http://download.openoffice.org/&openoffice-version;/source.html">
-  <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;-1_source.tar.gz">
-  <!ENTITY openoffice-size          "205 MB">
-  <!ENTITY openoffice-buildsize     "5.8 GB">
-  <!ENTITY openoffice-time          "81 SBU">
+  <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_source.tar.gz">
+  <!ENTITY openoffice-size          "214 MB">
+  <!ENTITY openoffice-buildsize     "3.1 GB">
+  <!ENTITY openoffice-time          "75 SBU">
 ]>
 
 <sect1 id="openoffice" xreflabel="OpenOffice-&openoffice-version;">
@@ -25,8 +25,8 @@
 <sect2>
 <title>Introduction to <application>OpenOffice</application></title>
 
-<para>The <application>OpenOffice</application> is an office suite, the 
-Open Source sibling of <application>StarOffice</application>.</para>
+<para><application>OpenOffice</application> is an office suite, the 
+open source sibling of <application>StarOffice</application>.</para>
 
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
@@ -46,33 +46,36 @@
 <sect3><title>Additional downloads</title>
 <itemizedlist spacing='compact'>
 
-<listitem><para>Required patch (Executable <command>test</command> is in
-<filename class="directory">/bin</filename>,
-not in <filename class="directory">/usr/bin</filename>): <ulink
-url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
-
-<listitem><para>Required patch to use system freetype: <ulink
-url="&patch-root;/openoffice-&openoffice-version;-freetype-1.patch"/></para>
+<listitem><para>Required patch for gcc-&gcc3-version;: <ulink
+url="&patch-root;/openoffice-&openoffice-version;-gcc33-1.patch"/></para>
 </listitem>
 
-<listitem><para>Required patch if 
-Linux-<acronym>PAM</acronym>-&Linux_PAM-version; is not installed: <ulink
-url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para>
+<listitem><para>Required patch for use with NPTL: <ulink
+url="&patch-root;/openoffice-&openoffice-version;-nptl-1.patch"/></para>
 </listitem>
 
 <listitem><para>Required patch if compiling with 
-<acronym>JDK</acronym>-&j2sdk-src-version;: <ulink
+<acronym>J2SDK</acronym>-&j2sdk-src-version;: <ulink
 url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para>
 </listitem>
 
-<listitem><para>Required patch for gcc-3.3.3: <ulink 
-url="&patch-root;/openoffice-&openoffice-version;-gcc333-1.patch"/></para>
+<listitem><para>Required patch (Executable <command>test</command> is in
+<filename class="directory">/bin</filename>,
+not in <filename class="directory">/usr/bin</filename>): <ulink
+url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para>
 </listitem>
 
-<listitem><para>Required patch for use with NPTL: <ulink
-url="&patch-root;/openoffice-&openoffice-version;-nptl-1.patch"/></para>
+<listitem><para>Optional patch if you wish to use the system freetype:
+<ulink
+url="&patch-root;/openoffice-&openoffice-version;-freetype-1.patch"/></para>
 </listitem>
 
+<listitem><para>Optional patch if
+Linux-<acronym>PAM</acronym>-&Linux_PAM-version; is not installed:
+<ulink
+url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para>
+</listitem>
+
 <listitem><para>General Polygon Clipper Library (Optional if 
 libart_lgpl-&libart_lgpl-version; is used): <ulink
 url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para>
@@ -89,24 +92,26 @@
 <sect3><title><application>OpenOffice</application> dependencies</title>
 <sect4><title>Required</title>
 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), 
-<xref linkend="freetype2"/>, 
 <xref linkend="zip"/>, 
 <xref linkend="unzip"/>, 
 <xref linkend="tcsh"/>, 
 <xref linkend="which"/> and 
-<xref linkend="gcc3"/></para>
+<xref linkend="gcc3"/>.</para>
 </sect4>
 
 <sect4><title>Recommended</title>
-<para><xref linkend="j2sdk"/></para>
+<para><xref linkend="j2sdk"/>, 
+<xref linkend="freetype2"/>, 
+<xref linkend="pkgconfig"/>, 
+<xref linkend="startup-notification"/> and 
+<xref linkend="desktop-file-utils"/>.</para>
 </sect4>
 
 <sect4><title>Optional</title>
 <para><xref linkend="Linux_PAM"/>, 
 <xref linkend="libart_lgpl"/>, 
-<xref linkend="startup-notification"/>, 
 <xref linkend="apache-ant"/> and 
-<xref linkend="curl"/></para>
+<xref linkend="curl"/>.</para>
 </sect4>
 </sect3>
 
@@ -115,10 +120,18 @@
 <sect2>
 <title>Installation of <application>OpenOffice</application></title>
 
-<para>Apply the downloaded patches and, optionally, untar and move the gpc 
-files:</para>
+<para><application>OpenOffice</application> does not create a directory
+when you extract the <acronym>TAR</acronym> ball.  Create a build directory 
+and extract the source with the following commands:</para>
 
-<screen><userinput><command>tar -zxf ../gpc231.tar.Z &&
+<screen><userinput><command>mkdir OOo-build &&
+cd OOo-build &&
+tar -zxvf ../OOo_&openoffice-version;_source.tar.gz</command></userinput></screen>
+
+<para>Optionally, untar and move the gpc files, and apply the downloaded
+patches:</para>
+
+<screen><userinput><command>tar -zxvf ../gpc231.tar.Z &&
 mv gpc231/* external/gpc &&
 rmdir gpc231 &&
 for patch in ../openoffice-&openoffice-version;-*.patch
@@ -128,20 +141,20 @@
 <para>STLport looks for the c++ headers in the wrong location.  Put a
 temporary symlink in place to satisfy STLport:</para>
 
-<screen><userinput><command>ln -sf /opt/gcc-3.3.3/include/c++/3.3.3 /usr/g++-v3</command></userinput></screen>
+<screen><userinput><command>ln -sf /opt/gcc-&gcc3-version;/include/c++/&gcc3-version; /usr/g++-v3</command></userinput></screen>
 
 <para>OpenOffice fails to build with gcc-3.4.1.  Set your path to
-include gcc-3.3.3.</para>
+include gcc-&gcc3-version;:</para>
 
 <screen><userinput><command>export PATH_HOLD=$PATH &&
-export PATH=/opt/gcc-3.3.3/bin:$PATH</command></userinput></screen>
+export PATH=/opt/gcc-&gcc3-version;/bin:$PATH</command></userinput></screen>
 
 <para>If you want to optimize the build, edit
 <filename>solenv/inc/unxlngi4.mk</filename> and add the desired optimization
 flags to the <envar>CFLAGSOPT</envar> variable. Some users have reported 
 problems with <parameter>-fomit-frame-pointer</parameter>. The best option is 
 to not use any custom optimizations. The following command removes an incorrect 
-<parameter>-mcpu</parameter> option in the above file.</para>
+<parameter>-mcpu</parameter> option in the above file:</para>
 
 <screen><userinput><command>sed -i "s:\-mcpu=pentiumpro::" \
     solenv/inc/unxlngi4.mk</command></userinput></screen>
@@ -150,9 +163,9 @@
 commands. You may build install sets for specific languages based on your 
 preferences. Supply a comma separated list to the <envar>--with-lang=</envar> 
 switch.  If a particular component is not available in the language of your 
-choice, the default will be English. If you need other languages, be sure to 
-add <parameter>ENUS</parameter> to the list; otherwise the build will 
-fail.</para>
+choice, the default will be US English. If you need other languages, be sure 
+to add <parameter>ENUS</parameter> to the list; otherwise the build will 
+fail:</para>
 
 <screen><userinput><command>cd config_office/ &&
 ./configure --with-lang=ENUS \
@@ -163,8 +176,9 @@
 
 <para><application>OpenOffice</application> fails to compile if 
 <command>umask</command> is set to something exotic. The build can also
-fial if the <envar>LANG</envar> or <envar>LC_ALL</envar> evvironment
-variables are set.</para>
+fail if the <envar>LANG</envar> or <envar>LC_ALL</envar> environment
+variables are set.  Use the following commands to change your
+environment accordingly:</para>
 
 <screen><userinput><command>umask 0022 &&
 unset LANG LC_ALL</command></userinput></screen>
@@ -177,7 +191,7 @@
 
 <para>If you have downloaded localized help content <filename>tgz</filename> 
 files, you will need to untar them to the appropriate directory as shown 
-below and then recreate the installation set.</para>
+below and then recreate the installation set:</para>
 
 <screen><userinput><command>cd solver/645/unxlngi4.pro/pck &&
 for i in ../../../../../helpcontent_*_unix.tgz
@@ -188,10 +202,10 @@
 cd .. &&
 bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
 
-<para>Install <application>OpenOffice</application> using the following
-commands to install the English language set. To install a localized version,
-replace the 01 with the international telephone country code for your 
-country.</para>
+<para>Install <application>OpenOffice</application> using the following 
+commands to install the US English language set. To install a localized 
+version, replace the 01 with the international telephone country code for 
+your country:</para>
 
 <screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &&
 sed -i "s:^oo_home=.*:oo_home=openoffice:" install &&
@@ -201,6 +215,11 @@
   do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl
   done</command></userinput></screen>
 
+<para>If you have installed <xref linkend="desktop-file-utils"/>, you
+should add <filename>/opt/openoffice/share</filename> to the 
+<envar>XDG_DATA_DIRS</envar> environment variable in the system-wide
+profile.</para>
+
 <para>Finally, return your environment to it's original state:</para>
 
 <screen><userinput><command>export PATH=$PATH_HOLD &&




More information about the blfs-book mailing list