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.
Download (HTTP): https://download.gimp.org/pub/babl/0.1/babl-0.1.70.tar.xz
Download MD5 sum: 7b6f5dd6b7ed8ebcb4bd3421c61e2bae
Download size: 284 KB
Estimated disk space required: 21 MB (with tests)
Estimated build time: less than 0.1 SBU (Using parallelism=4; with tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
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.
Last updated on 2019-08-19 11:11:15 -0700