#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 10. Graphics and Font Libraries

- Prev

  JasPer-2.0.25

- Next

  Little CMS-2.12

- Up
- Home

# Little CMS-1.19

## Introduction to Little CMS

The Little CMS library is used by other programs to provide color management facilities.

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

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/lcms/lcms-1.19.tar.gz

- Download MD5 sum: 8af94611baf20d9646c7c2c285859818

- Download size: 927 KB

- Estimated disk space required: 27 MB

- Estimated build time: 0.5 SBU

### Additional Downloads

- Required patch: http://www.linuxfromscratch.org/patches/blfs/10.1/lcms-1.19-cve_2013_4276-1.patch

### Little CMS Dependencies

#### Optional

LibTIFF-4.2.0, libjpeg-turbo-2.0.6, and Python-2.7.18 (with SWIG-4.0.2 also)

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

## Installation of Little CMS

Install Little CMS by running the following commands:

    patch -Np1 -i ../lcms-1.19-cve_2013_4276-1.patch &&

    ./configure --prefix=/usr --disable-static       &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install &&
    install -v -m755 -d /usr/share/doc/lcms-1.19 &&
    install -v -m644    README.1ST doc/* \
                        /usr/share/doc/lcms-1.19

## Command Explanations

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

`--with-python`: Use this parameter if Python and SWIG are installed.

## Contents

Installed Programs: icc2ps, icclink, icctrans, wtpt and optionally, jpegicc, tiffdiff and tifficc
Installed Libraries: liblcms.so and the optional _lcms.so Python module
Installed Directory: /usr/share/doc/lcms-1.19

### Short Descriptions

icc2ps | generates PostScript CRD or CSA from ICC profiles
icclink | links two or more profiles into a single device link profile
icctrans | is a color space conversion calculator
jpegicc | is an ICC profile applier for JPEG files
tifficc | is an ICC profile applier for TIFF files
tiffdiff | is a TIFF compare utility
wtpt | shows media white of profiles, identifying black body locus
`liblcms.so` | is used by the lcms programs as well as other programs to provide color management facilities

Last updated on 2021-02-21 15:09:04 -0800

- Prev

  JasPer-2.0.25

- Next

  Little CMS-2.12

- Up
- Home