[blfs-book] r10360 - in trunk/BOOK: . general/genlib introduction/welcome

krejzi at linuxfromscratch.org krejzi at linuxfromscratch.org
Tue Jun 26 05:12:26 PDT 2012


Author: krejzi
Date: 2012-06-26 06:12:21 -0600 (Tue, 26 Jun 2012)
New Revision: 10360

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/libusb-compat.xml
   trunk/BOOK/general/genlib/libusb.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
libusb 1.0.9 and libusb-compat 0.1.4

Modified: trunk/BOOK/general/genlib/libusb-compat.xml
===================================================================
--- trunk/BOOK/general/genlib/libusb-compat.xml	2012-06-26 11:32:53 UTC (rev 10359)
+++ trunk/BOOK/general/genlib/libusb-compat.xml	2012-06-26 12:12:21 UTC (rev 10360)
@@ -6,8 +6,8 @@
 
   <!ENTITY libusb-compat-download-http "&sourceforge-repo;/libusb/libusb-compat-&libusb-compat-version;.tar.bz2">
   <!ENTITY libusb-compat-download-ftp  " ">
-  <!ENTITY libusb-compat-md5sum        "570ac2ea085b80d1f74ddc7c6a93c0eb">
-  <!ENTITY libusb-compat-size          "246 KB">
+  <!ENTITY libusb-compat-md5sum        "2ca521fffadd0c28fdf174e6ec73865b">
+  <!ENTITY libusb-compat-size          "240 KB">
   <!ENTITY libusb-compat-buildsize     "2.0 MB">
   <!ENTITY libusb-compat-time          "less than 0.1 SBU">
 ]>
@@ -81,8 +81,8 @@
     </para>
 
     <para condition="html" role="usernotes">User Notes:
-    <ulink url="&blfs-wiki;/libusb-compat"/></para>
-
+      <ulink url="&blfs-wiki;/libusb-compat"/>
+    </para>
   </sect2>
 
   <sect2 role="installation">
@@ -93,7 +93,7 @@
       following commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>./configure --prefix=/usr --disable-static &&
 make</userinput></screen>
 
     <para>
@@ -117,7 +117,7 @@
 
       <seglistitem>
         <seg>libusb-config</seg>
-        <seg>libusb.{so,a}</seg>
+        <seg>libusb.so</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -127,7 +127,7 @@
       <?dbhtml list-presentation="table"?>
 
       <varlistentry id="libusb-compat-lib">
-        <term><filename class='libraryfile'>libusb.{so,a}</filename></term>
+        <term><filename class='libraryfile'>libusb.so</filename></term>
         <listitem>
           <para>
             is a library that is compatible with
@@ -135,7 +135,7 @@
             <application>libusb-1.0</application> to provide functionality.
           </para>
           <indexterm zone="libusb-compat libusb-compat-lib">
-            <primary sortas="c-libusb-compat">libusb.{so,a}</primary>
+            <primary sortas="c-libusb-compat">libusb.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>

Modified: trunk/BOOK/general/genlib/libusb.xml
===================================================================
--- trunk/BOOK/general/genlib/libusb.xml	2012-06-26 11:32:53 UTC (rev 10359)
+++ trunk/BOOK/general/genlib/libusb.xml	2012-06-26 12:12:21 UTC (rev 10360)
@@ -5,9 +5,9 @@
   %general-entities;
 
   <!ENTITY libusb-download-http "&sourceforge-repo;/libusb/libusb-&libusb-version;.tar.bz2">
-  <!ENTITY libusb-download-ftp  "&sources-anduin-ftp;/l/libusb-&libusb-version;.tar.bz2">
-  <!ENTITY libusb-md5sum        "37d34e6eaa69a4b645a19ff4ca63ceef">
-  <!ENTITY libusb-size          "331 KB">
+  <!ENTITY libusb-download-ftp  " ">
+  <!ENTITY libusb-md5sum        "7f5a02375ad960d4e33a6dae7d63cfcb">
+  <!ENTITY libusb-size          "416 KB">
   <!ENTITY libusb-buildsize     "5 MB">
   <!ENTITY libusb-time          "less than 0.1 SBU">
 ]>
@@ -23,72 +23,97 @@
   <title>libusb-&libusb-version;</title>
 
   <indexterm zone="libusb">
