Changeset 66bdcaf


Ignore:
Timestamp:
08/18/2007 07:13:04 PM (14 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
9deda8e
Parents:
139df56
Message:

Updated to OpenOffice-2.2.1

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r139df56 r66bdcaf  
    595595<!-- Chapter 35 -->
    596596<!ENTITY koffice-version              "1.6.1">
    597 <!ENTITY openoffice-version           "2.0.3">
     597<!ENTITY openoffice-version           "2.2.1">
    598598
    599599<!-- Chapter 36 -->
  • introduction/welcome/changelog.xml

    r139df56 r66bdcaf  
    6666        <listitem>
    6767          <para>[randy] - Updated to libmpeg3-1.7.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[dj] - Updated to OpenOffice-2.2.1</para>
    6871        </listitem>
    6972      </itemizedlist>
  • xsoft/suites/openoffice.xml

    r139df56 r66bdcaf  
    77  <!-- <!ENTITY openoffice-download-http "http://download.openoffice.org/&openoffice-version;/source.html"> -->
    88  <!-- <!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">
    11   <!ENTITY openoffice-md5sum        "f68832ff3458664ae2b741ec67d30104">
    12   <!ENTITY openoffice-size          "294 MB">
    13   <!ENTITY openoffice-buildsize     "6 GB">
    14   <!ENTITY openoffice-time          "129 SBU">
     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        "35d4037ce3a4d19bf52ba72c68ef6756">
     12  <!ENTITY openoffice-core-size          "118 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-download-ftp " ">
     16  <!ENTITY openoffice-system-md5sum "13967b9599333066466810569a86c366">
     17  <!ENTITY openoffice-system-size "30">
     18  <!ENTITY openoffice-buildsize     "5.1 GB">
     19  <!ENTITY openoffice-time          "76 SBU">
    1520]>
    1621
     
    3843    <itemizedlist spacing="compact">
    3944      <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>
     45        <para>OpenOffice Core Download (HTTP): <ulink url="&openoffice-core-download-http;"/></para>
     46      </listitem>
     47      <listitem>
     48        <para>OpenOffice Core Download (FTP): <ulink url="&openoffice-core-download-ftp;"/></para>
     49      </listitem>
     50      <listitem>
     51        <para>OpenOffice Core Download MD5 sum: &openoffice-core-md5sum;</para>
     52      </listitem>
     53      <listitem>
     54        <para>OpenOffice Core Download size: &openoffice-core-size;</para>
     55      </listitem>
     56      <listitem>
     57        <para>OpenOffice System Download (HTTP): <ulink url="&openoffice-system-download-http;"/></para>
     58      </listitem>
     59      <listitem>
     60        <para>OpenOffice System Download (FTP): <ulink url="&openoffice-system-download-ftp;"/></para>
     61      </listitem>
     62      <listitem>
     63        <para>OpenOffice System Download MD5 sum: &openoffice-system-md5sum;</para>
     64      </listitem>
     65      <listitem>
     66        <para>OpenOffice System Download size: &openoffice-system-size;</para>
     67      </listitem>
     68
    5169      <listitem>
    5270        <para>Estimated disk space required: &openoffice-buildsize;</para>
     
    6280      <listitem>
    6381        <para>Required patch:
    64         <ulink url="&patch-root;/OOo_&openoffice-version;-xauth-1.patch"/>
    65         </para>
    66       </listitem>
    67 
    68       <listitem>
    69         <para>Required patch if
    70         <application>Linux-PAM</application>-&linux-pam-version; is not
    71         installed:
    72         <ulink url="&patch-root;/OOo_&openoffice-version;-no_pam-1.patch"/></para>
    73       </listitem>
    74 
    75       <listitem>
    76         <para>Required patch if building against the system-installed
    77         Mozilla products (<application>NSS</application>,
    78         <application>Firefox</application>, or
    79         <application>Seamonkey</application>):
    80         <ulink url="&patch-root;/OOo_&openoffice-version;-system_mozilla_fixes-1.patch"/>
     82        <ulink url="&patch-root;/OOo_&openoffice-version;-use_bin_hsqldb-1.patch"/>
    8183        </para>
    8284      </listitem>
     
    8789        <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
    8890      </listitem>
     91
     92      <listitem>
     93        <para>Optional download if you wish to build the
     94        <application>OpenOffice</application> SDK:
     95        <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_sdk.tar.bz2"/></para>
     96      </listitem>
     97
     98      <listitem>
     99        <para>Optional download if you would like to localize the
     100        installation:
     101        <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_l10n.tar.bz2"/></para>
     102      </listitem>
     103
     104      <listitem>
     105        <para>Optional download if you need to support the old
     106        <application>StarOffice-5.x</application> file formats:
     107        <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_binfilter.tar.bz2"/></para>
     108      </listitem>
     109
    89110    </itemizedlist>
    90111
     
    99120    <xref linkend="perl-xml-parser"/> and
    100121    <xref linkend="perl-archive-zip"/>,
    101     <xref linkend="tcsh"/>,
    102122    <xref linkend="unzip"/>,
    103123    <xref linkend="which"/>, and
     
    118138    xalan caching leading to OOM killing the process.  Experimental patches
    119139    exist, but require that libxslt is used in place of xalan....big change,
    120     not quite ready for the book. -->
     140    not quite ready for the book, and apearently stil not for OOo devs either
     141    on this update 2 minor versions later. -->
    121142    <xref linkend="desktop-file-utils"/>,
    122143    <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
     
    130151    <ulink url="http://freshmeat.net/projects/libwpd/">libwpd</ulink>,
    131152    <xref linkend="linux-pam"/>,
    132     <xref linkend="seamonkey"/> (must be built against the system
    133     <xref linkend="nss"/>) or <xref linkend="firefox"/> (with ldap support),
     153    <xref linkend="firefox"/> (with ldap support),
    134154    <ulink url="http://lingucomponent.openoffice.org/MySpell-3.zip">MySpell</ulink>,
    135155    <ulink url="http://lingucomponent.openoffice.org/thesaurus.html">MyThes</ulink>,
     
    153173    <title>Installation of OpenOffice</title>
    154174
    155     <para>Apply all of the downloaded patches:</para>
    156 
    157 <screen><userinput>for PATCH in ../OOo_&openoffice-version;-*.patch
    158     do patch -Np1 -i ${PATCH}
    159 done</userinput></screen>
     175    <para>Unlike other BLFS packages, <application>OpenOffice</application>
     176    source code is now distributed in several tarballs.  You should extract
     177    each from the same top-level directory before entering the build
     178    direcotry.  At a minimum, you will need to extract the src and core
     179    tarballs. Additionally, the source direcotry name is not consistent
     180    with the tarball name amd will be called OOF680_m18.</para>
    160181
    161182    <para>If you wish to build an in-tree <application>Mozilla</application>,
     
    172193    for i686.  Some users have reported problems with
    173194    <option>-fomit-frame-pointer</option>. The best option is to not use any
    174     custom optimizations. The following command removes an incorrect
    175     <option>-mcpu</option> option in several of the makefiles:</para>
    176 
    177 <screen><userinput>sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk</userinput></screen>
    178 
    179     <para>Configure <application>OpenOffice</application> using the following
    180     commands:</para>
     195    custom optimizations.</para>
    181196
    182197    <note><para>Because of the complexity of the
     
    185200    the output of <command>config_office/configure --help</command> and take
    186201    advantage of any system installed programs and libraries available using
    187     the <parameter>--enable</parameter>, <parameter>--disable</parameter>,  and
    188     <parameter>--with-system-*</parameter> parameters.</para></note>
     202    the <parameter>--enable-*</parameter>, <parameter>--disable-*</parameter>,
     203    and <parameter>--with-system-*</parameter> parameters.  Additionally, if
     204    you have installed <application>KDE</application> in the
     205    <filename>/opt</filename> prefix, and would like to use the
     206    <parameter>--enable-kde</parameter> switch, you must set
     207    <command>KDEDIR=$KDE_PREFIX</command> before running
     208    configure.</para></note>
    189209
    190210    <warning><para>Do not use the <parameter>--with-system-db</parameter>
    191     or <parameter>--disable-odk</parameter> switches.  Both are known to
    192     cause build failures.</para></warning>
     211    switch as it is known to cause build failures related to incompatibilities
     212    between the internal and system versions.</para></warning>
     213
     214    <para>Configure <application>OpenOffice</application> using the following
     215    commands:</para>
    193216
    194217<screen><userinput>cd config_office/ &amp;&amp;
    195 autoreconf &amp;&amp;
    196218./configure --prefix=/opt/openoffice-&openoffice-version; \
    197219    --enable-libart --disable-fontooo --disable-gnome-vfs \
    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 \
    201     --with-package-format=native --disable-binfilter &amp;&amp;
     220    --without-fonts --with-system-stdlibs --without-system-jars \
     221    --with-system-freetype --with-system-expat --with-system-libxml \
     222    --with-system-zlib --enable-cairo --enable-build-mozilla \
     223    --with-build-version=BLFS --with-package-format=native \
     224    --disable-binfilter --disable-odk --disable-qadevooo \
     225    --with-use-shell=bash &amp;&amp;
    202226cd ..</userinput></screen>
    203227
     
    214238    commands:</para>
    215239
    216 <screen><userinput>./bootstrap &amp;&amp;
    217 . LinuxIntelEnv.Set.sh &amp;&amp;
     240<screen><userinput>patch -Np1 -i ../OOo_&openoffice-version;-use_bin_hsqldb-1.patch &amp;&amp;
     241./bootstrap &amp;&amp;
     242. LinuxX86Env.Set.sh &amp;&amp;
    218243dmake</userinput></screen>
    219244
     
    224249    following commands:</para>
    225250
    226 <screen role="root"><userinput>cd instsetoo_native/unxlngi6.pro/OpenOffice/\
     251<screen role="root"><userinput>pushd instsetoo_native/unxlngi6.pro/OpenOffice/\
    227252native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
    228 cp -r -v openoffice.org2.0 /opt/openoffice-&openoffice-version;</userinput></screen>
     253cp -r -v openoffice.org2.2 /opt/openoffice-&openoffice-version; &amp;&amp;
     254popd</userinput></screen>
    229255
    230256    <para>Still as the <systemitem class="username">root</systemitem>
     
    240266    with the following commands:</para>
    241267
    242 <screen role="root"><userinput>cd ../../../../../../../../../sysui/desktop/icons &amp;&amp;
     268<screen role="root"><userinput>cd sysui/desktop/icons &amp;&amp;
    243269install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
    244270cp -r -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
     
    246272cp -r -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
    247273
    248     <para>If you have installed <xref linkend="desktop-file-utils"/> and use
    249     <application>KDE</application>, there is no further configuration
    250     necessary.  If you use <application>Gnome</application>, you should copy
    251     the <filename>*.desktop</filename> files to
     274    <para>If you have installed <xref linkend="desktop-file-utils"/>, you
     275    should copy the <filename>*.desktop</filename> files to
    252276    <filename>/usr/share/applications</filename> with the following
    253277    commands as the <systemitem class="username">root</systemitem> user:</para>
     
    263287done &amp;&amp;
    264288sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
    265 cp -v *.desktop /usr/share/applications</userinput></screen>
     289cp -v *.desktop /usr/share/applications &amp;&amp;
     290update-desktop-database</userinput></screen>
    266291
    267292    <para>Finally, if you'd like to edit <application>OpenOffice</application>
    268     documents directly from <application>Mozilla</application> or
    269     <application>Firefox</application>, create a symbolic link in your
     293    documents directly from <xref linkend="seamonkey"/> or
     294    <xref linkend="firefox"/>, create a symbolic link in your
    270295    plugins directory to
    271296    <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
     
    279304    <title>Command Explanations</title>
    280305
    281     <para><parameter>--enable-libart</parameter>: This switch forces the use
    282     of libart instead of <application>gpc</application> for polygon
    283     clipping.</para>
    284 
    285     <para><parameter>--enable-libsn</parameter>: This switch enables the use
    286     of <application>startup-notification</application>.</para>
     306    <para><parameter>--enable-*</parameter>: The switches listed in the
     307    example configure command above force the use of system installed
     308    libraries that are known to be available on a BLFS system that meets
     309    the required and recommended dependencies.</para>
    287310
    288311    <para><parameter>--disable-fontooo</parameter>: Use
     
    297320    Environment.</para>
    298321
    299     <para><parameter>--with-system-*</parameter>: Use the system libraries
    300     and programs instead of building the source packages included in the build
    301     tree.</para>
     322    <para><parameter>--with{,out}-system-*</parameter>: Determines
     323    whether to use the system libraries and programs or to build
     324    the source packages included in the build tree.</para>
    302325
    303326    <para><parameter>--enable-build-mozilla</parameter>: Build the in-tree
     
    312335    <para><parameter>--disable-binfilter</parameter>: This switch disables the
    313336    build of legacy <application>StarOffice-5</application> import
    314     filters.</para>
     337    filters.  Omit this switch if you've downloaded the binfilter package
     338    above.</para>
     339
     340    <para><parameter>--disable-odk</parameter>: This switch disables the build
     341    of the <application>OpenOffice</application> SDK.  Ommit this switch if
     342    you've downloaded the sdk package above.</para>
     343
     344    <para><parameter>--disable-qadevooo</parameter>: This switch skips
     345    the building of the quality assurance components used by the OOo
     346    dev team.</para>
    315347
    316348    <para><parameter>--with-firefox</parameter>: Enables the use of
     
    318350    <application>Mozilla</application> suite.  This will disable the use
    319351    of a <application>Thunderbird</application> address book as a data
    320     source.</para>
     352    source and also requires that you include the
     353    <parameter>--with-system-mozilla</parameter> switch.</para>
    321354
    322355    <para><parameter>--disable-cups</parameter>: Disable the use of
     
    324357
    325358    <para><parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
    326     Makes an install set for the desired language. ENUS is the default.</para>
     359    Allows the use of additional languages in
     360    <application>OpenOffice</application>. ENUS is the default.</para>
    327361
    328362    <para><parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
    329     This switch installs dictionaries for the desired languages. ENUS is
    330     the default.</para>
     363    Allows the use of alternate dictionaries in
     364    <application>OpenOffice</application>. ENUS is the default.</para>
     365
     366    <para><parameter>--with-use-shell=bash</parameter>: Tells the OOo build
     367    system to use bash as opposed to tcsh.</para>
    331368
    332369    <para><command>./bootstrap</command>: Build the
     
    334371    build.</para>
    335372
    336     <para><command>dmake</command>: Compile the package.</para>
     373    <para><command>dmake</command>: Compiles the package.</para>
    337374
    338375    <para><command>for appl in *.desktop...</command>: Edit the
Note: See TracChangeset for help on using the changeset viewer.