libcanberra-0.30

Introduction to libcanberra

libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Additional Downloads

libcanberra Dependencies

Required

libvorbis-1.3.7

Recommended

Optional

PulseAudio-17.0, GTK+-2 and tdb

Recommended Sound Theme (Run Time)

Installation of libcanberra

First, apply a patch to fix an issue causing some applications to crash in Wayland-based desktop environments:

patch -Np1 -i ../libcanberra-0.30-wayland-1.patch

Install libcanberra by running the following commands:

./configure --prefix=/usr --disable-oss &&
make

This package does not come with a test suite.

Now, as the root user:

make docdir=/usr/share/doc/libcanberra-0.30 install

Command Explanations

--disable-oss: disables optional deprecated OSS support

--disable-gtk3: disables optional support for GTK+-3

Contents

Installed Programs: canberra-boot and canberra-gtk-play
Installed Libraries: libcanberra-gtk3.so and libcanberra.so
Installed Directories: /usr/lib/libcanberra-0.30, /usr/share/doc/libcanberra-0.30 and /usr/share/gtk-doc/html/libcanberra

Short Descriptions

canberra-gtk-play

is an application used for playing sound events

libcanberra-gtk3.so

contains the libcanberra bindings for GTK+ 3

libcanberra.so

contains the libcanberra API functions