<?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 notify-python-download-http
           "http://www.galago-project.org/files/releases/source/notify-python/notify-python-&notify-python-version;.tar.bz2">
  <!ENTITY notify-python-download-ftp  " ">
  <!ENTITY notify-python-md5sum        "d247cf79b46cef7495deb0a76334f81d">
  <!ENTITY notify-python-size          "212 KB">
  <!ENTITY notify-python-buildsize     "2.3 MB">
  <!ENTITY notify-python-time          "less than 0.1 SBU">
]>

  <!-- Begin Notify Python -->
  <sect2 id="notify-python" xreflabel="Notify Python-&notify-python-version;">

    <title>Notify Python-&notify-python-version;</title>

    <indexterm zone="notify-python">
      <primary sortas="a-notify-python">notify-python</primary>
    </indexterm>

    <sect3 role="package">
      <title>Introduction to Notify Python Module</title>

      <para>
        Notify Python provides <application>Python 2</application>
        bindings to the <application>libnotify</application>.
      </para>

      &lfs74_checked;

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

    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Required patch:
          <ulink url="&patch-root;/notify-python-&notify-python-version;-libnotify-0.7-1.patch"/>
        </para>
      </listitem>
    </itemizedlist>

      <bridgehead renderas="sect4">Notify Python Dependencies</bridgehead>

      <bridgehead renderas="sect5">Required</bridgehead>
      <para role="required">
        <xref linkend="libnotify"/> and
        <xref linkend="pygtk"/> (with <xref linkend="gtk2"/> support).
      </para>

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

    <sect3 role="installation">
      <title>Installation of Notify Python</title>

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

<screen><userinput>patch -Np1 -i ../notify-python-&notify-python-version;-libnotify-0.7-1.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>

      <para>
        This package does not come with a testsuite.
      </para>

      <para>
        Now, as the <systemitem class="username">root</systemitem> user:
      </para>

<screen role="root"><userinput>make install</userinput></screen>
    </sect3>

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

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

        <seglistitem>
          <seg>
            None
          </seg>
          <seg>
            None
          </seg>
          <seg>
            /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify
          </seg>
        </seglistitem>
      </segmentedlist>
    </sect3>
  </sect2>
  <!-- End Notify Python -->
