glfs/general/prog/mercurial.xml
Ragnar Thomsen f5a75ae203 mercurial 2.1.2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9973 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-04-22 11:54:18 +00:00

153 lines
4.8 KiB
XML

<?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 mercurial-download-http "http://mercurial.selenic.com/release/mercurial-&mercurial-version;.tar.gz">
<!ENTITY mercurial-download-ftp " ">
<!ENTITY mercurial-md5sum "15354d739504ec46f68a0fee2ecfbf25">
<!ENTITY mercurial-size "3.2 MB">
<!ENTITY mercurial-buildsize "33 MB">
<!ENTITY mercurial-time "0.1 SBU">
]>
<sect1 id="mercurial" xreflabel="mercurial-&mercurial-version;">
<?dbhtml filename="mercurial.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>mercurial-&mercurial-version;</title>
<indexterm zone="mercurial">
<primary sortas="a-mercurial">mercurial</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Mercurial</title>
<para><application>Mercurial</application> is a distributed source control
management tool similar to <application>CVS</application>,
<application>Subversion</application> and <application>Git</application>.
<application>Mercurial</application> is written in
<application>Python</application> and is used by projects such as Mozilla,
Vim and Audacious.</para>
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&mercurial-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&mercurial-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &mercurial-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &mercurial-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &mercurial-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &mercurial-time;</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Recommended patch: <ulink
url="&patch-root;/mercurial-&mercurial-version;-1.patch"/></para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">Mercurial Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="python2"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://docutils.sourceforge.net/">Docutils</ulink> (required to build the documentation)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/mercurial"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Mercurial</title>
<para>Build <application>Mercurial</application> by issuing the following
command:</para>
<screen><userinput>make build</userinput></screen>
<para>To build the documentation (requires
<application>Docutils</application>), issue:</para>
<screen><userinput>make doc</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Install <application>Mercurial</application> by running
the following command (as <systemitem class="username">root</systemitem>):</para>
<screen role="root"><userinput>make PREFIX=/usr install-bin</userinput></screen>
<para>If you built the documentation, install it by running
the following command (as <systemitem class="username">root</systemitem>):</para>
<screen role="root"><userinput>make PREFIX=/usr install-doc</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>hg</seg>
<seg>none</seg>
<seg>/usr/lib/python2.7/site-packages/hgext and
/usr/lib/python2.7/site-packages/mercurial</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="hg">
<term><command>hg</command></term>
<listitem>
<para>is the program file for mercurial.</para>
<indexterm zone="mercurial hg">
<primary sortas="b-hg">hg</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>