<?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 obexd-download-http "http://www.kernel.org/pub/linux/bluetooth/obexd-&obexd-version;.tar.xz">
  <!ENTITY obexd-download-ftp  "ftp://ftp.kernel.org/pub/linux/bluetooth/obexd-&obexd-version;.tar.xz">
  <!ENTITY obexd-md5sum        "dfb9bdd490a975616afa3a0c2bf53c88">
  <!ENTITY obexd-size          "344 KB">
  <!ENTITY obexd-buildsize     "6.5 MB">
  <!ENTITY obexd-time          "0.2 SBU">
]>

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

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2013-10-21 17:39:03 -0400 (Mon, 21 Oct 2013) $</date>
  </sect1info>

  <title>Obexd-&obexd-version;</title>

  <indexterm zone="obexd">
    <primary sortas="a-Obexd">Obexd</primary>
  </indexterm>

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

    <para>
      The <application>Obexd</application> package contains D-Bus services providing
      OBEX client and server functionality. OBEX is a communications protocol that
      facilitates the exchange of binary objects between devices.
    </para>

    &lfs74_checked;

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

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

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="bluez"/> and
      <xref linkend="libical"/>
    </para>

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

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

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

<screen><userinput>sed -i 's/#include &lt;string.h&gt;/&amp;\n#include &lt;stdio.h&gt;/' plugins/mas.c &amp;&amp;
./configure --prefix=/usr --libexecdir=/usr/lib/obex &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</userinput></screen>
  </sect2>

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

    <para>
      <command>sed -i 's/#include ...</command>: This sed fixes building against
      the <application>Glibc</application> 2.17.
    </para>

  </sect2>

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

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

      <seglistitem>
        <seg>
          obex-client and obexd
        </seg>
        <seg>
          None
        </seg>
        <seg>
          /usr/lib/obex
        </seg>
      </seglistitem>
    </segmentedlist>

  </sect2>

</sect1>
