r8948 - in trunk/BOOK: . general/prog general/sysutils introduction/welcome

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Tue Nov 8 11:45:34 PST 2011


Author: bdubbs
Date: 2011-11-08 12:45:29 -0700 (Tue, 08 Nov 2011)
New Revision: 8948

Added:
   trunk/BOOK/general/prog/check.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/dejagnu.xml
   trunk/BOOK/general/prog/expect.xml
   trunk/BOOK/general/prog/prog.xml
   trunk/BOOK/general/sysutils/eject.xml
   trunk/BOOK/general/sysutils/parted.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Add check-0.9.8.
Update to dejagnu-1.5.
Update to parted-3.0.


Added: trunk/BOOK/general/prog/check.xml
===================================================================
--- trunk/BOOK/general/prog/check.xml	                        (rev 0)
+++ trunk/BOOK/general/prog/check.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY check-download-http "&sourceforge-repo2;/projects/check/files/check/&check-version;/check-&check-version;.tar.gz">
+  <!ENTITY check-download-ftp  " ">
+  <!ENTITY check-md5sum        "5d75e9a6027cde79d2c339ef261e7470">
+  <!ENTITY check-size          "552 KB">
+  <!ENTITY check-buildsize     "6.5 MB">
+  <!ENTITY check-time          "3.4 SBU (including about 3 SBU for the test suite)">
+]>
+
+<sect1 id="check" xreflabel="check-&check-version;">
+  <?dbhtml filename="check.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy: randy $</othername>
+    <date>$Date: 2011-01-05 11:33:32 -0600 (Wed, 05 Jan 2011) $</date>
+  </sect1info>
+
+  <title>Check-&check-version;</title>
+
+  <indexterm zone="check">
+    <primary sortas="a-check">check</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Check</title>
+
+    <para><application>Check</application> is a unit testing framework for C.
+    It was installed by LFS in the temprary /tools directory.  These
+    instructions install it permanently.</para>
+
+    &lfs70_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&check-download-http;"/></para>
+      </listitem>
+      <!--<listitem>
+        <para>Download (FTP): <ulink url="&check-download-ftp;"/></para>
+      </listitem>-->
+      <listitem>
+        <para>Download MD5 sum: &check-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &check-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &check-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &check-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <!--
+    <bridgehead renderas="sect3">Check Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required"><xref linkend="???"/></para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional"><xref linkend="???"/></para>
+    -->
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/check"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Check</title>
+
+    <para>Install <application>Check</application> by running the following
+    commands:</para>
+
+<screen><userinput>./configure --prefix=/usr &&
+make</userinput></screen>
+
+    <para>To test the installation, issue <userinput>make check</userinput>.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>None</seg>
+        <seg>libcheck.{so,a}</seg>
+        <seg>None</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libcheck">
+        <term><filename class='libraryfile'>libcheck.{so,a}</filename></term>
+        <listitem>
+          <para>contains the <application>Check</application> API functions.</para>
+          <indexterm zone="check libcheck">
+            <primary sortas="c-libcheck">libcheck.{so,a}</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/prog/dejagnu.xml
===================================================================
--- trunk/BOOK/general/prog/dejagnu.xml	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/general/prog/dejagnu.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -7,10 +7,10 @@
   <!-- <!ENTITY dejagnu-download-http "http://freshmeat.net/redir/dejagnu/12564/url_tgz/dejagnu-&dejagnu-version;.tar.gz"> -->
   <!ENTITY dejagnu-download-http " ">
   <!ENTITY dejagnu-download-ftp  "ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz">
-  <!ENTITY dejagnu-md5sum        "053f18fd5d00873de365413cab17a666">
-  <!ENTITY dejagnu-size          "1.08 MB">
-  <!ENTITY dejagnu-buildsize     "8.5 MB">
-  <!ENTITY dejagnu-time          ".04 SBU">
+  <!ENTITY dejagnu-md5sum        "3df1cbca885e751e22d3ebd1ac64dc3c">
+  <!ENTITY dejagnu-size          "568 KB">
+  <!ENTITY dejagnu-buildsize     "4.5 MB">
+  <!ENTITY dejagnu-time          "less than 0.1 SBU">
 ]>
 
 <sect1 id="dejagnu" xreflabel="DejaGnu-&dejagnu-version;">
@@ -32,9 +32,11 @@
 
     <para><application>DejaGnu</application> is a framework for running test
     suites on GNU tools. It is written in <command>expect</command>, which
-    uses <application>Tcl</application> (Tool command language).</para>
+    uses <application>Tcl</application> (Tool command language). It was installed
+    by LFS in the temprary /tools directory.  These instructions install it
+    permanently.</para>
 
-    &lfs67_checked;
+    &lfs70_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">

Modified: trunk/BOOK/general/prog/expect.xml
===================================================================
--- trunk/BOOK/general/prog/expect.xml	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/general/prog/expect.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -6,10 +6,10 @@
 
   <!ENTITY expect-download-http "http://sourceforge.net/projects/expect/files/Expect/&expect-version;/expect-&expect-version;.tar.bz2">
   <!ENTITY expect-download-ftp  " ">
