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-7.9 platform.
Download (HTTP): http://people.freedesktop.org/~hughsient/releases/libgusb-0.2.8.tar.xz
Download MD5 sum: d0e4c970e2386900c99cab41d9b17e23
Download size: 284 KB
Estimated disk space required: 5.4 MB (with tests))
Estimated build time: less than 0.1 SBU (with tests)
gobject-introspection-1.46.0,
usbutils-008 (for usb.ids
data file, which is also required for the
tests), and Vala-0.28.1
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 2016-02-24 00:06:22 -0800