Author: pierre
Date: Tue Mar 11 14:47:06 2014
New Revision: 12853

Log:
Add the "time" utility

Added:
   trunk/BOOK/general/genutils/time.xml   (contents, props changed)
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genutils/genutils.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Tue Mar 11 14:35:52 2014        (r12852)
+++ trunk/BOOK/general.ent      Tue Mar 11 14:47:06 2014        (r12853)
@@ -324,6 +324,7 @@
 <!ENTITY screen-version               "4.0.3">
 <!ENTITY sharutils-version            "4.14">
 <!ENTITY tidy-version                 "cvs_20101110">
+<!ENTITY time-version                 "1.7">
 <!ENTITY tree-version                 "1.6.0">
 <!ENTITY unixodbc-version             "2.3.2">
 <!ENTITY xscreensaver-version         "5.26">

Modified: trunk/BOOK/general/genutils/genutils.xml
==============================================================================
--- trunk/BOOK/general/genutils/genutils.xml    Tue Mar 11 14:35:52 2014        
(r12852)
+++ trunk/BOOK/general/genutils/genutils.xml    Tue Mar 11 14:47:06 2014        
(r12853)
@@ -39,6 +39,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="shared-mime-info.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="sharutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="tidy.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="time.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="tree.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="unixodbc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xscreensaver.xml"/>

Added: trunk/BOOK/general/genutils/time.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/general/genutils/time.xml        Tue Mar 11 14:47:06 2014        
(r12853)
@@ -0,0 +1,150 @@
+<?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 time-download-http "http://ftp.gnu.org/gnu/time/time-1.7.tar.gz";>
+  <!ENTITY time-download-ftp  "ftp://ftp.gnu.org/gnu/time/time-1.7.tar.gz";>
+  <!ENTITY time-md5sum        "e38d2b8b34b1ca259cf7b053caac32b3">
+  <!ENTITY time-size          "101 KB">
+  <!ENTITY time-buildsize     "640 KB">
+  <!ENTITY time-time          "Less than 0.1 SBU">
+]>
+
+<!-- Try to keep the indentation used in this file-->
+<sect1 id="time" xreflabel="time-&time-version;">
+  <?dbhtml filename="time.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <!-- No other tags inside any title.
+       Use Title Case in All Titles -->
+  <title>Time-&time-version;</title>
+
+  <indexterm zone="time">
+    <primary sortas="a-time">time</primary>
+  </indexterm>
+
+  <!--Required section-->
+  <sect2 role="package">
+    <title>Introduction to Time</title>
+
+    <para>
+      The <application>time</application> utility is a program that
+      measures many of the CPU resources, such as time and memory, that
+      other programs use.  The GNU version can format the output in
+      arbitrary ways by using a printf-style format string to include
+      various resource measurements.
+    </para>
+    <para>
+      Although the shell has a builtin command providing similar
+      functionalities, this utility is reuired by the LSB.
+    </para>
+
+    &lfs75_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&time-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&time-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &time-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &time-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &time-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &time-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/time"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Time</title>
+
+    <para>
+      Install <application>Time</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr --infodir=/usr/share/info 
&amp;&amp;
+make</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </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 Program(s)</segtitle>
+
+      <!-- If there were no programs, libraries, or directories created, then
+           we would list the section as "None". However, a decision must have
+           been made to change the "None" to just removing the whole section
+           because I've noticed that many packages have had the "None"
+           removed and the section completely removed as well. The reasoning
+           was that by putting "None", it appears as we know there are none.
+           Without anything it appears as we are not sure. -->
+
+      <seglistitem>
+        <seg>
+          time.
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="time-prog">
+        <term><command>time</command></term>
+        <listitem>
+          <para>
+            reports various srtatistics about an executed command.
+          </para>
+          <indexterm zone="time time-prog">
+            <primary sortas="b-time">time</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </sect2>
+</sect1>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Tue Mar 11 14:35:52 
2014        (r12852)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Tue Mar 11 14:47:06 
2014        (r12853)
@@ -48,6 +48,11 @@
       <para>March 11th, 2014</para>
       <itemizedlist>
         <listitem>
+          <para>[pierre] - Add the <application>time</application>
+          utility, as required by the LSB. Partially fulfills
+          <ulink url="&blfs-ticket-root;4736">#4736</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[fernando] - Update to udisks-2.1.3. Fixes
           <ulink url="&blfs-ticket-root;4776">#4776</ulink>.</para>
         </listitem>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to