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-11.1 platform.
Download (HTTP): https://people.freedesktop.org/~hughsient/releases/libgusb-0.3.10.tar.xz
Download MD5 sum: 5effbae7609134a51f3ec295733302c3
Download size: 44 KB
Estimated disk space required: 1.6 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
GTK-Doc-1.33.2, gobject-introspection-1.70.0,
usbutils-014 (for usb.ids
data file, which is also required for the
tests), and Vala-0.54.7
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libgusb
Install libgusb by running the following commands:
mkdir build && cd build && meson --prefix=/usr --buildtype=release -Ddocs=false .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-Ddocs=true
: Use this option if
GTK-Doc is installed and you wish
to install the documentation.
Last updated on