libgusb-0.3.0

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 9. General Libraries

- Prev

  libgudev-233

- Next

  libical-3.0.5

- Up
- Home

# libgusb-0.3.0

## Introduction to libgusb

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-9.0 platform.

### Package Information

- Download (HTTP): https://people.freedesktop.org/~hughsient/releases/libgusb-0.3.0.tar.xz

- Download MD5 sum: 3c178f1171f808785d6af971b1fdc50c

- Download size: 40 KB

- Estimated disk space required: 2.9 MB (with tests)

- Estimated build time: less than 0.1 SBU (with tests)

### libgusb Dependencies

#### Required

libusb-1.0.22

#### Recommended

GTK-Doc-1.32 gobject-introspection-1.60.2, usbutils-012 (for `usb.ids` data file, which is also required for the tests), and Vala-0.44.7

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libgusb

## Installation of libgusb

Install libgusb by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr -Ddocs=false .. &&
    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

## Command Explanations

`-Ddocs=true`: Use this option if GTK-Doc is installed and you wish to install the documentation.

## Contents

Installed Programs: gusbcmd
Installed Library: libgusb.so
Installed Directories: /usr/include/gusb-1 and /usr/share/gtk-doc/html/gusb (if gtk-doc is used)

### Short Descriptions

gusbcmd | is a debugging tool for the libgusb library.
`libgusb.so` | contains the libgusb API functions.

Last updated on 2019-08-18 13:33:32 -0700

- Prev

  libgudev-233

- Next

  libical-3.0.5

- Up
- Home