source: general/genlib/libusb.xml@ 370e9ba

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 370e9ba was 370e9ba, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Fix doc path in libusb

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