Colord-1.4.8

Introduction to Colord

Colord is a system activated daemon that maps devices to color profiles. It is used by GNOME Color Manager for system integration and use when there are no users logged in.

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

Package Information

Colord Dependencies

Required

dbus-1.16.2, GLib-2.86.2, Little CMS-2.17, and the section called “Sqlite-3510000”

Required (for the tests)

"valgrind"

Recommended

Optional

"gnome-desktop" and "colord-gtk" (to build the example tools), libxslt-1.1.43,

User Notes: https://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 is 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

Prepare Colord by running the following commands:

./configure --prefix=/usr                \
            --sysconfdir=/etc            \
            --localstatedir=/var         \
            --with-daemon-user=colord    \
            --enable-vala                \
            --disable-argyllcms-sensor   \
            --disable-bash-completion    \
            --disable-static
make

Now Install the package, as the root user:

make install
[Note]

Note

For unknown reasons, some tests may fail. Note that the system-wide D-Bus daemon must be running or the tests will fail. To test the results, issue:

make -k check

Command Explanations

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

--enable-vala: This switch enables building of the Vala bindings. Remove if you don't have Vala-0.56.18 installed.

--disable-argyllcms-sensor: Disables ArgllCMS sensor driver.

--disable-bash-completion: This switch disables Bash Completion support for Colord apps.

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

--enable-gtk-doc: Use this switch if GTK-Doc is installed and you wish to build and install the API documentation.

--disable-gusb: Use this switch if you don't have libgusb installed.

--disable-udev: Use this switch if you don't have GUdev installed.

--disable-polkit: Use this switch if you don't have Polkit installed.

Contents

Installed Programs: cd-create-profile, cd-fix-profile, cd-iccdump, cd-it8, and colormgr
Installed Libraries: libcolord.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 a 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 a 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.