babl-0.1.70

Introduction to Babl

The Babl package is a dynamic, any to any, pixel format translation library.

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

Package Information

Babl Dependencies

Optional

Little CMS-2.9

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

Installation of Babl

First, if you are on i686, fix a compilation error caused by a target option type mismatch.

case $(uname -m) in
   i?86) sed -i '27 s/no_cflags/sse2_cflags/' extensions/meson.build ;;
esac

Install Babl by running the following commands:

mkdir bld &&
cd    bld &&

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

To test the results, issue: ninja test.

Now, as the root user:

ninja install &&

install -v -m755 -d                         /usr/share/gtk-doc/html/babl/graphics &&
install -v -m644 docs/*.{css,html}          /usr/share/gtk-doc/html/babl          &&
install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics

Command Explanations

install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics: This and the subsequent commands install the library html documentation under /usr/share/gtk-doc/html where other gtk packages put the programmer-oriented documentation.

Contents

Installed Programs: None
Installed Libraries: libbabl-0.1.so and libraries in /usr/lib/babl-0.1
Installed Directories: /usr/{include,lib}/babl-0.1 and /usr/share/gtk-doc/html/babl

Short Descriptions

libbabl-0.1.so

contains functions to access BablFishes to convert between formats.

Last updated on 2019-08-19 13:11:15 -0500