Colord-1.4.3

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 12. System Utilities

- Prev

  Bubblewrap-0.3.1

- Next

  cpio-2.12

- Up
- Home

# Colord-1.4.3

## Introduction to Colord

Colord is a system service that makes it easy to manage, install, and generate color profiles. It is used mainly by GNOME Color Manager for system integration and use when no users are logged in.

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

### Package Information

- Download (HTTP): https://www.freedesktop.org/software/colord/releases/colord-1.4.3.tar.xz

- Download MD5 sum: f032ecac927e9078c41fff97800441e8

- Download size: 1.8 MB

- Estimated disk space required: 22 MB (with tests)

- Estimated build time: 0.2 SBU (with tests)

### Colord Dependencies

#### Required

dbus-1.12.12, GLib-2.58.3, Little CMS-2.9, Polkit-0.115, and SQLite-3.27.1

#### Recommended

gobject-introspection-1.58.3, libgudev-232, libgusb-0.3.0, and Vala-0.42.5

#### Optional

DocBook-utils-0.6.14, gnome-desktop-3.30.2.1 and colord-gtk-0.1.26 (to build the example tools), GTK-Doc-1.29, libxslt-1.1.33, SANE-1.0.27, ArgyllCMS, and Bash Completion

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

## Installation of Colord

There should be a dedicated user and group to take control of the colord daemon after it has started. Issue the following commands as the `root` user:

    groupadd -g 71 colord &&
    useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
            -g colord -s /bin/false colord

First, clean up about 100 warnings:

    mv po/fur.po po/ur.po &&
    sed -i 's/fur/ur/' po/LINGUAS

Install Colord by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr            \
          --sysconfdir=/etc        \
          --localstatedir=/var     \
          -Ddaemon_user=colord     \
          -Dvapi=true              \
          -Dsystemd=false          \
          -Dlibcolordcompat=true   \
          -Dargyllcms_sensor=false \
          -Dbash_completion=false  \
          -Ddocs=false             \
          -Dman=false ..           &&
    ninja

Now, as the `root` user:

    ninja install

To test the results, issue: ninja -k 2 test. One test, `colord-self-test-daemon`, will fail. The test suite must be run after the package is installed, and the system-wide D-Bus Daemon must be running.

## Command Explanations

`-Ddaemon_user=colord`: This switch is used so the colord daemon will run as an unprivileged user instead of the `root` user.

`-Dvapi=true`: This switch enables building the Vala bindings. Remove if you don't have Vala-0.42.5 installed.

`-Dsystemd=false`: This switch disables support for systemd login in Colord applications.

`-Dlibcolordcompat=true`: This switch enables building a compatibility library for older packages that use Colord.

`-Dargyllcms_sensor=false`: This switch disables the ArgLLCMS sensor driver. Omit if you have ArgyllCMS installed and wish to use it.

`-Dbash_completion=false`: This switch disables Bash Completion support for Colord applications.

`-Ddocs=false`: This switch disables building of documentation. Omit if you have GTK-Doc-1.29 avaialable.

`-Dman=false`: This switch disables building of man pages. Omit if you have DocBook-utils-0.6.14 avaialable.

## Contents

Installed Programs: cd-create-profile, cd-fix-profile, cd-iccdump, cd-it8, and colormgr
Installed Libraries: libcolord.so, libcolordcompat.so, libcolordprivate.so, and libcolorhug.so
Installed Directories: /usr/include/colord-1, /usr/lib/colord-{plugins,sensors}, /usr/share/color{d}, /usr/share/gtk-doc/html/colord, and /var/lib/colord

### Short Descriptions

cd-create-profile | is the Color Manager Profile Creation Tool.
cd-fix-profile | is a tool used to fix metadata in ICC profiles.
cd-iccdump | dumps the contents of an ICC profile as human readable text.
cd-it8 | is the Color Manager Testing Tool.
colormgr | is a text-mode program that allows you to interact with colord on the command line.
`libcolord.so` | contains the Colord API functions.
`libcolordcompat.so` | contains legacy API functions for compatibility with older applications.
`libcolordprivate.so` | contains internal API functions for the programs included with Colord.
`libcolorhug.so` | contains a simple display hardware colorimiter.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  Bubblewrap-0.3.1

- Next

  cpio-2.12

- Up
- Home