Changeset 34c58817


Ignore:
Timestamp:
04/09/2008 04:23:52 AM (16 years ago)
Author:
DJ Lucas <dj@…>
Branches:
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
Children:
0afc0b42
Parents:
5261480
Message:

Recent OOo suggestions and fix for BDB.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r5261480 r34c58817  
    4545      <para>April 9th, 2008</para>
    4646      <itemizedlist>
     47        <listitem>
     48          <para>[dj] - Updated OpenOffice instructions with changes suggested
     49          by Randy McMurchy and Chris Staub.</para>
     50        </listitem>
     51        <listitem>
     52          <para>[dj] - Corrected OpenOffice build failure when GMime is
     53          installed.  Thanks to Alessandro Alocci for traking down the
     54          cause of the build failure.</para>
     55        </listitem>
    4756        <listitem>
    4857          <para>[randy] - Clarified the GMP documentation installation.</para>
  • xsoft/suites/openoffice.xml

    r5261480 r34c58817  
    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-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        "9555a2d5fae9a25c788cc732921ef57a">
    12   <!ENTITY openoffice-core-size          "138 MB">
     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          "9555a2d5fae9a25c788cc732921ef57a">
     12  <!ENTITY openoffice-core-size            "138 MB">
    1313  <!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 "1e20befe2fdb65c00be11f1f5d9ebdca">
    16   <!ENTITY openoffice-system-size "36 MB">
    17   <!ENTITY openoffice-buildsize     "4.3 GB">
    18   <!ENTITY openoffice-time          "75 SBU">
     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        "1e20befe2fdb65c00be11f1f5d9ebdca">
     16  <!ENTITY openoffice-system-size          "36 MB">
     17  <!ENTITY openoffice-buildsize            "4.2-4.8 GB (depending on configured options)">
     18  <!ENTITY openoffice-time                 "75-100 SBU (depending on configured options)">
    1919]>
    2020
     
    6565        <para>OpenOffice System Download size: &openoffice-system-size;</para>
    6666      </listitem>
    67 
    6867      <listitem>
    6968        <para>Estimated disk space required: &openoffice-buildsize;</para>
     
    7675    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    7776    <itemizedlist spacing='compact'>
    78 
    7977      <listitem>
    8078        <para>Required patch:
     
    8280        </para>
    8381      </listitem>
    84 
    85       <listitem>
    86         <para>Required download if you wish to build the in-tree
     82      <listitem>
     83        <para>Optional download if you wish to build the in-tree
    8784        <application>Mozilla</application> browser:
    8885        <ulink url="ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz"/></para>
    8986      </listitem>
    90 
    9187      <listitem>
    9288        <para>Optional download if you wish to build the
    9389        <application>OpenOffice</application> SDK:
    94         <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_sdk.tar.bz2"/></para>
    95       </listitem>
    96 
     90        <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_sdk.tar.bz2"/>
     91        which also requires <ulink url="http://www.mingw.org/">MinGW</ulink>
     92        or a precompiled <filename>unowinreg.dll</filename> for the
     93        cross-platform <application>Java</application> components.</para>
     94      </listitem>
    9795      <listitem>
    9896        <para>Optional download if you would like to localize the
     
    10098        <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_l10n.tar.bz2"/></para>
    10199      </listitem>
    102 
    103100      <listitem>
    104101        <para>Optional download if you need to support the old
     
    106103        <ulink url="ftp://ftp.osuosl.org/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;_src_binfilter.tar.bz2"/></para>
    107104      </listitem>
    108 
    109105    </itemizedlist>
    110106
     
    115111    <xref linkend="gtk2"/>,
    116112    <xref linkend="libidl"/>,
    117     <xref linkend="libxml2"/>,
    118113    <application>Perl Modules</application>
    119114    <xref linkend="perl-xml-parser"/> and
     
    124119
    125120    <bridgehead renderas="sect4">Recommended</bridgehead>
    126     <para role="recommended"><xref linkend="libart_lgpl"/></para>
     121    <para role="recommended"><xref linkend="libart_lgpl"/> and
     122    <xref linkend="libxslt"/></para>
    127123
    128124    <bridgehead renderas="sect4">Optional</bridgehead>
     
    132128    <xref linkend="cups"/>,
    133129    <xref linkend="curl"/>,
    134     <xref linkend="db"/> (with Java support),
     130    <xref linkend="db"/> (built with Java support),
    135131    <xref linkend="desktop-file-utils"/>,
    136132    <ulink url="http://www.easysw.com/epm/">EPM</ulink>,
     
    169165    distributed in several tarballs.  You should extract each from the
    170166    same top-level directory before entering the build directory.  At
    171     a minimum, you will need to extract the src and core tarballs.
    172     Additionally, the source directory name is not consistent with
    173     the tarball name and will be named OOG680_m9.</para>
     167    a minimum, you will need to extract the <quote>core</quote> and
     168    <quote>system</quote> tarballs. Note that the source directory name
     169    is not consistent with the tarball name and will be named
     170    <filename class='directory'>OOG680_m9</filename>.</para>
    174171
    175172    <para>If you wish to build an in-tree <application>Mozilla</application>,
     
    188185    custom optimizations.</para>
    189186
    190     <note><para>Because of the complexity of the
    191     <application>OpenOffice</application> build system, it is not possible to
    192     provide generic build instructions for all systems.  You should review
    193     the output of <command>config_office/configure --help</command> and take
    194     advantage of any system installed programs and libraries available using
    195     the <parameter>--enable-*</parameter>, <parameter>--disable-*</parameter>,
    196     and <parameter>--with-system-*</parameter> parameters.  Additionally, if
    197     you have installed <application>KDE</application> in the
    198     <filename>/opt</filename> prefix, and would like to use the
    199     <parameter>--enable-kde</parameter> switch, you must set
    200     <command>KDEDIR=$KDE_PREFIX</command> before running
    201     configure.</para></note>
    202 
    203     <para>Configure <application>OpenOffice</application> using the following
    204     commands:</para>
    205 
    206 <screen><userinput>cd config_office/ &amp;&amp;
    207 ./configure --prefix=/opt/openoffice-&openoffice-version; \
    208     --enable-libart --disable-fontooo --disable-gnome-vfs \
    209     --without-fonts --without-system-jars --without-pam \
    210     --with-system-stdlibs --with-system-freetype \
    211     --with-system-expat --with-system-libxml --with-system-zlib \
    212     --enable-cairo --enable-build-mozilla \
    213     --with-build-version=BLFS --with-package-format=native \
    214     --disable-binfilter --disable-odk --disable-qadevooo \
    215     --with-use-shell=bash &amp;&amp;
    216 cd ..</userinput></screen>
     187    <note>
     188      <para>Because of the complexity of the
     189      <application>OpenOffice</application> build system, it is not possible to
     190      provide generic build instructions for all systems.  You should review
     191      the output of <command>config_office/configure --help</command> and take
     192      advantage of any system installed programs and libraries available using
     193      the <parameter>--enable-*</parameter>, <parameter>--disable-*</parameter>,
     194      and <parameter>--with-system-*</parameter> parameters.  Additionally, if
     195      you have installed <application>KDE</application> in the
     196      <filename class='directory'>/opt</filename> prefix, and would like to use the
     197      <parameter>--enable-kde</parameter> switch, you must set
     198      <command>KDEDIR=$KDE_PREFIX</command> before running
     199      <command>configure</command>.</para>
     200    </note>
    217201
    218202    <para><application>OpenOffice</application> fails to compile if
     
    225209unset LANG LC_ALL</userinput></screen>
    226210
    227     <para>Compile <application>OpenOffice</application> using the following
    228     commands:</para>
     211    <para>Install <application>OpenOffice</application> by running the
     212    following commands:</para>
    229213
    230214<screen><userinput>patch -Np1 -i ../OOo_&openoffice-version;-use_bin_hsqldb-1.patch &amp;&amp;
     215
     216sed 's@..\$/dist\$/configure@uudecode="no" ..\$/dist\$/configure@' \
     217    -i berkeleydb/makefile.mk &amp;&amp;
     218
     219pushd config_office &amp;&amp;
     220./configure --prefix=/opt/openoffice-&openoffice-version; \
     221            --enable-libart                \
     222            --disable-fontooo              \
     223            --disable-gnome-vfs            \
     224            --without-fonts                \
     225            --without-system-jars          \
     226            --without-pam                  \
     227            --with-system-stdlibs          \
     228            --with-system-freetype         \
     229            --with-system-expat            \
     230            --with-system-libxml           \
     231            --with-system-libxslt          \
     232            --with-system-zlib             \
     233            --enable-cairo                 \
     234            --enable-build-mozilla         \
     235            --with-build-version=BLFS      \
     236            --with-package-format=native   \
     237            --disable-binfilter            \
     238            --disable-odk                  \
     239            --disable-qadevooo             \
     240            --with-use-shell=bash &amp;&amp;
     241popd &amp;&amp;
     242
    231243./bootstrap &amp;&amp;
    232 . LinuxX86Env.Set.sh &amp;&amp;
     244source LinuxX86Env.Set.sh &amp;&amp;
    233245dmake</userinput></screen>
    234246
    235247    <para>This package does not come with a test suite.</para>
    236248
    237     <para>Install <application>OpenOffice</application> as the
    238     <systemitem class="username">root</systemitem> user with the
    239     following commands:</para>
     249    <para>Now, as the <systemitem class="username">root</systemitem>
     250     user:</para>
    240251
    241252<screen role="root"><userinput>pushd instsetoo_native/unxlngi6.pro/OpenOffice/\
    242253native/install/en-US/linux-2.6-intel/buildroot/opt &amp;&amp;
    243254cp -r -v openoffice.org2.3 /opt/openoffice-&openoffice-version; &amp;&amp;
    244 popd</userinput></screen>
    245 
    246     <para>Still as the <systemitem class="username">root</systemitem>
    247     user:</para>
    248 
    249 <screen role="root"><userinput>for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
     255popd &amp;&amp;
     256
     257for appl in sbase scalc sdraw simpress smath soffice spadmin swriter
    250258do
    251259    ln -v -sf /opt/openoffice-&openoffice-version;/program/$appl /usr/bin/$appl
    252 done</userinput></screen>
    253 
    254     <para>The icons are not installed by default.  While still the
    255     <systemitem class="username">root</systemitem> user, install the icons
    256     with the following commands:</para>
    257 
    258 <screen role="root"><userinput>cd sysui/desktop/icons &amp;&amp;
    259 install -v -d /usr/share/icons/{HighContrast,hicolor,locolor} -m755 &amp;&amp;
     260done &amp;&amp;
     261
     262pushd sysui/desktop/icons &amp;&amp;
     263install -v -m755 -d /usr/share/icons/{HighContrast,hicolor,locolor} &amp;&amp;
    260264cp -r -v HighContrast/*x* /usr/share/icons/HighContrast &amp;&amp;
    261 cp -r -v hicolor/*x* /usr/share/icons/hicolor &amp;&amp;
    262 cp -r -v locolor/*x* /usr/share/icons/locolor</userinput></screen>
     265cp -r -v hicolor/*x*      /usr/share/icons/hicolor &amp;&amp;
     266cp -r -v locolor/*x*      /usr/share/icons/locolor &amp;&amp;
     267popd</userinput></screen>
    263268
    264269    <para>If you have installed <xref linkend="desktop-file-utils"/>, you
     
    267272    commands as the <systemitem class="username">root</systemitem> user:</para>
    268273
    269 <screen role="root"><userinput>install -v -d /usr/share/applications -m 755 &amp;&amp;
    270 cd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
     274<screen role="root"><userinput>install -v -d -m755 /usr/share/applications &amp;&amp;
     275pushd /opt/openoffice-&openoffice-version;/share/xdg/ &amp;&amp;
    271276for appl in *.desktop
    272277do
    273     sed -i '/Exec/d' $appl
    274     echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl
    275     sed -i '/Icon/d' $appl
     278    sed -i '/Exec/d' $appl &amp;&amp;
     279    echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl &amp;&amp;
     280    sed -i '/Icon/d' $appl &amp;&amp;
    276281    echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
    277282done &amp;&amp;
    278283sed -i 's@bin/sprinteradmin@bin/spadmin@' printeradmin.desktop &amp;&amp;
    279284cp -v *.desktop /usr/share/applications &amp;&amp;
    280 update-desktop-database</userinput></screen>
     285update-desktop-database &amp;&amp;
     286popd</userinput></screen>
    281287
    282288    <para>Finally, if you'd like to edit <application>OpenOffice</application>
    283289    documents directly from <xref linkend="seamonkey"/> or
    284290    <xref linkend="firefox"/>, create a symbolic link in your
    285     plugins directory to
    286     <filename>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
     291    plugins directory to <filename
     292    class='libraryfile'>/opt/openoffice-&openoffice-version;/program/libnpsoplugin.so</filename>.
    287293    Additionally, you must enable the plugin from the
    288294    <parameter>Internet Options</parameter> within any
     
    294300    <title>Command Explanations</title>
    295301
     302    <para><command>sed 's@..\$dist\$/configure@uudecode="no"...'</command>:
     303    This command corrects a build failure when a faulty
     304    <command>uudecode</command>, provided by <xref linkend="gmime"/>, is
     305    installed.</para>
     306
    296307    <para><parameter>--enable-*</parameter>: The switches listed in the
    297     example configure command above force the use of system installed
    298     libraries that are known to be available on a BLFS system that meets
    299     the required and recommended dependencies.</para>
     308    example <command>configure</command> command above force the use of system
     309    installed libraries that are known to be available on a BLFS system that
     310    meets the required and recommended dependencies.</para>
    300311
    301312    <para><parameter>--disable-fontooo</parameter>: Use
    302     <application>Fontconfig</application> instead of FontOOo.</para>
     313    <application>Fontconfig</application> instead of the FontOOo.</para>
    303314
    304315    <para><parameter>--disable-gnome-vfs</parameter>: Disable the use of
     
    307318
    308319    <para><parameter>--without-fonts</parameter>: Do not install Bitstream
    309     Vera fonts since they are already included in X Window System
    310     Environment.</para>
     320    Vera fonts since they are already included in the
     321    <application>X</application> Window System Environment.</para>
    311322
    312323    <para><parameter>--with{,out}-system-*</parameter>: Determines
     
    321332    <application>Mozilla</application> suite.</para>
    322333
    323     <para><parameter>--with-build-version=BLFS</parameter>: Appends "BLFS"
    324     to the end of the version string.</para>
     334    <para><parameter>--with-build-version=BLFS</parameter>: Appends
     335    <quote>BLFS</quote> to the end of the version string.</para>
    325336
    326337    <para><parameter>--with-package-format=native</parameter>: This switch
     
    331342    <para><parameter>--disable-binfilter</parameter>: This switch disables
    332343    the build of legacy <application>StarOffice-5</application> import
    333     filters.  Omit this switch if you've downloaded the binfilter package
     344    filters.  Omit this switch if you've downloaded the
     345    <application>binfilter</application> package
    334346    above.  Warning: Installation of the legacy import filters increases the
    335347    build time considerably.  Only install them if you have these old
     
    339351    <para><parameter>--disable-odk</parameter>: This switch disables the build
    340352    of the <application>OpenOffice</application> SDK.  Omit this switch if
    341     you've downloaded the sdk package above.</para>
     353    you've downloaded the SDK package above.</para>
    342354
    343355    <para><parameter>--disable-qadevooo</parameter>: This switch skips
     
    362374    <parameter>--with-lang=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
    363375    Allows the use of additional languages in
    364     <application>OpenOffice</application>. ENUS is the default.</para>
     376    <application>OpenOffice</application>. US English (ENUS) is the
     377    default.</para>
    365378
    366379    <para>
    367380    <parameter>--with-dict=<replaceable>&lt;LANG&gt;</replaceable></parameter>:
    368381    Allows the use of alternate dictionaries in
    369     <application>OpenOffice</application>. ENUS is the default.</para>
     382    <application>OpenOffice</application>. US English (ENUS) is the
     383    default.</para>
    370384
    371385    <para><parameter>--with-use-shell=bash</parameter>: Tells the
    372     <application>OpenOffice</application> build system to use bash as opposed
    373     to tcsh.</para>
     386    <application>OpenOffice</application> build system to use
     387    <command>bash</command> as opposed to <command>tcsh</command>.</para>
    374388
    375389    <para><command>./bootstrap</command>: Build the
    376     <application>dmake</application> utility required to complete the
     390    <command>dmake</command> utility required to complete the
    377391    build.</para>
    378392
    379393    <para><command>dmake</command>: Compiles the package.</para>
     394
     395    <para><command>for appl in sbase scalc...</command>: Creates symlinks
     396    for the applicatons in
     397    <filename class="directory">/usr/bin</filename>.</para>
    380398
    381399    <para><command>for appl in *.desktop...</command>: Edit the
Note: See TracChangeset for help on using the changeset viewer.