r5616 - in trunk/BOOK: . general/prog introduction/welcome multimedia/audioutils pst/ps

randy at linuxfromscratch.org randy at linuxfromscratch.org
Mon Jan 30 20:24:03 PST 2006


Author: randy
Date: 2006-01-30 21:24:01 -0700 (Mon, 30 Jan 2006)
New Revision: 5616

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/jdk.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/audioutils/freetts.xml
   trunk/BOOK/pst/ps/fop.xml
Log:
Removed the piping of 'yes' commands from the installation of the packages containing Sun license agreements (JDK binary, FOP and FreeTTS) and instead provided a note to reference the text about automating builds

Modified: trunk/BOOK/general/prog/jdk.xml
===================================================================
--- trunk/BOOK/general/prog/jdk.xml	2006-01-30 21:24:08 UTC (rev 5615)
+++ trunk/BOOK/general/prog/jdk.xml	2006-01-31 04:24:01 UTC (rev 5616)
@@ -82,11 +82,9 @@
       </listitem>
 
       <!-- Commented out right now as there is no md5sums file on Anduin
-
       <listitem>
         <para>Download MD5 sum (source): <ulink url="&jdk-source-md5sum;"/></para>
       </listitem>
-
       -->
 
       <listitem>
@@ -168,14 +166,25 @@
     <para>Both versions will be installed in parallel. You may choose to keep
     either or both.</para>
 
+    <tip>
+      <para>The <command>./jdk-&jdk-bin-string;-linux-i?86.bin</command>
+      command below unpacks the distribution into a
+      <filename class='directory'>jdk&jdk-bin-version;</filename> directory.
+      You will be required to view, and then accept (by entering a
+      <keycap>y</keycap> keypress), a license agreement before any files are
+      unpacked. If you are scripting (automating) the build, you'll need to
+      account for this. There is information about automating build commands
+      in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
+      the end of this section, specific information for automating this type of
+      installation is discussed.</para>
+    </tip>
+
     <para>Install the precompiled <application>JDK</application> with the
     following commands:</para>
 
 <screen><userinput>sed -i "s:^PATH=.*::" jdk-&jdk-bin-string;-linux-i?86.bin &&
 chmod -v +x jdk-&jdk-bin-string;-linux-i?86.bin &&
-mkdir -v -p bin &&
-ln -v -sf /bin/true bin/more &&
-yes | PATH=$PWD/bin:$PATH ./jdk-&jdk-bin-string;-linux-i?86.bin &&
+./jdk-&jdk-bin-string;-linux-i?86.bin &&
 cd jdk&jdk-bin-version;</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2006-01-30 21:24:08 UTC (rev 5615)
+++ trunk/BOOK/general.ent	2006-01-31 04:24:01 UTC (rev 5616)
@@ -1,8 +1,8 @@
-<!ENTITY day          "30">
+<!ENTITY day          "31">
 <!ENTITY month        "01">
 <!ENTITY year         "2006">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "January &day;th, &year;">
+<!ENTITY releasedate  "January &day;st, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|stable|testing|unstable|development] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-01-30 21:24:08 UTC (rev 5615)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-01-31 04:24:01 UTC (rev 5616)
@@ -42,6 +42,18 @@
 -->
 
     <listitem>
