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-11.2 platform.
Download (HTTP): https://download.gimp.org/pub/babl/0.1/babl-0.1.94.tar.xz
Download MD5 sum: 1b60c691a9be2cce9fa27780c4c727c0
Download size: 308 KB
Estimated disk space required: 35 MB (with tests)
Estimated build time: 0.1 SBU (Using parallelism=4; with tests)
gobject-introspection-1.72.0 and librsvg-2.54.4
Little CMS-2.13.1 and w3m
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/babl
First, fix a typo that causes Meson to fail to run:
sed -i '/check:/d' meson.build
Install Babl by running the following commands:
mkdir bld && cd bld && meson --prefix=/usr --buildtype=release .. && 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
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.