Author: thomas Date: 2011-01-19 13:28:52 -0700 (Wed, 19 Jan 2011) New Revision: 8826
Added: trunk/BOOK/general/prog/cmake.xml trunk/BOOK/general/sysutils/libarchive.xml Modified: trunk/BOOK/general.ent trunk/BOOK/general/prog/prog.xml trunk/BOOK/general/sysutils/sysutils.xml trunk/BOOK/introduction/welcome/changelog.xml Log: Add new package libarchive and cmake Added: trunk/BOOK/general/prog/cmake.xml =================================================================== --- trunk/BOOK/general/prog/cmake.xml (rev 0) +++ trunk/BOOK/general/prog/cmake.xml 2011-01-19 20:28:52 UTC (rev 8826) @@ -0,0 +1,177 @@ +<?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 cmake-download-http "http://www.cmake.org/files/v2.8/cmake-&cmake-version;.tar.gz"> + <!ENTITY cmake-download-ftp " "> + <!ENTITY cmake-md5sum "a76a44b93acf5e3badda9de111385921"> + <!ENTITY cmake-size "5.3 MB"> + <!ENTITY cmake-buildsize "132 MB"> + <!ENTITY cmake-time "1.3 SBU"> +]> + +<sect1 id="cmake" xreflabel="cmake-&cmake-version;"> + <?dbhtml filename="cmake.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>CMake-&cmake-version;</title> + + <indexterm zone="cmake"> + <primary sortas="a-CMake">CMake</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to CMake</title> + + <para>The <application>CMake</application> package contains a modern toolset used + for generating Makefiles. It is a successor of the auto-generated + <filename>configure</filename> script.</para> + + &lfs67_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&cmake-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&cmake-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &cmake-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &cmake-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &cmake-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &cmake-time;</para> + </listitem> + </itemizedlist> + +<!-- + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing='compact'> + <listitem> + <para>Required patch: <ulink + url="&patch-root;/cmake-&cmake-version;-fixes-1.patch"/></para> + </listitem> + </itemizedlist> +--> + + <bridgehead renderas="sect3">CMake Dependencies</bridgehead> + + <bridgehead renderas="sect4">Required</bridgehead> + <para role="required"> + <xref linkend="libarchive"/> + <xref linkend="expat"/> + </para> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/cmake"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of CMake</title> + + <para>Install <application>CMake</application> by running the following + commands:</para> + +<screen><userinput>./bootstrap --prefix=/usr \ + --system-libs \ + --mandir=/share/man \ + --docdir=/share/doc/cmake-&cmake-version; && +make</userinput></screen> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>make install</userinput></screen> + + <para>CMake supports DESTDIR in the generated Makefiles as well as in the Makefile + used to build CMake itself.</para> + + </sect2> + + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><option>--system-libs</option>: This option forces the build system + to link against <application>zlib</application>, <application>curl</application> and + <application>expat</application> installed on the system.</para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Program</segtitle> + <segtitle>Installed Library</segtitle> + <segtitle>Installed Directory</segtitle> + + <seglistitem> + <seg>ctest, cpack, ccmake and cmake</seg> + <seg></seg> + <seg>/usr/share/cmake-&cmake-version;, /usr/share/doc/cmake-&cmake-version;</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="ctest"> + <term><command>ctest</command></term> + <listitem> + <para>is a testing utility for cmake-generated build trees.</para> + <indexterm zone="cmake ctest"> + <primary sortas="b-ctest">ctest</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="cpack"> + <term><command>cpack</command></term> + <listitem> + <para>is the CMake packaging program.</para> + <indexterm zone="cmake cpack"> + <primary sortas="b-cpack">cpack</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ccmake"> + <term><command>ccmake</command></term> + <listitem> + <para>is a curses based interactive frontend to cmake.</para> + <indexterm zone="cmake ccmake"> + <primary sortas="b-ccmake">ccmake</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="c_make"> + <term><command>cmake</command></term> + <listitem> + <para>is the makefile generator.</para> + <indexterm zone="cmake c_make"> + <primary sortas="b-cmake">cmake</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Modified: trunk/BOOK/general/prog/prog.xml =================================================================== --- trunk/BOOK/general/prog/prog.xml 2011-01-18 21:47:09 UTC (rev 8825) +++ trunk/BOOK/general/prog/prog.xml 2011-01-19 20:28:52 UTC (rev 8826) @@ -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="cmake.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="doxygen.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/> Added: trunk/BOOK/general/sysutils/libarchive.xml =================================================================== --- trunk/BOOK/general/sysutils/libarchive.xml (rev 0) +++ trunk/BOOK/general/sysutils/libarchive.xml 2011-01-19 20:28:52 UTC (rev 8826) @@ -0,0 +1,145 @@ +<?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 libarchive-download-http " http://libarchive.googlecode.com/files/libarchive-&libarchive-version;.tar.gz"> + <!ENTITY libarchive-download-ftp " "> + <!ENTITY libarchive-md5sum "83b237a542f27969a8d68ac217dc3796"> + <!ENTITY libarchive-size "1.5 MB"> + <!ENTITY libarchive-buildsize "18 MB"> + <!ENTITY libarchive-time "0.2 SBU"> +]> + +<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;"> + <?dbhtml filename="libarchive.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>libarchive-&libarchive-version;</title> + + <indexterm zone="libarchive"> + <primary sortas="a-libarchive">libarchive</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to libarchive</title> + + <para>The <application>libarchive</application> library provides a single interface for + reading/writing various compession formats.</para> + + &lfs67_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&libarchive-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&libarchive-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &libarchive-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &libarchive-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &libarchive-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &libarchive-time;</para> + </listitem> + </itemizedlist> + +<!-- + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing='compact'> + <listitem> + <para>Required patch: <ulink + url="&patch-root;/libarchive-&libarchive-version;-fixes-1.patch"/></para> + </listitem> + </itemizedlist> +--> + + <bridgehead renderas="sect3">libarchive Dependencies</bridgehead> + + <bridgehead renderas="sect4">Recommended</bridgehead> + <para role="recommended"> + <xref linkend="attr"/>, + <xref linkend="libxml2"/> or <xref linkend="expat"/>, + <xref linkend="xz-utils"/>, + <xref linkend="openssl"/> + </para> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/libarchive"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of libarchive</title> + + <para>Install <application>libarchive</application> by running the following + commands:</para> + +<screen><userinput>./configure --prefix=/usr && +make</userinput></screen> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>make install</userinput></screen> + + <para>libarchive supports DESTDIR installation.</para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Program</segtitle> + <segtitle>Installed Library</segtitle> + <segtitle>Installed Directory</segtitle> + + <seglistitem> + <seg>bsdtr, bsdcpio</seg> + <seg>libarchive.{so,a}</seg> + <seg></seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="bsdtar"> + <term><command>bsdtar</command></term> + <listitem> + <para>is a tool like the GNU tar.</para> + <indexterm zone="libarchive bsdtar"> + <primary sortas="b-bsdtar">bsdtar</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="bsdcpio"> + <term><command>bsdcpio</command></term> + <listitem> + <para>is a tool like cpio.</para> + <indexterm zone="libarchive bsdcpio"> + <primary sortas="b-bsdcpio">bsdcpio</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Modified: trunk/BOOK/general/sysutils/sysutils.xml =================================================================== --- trunk/BOOK/general/sysutils/sysutils.xml 2011-01-18 21:47:09 UTC (rev 8825) +++ trunk/BOOK/general/sysutils/sysutils.xml 2011-01-19 20:28:52 UTC (rev 8826) @@ -44,6 +44,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="eject.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gvfs.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libarchive.xml"/> <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lzma-utils.xml"/> --> <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconfig.xml"/> --> Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2011-01-18 21:47:09 UTC (rev 8825) +++ trunk/BOOK/general.ent 2011-01-19 20:28:52 UTC (rev 8826) @@ -287,6 +287,7 @@ <!ENTITY udisks-version "1.0.1"> <!ENTITY eject-version "2.1.5"> <!ENTITY unrar-version "3.9.10"> +<!ENTITY libarchive-version "2.8.4"> <!-- Obsolete <!ENTITY pkgconfig-version "0.23"> @@ -294,6 +295,7 @@ --> <!-- Chapter 12 --> +<!ENTITY cmake-version "2.8.3"> <!ENTITY dejagnu-version "1.4.4"> <!ENTITY doxygen-version "1.7.2"> <!ENTITY expect-version "5.44.1.15"> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2011-01-18 21:47:09 UTC (rev 8825) +++ trunk/BOOK/introduction/welcome/changelog.xml 2011-01-19 20:28:52 UTC (rev 8826) @@ -47,6 +47,9 @@ <listitem> <para>[randy] - Updated to SDL-1.2.14.</para> </listitem> + <listitem> + <para>[thomas] - Added new package libarchive and cmake.</para> + </listitem> </itemizedlist> </listitem> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
