libxmlb-0.3.19

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

### Chapter 9. General Libraries

- Prev

  libxml2-2.13.3

- Next

  libxslt-1.1.42

- Up
- Home

# libxmlb-0.3.19

## Introduction to libxmlb

The libxmlb package contains a library and a tool which help create and query binary XML blobs.

This package is known to build and work properly using an LFS 12.2 platform.

### Package Information

- Download (HTTP): https://github.com/hughsie/libxmlb/releases/download/0.3.19/libxmlb-0.3.19.tar.xz

- Download MD5 sum: 0749fbcd7179b800c68ed8a6aa31cb74

- Download size: 104 KB

- Estimated disk space required: 3.8 MB

- Estimated build time: 0.1 SBU

### libxmlb Dependencies

#### Required

GLib-2.80.4 (GObject Introspection recommended)

#### Optional

GTK-Doc-1.34.0 and libstemmer

## Installation of libxmlb

Install libxmlb by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release -D gtkdoc=false .. &&
    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`-D gtkdoc=false`: This switch disables building the API documentation. Remove it if you have GTK-Doc-1.34.0 installed and wish to build the API documentation.

`-D introspection=false`: Use this switch if you do not have built GLib-2.80.4 with GObject Introspection.

`-D stemmer=true`: Use this switch if you have libstemmer installed and wish to build stemmer support.

## Contents

Installed Programs: xb-tool
Installed Libraries: libxmlb.so
Installed Directories: /usr/include/libxmlb-2, /usr/libexec/installed-tests/libxmlb, and /usr/share/gtk-doc/html/libxmlb (if gtk-doc was enabled)

### Short Descriptions

xb-tool | is a tool used to create, dump, or query a binary XML blob
`libxmlb.so` | contains functions that allow for creating and querying binary XML blobs

- Prev

  libxml2-2.13.3

- Next

  libxslt-1.1.42

- Up
- Home