The libgusb package contains the GObject wrappers for libusb-1.0 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop.
This package is known to build and work properly using an LFS-8.0 platform.
Download (HTTP): http://people.freedesktop.org/~hughsient/releases/libgusb-0.2.9.tar.xz
Download MD5 sum: d4251e958aee7d19e39f8021e457942f
Download size: 288 KB
Estimated disk space required: 4.6 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
gobject-introspection-1.50.0,
usbutils-008 (for usb.ids
data file, which is also required for the
tests), and Vala-0.34.4
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libgusb
Install libgusb by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make check.
Now, as the root
user:
make install
--disable-static
: This
switch prevents installation of static versions of the libraries.
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
Last updated on 2017-02-16 19:24:14 -0800