2012-07-06 19:09:54 +08:00
|
|
|
<?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;
|
|
|
|
|
2013-01-24 09:50:00 +08:00
|
|
|
<!ENTITY openobex-download-http "&sourceforge-repo;/openobex/openobex-&openobex-version;-Source.tar.gz">
|
2012-07-06 19:09:54 +08:00
|
|
|
<!ENTITY openobex-download-ftp " ">
|
2013-07-25 06:10:50 +08:00
|
|
|
<!ENTITY openobex-md5sum "3181bfed9cb7db591605391068cb0085">
|
|
|
|
<!ENTITY openobex-size "136 KB">
|
|
|
|
<!ENTITY openobex-buildsize "3.6 MB">
|
|
|
|
<!ENTITY openobex-time "less than 0.1 SBU">
|
2012-07-06 19:09:54 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="openobex" xreflabel="OpenOBEX-&openobex-version;">
|
|
|
|
<?dbhtml filename="openobex.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>OpenOBEX-&openobex-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="openobex">
|
|
|
|
<primary sortas="a-OpenOBEX">OpenOBEX</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to OpenOBEX</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>OpenOBEX</application> package contains a
|
|
|
|
library that implements Object Exchange Protocol used for
|
|
|
|
binary file transfers between devices.
|
|
|
|
</para>
|
|
|
|
|
2015-02-26 06:44:17 +08:00
|
|
|
&lfs77_checked;
|
2012-07-06 19:09:54 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&openobex-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&openobex-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &openobex-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &openobex-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &openobex-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &openobex-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">OpenOBEX Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2013-05-19 18:07:40 +08:00
|
|
|
<xref linkend="cmake"/> and
|
|
|
|
<xref linkend="libusb"/>
|
2012-07-06 19:09:54 +08:00
|
|
|
</para>
|
|
|
|
|
2013-08-12 20:01:11 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="bluez"/>
|
|
|
|
</para>
|
|
|
|
|
2012-07-06 19:09:54 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2013-05-19 18:07:40 +08:00
|
|
|
<xref linkend="doxygen"/>,
|
|
|
|
<xref linkend="libxslt"/>,
|
2013-09-06 00:23:52 +08:00
|
|
|
<xref linkend="openjdk"/>, and
|
2012-07-06 19:09:54 +08:00
|
|
|
<xref linkend="xmlto"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/openobex"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of OpenOBEX</title>
|
|
|
|
|
2014-09-23 06:13:35 +08:00
|
|
|
<para><application>OpenOBEX</application> installs a udev rule that
|
|
|
|
requires a group named plugdev. Create that group as the
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>groupadd -g 90 plugdev</userinput></screen>
|
|
|
|
|
2012-07-06 19:09:54 +08:00
|
|
|
<para>
|
|
|
|
Install <application>OpenOBEX</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2013-05-19 18:07:40 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
2013-09-06 00:23:52 +08:00
|
|
|
cd build &&
|
|
|
|
|
2013-05-19 18:07:40 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
.. &&
|
2012-07-06 19:09:54 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2014-10-02 02:15:04 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
mv -fv /usr/share/doc/{openobex,openobex-&openobex-version;}</userinput></screen>
|
2012-07-06 19:09:54 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
|
|
|
to apply higher level of the compiler optimizations.
|
|
|
|
</para>
|
2012-07-06 19:09:54 +08:00
|
|
|
|
2014-10-02 02:15:04 +08:00
|
|
|
<para>
|
|
|
|
<command>mv -fv ...</command>: Move the documention to a versioned
|
|
|
|
directory.
|
|
|
|
</para>
|
|
|
|
|
2012-07-06 19:09:54 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
obex-check-device
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libopenobex.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-10-02 02:15:04 +08:00
|
|
|
/usr/include/openobex,
|
|
|
|
/usr/lib/cmake/OpenObex-1.7.1, and
|
|
|
|
/usr/share/doc/openobex-1.7.1
|
2012-07-06 19:09:54 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2015-05-30 05:14:06 +08:00
|
|
|
<varlistentry id="obex-check-device">
|
|
|
|
<term><command>obex-check-device</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool that help <application>udev</application> to find connectable OBEX USB devices.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="openobex obex-check-device">
|
|
|
|
<primary sortas="b-obex-check-device">obex-check-device</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-07-06 19:09:54 +08:00
|
|
|
<varlistentry id="libopenobex">
|
|
|
|
<term><filename class="libraryfile">libopenobex.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>OpenOBEX</application> API functions.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="openobex libopenobex">
|
|
|
|
<primary sortas="c-libopenobex">libopenobex.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|