Changeset 9255931


Ignore:
Timestamp:
01/25/2004 02:38:24 AM (18 years ago)
Author:
Tushar Teredesai <tushar@…>
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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
7426781
Parents:
1fdbdb4
Message:

Updated to j2sdk-1.4.2

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general/prog/jdk/j2sdk-config.xml

    r1fdbdb4 r9255931  
    2828</sect3>
    2929
     30<sect3><title>Handling CLASSPATH</title>
     31
     32<para>When compiling packages, the <envar>CLASSPATH</envar> environment variable
     33is used JDK to locate classes at compile-time and run-time. It is tedious to
     34add all the classes used to the <envar>CLASSPATH</envar> manually. You may add
     35the following lines to your shell startup file to set <envar>CLASSPATH</envar>
     36automatically to include all JAR files in a specified directory, which in
     37the example below is <filename>/usr/lib/auto-java-classpath</filename>.</para>
     38
     39<screen><userinput>AUTO_CLASSPATH_DIR=/usr/lib/auto-java-classpath
     40if [ -z $CLASSPATH ]
     41then
     42  CLASSPATH=.:$AUTO_CLASSPATH_DIR
     43else
     44  CLASSPATH=$CLASSPATH:.:$AUTO_CLASSPATH_DIR
     45fi
     46for i in $(ls $AUTO_CLASSPATH_DIR/*.jar 2>/dev/null)
     47do
     48  CLASSPATH=$CLASSPATH:$i
     49done</userinput></screen>
     50
     51</sect3>
     52
    3053</sect2>
    3154
  • general/prog/jdk/j2sdk-inst.xml

    r1fdbdb4 r9255931  
    77<para>Installation of the precompiled <acronym>JDK</acronym> is easy, change
    88the executable bit for the downloaded file, change to the directory where you
    9 want it installed and execute the downloaded file.</para>
     9want it installed and execute the downloaded file. The following (slightly
     10cryptic version) allows automatic installation.</para>
    1011
    1112<screen><userinput><command>VERSION=&j2sdk-bin-version; &amp;&amp;
    1213MV=`echo $VERSION | cut -d "_" -f 1,1` &amp;&amp;
    1314V=`echo ${VERSION} | sed -e "s/\./_/g"` &amp;&amp;
     15sed -i "s:^PATH=.*::" j2sdk-${V}-linux-i?86.bin &amp;&amp;
    1416chmod +x j2sdk-${V}-linux-i?86.bin &amp;&amp;
    15 ./j2sdk-${V}-linux-i?86.bin &amp;&amp;
     17mkdir -p bin &amp;&amp;
     18ln -sf /bin/true bin/more &amp;&amp;
     19yes | PATH=$PWD/bin:$PATH ./j2sdk-${V}-linux-i?86.bin &amp;&amp;
    1620cd j2sdk${VERSION} &amp;&amp;
    1721install -d /opt/j2sdk/j2sdk-precompiled-${MV} &amp;&amp;
     
    2832export PATH=$PATH:${JAVA_HOME}/bin</command></userinput></screen>
    2933
    30 <para>Unzip and patch the source:</para>
     34<para>Unzip the source:</para>
    3135
    3236<screen><userinput><command>VERSION=&j2sdk-src-version; &amp;&amp;
     
    3438unzip j2sdk-${V}-src-scsl.zip &amp;&amp;
    3539unzip j2sdk-${V}-mozilla_headers-unix.zip &amp;&amp;
    36 patch -Np1 -i j2sdk-${VERSION}-gcc33-1.patch &amp;&amp;
    37 patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch &amp;&amp;
    38 patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch &amp;&amp;
    39 patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch &amp;&amp;
    40 patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch &amp;&amp;
    41 patch -Np1 -i j2sdk-${VERSION}-motif-mkmsgcat.patch &amp;&amp;
    42 patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch</command></userinput></screen>
     40unzip j2sdk-${V}-bin-scsl.zip</command></userinput></screen>
    4341
    44 <para>Set some variables which affect the build:</para>
     42<para>Apply all the patches downloaded above.</para>
     43
     44<screen><userinput><command>for PATCH in fix-inline-asm-1 gcc3-1 motif-mkmsgcat \
     45             remove-debug-image remove-fixed-paths-1 \
     46             static_cxx
     47do
     48   patch -Np1 -i j2sdk-1.4.2-$PATCH.patch &amp;&amp;
     49done</command></userinput></screen>
     50
     51<para>Set/unset some variables which affect the build:</para>
    4552<screen><userinput><command>export ALT_BOOTDIR="$JAVA_HOME" &amp;&amp;
    4653unset JAVA_HOME &amp;&amp;
     
    5663export MAKE_VERBOSE=true &amp;&amp;
    5764export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen>
     65
     66<warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build fail.
     67If you are interested in optimizing the build, set OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS
     68instead.</para></warning>
    5869
    5970<para>Additionally, if you would like to make in parallel, add the following
  • general/prog/jdk/j2sdk-intro.xml

    r1fdbdb4 r9255931  
    3838<listitem><para>Download (HTTP): <ulink
    3939url="&j2sdk-download-http;"/></para></listitem>
     40<!--
    4041<listitem><para>Download (FTP): <ulink
    4142url="&j2sdk-download-ftp;"/></para></listitem>
     43-->
    4244<listitem><para>Version used (binary):
    4345&j2sdk-bin-version;</para></listitem>
     
    5254<sect3><title>Additional downloads</title>
    5355<itemizedlist spacing='compact'>
    54 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-fix-intl-files.patch"/></para></listitem>
    55 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-gcc33-1.patch"/></para></listitem>
    56 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-link-missing-libs.patch"/></para></listitem>
    57 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-motif-mkmsgcat.patch"/></para></listitem>
    58 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-remove-fixed-paths.patch"/></para></listitem>
    59 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-syntax-fixes.patch"/></para></listitem>
    60 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-use-included-motif.patch"/></para></listitem>
     56<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-fix-inline-asm-1.patch"/></para></listitem>
     57<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-gcc33-1.patch"/></para></listitem>
     58<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-motif-mkmsgcat.patch"/></para></listitem>
     59<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-remove-debug-image.patch"/></para></listitem>
     60<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-remove-fixed-paths-1.patch"/></para></listitem>
     61<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-static_cxx.patch"/></para></listitem>
    6162</itemizedlist>
    6263</sect3>
     
    6667<sect4><title>Required</title>
    6768<para><xref linkend="xfree86"/>, <xref linkend="zip"/>, <xref
    68 linkend="unzip"/>, <xref linkend="cpio"/>, and <xref linkend="tcsh"/>
     69linkend="unzip"/>, <xref linkend="cpio"/>, <xref linkend="alsa"/>,
     70and <xref linkend="tcsh"/>
    6971</para></sect4>
    7072</sect3>
  • general/prog/jdk/j2sdk.ent

    r1fdbdb4 r9255931  
    55<!ENTITY j2sdk-config SYSTEM "j2sdk-config.xml">
    66<!ENTITY j2sdk-desc SYSTEM "j2sdk-desc.xml">
    7 <!ENTITY j2sdk-bin-version "1.4.2_01">
    8 <!ENTITY j2sdk-src-version "1.4.1">
     7<!ENTITY j2sdk-bin-version "1.4.2_03">
     8<!ENTITY j2sdk-src-version "1.4.2">
    99<!ENTITY j2sdk-download-http "http://freshmeat.net/projects/sunjdk">
    1010<!ENTITY j2sdk-download-ftp "">
  • introduction/welcome/changelog.xml

    r1fdbdb4 r9255931  
    1212<itemizedlist>
    1313
    14 <listitem><para>January 24th, 2003 [igor]: Updated to
     14<listitem><para>January 24th, 2004 [tushar]: Updated to
     15j2sdk-1.4.2_03 (binary) and j2sdk-1.4.2.</para></listitem>
     16
     17<listitem><para>January 24th, 2004 [igor]: Updated to
    1518KDE-3.1.5.</para></listitem>
    1619
    17 <listitem><para>January 23rd, 2003 [igor]: Updated to
     20<listitem><para>January 23rd, 2004 [igor]: Updated to
    1821XFce-4.0.3.1.</para></listitem>
    1922
    20 <listitem><para>January 21st, 2003 [igor]: Updated to xine User
     23<listitem><para>January 21st, 2004 [igor]: Updated to xine User
    2124Interface-0.9.23.</para></listitem>
    2225   
    23 <listitem><para>January 20th, 2003 [igor]: Updated to xine
     26<listitem><para>January 20th, 2004 [igor]: Updated to xine
    2427Libraries-1-rc3a.</para></listitem>
    2528
    26 <listitem><para>January 19th, 2003 [igor]: Updated to Audio
     29<listitem><para>January 19th, 2004 [igor]: Updated to Audio
    2730File-0.2.5.</para></listitem>
    2831   
    29 <listitem><para>January 18th, 2003 [igor]: Updated to
     32<listitem><para>January 18th, 2004 [igor]: Updated to
    3033libtiff-3.6.1.</para></listitem>
    3134
    32 <listitem><para>January 17th, 2003 [igor]: Updated to
     35<listitem><para>January 17th, 2004 [igor]: Updated to
    3336lcms-1.12.</para></listitem>
    3437   
    35 <listitem><para>January 17th, 2003 [tushar]: Updated to
     38<listitem><para>January 17th, 2004 [tushar]: Updated to
    3639mozilla-1.6.</para></listitem>
    3740
Note: See TracChangeset for help on using the changeset viewer.