Ignore:
Timestamp:
04/24/2005 09:52:46 AM (19 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 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:
2ae9847
Parents:
6a25deb2
Message:

update to jdk-1.5 and related fixes

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/suites/openoffice.xml

    r6a25deb2 r5f0bab7  
    4949<itemizedlist spacing='compact'>
    5050
    51 <listitem><para>Required patch for gcc-&gcc3-version;: <ulink
    52 url="&patch-root;/OOo_&openoffice-version;-gcc33-1.patch"/></para>
     51<listitem><para>Required patch for gcc-&gcc-version;: <ulink
     52url="&patch-root;/OOo_&openoffice-version;-gcc_3.4.2+_fixes-1.patch"/></para>
    5353</listitem>
    5454
     
    5858
    5959<listitem><para>Required patch if compiling with
    60 <acronym>J2SDK</acronym>-&j2sdk-src-version;: <ulink
    61 url="&patch-root;/OOo_&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para>
     60<acronym>JDK</acronym>-&jdk-src-version;: <ulink
     61url="&patch-root;/OOo_&openoffice-version;-jdk_&jdk-src-version;_fix-1.patch"/></para>
    6262</listitem>
    6363
     
    6868</listitem>
    6969
     70<listitem><para>Required patch for STLport-4.6.2: <ulink
     71url="&patch-root;/OOo_&openoffice-version;-STLport_4.6.2-1.patch"/></para>
     72</listitem>
     73
    7074<listitem><para>Optional patch if you wish to use the system freetype:
    7175<ulink
     
    7983</listitem>
    8084
    81 <listitem><para>General Polygon Clipper Library (Optional if
    82 libart_lgpl-&libart_lgpl-version; is used): <ulink
    83 url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para>
     85<listitem><para>STLport-4.6.2: <ulink
     86url="http://www.stlport.org/archive/STLport-4.6.2.tar.gz"/></para>
    8487</listitem>
    8588
     
    97100<xref linkend="zip"/>,
    98101<xref linkend="unzip"/>,
    99 <xref linkend="tcsh"/>,
    100 <xref linkend="which"/> and
    101 <xref linkend="gcc3"/>.</para>
     102<xref linkend="tcsh"/>, and
     103<xref linkend="which"/>.</para>
    102104</sect4>
    103105
    104106<sect4><title>Recommended</title>
    105 <para><xref linkend="j2sdk"/>,
     107<para><xref linkend="jdk"/>,
    106108<xref linkend="freetype2"/>,
    107109<xref linkend="pkgconfig"/>,
    108 <xref linkend="startup-notification"/> and
    109 <xref linkend="desktop-file-utils"/>.</para>
     110<xref linkend="startup-notification"/>,
     111<xref linkend="desktop-file-utils"/>,
     112<xref linkend="apache-ant"/>,
     113<xref linkend="libart_lgpl"/>, and
     114<xref linkend="curl"/>.</para>
     115
    110116</sect4>
    111117
    112118<sect4><title>Optional</title>
    113 <para><xref linkend="Linux_PAM"/>,
    114 <xref linkend="libart_lgpl"/>,
    115 <xref linkend="apache-ant"/> and
    116 <xref linkend="curl"/>.</para>
     119<para><xref linkend="Linux_PAM"/> and
     120<xref linkend="nas"/>.</para>
    117121</sect4>
    118122</sect3>
     
    131135tar -zxf ../OOo_&openoffice-version;_source.tar.gz</command></userinput></screen>
    132136
    133 <para>Optionally, untar and move the gpc files, and apply the downloaded
    134 patches:</para>
    135 
    136 <screen><userinput><command>tar -zxf ../gpc231.tar.Z &amp;&amp;
    137 mv gpc231/* external/gpc &amp;&amp;
    138 rmdir gpc231 &amp;&amp;
    139 for patch in ../OOo_&openoffice-version;-*.patch
    140   do patch -Np1 -i $patch
    141   done</command></userinput></screen>
     137<para>Apply all of the downloaded patches:</para>
     138
     139<screen><userinput><command>for PATCH in ../OO_&openoffice-version;-*.patch
     140    do patch -Np1 -i ${PATCH}
     141done</command></userinput></screen>
     142
     143<para>Copy the STLport <acronym>TAR</acronym>ball into the source tree:</para>
     144
     145<screen><userinput><command>cp ../STLport-4.6.2.tar.gz stlport/download/</command></userinput></screen>
    142146
    143147<para>STLport looks for the c++ headers in the wrong location.  Put a
    144148temporary symlink in place to satisfy STLport:</para>
    145149
    146 <screen><userinput><command>ln -sf /opt/gcc-&gcc3-version;/include/c++/&gcc3-version; /usr/g++-v3</command></userinput></screen>
    147 
    148 <para>OpenOffice fails to build with gcc-3.4.1.  Set your path to
    149 include gcc-&gcc3-version;:</para>
    150 
    151 <screen><userinput><command>export PATH_HOLD=$PATH &amp;&amp;
    152 export PATH=/opt/gcc-&gcc3-version;/bin:$PATH</command></userinput></screen>
     150<screen><userinput><command>ln -sf /usr/include/c++/&gcc-version; /usr/g++-v3</command></userinput></screen>
     151
     152<para>Create a temprorary symlink to the <acronym>JRE</acronym>'s
     153<application>motif</application> libraries:</para>
     154
     155<screen><userinput><command>ln -sf ${JAVA_HOME}/jre/lib/motif21/libmawt.so /usr/lib</command></userinput></screen>
    153156
    154157<para>If you want to optimize the build, edit
     
    174177    --with-dict=ENUS --without-fonts \
    175178    --enable-libsn --with-system-zlib \
    176     --with-system-freetype &amp;&amp;
     179    --with-system-freetype \
     180    --with-system-curl --disable-fontooo \
     181    --enable-libart &amp;&amp;
    177182cd ..</command></userinput></screen>
    178183
     
    227232rename ooo645 ooo /usr/share/applications/ooo645*.desktop</command></userinput></screen>
    228233
    229 <para>Finally, return your environment to it's original state:</para>
    230 
    231 <screen><userinput><command>export PATH=$PATH_HOLD &amp;&amp;
    232 rm -f /usr/g++-v3</command></userinput></screen>
     234<para>Finally, remove the temporary symlinks:</para>
     235
     236<screen><userinput><command>rm /usr/g++-v3 &amp;&amp;
     237rm /usr/lib/libmawt.so</command></userinput></screen>
    233238
    234239</sect2>
     
    236241<sect2>
    237242<title>Command explanations</title>
    238 
    239 <para>
    240 <command>mv ../gpc231/gpc.* external/gpc</command>: Copy the gpc files to the
    241 appropriate location.</para>
    242243
    243244<para><parameter>--with-lang=ENUS</parameter>: Make install set for the
Note: See TracChangeset for help on using the changeset viewer.