r9261 - in trunk/BOOK: . appendices chapter01 chapter05 chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sun May 2 20:27:01 PDT 2010


Author: bdubbs
Date: 2010-05-02 21:27:00 -0600 (Sun, 02 May 2010)
New Revision: 9261

Added:
   trunk/BOOK/chapter05/file.xml
Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter06/chapter06.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent
Log:
Adjust zlib instructions to ensure .pc file and all libraries are in the proper
location.  Thanks to Chris Staub.


Modified: trunk/BOOK/appendices/dependencies.xml
===================================================================
--- trunk/BOOK/appendices/dependencies.xml	2010-04-29 01:08:25 UTC (rev 9260)
+++ trunk/BOOK/appendices/dependencies.xml	2010-05-03 03:27:00 UTC (rev 9261)
@@ -152,7 +152,7 @@
         <segtitle>&dependencies;</segtitle>
 
         <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+         <seg>Bash, Binutils, Coreutils, Diffutils, File, Gawk, GCC, Glibc, Grep,
          Make, Perl, Sed, Texinfo and Zlib</seg>
         </seglistitem>
       </segmentedlist>

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2010-04-29 01:08:25 UTC (rev 9260)
+++ trunk/BOOK/chapter01/changelog.xml	2010-05-03 03:27:00 UTC (rev 9261)
@@ -37,6 +37,17 @@
 
 -->
     <listitem>
+      <para>2010-05-03</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add file to Chapter 5 to remove several warning
+          messages in Chapter 6 binutils.
+          Fixes <ulink url="&lfs-ticket-root;2640">#2640</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2010-04-20</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter05/chapter05.xml
===================================================================
--- trunk/BOOK/chapter05/chapter05.xml	2010-04-29 01:08:25 UTC (rev 9260)
+++ trunk/BOOK/chapter05/chapter05.xml	2010-05-03 03:27:00 UTC (rev 9261)
@@ -29,6 +29,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="findutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>

Added: trunk/BOOK/chapter05/file.xml
===================================================================
--- trunk/BOOK/chapter05/file.xml	                        (rev 0)
+++ trunk/BOOK/chapter05/file.xml	2010-05-03 03:27:00 UTC (rev 9261)
@@ -0,0 +1,74 @@
+<?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;
+]>
+
+<sect1 id="ch-tools-file" role="wrap">
+  <?dbhtml filename="file.html"?>
+
+  <sect1info condition="script">
+    <productname>file</productname>
+    <productnumber>&file-version;</productnumber>
+    <address>&file-url;</address>
+  </sect1info>
+
+  <title>File-&file-version;</title>
+
+  <indexterm zone="ch-tools-file">
+    <primary sortas="a-File">File</primary>
+    <secondary>tools</secondary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../chapter06/file.xml"
+    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
+
+      <seglistitem>
+        <seg>&file-ch5-sbu;</seg>
+        <seg>&file-ch5-du;</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of File</title>
+
+    <para>Prepare File for compilation:</para>
+
+<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+
+    <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+    <para>Compilation is now complete. As discussed earlier, running the test
+    suite is not mandatory for the temporary tools here in this chapter. To run
+    the File test suite anyway, issue the following command:</para>
+
+<screen><userinput remap="test">make check</userinput></screen>
+
+    <para>Install the package:</para>
+
+<screen><userinput remap="install">make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in
+    <xref linkend="contents-file" role="."/></para>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/chapter06/chapter06.xml
===================================================================
--- trunk/BOOK/chapter06/chapter06.xml	2010-04-29 01:08:25 UTC (rev 9260)
+++ trunk/BOOK/chapter06/chapter06.xml	2010-05-03 03:27:00 UTC (rev 9261)
@@ -26,7 +26,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkg-config.xml"/>
@@ -50,6 +49,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="findutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2010-04-29 01:08:25 UTC (rev 9260)
+++ trunk/BOOK/general.ent	2010-05-03 03:27:00 UTC (rev 9261)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20100420">
-<!ENTITY releasedate "April 20, 2010">
+<!ENTITY version "SVN-20100503">
+<!ENTITY releasedate "May 3, 2010">
 <!ENTITY copyrightdate "1999-2010"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone "6.7">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2010-04-29 01:08:25 UTC (rev 9260)
+++ trunk/BOOK/packages.ent	2010-05-03 03:27:00 UTC (rev 9261)
@@ -123,6 +123,8 @@
 <!ENTITY file-url "ftp://ftp.astron.com/pub/file/file-&file-version;.tar.gz">
 <!ENTITY file-md5 "accade81ff1cc774904b47c72c8aeea0">
 <!ENTITY file-home "http://www.darwinsys.com/file/">
+<!ENTITY file-ch5-du "9.5 MB">
+<!ENTITY file-ch5-sbu "0.2 SBU">
 <!ENTITY file-ch6-du "9.5 MB">
 <!ENTITY file-ch6-sbu "0.2 SBU">
 




More information about the lfs-book mailing list