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


Little CMS-2.9

User Notes:

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/ ;;

Install Babl by running the following commands:

mkdir bld &&
cd    bld &&

meson --prefix=/usr .. &&

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.


Installed Programs: None
Installed Libraries: 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

contains functions to access BablFishes to convert between formats.

Last updated on 2019-08-19 11:11:15 -0700