+      <para>January 31st, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Removed the piping of 'yes' commands from the
+          installation of the packages containing Sun license agreements
+          (JDK binary, FOP and FreeTTS) and instead provided a note to
+          reference the text about automating builds.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>January 30th, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/multimedia/audioutils/freetts.xml
===================================================================
--- trunk/BOOK/multimedia/audioutils/freetts.xml	2006-01-30 21:24:08 UTC (rev 5615)
+++ trunk/BOOK/multimedia/audioutils/freetts.xml	2006-01-31 04:24:01 UTC (rev 5616)
@@ -109,11 +109,23 @@
 unzip -q freetts-&freetts-version;-tst.zip \
     -x {META-INF/*,freetts-&freetts-version;/{acknowledgments.txt,license.terms}}</userinput></screen>
 
+    <tip>
+      <para>The <command>sh jsapi.sh</command> command below installs the Java
+      Speech API components into the <application>FreeTTS</application> source
+      tree. You will be required to view, and then accept (by entering a
+      <keycap>y</keycap> keypress), a license agreement before the installation
+      will continue. If you are scripting (automating) the build, you'll need
+      to account for this. There is information about automating build commands
+      in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
+      the end of this section, specific information for automating this type of
+      installation is discussed.</para>
+    </tip>
+
     <para>Install <application>FreeTTS</application> by running the following
     commands:</para>
 
 <screen><userinput>cd lib &&
-yes | sh jsapi.sh &&
+sh jsapi.sh &&
 cd .. &&
 ant</userinput></screen>
 
@@ -150,13 +162,9 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>yes | sh jsapi.sh</command>: This command installs the
-    <application>Java Speech API</application> into the
-    <application>FreeTTS</application> source tree. <command>yes</command>
-    is piped so that this command can be scripted and will automatically
-    agree to the JSAPI license terms. You can view the license you are
-    agreeing to at
-    <ulink url="&files-anduin;/jsapi-license.txt"/>.</para>
+    <para><command>sh jsapi.sh</command>: This command installs the
+    <application>Java Speech API</application> components into the
+    <application>FreeTTS</application> source tree.</para>
 
     <para><command>ant</command>: <application>FreeTTS</application> uses the
     <application>Apache Ant</application> build system instead of the GNU

Modified: trunk/BOOK/pst/ps/fop.xml
===================================================================
--- trunk/BOOK/pst/ps/fop.xml	2006-01-30 21:24:08 UTC (rev 5615)
+++ trunk/BOOK/pst/ps/fop.xml	2006-01-31 04:24:01 UTC (rev 5616)
@@ -128,6 +128,19 @@
     <sect3>
       <title>Installing JAI</title>
 
+      <tip>
+        <para>The
+        <command>$FOP_BUILD_DIR/../jai-1_1_2_01-lib-linux-i586-jdk.bin</command>
+        command below installs the JAI components in the JDK tree. You will be
+        required to view, and then accept (by entering a <keycap>y</keycap>
+        keypress), a license agreement before the installation will continue.
+        If you are scripting (automating) the build, you'll need to account for
+        this. There is information about automating build commands in the
+        <xref linkend="automating-builds"/> section of Chapter 2. Towards the
+        end of this section, specific information for automating this type of
+        installation is discussed.</para>
+      </tip>
+
       <para>Install the JAI components by running the following commands as
       the <systemitem class="username">root</systemitem> user while in the
       root of the <application>FOP</application> source tree:</para>
@@ -137,7 +150,7 @@
 chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
 FOP_BUILD_DIR=$(pwd) &&
 cd $JAVA_HOME &&
-yes | $FOP_BUILD_DIR/../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
+$FOP_BUILD_DIR/../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
 cd $FOP_BUILD_DIR</userinput></screen>
 
     </sect3>
@@ -249,14 +262,12 @@
     file to not unpack correctly. This command fixes the obsolete
     syntax.</para>
 
-    <para><command>yes | $FOP_BUILD_DIR/../jai-...-jdk.bin</command>: This
+    <para><command>$FOP_BUILD_DIR/../jai-...-jdk.bin</command>: This
     command installs the <application>JAI</application> components
-    into the <application>JDK</application> file structure. The
-    <command>yes</command> command is piped through so that you don't have to
-    scroll through four pages of the license agreement and automatically responds
-    <quote>yes</quote> to the agreement. <envar>$FOP_BUILD_DIR</envar> is used as
-    a reference point to the source executable and as a method to return back to
-    the <application>FOP</application> source tree.</para>
+    into the <application>JDK</application> file structure.
+    <envar>$FOP_BUILD_DIR</envar> is used as a reference point to the source
+    executable and as a method to return back to the
+    <application>FOP</application> source tree.</para>
 
     <para><command>sed -i "s/build/lib/" ...</command>: These commands modify
     the installed shell scripts so that the location of the installed




More information about the blfs-book mailing list