<?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 bazaar-download-http
  "https://launchpad.net/bzr/2.5/&bazaar-version;/+download/bzr-&bazaar-version;.tar.gz">
  <!ENTITY bazaar-download-ftp  " ">
  <!ENTITY bazaar-md5sum        "ac5079858364a046071000d5cdccb67b">
  <!ENTITY bazaar-size          "10 MB">
  <!ENTITY bazaar-buildsize     "69 MB">
  <!ENTITY bazaar-time          "0.2 SBU">
]>

<sect1 id="bazaar" xreflabel="Bazaar-&bazaar-version;">
  <?dbhtml filename="bazaar.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2014-12-23 13:12:52 -0500 (Tue, 23 Dec 2014) $</date>
  </sect1info>

  <title>Bazaar-&bazaar-version;</title>

  <indexterm zone="bazaar">
    <primary sortas="a-bazaar">Bazaar</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Bazaar</title>

    <para><application>Bazaar</application> is a version control system that
    helps track project history over time and collaborate with others.</para>

    &lfs76_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&bazaar-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&bazaar-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &bazaar-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &bazaar-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &bazaar-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &bazaar-time;</para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Bazaar Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="python2"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="cacerts"/>,
      <ulink url="http://www.python.org/pypi/paramiko/">paramiko</ulink> with
      <xref linkend="openssh"/> or
      <ulink url="http://www.python.org/pypi/pycrypto/">PyCrypto</ulink> (to access branches over SSH), and
      <ulink url="http://wiki.bazaar.canonical.com/BzrTools">BzrTools</ulink> (for rsync support and other extra functionality)
    </para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/bazaar"/></para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Bazaar</title>

    <para>
      Install <application>Bazaar</application> by running the following
      commands:
    </para>

<screen><userinput>sed -i -e 's|man/man1|share/&amp;|' setup.py &amp;&amp;
python setup.py build</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>python setup.py install</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directory</segtitle>

      <seglistitem>
        <seg>bzr</seg>
        <seg>None</seg>
        <seg>/usr/lib/python&python2-majorver;/site-packages/bzrlib</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="bazaar-prog">
        <term><command>bzr</command></term>
        <listitem>
          <para>is a command-line client program used to access bcr repositories.</para>
          <indexterm zone="bazaar bazaar-prog">
            <primary sortas="b-bzr">bzr</primary>
          </indexterm>
        </listitem>
      </varlistentry>
    </variablelist>

  </sect2>
</sect1>
