glfs/general/genlib/libgusb.xml
Pierre Labastie a2c3ec7901 GCC 6 tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17334 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-05-07 20:01:40 +00:00

177 lines
4.8 KiB
XML

<?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 libgusb-download-http "http://people.freedesktop.org/~hughsient/releases/libgusb-&libgusb-version;.tar.xz">
<!ENTITY libgusb-download-ftp " ">
<!ENTITY libgusb-md5sum "d4251e958aee7d19e39f8021e457942f">
<!ENTITY libgusb-size "288 KB">
<!ENTITY libgusb-buildsize "4.6 MB (with tests))">
<!ENTITY libgusb-time "less than 0.1 SBU (with tests)">
]>
<sect1 id="libgusb" xreflabel="libgusb-&libgusb-version;">
<?dbhtml filename="libgusb.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libgusb-&libgusb-version;</title>
<indexterm zone="libgusb">
<primary sortas="a-libgusb">libgusb</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libgusb</title>
<para>
The <application>libgusb</application> package contains the GObject
wrappers for <application>libusb-1.0</application> that makes it
easy to do asynchronous control, bulk and interrupt transfers with
proper cancellation and integration into a mainloop.
</para>
&lfs79_checked;&gcc6_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libgusb-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libgusb-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libgusb-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libgusb-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libgusb-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libgusb-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libgusb Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libusb"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gobject-introspection"/>,
<xref linkend="usbutils"/> (for <filename>usb.ids</filename> data file,
which is also required for the tests), and
<xref linkend="vala"/>
</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;/libgusb"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libgusb</title>
<para>
Install <application>libgusb</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --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</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<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="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libgusb.so
</seg>
<seg>
/usr/include/gusb-1 and
/usr/share/gtk-doc/html/gusb
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgusb-lib">
<term><filename class="libraryfile">libgusb.so</filename></term>
<listitem>
<para>
contains the <application>libgusb</application> API functions.
</para>
<indexterm zone="libgusb libgusb-lib">
<primary sortas="c-libgusb">libgusb.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>