libmusicbrainz-2.1.5

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  libmpeg2-0.5.1

- Next

  libmusicbrainz-5.1.0

- Up
- Home

# libmusicbrainz-2.1.5

## Introduction to libmusicbrainz

The libmusicbrainz package contains a library which allows you to access the data held on the MusicBrainz server. This is useful for adding MusicBrainz lookup capabilities to other applications.

MusicBrainz is a community music metadatabase that attempts to create a comprehensive music information site. You can use the MusicBrainz data either by browsing the web site, or you can access the data from a client program — for example, a CD player program can use MusicBrainz to identify CDs and provide information about the CD, about the artist or other related information.

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

### Package Information

- Download (HTTP): http://ftp.musicbrainz.org/pub/musicbrainz/historical/libmusicbrainz-2.1.5.tar.gz

- Download (FTP): ftp://ftp.musicbrainz.org/pub/musicbrainz/historical/libmusicbrainz-2.1.5.tar.gz

- Download MD5 sum: d5e19bb77edd6ea798ce206bd05ccc5f

- Download size: 524 KB

- Estimated disk space required: 12 MB

- Estimated build time: 0.4 SBU

### Additional Downloads

- Required patch: http://www.linuxfromscratch.org/patches/blfs/svn/libmusicbrainz-2.1.5-missing-includes-1.patch

### libmusicbrainz Dependencies

#### Optional to Build the Python Bindings

Python-2.7.15

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

## Installation of libmusicbrainz

Install libmusicbrainz by running the following commands:

    patch -Np1 -i ../libmusicbrainz-2.1.5-missing-includes-1.patch &&

    CXXFLAGS=-std=c++98 \
    ./configure --prefix=/usr --disable-static &&
    make

If Python is installed, build the bindings with the following commands:

    (cd python && python setup.py build)

This package does not come with a stand-alone test suite (to test you must have Python installed and perform the test after the package is installed).

Now, as the `root` user:

    make install &&
    install -v -m644 -D docs/mb_howto.txt \
        /usr/share/doc/libmusicbrainz-2.1.5/mb_howto.txt

To test the Python bindings, issue the following: (cd python && python setup.py test).

If you built the Python bindings, issue the following commands as the `root` user to install them:

    (cd python && python setup.py install)

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: None
Installed Library: libmusicbrainz.so
Installed Directories: /usr/include/musicbrainz and /usr/share/doc/libmusicbrainz-2.1.5

### Short Descriptions

`libmusicbrainz.so` | contains API functions to access the MusicBrainz database, both for looking up data and also for submitting new data.

Last updated on 2019-02-17 15:55:58 -0600

- Prev

  libmpeg2-0.5.1

- Next

  libmusicbrainz-5.1.0

- Up
- Home