source: general/genlib/libusb.xml@ 51718d1

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 51718d1 was 51718d1, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to Samba-4.13.3
Update to libwacom-1.7
Minor text tweaks to brotli
Remove extraneous '/' from libusb

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24026 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.7 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[51718d1]7 <!ENTITY libusb-download-http "https://github.com/libusb/libusb/releases/download/v&libusb-version;/libusb-&libusb-version;.tar.bz2">
[bb30c5b]8 <!ENTITY libusb-download-ftp " ">
[6aa48d38]9 <!ENTITY libusb-md5sum "5bc27df16155302f308d409e73589872">
10 <!ENTITY libusb-size "596 KB">
11 <!ENTITY libusb-buildsize "5.8 MB">
[0172b27]12 <!ENTITY libusb-time "less than 0.1 SBU">
[52d29f7]13]>
14
[bdf5806e]15<sect1 id="libusb" xreflabel="libusb-&libusb-version;">
[fc3e01f]16 <?dbhtml filename="libusb.html"?>
[4c3474fe]17
[fc3e01f]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[4c3474fe]22
[1f3b7a7]23 <title>libusb-&libusb-version;</title>
[4c3474fe]24
[fc3e01f]25 <indexterm zone="libusb">
[bb30c5b]26 <primary sortas="a-libusb">libusb</primary>
[fc3e01f]27 </indexterm>
28
29 <sect2 role="package">
[1f3b7a7]30 <title>Introduction to libusb</title>
[4c3474fe]31
[bb30c5b]32 <para>
33 The <application>libusb</application> package contains a library
34 used by some applications for USB device access.
35 </para>
[4c3474fe]36
[87351a9]37 &lfs10_checked;
[8c15e4c]38
[fc3e01f]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[bb30c5b]42 <para>
43 Download (HTTP): <ulink url="&libusb-download-http;"/>
44 </para>
[fc3e01f]45 </listitem>
46 <listitem>
[bb30c5b]47 <para>
48 Download (FTP): <ulink url="&libusb-download-ftp;"/>
49 </para>
[fc3e01f]50 </listitem>
51 <listitem>
[bb30c5b]52 <para>
53 Download MD5 sum: &libusb-md5sum;
54 </para>
[fc3e01f]55 </listitem>
56 <listitem>
[bb30c5b]57 <para>
58 Download size: &libusb-size;
59 </para>
[fc3e01f]60 </listitem>
61 <listitem>
[bb30c5b]62 <para>
63 Estimated disk space required: &libusb-buildsize;
64 </para>
[fc3e01f]65 </listitem>
66 <listitem>
[bb30c5b]67 <para>
68 Estimated build time: &libusb-time;
69 </para>
[fc3e01f]70 </listitem>
71 </itemizedlist>
[4c3474fe]72
[1f3b7a7]73 <bridgehead renderas="sect3">libusb Dependencies</bridgehead>
[4c3474fe]74
[bb30c5b]75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="doxygen"/>
78 </para>
[4c3474fe]79
[1039de3]80 <para condition="html" role="usernotes">User Notes:
[bb30c5b]81 <ulink url="&blfs-wiki;/libusb"/>
82 </para>
[fc3e01f]83 </sect2>
[4c3474fe]84
[fc3e01f]85 <sect2 role="installation">
[1f3b7a7]86 <title>Installation of libusb</title>
[fc3e01f]87
[7a395d1]88 <note>
89 <para>
90 This package does not support parallel build.
91 </para>
92 </note>
93
[bb30c5b]94 <para>
95 Install <application>libusb</application> by running the following
96 commands:
97 </para>
[fc3e01f]98
[6aa48d38]99<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
100make</userinput></screen>
[fc3e01f]101
[bb30c5b]102 <para>
103 If <application>Doxygen</application> is installed and you wish to
104 build the API documentation, issue the following command:
105 </para>
[fc3e01f]106
[6aa48d38]107<screen remap="doc"><userinput>sed -i "s/^TCL_SUBST/#&amp;/; s/wide//" doc/doxygen.cfg &amp;&amp;
108make -C doc docs</userinput></screen>
[4c3474fe]109
[bb30c5b]110 <para>
111 This package does not come with a test suite.
112 </para>
[1f3b7a7]113
[bb30c5b]114 <para>
115 Now, as the <systemitem class="username">root</systemitem> user:
116 </para>
[4c3474fe]117
[fc3e01f]118<screen role="root"><userinput>make install</userinput></screen>
119
[bb30c5b]120 <para>
121 If you built the API documentation, install it using the following
122 commands as the <systemitem class="username">root</systemitem> user:
123 </para>
[fc3e01f]124
[a42c273]125<screen role="root"
126 remap="doc"><userinput>install -v -d -m755 /usr/share/doc/libusb-&libusb-version;/apidocs &amp;&amp;
[d6fd371]127install -v -m644 doc/html/* \
128 /usr/share/doc/libusb-&libusb-version;/apidocs</userinput></screen>
[4c3474fe]129
[fc3e01f]130 </sect2>
[4c3474fe]131
[0172b27]132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para>
[6aa48d38]136 <command>sed -i ...</command>: This sed prevents some warnings when
[0172b27]137 building the documentation.
138 </para>
139 </sect2>
140
[fc3e01f]141 <sect2 role="configuration">
142 <title>Configuring Libusb</title>
143
[bb30c5b]144 <para id="libusb-kernel">
145 To access raw USB devices (those not treated as a disk by the mass-storage
146 driver), appropriate support must be available in the kernel. Check your
[38155d1]147 kernel configuration:
[bb30c5b]148 </para>
[9f12e36]149
[38155d1]150<screen><literal>Device Drivers ---&gt;
151 [*] USB support ---&gt; [CONFIG_USB_SUPPORT]
152 &lt;*/M&gt; Support for Host-side USB [CONFIG_USB]
153 (Select any USB hardware device drivers you may need on the same page)</literal></screen>
154
[fc3e01f]155 <indexterm zone="libusb libusb-kernel">
[bb30c5b]156 <primary sortas="d-USB-device-filesystem">Support for Host-side USB</primary>
[fc3e01f]157 </indexterm>
[9f12e36]158
[bb30c5b]159 <para>
160 For more details on setting up USB devices, see <xref
161 linkend="usb-device-issues"/>.
162 </para>
163
[fc3e01f]164 </sect2>
[4c3474fe]165
[fc3e01f]166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
[c3c56b2]170 <segtitle>Installed Programs</segtitle>
[aff3caf0]171 <segtitle>Installed Library</segtitle>
[4ee3a30]172 <segtitle>Installed Directories</segtitle>
[4c3474fe]173
[fc3e01f]174 <seglistitem>
[c3c56b2]175 <seg>
176 None
177 </seg>
[bb30c5b]178 <seg>
179 libusb-1.0.so
180 </seg>
181 <seg>
182 /usr/include/libusb-1.0 and
183 /usr/share/doc/libusb-&libusb-version;
184 </seg>
[fc3e01f]185 </seglistitem>
186 </segmentedlist>
[4c3474fe]187
[fc3e01f]188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
[4c3474fe]192
[fc3e01f]193 <varlistentry id="libusb-lib">
[bb30c5b]194 <term><filename class='libraryfile'>libusb-1.0.so</filename></term>
[fc3e01f]195 <listitem>
[bb30c5b]196 <para>
197 contains API functions used for accessing USB hardware.
198 </para>
[fc3e01f]199 <indexterm zone="libusb libusb-lib">
[bb30c5b]200 <primary sortas="c-libusb">libusb-1.0.so</primary>
[fc3e01f]201 </indexterm>
202 </listitem>
203 </varlistentry>
[4c3474fe]204
[fc3e01f]205 </variablelist>
206
207 </sect2>
[bdf5806e]208
209</sect1>
Note: See TracBrowser for help on using the repository browser.