[d6da5da] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libgusb-download-http "http://people.freedesktop.org/~hughsient/releases/libgusb-&libgusb-version;.tar.xz">
|
---|
| 8 | <!ENTITY libgusb-download-ftp " ">
|
---|
| 9 | <!ENTITY libgusb-md5sum "672058e7a49a38259ab6ea01470c2fa2">
|
---|
| 10 | <!ENTITY libgusb-size "260 KB">
|
---|
| 11 | <!ENTITY libgusb-buildsize "4.2 MB">
|
---|
| 12 | <!ENTITY libgusb-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libgusb" xreflabel="libgusb-&libgusb-version;">
|
---|
| 16 | <?dbhtml filename="libgusb.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libgusb-&libgusb-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libgusb">
|
---|
| 26 | <primary sortas="a-libgusb">libgusb</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libgusb</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libgusb</application> package contains the GObject
|
---|
| 34 | wrappers for <application>libusb-1.0</application> that makes it
|
---|
| 35 | easy to do asynchronous control, bulk and interrupt transfers with
|
---|
| 36 | proper cancellation and integration into a mainloop.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[b5404468] | 39 | &lfs75_checked;
|
---|
[d6da5da] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libgusb-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libgusb-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &libgusb-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &libgusb-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &libgusb-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &libgusb-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libgusb Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
[83b20ad] | 79 | <xref linkend="libusb"/> and
|
---|
[0e466f67] | 80 | <xref linkend="systemd"/> (for GUdev)
|
---|
[d6da5da] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
[83b20ad] | 85 | <xref linkend="gobject-introspection"/> and
|
---|
[d6da5da] | 86 | <xref linkend="vala"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="gtk-doc"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para condition="html" role="usernotes">
|
---|
| 95 | User Notes: <ulink url="&blfs-wiki;/libgusb"/>
|
---|
| 96 | </para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of libgusb</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>libgusb</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | To test the results, issue: <command>make check</command>.
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 126 |
|
---|
| 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 128 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Programs</segtitle>
|
---|
| 137 | <segtitle>Installed Library</segtitle>
|
---|
| 138 | <segtitle>Installed Directories</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
| 141 | <seg>
|
---|
| 142 | None
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | libgusb.so
|
---|
| 146 | </seg>
|
---|
| 147 | <seg>
|
---|
| 148 | /usr/include/gusb-1 and
|
---|
| 149 | /usr/share/gtk-doc/html/gusb
|
---|
| 150 | </seg>
|
---|
| 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libgusb-lib">
|
---|
| 160 | <term><filename class="libraryfile">libgusb.so</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>
|
---|
| 163 | contains the <application>libgusb</application> API functions.
|
---|
| 164 | </para>
|
---|
| 165 | <indexterm zone="libgusb libgusb-lib">
|
---|
| 166 | <primary sortas="c-libgusb">libgusb.so</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | </variablelist>
|
---|
| 172 |
|
---|
| 173 | </sect2>
|
---|
| 174 |
|
---|
| 175 | </sect1>
|
---|