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.1 platform.
Download (HTTP): https://people.freedesktop.org/~hughsient/releases/libgusb-0.2.11.tar.xz
Download MD5 sum: fa2b41b828c749f9190edf888948a77b
Download size: 288 KB
Estimated disk space required: 4.5 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
gobject-introspection-1.52.1,
usbutils-008 (for usb.ids
data file, which is also required for the
tests), and Vala-0.36.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-08-20 15:06:11 -0700