Ignore:
Timestamp:
01/29/2011 04:05:03 PM (13 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
b30ddee
Parents:
b3b4d5d
Message:

Updated to IcedTea6-1.9.4.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/icedtea6.xml

    rb3b4d5d rbc00982  
    55  %general-entities;
    66
    7   <!ENTITY icedtea6-download-binary       "http://anduin.linuxfromscratch.org/files/BLFS/icedtea6-&icedtea6-version;-2-i586-bin.tar.bz2">
    8   <!ENTITY icedtea6-bin-md5sum            "6f5934057ce9d3bbb6242b2680886eff">
    9   <!ENTITY icedtea6-bin-size              "172 MB">
    10   <!ENTITY icedtea6-bin-buildsize         "422 MB">
    11 
    12   <!ENTITY icedtea6-source-md5sum        "24191e3974ea58cb2bc410590221486c">
     7  <!ENTITY icedtea6-download-binary-x86  "http://anduin.linuxfromscratch.org/files/BLFS/icedtea6-&icedtea6-version;-1-i586-bin.tar.xz">
     8  <!ENTITY icedtea6-bin-md5sum-x86       "af76a2b9ad92422a145335cf6c71064c">
     9  <!ENTITY icedtea6-bin-size-x86         "100 MB">
     10  <!ENTITY icedtea6-bin-buildsize-x86    "844 MB">
     11
     12<!-- This is not an error, x86 is larger than x86_64 because x86 includes a
     13     client VM, whereas one is not available on x86_64 -->
     14
     15  <!ENTITY icedtea6-download-binary-x64  "http://anduin.linuxfromscratch.org/files/BLFS/icedtea6-&icedtea6-version;-1-x86_64-bin.tar.xz">
     16  <!ENTITY icedtea6-bin-md5sum-x64       "75fca6ce52def2bf3cf16bbec7230369">
     17  <!ENTITY icedtea6-bin-size-x64         "77 MB">
     18  <!ENTITY icedtea6-bin-buildsize-x64    "564 MB">
     19
     20  <!ENTITY icedtea6-source-md5sum        "d96d950b76a92e8cd327ae55ca4935e1">
    1321  <!ENTITY openjdk-md5sum                "0b36adbf67e4f261e1b827ed4be4f447">
    1422  <!ENTITY jaf-md5sum                    "bc95c133620bd68c161cac9891592901">
    1523  <!ENTITY jaxp-md5sum                   "22e95fbdb9fb7d8b6b6fc0a1d76d1fbd">
    1624  <!ENTITY jaxws-md5sum                  "91adfd41e6f001add4f92ae31216b1e3">
    17   <!ENTITY ecj-md5sum                    "68fa8f34c8dbee816ccda37b9296f812">
     25  <!ENTITY ecj-md5sum                    "448c6e65234fc61624e14b0964d75bd9">
    1826  <!ENTITY rhino-md5sum                  "40d0a9abec8169e42920214b37fa8e0e">
    1927  <!ENTITY xalan-md5sum                  "99d049717c9d37a930450e630d8a6531">
    20   <!ENTITY xerces-md5sum                 "a3aece3feb68be6d319072b85ad06023">
    21 
    22   <!ENTITY icedtea6-source-size          "6.1 MB">
     28  <!ENTITY xerces-md5sum                 "408500aaaf1ff9f1e03e79defe90facc">
     29
     30  <!ENTITY icedtea6-source-size          "6.2 MB">
    2331  <!ENTITY openjdk-size                  "43 MB">
    2432  <!ENTITY jaf-size                      "70 KB">
     
    2836  <!ENTITY rhino-size                    "2.9 MB">
    2937  <!ENTITY xalan-size                    "16.8 MB">
    30   <!ENTITY xerces-size                   "6.6 MB">
     38  <!ENTITY xerces-size                   "7.0 MB">
    3139
    3240  <!ENTITY icedtea6-src-buildsize         "7 GB">
     
    4048  <!ENTITY jaxp-download "http://icedtea.classpath.org/builds/icedtea6/src/drops/jdk6-jaxp-&openjdk-build;.zip">
    4149  <!ENTITY jaxws-download "http://icedtea.classpath.org/builds/icedtea6/src/drops/jdk6-jaxws-&openjdk-build;.zip">
    42   <!ENTITY ecj-download "http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.6-201006080911/ecj-3.6.jar">
     50  <!ENTITY ecj-download "http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.6.1-201009090800/ecj-3.6.1.jar">
    4351  <!ENTITY rhino-download "ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R2.zip">
    4452  <!ENTITY xalan-download "http://apache.osuosl.org/xml/xalan-j/xalan-j_2_7_1-bin.zip">
    45   <!ENTITY xerces-download "http://apache.osuosl.org/xml/xerces-j/Xerces-J-bin.2.9.0.zip">
     53  <!ENTITY xerces-download "http://apache.osuosl.org/xerces/j/Xerces-J-bin.2.11.0.zip">
    4654
    4755]>
     
    114122    </note>
    115123
    116     <bridgehead renderas="sect3">Binary Package Information</bridgehead>
    117     <itemizedlist spacing="compact">
    118       <listitem>
    119         <para>Binary download: <ulink url="&icedtea6-download-binary;"/></para>
    120       </listitem>
    121       <listitem>
    122         <para>Download MD5 sum: &icedtea6-bin-md5sum;</para>
    123       </listitem>
    124       <listitem>
    125         <para>Download size (binary): &icedtea6-bin-size;</para>
    126       </listitem>
    127       <listitem>
    128         <para>Estimated disk space required: &icedtea6-bin-buildsize;</para>
    129       </listitem>
    130     </itemizedlist>
    131 
    132124    <bridgehead renderas="sect3">Source Package Information</bridgehead>
    133 
    134125    <itemizedlist spacing="compact">
    135126      <listitem>
     
    186177    </itemizedlist>
    187178
     179    <bridgehead renderas="sect3">Binary Package Information</bridgehead>
     180    <itemizedlist spacing="compact">
     181      <listitem>
     182        <para>Binary download (x86):
     183        <ulink url="&icedtea6-download-binary-x86;"/></para>
     184      </listitem>
     185      <listitem>
     186        <para>Download MD5 sum: &icedtea6-bin-md5sum-x86;</para>
     187      </listitem>
     188      <listitem>
     189        <para>Download size (binary): &icedtea6-bin-size-x86;</para>
     190      </listitem>
     191      <listitem>
     192        <para>Estimated disk space required: &icedtea6-bin-buildsize-x86;</para>
     193      </listitem>
     194    </itemizedlist>
     195    <itemizedlist spacing="compact">
     196      <listitem>
     197        <para>Binary download (x86_64):
     198        <ulink url="&icedtea6-download-binary-x64;"/></para>
     199      </listitem>
     200      <listitem>
     201        <para>Download MD5 sum: &icedtea6-bin-md5sum-x64;</para>
     202      </listitem>
     203      <listitem>
     204        <para>Download size (binary): &icedtea6-bin-size-x64;</para>
     205      </listitem>
     206      <listitem>
     207        <para>Estimated disk space required: &icedtea6-bin-buildsize-x64;</para>
     208      </listitem>
     209    </itemizedlist>
     210
    188211    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    189212
     
    196219      <listitem>
    197220        <para><ulink
    198         url="&patch-root;/icedtea6-&icedtea6-version;-testsuite_fixes-1.patch"/></para>
     221        url="&patch-root;/icedtea6-&icedtea6-version;-generate_cacerts-1.patch"/></para>
    199222      </listitem>
    200223      <listitem>
    201224        <para><ulink
    202         url="&patch-root;/icedtea6-&icedtea6-version;-generate_cacerts-1.patch"/></para>
     225        url="&patch-root;/icedtea6-&icedtea6-version;-xerces2_10-1.patch"/></para>
     226      </listitem>
     227      <listitem>
     228        <para><ulink
     229        url="&patch-root;/icedtea6-&icedtea6-version;-fixed_paths-1.patch"/></para>
    203230      </listitem>
    204231    </itemizedlist>
     
    245272    <bridgehead renderas="sect3">IcedTea6 Dependencies</bridgehead>
    246273
     274<!-- Remove required dependency after BLFS-6.7 -->
     275    <bridgehead renderas="sect4">Required Dependencies</bridgehead>
     276    <para role="required">
     277    <xref linkend="xz-utils"/>
     278    </para>
     279
    247280    <bridgehead renderas="sect4">Optional Runtime Dependencies (required for
    248281    source installation)</bridgehead>
     
    251284    <xref linkend="cups"/>,
    252285    <xref linkend="gtk2"/>, and
    253     <ulink url="ftp://ftp.x.org/pub/individual/lib/libXp-1.0.0.tar.bz2">
    254     libXp</ulink>
    255     <!-- <xref linkend="libXp"/> -->
     286    <xref linkend="xorg7-lib"/>
    256287    </para>
    257288
     
    276307    the source version. You can choose to keep either or both.</para>
    277308
    278     <para>Install the binary <application>IcedTea6</application> with the
    279     following commands as the <systemitem class="username">root</systemitem>
    280     user:</para>
     309    <bridgehead renderas="sect3">IcedTea6 Binary Installation</bridgehead>
     310    <para>Begin by extracting the appropriate binary tarball and changing to
     311    the extracted dirctory. Install the binary
     312    <application>IcedTea6</application> with the following commands as the
     313    <systemitem class="username">root</systemitem> user:</para>
    281314
    282315<screen role="root"><userinput>cp -R j2sdk-image /opt/icedtea6-&icedtea6-version;-bin &amp;&amp;
     
    291324export PATH="${PATH}:${JAVA_HOME}/bin"</userinput></screen>
    292325
    293     <para>The binary version is now installed.</para>
    294 
    295     <para>If you don't want to compile the sources, skip ahead to the
    296     configuration section.</para>
    297 
     326    <para>The binary version is now installed. If you don't want to compile the
     327    sources, skip ahead to the configuration section.</para>
     328
     329    <bridgehead renderas="sect3">IcedTea6 Source Installation</bridgehead>
    298330    <note><para>The source build of IcedTea6 requires
    299331    <xref linkend="apache-ant"/>.  You'll need to build that first to satisfy
    300332    the reciprocal dependency, and return to this section to continue building
    301333    IcedTea6.</para></note>
     334
     335    <para>Like other packages in BLFS, begin by extracting the
     336    <application>IcedTea6</application> source package and changing into the
     337    extracted dirctory.</para>
    302338
    303339    <para><application>IcedTea6</application> requires several freely
     
    306342    programs, or remove them if you choose.  You can optionally choose not to
    307343    install them at all, and provide the necessary configure options to find
    308     the files.  Install the necessary tools with the following commands as the
     344    the files. Install the necessary tools with the following commands as the
    309345    <systemitem class="username">root</systemitem> user:</para>
    310346
     
    313349unzip ../../rhino1_7R2.zip &amp;&amp;
    314350unzip ../../xalan-j_2_7_1-bin.zip &amp;&amp;
    315 unzip ../../Xerces-J-bin.2.9.0.zip &amp;&amp;
     351unzip ../../Xerces-J-bin.2.11.0.zip &amp;&amp;
    316352install -v -d -m755 /usr/share/java &amp;&amp;
    317353install -v -m755 rhino1_7R2/*.jar /usr/share/java &amp;&amp;
    318354install -v -m755 xalan-j_2_7_1/*.jar /usr/share/java &amp;&amp;
    319 install -v -m755 xerces-2_9_0/*.jar /usr/share/java &amp;&amp;
    320 install -v -m755 ../../ecj-3.6.jar /usr/share/java &amp;&amp;
    321 ln -s ecj-3.6.jar /usr/share/java/ecj.jar &amp;&amp;
     355install -v -m755 xerces-2_11_0/*.jar /usr/share/java &amp;&amp;
     356install -v -m755 ../../ecj-3.6.1.jar /usr/share/java &amp;&amp;
     357ln -s ecj-3.6.1.jar /usr/share/java/ecj.jar &amp;&amp;
    322358ln -s xalan.jar /usr/share/java/xalan2.jar &amp;&amp;
    323359cd .. &amp;&amp;
     
    340376<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-upstream_fixes-1.patch</userinput></screen>
    341377
    342     <para>Apply a patch to fix several tests, and disable invalid tests:</para>
    343    
    344 <screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-testsuite_fixes-1.patch</userinput></screen>
    345 
    346378    <para>Apply a patch to generate a valid cacerts file using the system CA
    347379    certificates:</para>
    348380
    349381<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-generate_cacerts-1.patch</userinput></screen>
     382
     383    <para>Apply a patch to fix the build when using a newer version of
     384    Xerces2:</para>
     385
     386<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-xerces2_10-1.patch</userinput></screen>
     387
     388    <para>Apply a patch to replace fixed paths with ones appropriate for
     389    BLFS:</para>
     390
     391<screen><userinput>patch -Np1 -i ../icedtea6-&icedtea6-version;-fixed_paths-1.patch</userinput></screen>
    350392
    351393    <para>Configure and build the package with the following commands:</para>
     
    357399make</userinput></screen>
    358400
    359     <para>To test the results, issue: <command>make check</command>.  The
    360     testsuite should complete without error.</para>
     401    <para>To test the results, issue: <command>make check</command>. The
     402    included version of <application>jtreg</application> is old, and the test
     403    suite is very dependent on the host system as well. You should expect to
     404    see 6 failures and 1 error in the langtools tests, and 20 to 23 failures
     405    in jdk with up to 3 errors. The other 4700 tests should pass.</para>
    361406
    362407    <para>Install the package with the following commands as the
Note: See TracChangeset for help on using the changeset viewer.