-    <primary sortas="a-Libusb">Libusb</primary>
+    <primary sortas="a-libusb">libusb</primary>
   </indexterm>
 
   <sect2 role="package">
     <title>Introduction to libusb</title>
 
-    <para>The <application>libusb</application> package contains a library
-    used by some applications for USB device access.</para>
+    <para>
+      The <application>libusb</application> package contains a library
+      used by some applications for USB device access.
+    </para>
 
     &lfs71_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
-        <para>Download (HTTP): <ulink url="&libusb-download-http;"/></para>
+        <para>
+          Download (HTTP): <ulink url="&libusb-download-http;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download (FTP): <ulink url="&libusb-download-ftp;"/></para>
+        <para>
+          Download (FTP): <ulink url="&libusb-download-ftp;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download MD5 sum: &libusb-md5sum;</para>
+        <para>
+          Download MD5 sum: &libusb-md5sum;
+        </para>
       </listitem>
       <listitem>
-        <para>Download size: &libusb-size;</para>
+        <para>
+          Download size: &libusb-size;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated disk space required: &libusb-buildsize;</para>
+        <para>
+          Estimated disk space required: &libusb-buildsize;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated build time: &libusb-time;</para>
+        <para>
+          Estimated build time: &libusb-time;
+        </para>
       </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">libusb Dependencies</bridgehead>
 
-    <bridgehead renderas="sect4">Optional
-    (Required to Build the API Documentation)</bridgehead>
-    <para role="optional"><xref linkend="doxygen"/></para>
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="doxygen"/>
+    </para>
 
     <para condition="html" role="usernotes">User Notes:
-    <ulink url="&blfs-wiki;/libusb"/></para>
-
+      <ulink url="&blfs-wiki;/libusb"/>
+    </para>
   </sect2>
 
   <sect2 role="installation">
     <title>Installation of libusb</title>
 
-    <para>Install <application>libusb</application> by running the following
-    commands:</para>
+    <para>
+      Install <application>libusb</application> by running the following
+      commands:
+    </para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>./configure --prefix=/usr --disable-static &&
 make</userinput></screen>
 
-    <para>If <application>Doxygen</application> is installed and you wish to
-    build the API documentation, issue the following command:</para>
+    <para>
+      If <application>Doxygen</application> is installed and you wish to
+      build the API documentation, issue the following command:
+    </para>
 
-<screen><userinput>make -C doc docs</userinput></screen> <!-- tested with doxygen -->
+<screen><userinput>make -C doc docs</userinput></screen>
 
-    <para>This package does not come with a test suite.</para>
+    <para>
+      This package does not come with a test suite.
+    </para>
 
