Colord-1.2.12

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-7.8 platform.

Package Information

Colord Dependencies

Required

D-Bus-1.10.0, GLib-2.44.1, Little CMS-2.7, and SQLite-3.8.11.1

Required (for the tests)

Valgrind-3.10.1

Recommended

Optional

DocBook-utils-0.6.14, gnome-desktop-3.16.2 and colord-gtk (to build the example tools), GTK-Doc-1.24, libxslt-1.1.28, SANE-1.0.24, ArgllCMS, 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 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

Install Colord by running the following commands:

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

Now, as the root user:

make install

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

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.28.1 installed.

--enable-systemd-login=no: This parameter fixes building without systemd, which is not part of LFS/BLFS. If you use systemd, replace "no" by "yes".

--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.

--with-systemdsystemunitdir=no: Disables attempting to build with systemd 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.

Last updated on 2015-09-10 20:43:58 -0700