mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Updated to libusb-1.0.0.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7686 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
ba63372797
commit
4ee3a30e77
@ -119,7 +119,7 @@ $Date$
|
||||
<!ENTITY slib-version "3a4">
|
||||
<!ENTITY gwrap-version "1.3.4">
|
||||
<!ENTITY LZO-version "2.02">
|
||||
<!ENTITY libusb-version "0.1.12">
|
||||
<!ENTITY libusb-version "1.0.0">
|
||||
<!ENTITY iso-codes-version "1.2">
|
||||
<!ENTITY gmime-version "2.2.10">
|
||||
<!ENTITY libidn-version "0.6.14">
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
<!ENTITY libusb-download-http "&sourceforge-repo;/libusb/libusb-&libusb-version;.tar.gz">
|
||||
<!ENTITY libusb-download-ftp " ">
|
||||
<!ENTITY libusb-md5sum "caf182cbc7565dac0fd72155919672e6">
|
||||
<!ENTITY libusb-size "389 KB">
|
||||
<!ENTITY libusb-buildsize "8.4 MB (includes installing all documentation)">
|
||||
<!ENTITY libusb-time "0.3 SBU (includes building all documentation)">
|
||||
<!ENTITY libusb-md5sum "df2447c23750ef2b4a314200feacc2ee">
|
||||
<!ENTITY libusb-size "304 KB">
|
||||
<!ENTITY libusb-buildsize "3.3 MB">
|
||||
<!ENTITY libusb-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="libusb" xreflabel="libusb-&libusb-version;">
|
||||
@ -56,19 +56,9 @@
|
||||
|
||||
<bridgehead renderas="sect3">libusb Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><xref linkend="pkgconfig"/></para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional
|
||||
(Required to Build the HTML User Manual)</bridgehead>
|
||||
<para role="optional"><xref linkend="openjade"/> and
|
||||
<ulink url="http://www.docbook.org/sgml/4.2/index.html"> DocBOOK SGML
|
||||
DTD-4.2</ulink></para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional
|
||||
(Required to Build the API Documentation)</bridgehead>
|
||||
<para role="optional"><xref linkend="doxygen"/> and
|
||||
<xref linkend="graphviz"/></para>
|
||||
<para role="optional"><xref linkend="doxygen"/></para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/libusb"/></para>
|
||||
@ -81,47 +71,31 @@
|
||||
<para>Install <application>libusb</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --disable-build-docs &&
|
||||
<screen><userinput>./configure --prefix=/usr &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>If you wish to build the API documentation (see the required
|
||||
dependencies), issue the following command:</para>
|
||||
|
||||
<screen><userinput>make apidox</userinput></screen>
|
||||
<screen><userinput>cd doc &&
|
||||
make docs &&
|
||||
cd ..</userinput></screen>
|
||||
|
||||
<para>To test the results, issue <command>make -k check</command>.</para>
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
<para>If you built the HTML user manual (by having the required
|
||||
dependencies installed and removing the
|
||||
<parameter>--disable-build-docs</parameter> parameter from the
|
||||
<command>configure</command> command), install it using the following
|
||||
commands as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/libusb-&libusb-version;/html &&
|
||||
install -v -m644 doc/html/* /usr/share/doc/libusb-&libusb-version;/html</userinput></screen>
|
||||
|
||||
<para>If you built the API documentation, install it using the following
|
||||
commands as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/libusb-&libusb-version;/apidocs &&
|
||||
install -v -m644 apidocs/html/* \
|
||||
install -v -m644 doc/html/* \
|
||||
/usr/share/doc/libusb-&libusb-version;/apidocs</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><parameter>--disable-build-docs</parameter>: This switch avoids
|
||||
building the HTML user manual. Remove it if you have the required
|
||||
dependencies installed and wish to build the manual.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring Libusb</title>
|
||||
|
||||
@ -188,12 +162,12 @@ SYSFS{idProduct}=="4002", GROUP:="scanner"</literal></screen>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Program</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>libusb-config</seg>
|
||||
<seg>libusb.{so,a} and libusbpp.{so,a}</seg>
|
||||
<seg>/usr/share/doc/libusb-&libusb-version;</seg>
|
||||
<seg>None</seg>
|
||||
<seg>libusb-1.0.{so,a}</seg>
|
||||
<seg>/usr/include/libusb-1.0 and /usr/share/doc/libusb-&libusb-version;</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
@ -202,25 +176,13 @@ SYSFS{idProduct}=="4002", GROUP:="scanner"</literal></screen>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="libusb-config">
|
||||
<term><command>libusb-config</command></term>
|
||||
<listitem>
|
||||
<para>is a script that provides the right compiler and linker
|
||||
flags for programs using
|
||||
<filename class='libraryfile'>libusb</filename>.</para>
|
||||
<indexterm zone="libusb libusb-config">
|
||||
<primary sortas="b-libusb-config">libusb-config</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libusb-lib">
|
||||
<term><filename class='libraryfile'>libusb.{so,a}</filename></term>
|
||||
<listitem>
|
||||
<para> libraries contain C functions for accessing
|
||||
USB hardware.</para>
|
||||
<indexterm zone="libusb libusb-lib">
|
||||
<primary sortas="c-libusb">libusb.{so,a}</primary>
|
||||
<primary sortas="c-libusb">libusb-1.0.{so,a}</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -43,6 +43,9 @@
|
||||
<listitem>
|
||||
<para>December 28th, 2008</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Updated to libusb-1.0.0.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Updated to glib-2.18.3.</para>
|
||||
</listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user