-  <!ENTITY expect-md5sum        "9307bbf67e19125036ce34544a78dadf">
-  <!ENTITY expect-size          "547 KB">
-  <!ENTITY expect-buildsize     "4.6 MB">
-  <!ENTITY expect-time          "0.1 SBU">
+  <!ENTITY expect-md5sum        "44e1a4f4c877e9ddc5a542dfa7ecc92b">
+  <!ENTITY expect-size          "620 KB">
+  <!ENTITY expect-buildsize     "4.1 MB">
+  <!ENTITY expect-time          "0.2 SBU">
 ]>
 
 <sect1 id="expect" xreflabel="Expect-&expect-version;">
@@ -29,7 +29,9 @@
   <sect2 role="package">
     <title>Introduction to Expect</title>
 
-    <para>The <application>Expect</application> package contains tools for
+    <para>The <application>Expect</application> package was installed in the
+    LFS temporary tools directory for testing other packages.  These 
+    procedures install it in a prmanent location.  It contains tools for
     automating interactive applications such as <command>telnet</command>,
     <command>ftp</command>, <command>passwd</command>,
     <command>fsck</command>, <command>rlogin</command>,
@@ -37,6 +39,8 @@
     also useful for testing these same applications as well as easing all sorts of
     tasks that are prohibitively difficult with anything else.</para>
 
+    &lfs70_checked;
+
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
@@ -59,18 +63,6 @@
       </listitem>
     </itemizedlist>
 
-    <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>Required Patch: <ulink
-        url="&patch-root;/expect-&expect-version;-tcl_&tcl-version;_fix-1.patch"/></para>
-      </listitem>
-      <listitem>
-        <para>Required Patch: <ulink
-        url="&patch-root;/expect-&expect-version;-spawn-2.patch"/></para>
-      </listitem>
-    </itemizedlist> -->
-
     <bridgehead renderas="sect3">Expect Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -104,7 +96,7 @@
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install &&
-ln -sf expect5.44.1.15/libexpect5.44.1.15.so /usr/lib</userinput></screen>
+ln -svf expect&expect-version;/libexpect&expect-version;.so /usr/lib</userinput></screen>
 
   </sect2>
 
@@ -119,7 +111,7 @@
     building the shared library.</para>
 
     <!-- Not really sure if this is required any longer as the library is now
-         installed directly in the libexec dir and not in /usr/lib. -->
+         installed directly in /usr/lib/expect5.45/. -->
     <para><command>ln -sf ...</command>: This command creates a required link
     to the shared library.</para>
 
@@ -171,8 +163,8 @@
         unbuffer, weather, and optionally (if <application>Expect</application> was
         linked against <application>Tk</application>), expectk, multixterm,
         tknewsbiff, tkpasswd, xkibitz, and xpstat</seg>
-        <seg>libexpect5.44.1.15.so</seg>
-        <seg>/usr/lib/expect5.44.1.15</seg>
+        <seg>libexpect&expect-version;.so</seg>
+        <seg>/usr/lib/expect&expect-version;</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -431,13 +423,13 @@
       </varlistentry>
 
       <varlistentry id="libexpect">
-        <term><filename class='libraryfile'>libexpect5.44.1.15.so</filename></term>
+        <term><filename class='libraryfile'>libexpect&expect-version;.so</filename></term>
         <listitem>
           <para> contains functions that allow <application>Expect</application> to be
           used as a <application>Tcl</application> extension or to be used directly from
           C or C++ (without <application>Tcl</application>).</para>
           <indexterm zone="expect libexpect">
-            <primary sortas="c-libexpect5.44.1.15">libexpect5.44.1.15.so</primary>
+            <primary sortas="c-libexpect&expect-version;">libexpect&expect-version;.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>

Modified: trunk/BOOK/general/prog/prog.xml
===================================================================
--- trunk/BOOK/general/prog/prog.xml	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/general/prog/prog.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -22,6 +22,7 @@
   build many popular programming environments to greatly expand your
   system's development capabilities.</para>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cvs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/>

Modified: trunk/BOOK/general/sysutils/eject.xml
===================================================================
--- trunk/BOOK/general/sysutils/eject.xml	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/general/sysutils/eject.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -32,6 +32,8 @@
     <para>The <application>Eject</application> package is a program for ejecting
     removable media under software control.</para>
 
+    &lfs70_checked;
+
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>

Modified: trunk/BOOK/general/sysutils/parted.xml
===================================================================
--- trunk/BOOK/general/sysutils/parted.xml	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/general/sysutils/parted.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -32,6 +32,8 @@
     <para>The <application>Parted</application> package is a disk partitioning
     and partition resizing tool.</para>
 
+    &lfs70_checked;
+
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/general.ent	2011-11-08 19:45:29 UTC (rev 8948)
@@ -315,9 +315,10 @@
 <!ENTITY pkgconfig-version            "0.26">
 
 <!-- Chapter 12 -->
-<!ENTITY dejagnu-version              "1.4.4">
+<!ENTITY check-version                "0.9.8">
+<!ENTITY dejagnu-version              "1.5">
 <!ENTITY doxygen-version              "1.7.5">
-<!ENTITY expect-version               "5.44.1.15">
+<!ENTITY expect-version               "5.45">
 <!ENTITY gc-version                   "6.8">
 <!ENTITY gcc-version                  "4.5.1">
 <!ENTITY gcc3-version                 "3.3.6">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2011-11-08 17:10:56 UTC (rev 8947)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2011-11-08 19:45:29 UTC (rev 8948)
@@ -45,6 +45,15 @@
       <para>November 8th, 2011</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Add check-0.9.8.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to dejagnu-1.5.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to expect-5.45.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Update to parted-3.0.</para>
         </listitem>
         <listitem>




More information about the blfs-book mailing list