<?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 libbonoboui-download-http
    "&gnome-download-http;/libbonoboui/2.24/libbonoboui-&libbonoboui-version;.tar.bz2">
  <!ENTITY libbonoboui-download-ftp
    "&gnome-download-ftp;/libbonoboui/2.24/libbonoboui-&libbonoboui-version;.tar.bz2">
  <!ENTITY libbonoboui-md5sum        "853be8e28aaa4ce48ba60be7d9046bf4">
  <!ENTITY libbonoboui-size          "954 KB">
  <!ENTITY libbonoboui-buildsize     "41 MB">
  <!ENTITY libbonoboui-time          "0.9 SBU">
]>

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

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2012-09-26 16:18:27 -0400 (Wed, 26 Sep 2012) $</date>
  </sect1info>

  <title>LibBonoboUI-&libbonoboui-version;</title>

  <indexterm zone="libbonoboui">
    <primary sortas="a-Libbonoboui">LibBonoboUI</primary>
  </indexterm>

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

    <para>
      The <application>Bonobo</application> User Interface library provides user
      interface code for <application>Bonobo</application>, the Object
      Activation Framework for <application>GNOME 2</application>.
    </para>

    &lfs72_checked;

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome2.xml"/>

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

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

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="libglade"/>,
      <xref linkend="libgnome"/> and
      <xref linkend="libgnomecanvas"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="gtk-doc"/>
    </para>

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

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

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

<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
  --disable-static &amp;&amp;
make</userinput></screen>

    <para>
      To test the results, issue: <command>make check</command>.
    </para>

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

<screen role="root"><userinput>make install &amp;&amp;

install -v -m755 -d $(pkg-config \
        --variable=prefix ORBit-2.0)/share/doc/libbonoboui-&libbonoboui-version; &amp;&amp;

install -v -m644 doc/*.{dtd,txt,xml,html} $(pkg-config \
        --variable=prefix ORBit-2.0)/share/doc/libbonoboui-&libbonoboui-version;</userinput></screen>
  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome-old-prefix.xml"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/static-libraries.xml"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gtk-doc-rebuild.xml"/>
  </sect2>

  <sect2 role="configuration">
    <title>Configuring LibBonoboUI</title>

      <para>
        If you have installed gnome with a different prefix to
        <application>LibGlade</application> (eg,
        <application>LibGlade</application> is installed into
        <filename class="directory">/usr</filename> and
        <application>LibBonoboUI</application> is installed into
        <filename class="directory">/opt/gnome</filename>) you will need to add
        the directory containing the Glade files to the environment variable
        <envar>${LIBGLADE_MODULE_PATH}</envar>. As the
        <systemitem class="username">root</systemitem> user:
      </para>

<screen role="root"><userinput>echo export \
   LIBGLADE_MODULE_PATH=$(pkg-config --variable=prefix ORBit-2.0)/lib/libglade/2.0 \
   &gt;&gt; /etc/profile</userinput></screen>
  </sect2>

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

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

      <seglistitem>
        <seg>bonobo-browser and test-moniker</seg>
        <seg>libbonoboui-2.so and libbonobo.so Glade library</seg>
        <seg>
          /usr/include/libbonoboui-2.0/bonobo,
          /usr/share/doc/libbonoboui-2.24.3,
          /usr/share/gnome-2.0/ui and
          /usr/share/gtk-doc/html/libbonoboui
        </seg>
      </seglistitem>
    </segmentedlist>

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

      <varlistentry id="libbonoboui-2">
        <term><filename class='libraryfile'>libbonoboui-2.so</filename></term>
        <listitem>
          <para>
            are the GUI portion of the <application>Bonobo</application>
            libraries.
          </para>
          <indexterm zone="libbonoboui libbonoboui-2">
            <primary sortas="c-libbonoboui">libbonoboui-2.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect2>
</sect1>
