cvs commit: BLFS/BOOK/introduction/welcome changelog.xml

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sat Jan 24 18:38:24 PST 2004


tushar      04/01/24 19:38:24

  Modified:    BOOK/general/prog/jdk j2sdk-config.xml j2sdk-inst.xml
                        j2sdk-intro.xml j2sdk.ent
               BOOK/introduction/welcome changelog.xml
  Log:
  Updated to j2sdk-1.4.2
  
  Revision  Changes    Path
  1.8       +23 -0     BLFS/BOOK/general/prog/jdk/j2sdk-config.xml
  
  Index: j2sdk-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/prog/jdk/j2sdk-config.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- j2sdk-config.xml	26 Sep 2003 15:51:46 -0000	1.7
  +++ j2sdk-config.xml	25 Jan 2004 02:38:24 -0000	1.8
  @@ -27,5 +27,28 @@
   
   </sect3>
   
  +<sect3><title>Handling CLASSPATH</title>
  +
  +<para>When compiling packages, the <envar>CLASSPATH</envar> environment variable
  +is used JDK to locate classes at compile-time and run-time. It is tedious to
  +add all the classes used to the <envar>CLASSPATH</envar> manually. You may add
  +the following lines to your shell startup file to set <envar>CLASSPATH</envar>
  +automatically to include all JAR files in a specified directory, which in
  +the example below is <filename>/usr/lib/auto-java-classpath</filename>.</para>
  +
  +<screen><userinput>AUTO_CLASSPATH_DIR=/usr/lib/auto-java-classpath
  +if [ -z $CLASSPATH ]
  +then
  +  CLASSPATH=.:$AUTO_CLASSPATH_DIR
  +else
  +  CLASSPATH=$CLASSPATH:.:$AUTO_CLASSPATH_DIR
  +fi
  +for i in $(ls $AUTO_CLASSPATH_DIR/*.jar 2>/dev/null)
  +do
  +  CLASSPATH=$CLASSPATH:$i
  +done</userinput></screen>
  +
  +</sect3>
  +
   </sect2>
   
  
  
  
  1.17      +22 -11    BLFS/BOOK/general/prog/jdk/j2sdk-inst.xml
  
  Index: j2sdk-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/prog/jdk/j2sdk-inst.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -u -r1.16 -r1.17
  --- j2sdk-inst.xml	4 Oct 2003 06:53:41 -0000	1.16
  +++ j2sdk-inst.xml	25 Jan 2004 02:38:24 -0000	1.17
  @@ -6,13 +6,17 @@
   
   <para>Installation of the precompiled <acronym>JDK</acronym> is easy, change 
   the executable bit for the downloaded file, change to the directory where you 
  -want it installed and execute the downloaded file.</para>
  +want it installed and execute the downloaded file. The following (slightly
  +cryptic version) allows automatic installation.</para>
   
   <screen><userinput><command>VERSION=&j2sdk-bin-version; &&
   MV=`echo $VERSION | cut -d "_" -f 1,1` &&
   V=`echo ${VERSION} | sed -e "s/\./_/g"` &&
  +sed -i "s:^PATH=.*::" j2sdk-${V}-linux-i?86.bin &&
   chmod +x j2sdk-${V}-linux-i?86.bin &&
  -./j2sdk-${V}-linux-i?86.bin &&
  +mkdir -p bin &&
  +ln -sf /bin/true bin/more &&
  +yes | PATH=$PWD/bin:$PATH ./j2sdk-${V}-linux-i?86.bin &&
   cd j2sdk${VERSION} &&
   install -d /opt/j2sdk/j2sdk-precompiled-${MV} &&
   mv * /opt/j2sdk/j2sdk-precompiled-${MV}</command></userinput></screen>
  @@ -27,21 +31,24 @@
   <screen><userinput><command>export JAVA_HOME=/opt/j2sdk/j2sdk-precompiled-${MV} &&
   export PATH=$PATH:${JAVA_HOME}/bin</command></userinput></screen>
   
  -<para>Unzip and patch the source:</para>
  +<para>Unzip the source:</para>
   
   <screen><userinput><command>VERSION=&j2sdk-src-version; &&
   V=`echo $VERSION | sed -e "s/\./_/g"` &&
   unzip j2sdk-${V}-src-scsl.zip &&
   unzip j2sdk-${V}-mozilla_headers-unix.zip &&
  -patch -Np1 -i j2sdk-${VERSION}-gcc33-1.patch &&
  -patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch &&
  -patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch &&
  -patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch &&
  -patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch &&
  -patch -Np1 -i j2sdk-${VERSION}-motif-mkmsgcat.patch &&
  -patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch</command></userinput></screen>
  +unzip j2sdk-${V}-bin-scsl.zip</command></userinput></screen>
   
  -<para>Set some variables which affect the build:</para>
  +<para>Apply all the patches downloaded above.</para>
  +
  +<screen><userinput><command>for PATCH in fix-inline-asm-1 gcc3-1 motif-mkmsgcat \
  +             remove-debug-image remove-fixed-paths-1 \
  +             static_cxx
  +do
  +   patch -Np1 -i j2sdk-1.4.2-$PATCH.patch &&
  +done</command></userinput></screen>
  +
  +<para>Set/unset some variables which affect the build:</para>
   <screen><userinput><command>export ALT_BOOTDIR="$JAVA_HOME" &&
   unset JAVA_HOME &&
   unset CLASSPATH
  @@ -55,6 +62,10 @@
   export INSANE=true &&
   export MAKE_VERBOSE=true &&
   export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen>
  +
  +<warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build fail.
  +If you are interested in optimizing the build, set OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS
  +instead.</para></warning>
   
   <para>Additionally, if you would like to make in parallel, add the following 
   (adjust <envar>MAKE_PARALLEL</envar> to your liking):</para>
  
  
  
  1.15      +10 -8     BLFS/BOOK/general/prog/jdk/j2sdk-intro.xml
  
  Index: j2sdk-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/prog/jdk/j2sdk-intro.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -u -r1.14 -r1.15
  --- j2sdk-intro.xml	4 Oct 2003 06:53:41 -0000	1.14
  +++ j2sdk-intro.xml	25 Jan 2004 02:38:24 -0000	1.15
  @@ -37,8 +37,10 @@
   <itemizedlist spacing='compact'>
   <listitem><para>Download (HTTP): <ulink
   url="&j2sdk-download-http;"/></para></listitem>
  +<!--
   <listitem><para>Download (FTP): <ulink
   url="&j2sdk-download-ftp;"/></para></listitem>
  +-->
   <listitem><para>Version used (binary):
   &j2sdk-bin-version;</para></listitem>
   <listitem><para>Download size (binary): &j2sdk-bin-size;</para></listitem>
  @@ -51,13 +53,12 @@
   
   <sect3><title>Additional downloads</title>
   <itemizedlist spacing='compact'>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-fix-intl-files.patch"/></para></listitem>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-gcc33-1.patch"/></para></listitem>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-link-missing-libs.patch"/></para></listitem>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-motif-mkmsgcat.patch"/></para></listitem>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-remove-fixed-paths.patch"/></para></listitem>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-syntax-fixes.patch"/></para></listitem>
  -<listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-use-included-motif.patch"/></para></listitem>
  +<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-fix-inline-asm-1.patch"/></para></listitem>
  +<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-gcc33-1.patch"/></para></listitem>
  +<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-motif-mkmsgcat.patch"/></para></listitem>
  +<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-remove-debug-image.patch"/></para></listitem>
  +<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-remove-fixed-paths-1.patch"/></para></listitem>
  +<listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-static_cxx.patch"/></para></listitem>
   </itemizedlist>
   </sect3>
   
  @@ -65,7 +66,8 @@
   <sect3><title><application>J2SDK</application> dependencies</title>
   <sect4><title>Required</title>
   <para><xref linkend="xfree86"/>, <xref linkend="zip"/>, <xref
  -linkend="unzip"/>, <xref linkend="cpio"/>, and <xref linkend="tcsh"/>
  +linkend="unzip"/>, <xref linkend="cpio"/>, <xref linkend="alsa"/>,
  +and <xref linkend="tcsh"/>
   </para></sect4>
   </sect3>
   
  
  
  
  1.11      +2 -2      BLFS/BOOK/general/prog/jdk/j2sdk.ent
  
  Index: j2sdk.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/prog/jdk/j2sdk.ent,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- j2sdk.ent	5 Oct 2003 10:00:31 -0000	1.10
  +++ j2sdk.ent	25 Jan 2004 02:38:24 -0000	1.11
  @@ -4,8 +4,8 @@
   <!ENTITY j2sdk-exp SYSTEM "j2sdk-exp.xml">
   <!ENTITY j2sdk-config SYSTEM "j2sdk-config.xml">
   <!ENTITY j2sdk-desc SYSTEM "j2sdk-desc.xml">
  -<!ENTITY j2sdk-bin-version "1.4.2_01">
  -<!ENTITY j2sdk-src-version "1.4.1">
  +<!ENTITY j2sdk-bin-version "1.4.2_03">
  +<!ENTITY j2sdk-src-version "1.4.2">
   <!ENTITY j2sdk-download-http "http://freshmeat.net/projects/sunjdk">
   <!ENTITY j2sdk-download-ftp "">
   <!ENTITY j2sdk-bin-size "59 MB">
  
  
  
  1.908     +11 -8     BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.907
  retrieving revision 1.908
  diff -u -u -r1.907 -r1.908
  --- changelog.xml	25 Jan 2004 00:56:23 -0000	1.907
  +++ changelog.xml	25 Jan 2004 02:38:24 -0000	1.908
  @@ -11,28 +11,31 @@
   
   <itemizedlist>
   
  -<listitem><para>January 24th, 2003 [igor]: Updated to
  +<listitem><para>January 24th, 2004 [tushar]: Updated to
  +j2sdk-1.4.2_03 (binary) and j2sdk-1.4.2.</para></listitem>
  +
  +<listitem><para>January 24th, 2004 [igor]: Updated to
   KDE-3.1.5.</para></listitem>
   
  -<listitem><para>January 23rd, 2003 [igor]: Updated to
  +<listitem><para>January 23rd, 2004 [igor]: Updated to
   XFce-4.0.3.1.</para></listitem>
   
  -<listitem><para>January 21st, 2003 [igor]: Updated to xine User
  +<listitem><para>January 21st, 2004 [igor]: Updated to xine User
   Interface-0.9.23.</para></listitem>
       
  -<listitem><para>January 20th, 2003 [igor]: Updated to xine
  +<listitem><para>January 20th, 2004 [igor]: Updated to xine
   Libraries-1-rc3a.</para></listitem>
   
  -<listitem><para>January 19th, 2003 [igor]: Updated to Audio
  +<listitem><para>January 19th, 2004 [igor]: Updated to Audio
   File-0.2.5.</para></listitem>
       
  -<listitem><para>January 18th, 2003 [igor]: Updated to
  +<listitem><para>January 18th, 2004 [igor]: Updated to
   libtiff-3.6.1.</para></listitem>
   
  -<listitem><para>January 17th, 2003 [igor]: Updated to
  +<listitem><para>January 17th, 2004 [igor]: Updated to
   lcms-1.12.</para></listitem>
       
  -<listitem><para>January 17th, 2003 [tushar]: Updated to
  +<listitem><para>January 17th, 2004 [tushar]: Updated to
   mozilla-1.6.</para></listitem>
   
   <listitem><para>January 16th, 2004 [igor]: Updated to
  
  
  



More information about the blfs-book mailing list