-    <para>Now, as the <systemitem class="username">root</systemitem> user:</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 API documentation, install it using the following
-    commands as the <systemitem class="username">root</systemitem> user:</para>
+    <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    doc/html/* \
@@ -99,71 +124,40 @@
   <sect2 role="configuration">
     <title>Configuring Libusb</title>
 
-<!--
-    <para><application>libusb</application> requires the
-    <systemitem class="filesystem">usbfs</systemitem> kernel filesystem
-    to be mounted on <filename class="directory">/proc/bus/usb</filename>.
-    Applications require the files in this directory to be accessible to the user,
-    sometimes for both reading and writing. To restrict access to USB devices,
-    ensure the <systemitem class="filesystem">usb</systemitem> group exits
-    on your system. If necessary, create the <systemitem
-    class="filesystem">usb</systemitem> group using the following command:</para>
+    <para id="libusb-kernel">
+      To access raw USB devices (those not treated as a disk by the mass-storage
+      driver), appropriate support must be available in the kernel.  Check your
+      kernel configuration for Device Drivers ⇒ USB support ⇒ Support
+      for Host-side USB.  Select any USB hardware device drivers you may need
+      on the same page.
+    </para>
 
-<screen role='root'><userinput>groupadd -g 14 usb</userinput></screen>
--->
-
-    <para id="libusb-kernel">To access raw USB devices (those not treated as a
-    disk by the mass-storage driver), appropriate support must be available in
-    the kernel.  Check your kernel configuration for Device Drivers ⇒ USB
-    support ⇒ Support for Host-side USB.  Select any USB hardware device
-    drivers you may need on the same page.</para>
-
     <indexterm zone="libusb libusb-kernel">
-    <primary sortas="d-USB-device-filesystem">Support for Host-side USB</primary>
+      <primary sortas="d-USB-device-filesystem">Support for Host-side USB</primary>
     </indexterm>
 
-    <para>For more details on setting up USB devices, see <xref
-    linkend="usb-device-issues"/>.  </para>
+    <para>
+      For more details on setting up USB devices, see <xref
+      linkend="usb-device-issues"/>.
+    </para>
 
-<!--
-    <para>Fine-tuning of permissions is also possible by creating extra rules,
-    matching on something like this (on one line).  The vendor and product can
-    be found by searching the <filename
-    class='directory'>/sys/devices</filename> directory entries or using
-    <command>udevinfo</command> after the device has been attached.  See the
-    documentation in the current udev directory of <filename
-    class='directory'>/usr/share/doc></filename> for details.</para>
-
-<screen><literal>SUBSYSTEM=="usb_device", SYSFS{idVendor}=="05d8",
-SYSFS{idProduct}=="4002", GROUP:="scanner"</literal></screen>
-
-    <para>Some older applications, such as <application>VMware</application>,
-    need the following deprecated entry in the <filename>/etc/fstab</filename>
-    file.  This is not normally needed.</para>
-
-<screen><literal>usbfs  /proc/bus/usb  usbfs  devgid=14,devmode=0660  0  0</literal></screen>
--->
-<!--
-    <para>Add any users that need to access raw USB devices to the
-    <systemitem class="groupname">usb</systemitem> group.</para>
-
-<screen role="root"><userinput>usermod -a -G usb <replaceable><username></replaceable></userinput></screen>
--->
   </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>libusb-1.0.{so,a}</seg>
-        <seg>/usr/include/libusb-1.0 and
-        /usr/share/doc/libusb-&libusb-version;</seg>
+        <seg>
+          libusb-1.0.so
+        </seg>
+        <seg>
+          /usr/include/libusb-1.0 and
+          /usr/share/doc/libusb-&libusb-version;
+        </seg>
       </seglistitem>
     </segmentedlist>
 
@@ -173,12 +167,13 @@
       <?dbhtml list-presentation="table"?>
 
       <varlistentry id="libusb-lib">
-        <term><filename class='libraryfile'>libusb-1.0.{so,a}</filename></term>
+        <term><filename class='libraryfile'>libusb-1.0.so</filename></term>
         <listitem>
-          <para> libraries contain C functions for accessing
-          USB hardware.</para>
+          <para>
+            contains API functions used for accessing USB hardware.
+          </para>
           <indexterm zone="libusb libusb-lib">
-            <primary sortas="c-libusb">libusb-1.0.{so,a}</primary>
+            <primary sortas="c-libusb">libusb-1.0.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2012-06-26 11:32:53 UTC (rev 10359)
+++ trunk/BOOK/general.ent	2012-06-26 12:12:21 UTC (rev 10360)
@@ -223,8 +223,8 @@
 <!ENTITY libtasn1-version             "2.13">
 <!ENTITY libunique-version            "3.0.2">
 <!ENTITY libunistring-version         "0.9.3">
-<!ENTITY libusb-version               "1.0.8">
-<!ENTITY libusb-compat-version        "0.1.3">
+<!ENTITY libusb-version               "1.0.9">
+<!ENTITY libusb-compat-version        "0.1.4">
 <!ENTITY libxml2-version              "2.8.0">
 <!ENTITY libxslt-version              "1.1.26">
 <!ENTITY LZO-version                  "2.06">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2012-06-26 11:32:53 UTC (rev 10359)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2012-06-26 12:12:21 UTC (rev 10360)
@@ -45,6 +45,9 @@
       <para>June 26th, 2012</para>
       <itemizedlist>
         <listitem>
+          <para>[krejzi] - libusb 1.0.9 and libusb-compat 0.1.4.</para>
+        </listitem>
+        <listitem>
           <para>[rthomsen] - Upgrade to D-Bus GLib Bindings 0.100.
 	  Fixes <ulink url="&blfs-ticket-root;3436">#3436</ulink>.</para>
         </listitem>




More information about the blfs-book mailing list