Changeset 2dfcd1d


Ignore:
Timestamp:
12/20/2004 05:30:17 AM (17 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 6.0, 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, 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:
14a732e
Parents:
a2d546f
Message:

update to OOo-1.1.3 and added gcc-3.3.3-linkonce patch

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    ra2d546f r2dfcd1d  
    378378<!-- Chapter 34 -->   
    379379<!ENTITY koffice-version              "1.3.2"> 
    380 <!ENTITY openoffice-version           "1.1.2">
     380<!ENTITY openoffice-version           "1.1.3">
    381381
    382382<!-- Chapter 35 -->       
  • general/prog/gcc3.xml

    ra2d546f r2dfcd1d  
    4242<sect3><title>Additional downloads</title>
    4343<itemizedlist spacing='compact'>
     44
    4445<listitem><para>Required Patch: <ulink
    4546url="&patch-root;/gcc-&gcc3-version;-no_fixincludes-1.patch"/></para></listitem>
     47
     48<listitem><para>Required Patch: <ulink
     49url="&patch-root;/gcc-&gcc3-version;-linkonce-1.patch"/></para></listitem>
     50
    4651</itemizedlist>
    4752</sect3>
     
    5459<para>Apply the patches:</para>
    5560
    56 <screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch</command></userinput></screen>
     61<screen><userinput><command>patch -Np1 -i ../gcc-&gcc3-version;-no_fixincludes-1.patch &amp;&amp;
     62patch -Np1 -i ../gcc-&gcc3-version;-linkonce-1.patch </command></userinput></screen>
    5763
    5864<para>The <acronym>GCC</acronym> development team recommends building in a
  • introduction/welcome/changelog.xml

    ra2d546f r2dfcd1d  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>December 19th, 2004 [dj]: Added gcc-3.3.3-linkonce patch
     26and updated to OpenOffice-1.1.3 and associated patches.</para></listitem>
    2427
    2528<listitem><para>December 19th, 2004 [randy]: Updated FontConfig HTTP
  • xsoft/suites/openoffice.xml

    ra2d546f r2dfcd1d  
    66
    77  <!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/1.1.2/OOo_&openoffice-version;_source.tar.gz">
    9   <!ENTITY openoffice-size          "221 MB">
     8  <!ENTITY openoffice-download-ftp "ftp://ftp.ussg.iu.edu/pub/openoffice/stable/&openoffice-version;/OOo_&openoffice-version;-1_source.tar.gz">
     9  <!ENTITY openoffice-size          "205 MB">
    1010  <!ENTITY openoffice-buildsize     "5.8 GB">
    1111  <!ENTITY openoffice-time          "81 SBU">
     
    4343<sect3><title>Additional downloads</title>
    4444<itemizedlist spacing='compact'>
     45
    4546<listitem><para>Required patch (Executable <command>test</command> is in
    4647<filename class="directory">/bin</filename>,
    4748not in <filename class="directory">/usr/bin</filename>): <ulink
    4849url="&patch-root;/openoffice-&openoffice-version;-test_bin_loc-1.patch"/></para></listitem>
    49 <listitem><para>Required patch if Linux-<acronym>PAM</acronym>-&Linux_PAM-version;
    50 is not installed: <ulink
    51 url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para></listitem>
     50
     51<listitem><para>Required patch to use system freetype: <ulink
     52url="&patch-root;/openoffice-&openoffice-version;-freetype-1.patch"/></para>
     53</listitem>
     54
     55<listitem><para>Required patch if
     56Linux-<acronym>PAM</acronym>-&Linux_PAM-version; is not installed: <ulink
     57url="&patch-root;/openoffice-&openoffice-version;-no_pam-1.patch"/></para>
     58</listitem>
     59
    5260<listitem><para>Required patch if compiling with
    5361<acronym>JDK</acronym>-&j2sdk-src-version;: <ulink
    54 url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para></listitem>
    55 <listitem><para>Recommended patch: <ulink
    56 url="&patch-root;/openoffice-&openoffice-version;-domainname-1.patch"/></para></listitem>
     62url="&patch-root;/openoffice-&openoffice-version;-jdk_&j2sdk-src-version;_fix-1.patch"/></para>
     63</listitem>
     64
     65<listitem><para>Required patch for gcc-3.3.3: <ulink
     66url="&patch-root;/openoffice-&openoffice-version;-gcc33-1.patch"/></para>
     67</listitem>
     68
    5769<listitem><para>General Polygon Clipper Library (Optional if
    5870libart_lgpl-&libart_lgpl-version; is used): <ulink
    59 url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para></listitem>
     71url="ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"/></para>
     72</listitem>
     73
    6074<listitem><para>The source <acronym>TAR</acronym> ball only contains English
    6175language help. A localized help content file may be available at: <ulink
    62 url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para></listitem>
     76url="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/"/>.</para>
     77</listitem>
     78
    6379</itemizedlist>
    6480</sect3>
     
    6783<sect4><title>Required</title>
    6884<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
     85<xref linkend="freetype2"/>,
    6986<xref linkend="zip"/>,
    7087<xref linkend="unzip"/>,
    71 <xref linkend="tcsh"/> and
    72 <xref linkend="which"/></para>
     88<xref linkend="tcsh"/>,
     89<xref linkend="which"/> and
     90<xref linkend="gcc3"/></para>
    7391</sect4>
    7492
     
    8098<para><xref linkend="Linux_PAM"/>,
    8199<xref linkend="libart_lgpl"/>,
    82 <xref linkend="startup-notification"/> and
    83 <xref linkend="apache-ant"/></para>
     100<xref linkend="startup-notification"/>,
     101<xref linkend="apache-ant"/> and
     102<xref linkend="curl"/></para>
    84103</sect4>
    85104</sect3>
     
    93112files:</para>
    94113
    95 <screen><userinput><command>mv ../gpc231/* external/gpc &amp;&amp;
    96 for p in ../openoffice-&openoffice-version;-*.patch
    97   do patch -Np1 -i $p
     114<screen><userinput><command>tar -zxf ../gpc231.tar.Z &amp;&amp;
     115mv gpc231/* external/gpc &amp;&amp;
     116rmdir gpc231 &amp;&amp;
     117for patch in ../openoffice-&openoffice-version;-*.patch
     118  do patch -Np1 -i $patch
    98119  done</command></userinput></screen>
     120
     121<para>STLport looks for the c++ headers in the wrong location.  Put a
     122temporary symlink in place to satisfy STLport:</para>
     123
     124<screen><userinput><command>ln -sf /opt/gcc-3.3.3/include/c++/3.3.3 /usr/g++-v3</command></userinput></screen>
     125
     126<para>OpenOffice fails to build with gcc-3.4.1.  Set your path to
     127include gcc-3.3.3.</para>
     128
     129<screen><userinput><command>export PATH_HOLD=$PATH &amp;&amp;
     130export PATH=/opt/gcc-3.3.3/bin:$PATH</command></userinput></screen>
    99131
    100132<para>If you want to optimize the build, edit
     
    109141
    110142<para>Configure <application>OpenOffice</application> using the following
    111 commands. You may build install sets for only specific languages based on your
    112 preferences. If a particular component is not available in the language of your
    113 choice, the default will be English. The following option compiles all
    114 available languages. If you restrict the languages, be sure to add
    115 <parameter>ENUS</parameter> to the list; otherwise the build fails. Also, the
    116 build fails when the environment variable <envar>LANG</envar> is set. Unset it
    117 before compiling.</para>
     143commands. You may build install sets for specific languages based on your
     144preferences. Supply a comma separated list to the <envar>--with-lang=</envar>
     145switch.  If a particular component is not available in the language of your
     146choice, the default will be English. If you need other languages, be sure to
     147add <parameter>ENUS</parameter> to the list; otherwise the build will
     148fail.</para>
    118149
    119150<screen><userinput><command>cd config_office/ &amp;&amp;
    120 ./configure --with-lang=ALL \
    121     --with-dict=ALL --without-fonts \
    122     --enable-libsn --with-system-zlib &amp;&amp;
     151./configure --with-lang=ENUS \
     152    --with-dict=ENUS --without-fonts \
     153    --enable-libsn --with-system-zlib \
     154    --with-system-freetype &amp;&amp;
    123155cd ..</command></userinput></screen>
     156
     157<para><application>OpenOffice</application> fails to compile if
     158<command>umask</command> is set to something exotic. The build can also
     159fial if the <envar>LANG</envar> or <envar>LC_ALL</envar> evvironment
     160variables are set.</para>
     161
     162<screen><userinput><command>umask 0022 &amp;&amp;
     163unset LANG LC_ALL</command></userinput></screen>
    124164
    125165<para>Compile <application>OpenOffice</application> using the following
    126166commands:</para>
    127 
    128 <note><para><application>OpenOffice</application> fails to compile if
    129 <command>umask</command> is set to something exotic. Set
    130 <command>umask 0022</command> if you normally set it to
    131 something else.</para></note>
    132167
    133168<screen><userinput><command>./bootstrap &amp;&amp;
     
    139174
    140175<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &amp;&amp;
    141 for i in $(ls ../../../../../helpcontent_*_unix.tgz)
     176for i in ../../../../../helpcontent_*_unix.tgz
    142177  do tar -xvzf $i
    143178  done &amp;&amp;
     
    149184<para>Install <application>OpenOffice</application> using the following
    150185commands to install the English language set. To install a localized version,
    151 replace the 01 with the international telephone country code for your country.
    152 Note that when installing, <application>OpenOffice</application> needs an
    153 <application>X</application> display, even though there is no visible
    154 <application>X</application> window. You can use <command>Xvfb</command> if
    155 you are compiling on a console.</para>
     186replace the 01 with the international telephone country code for your
     187country.</para>
    156188
    157189<screen><userinput><command>cd instsetoo/unxlngi4.pro/01/normal &amp;&amp;
     
    165197</sect2>
    166198
     199<para>Finally, return your environment to it's original state:</para>
     200
     201<screen><userinput><command>export PATH=$PATH_HOLD &amp;&amp;
     202rm -f /usr/g++-v3</command></userinput></screen>
     203
    167204<sect2>
    168205<title>Command explanations</title>
     
    172209appropriate location.</para>
    173210
    174 <para><parameter>--with-lang=ALL</parameter>: Make install sets for all
    175 available languages.</para>
    176 
    177 <para><parameter>--with-dict=ALL</parameter>: Install dictionaries for all
    178 available languages.</para>
     211<para><parameter>--with-lang=ENUS</parameter>: Make install set for the
     212US English language.</para>
     213
     214<para><parameter>--with-dict=ENUS</parameter>: Install dictionaries for
     215the US English language.</para>
    179216
    180217<para><parameter>--enable-libart</parameter>: Use libart instead of gpc for
     
    192229<para><parameter>--without-fonts</parameter>: Do not install Bitstream Vera
    193230fonts since they are already bundled with <application>X</application>.</para>
     231
     232<para><parameter>--with-system-curl</parameter>: Use the system
     233installed curl.</para>
    194234
    195235<para><command>./bootstrap</command>: Create packages required to bootstrap
Note: See TracChangeset for help on using the changeset viewer.