Imlib2-1.4.6

Introduction to Imlib2

Imlib2 is a graphics library for fast file loading, saving, rendering and manipulation.

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

Package Information

Imlib2 Dependencies

Required

Xorg Libraries

Optional

libpng-1.6.9, libjpeg-turbo-1.3.0, LibTIFF-4.0.3, giflib-5.0.5, and libid3tag

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

Installation of Imlib2

Install Imlib2 by running the following commands:

sed -i '/DGifOpen/s:fd:&, NULL:' src/modules/loaders/loader_gif.c &&
sed -i 's/@my_libs@//' imlib2-config.in &&
./configure --prefix=/usr --disable-static &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/imlib2-1.4.6 &&
install -v -m644    doc/{*.gif,index.html} \
                    /usr/share/doc/imlib2-1.4.6

Command Explanations

sed -i ...: First command fixes building with recent versions of Giflib and the second one corrects linker flags for libImlib2 usage.

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv, imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view
Installed Libraries: libImlib2.so and various filters and image loader modules.
Installed Directories: /usr/lib/imlib2, /usr/share/doc/imlib2-1.4.6, and /usr/share/imlib2

Short Descriptions

libImlib2.so

provides the functions for programs to deal with various image data formats.

Last updated on 2014-02-20 04:20:28 -0800