[f1a8ab0] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0d7900a] | 7 | <!ENTITY colord-download-http
|
---|
[c341539] | 8 | "http://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
|
---|
[f1a8ab0] | 9 | <!ENTITY colord-download-ftp " ">
|
---|
[388fe658] | 10 | <!ENTITY colord-md5sum "73d5979385667c5f0d683e7f2b226758">
|
---|
[6a5aa22] | 11 | <!ENTITY colord-size "1.2 MB">
|
---|
| 12 | <!ENTITY colord-buildsize "32 MB (additional 3 MB to build and install the API documentation, and 3 MB for the tests)">
|
---|
[388fe658] | 13 | <!ENTITY colord-time "0.5 SBU (additional 0.2 SBU for the tests)">
|
---|
[f1a8ab0] | 14 | ]>
|
---|
| 15 |
|
---|
[880c568] | 16 | <sect1 id="colord" xreflabel="Colord-&colord-version;">
|
---|
[f1a8ab0] | 17 | <?dbhtml filename="colord.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[880c568] | 24 | <title>Colord-&colord-version;</title>
|
---|
[f1a8ab0] | 25 |
|
---|
| 26 | <indexterm zone="colord">
|
---|
[880c568] | 27 | <primary sortas="a-Colord">Colord</primary>
|
---|
[f1a8ab0] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[7ded7e3] | 31 | <title>Introduction to Colord</title>
|
---|
[f1a8ab0] | 32 |
|
---|
[7ded7e3] | 33 | <para>
|
---|
[01996ebb] | 34 | <application>Colord</application> is a system activated daemon that
|
---|
| 35 | maps devices to color profiles. It is used by
|
---|
[7ded7e3] | 36 | <application>GNOME Color Manager</application> for system integration
|
---|
| 37 | and use when there are no users logged in.
|
---|
| 38 | </para>
|
---|
[f1a8ab0] | 39 |
|
---|
[5fd155f3] | 40 | &lfs76_checked;
|
---|
[f1a8ab0] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[7ded7e3] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&colord-download-http;"/>
|
---|
| 47 | </para>
|
---|
[f1a8ab0] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[7ded7e3] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&colord-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[f1a8ab0] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[7ded7e3] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &colord-md5sum;
|
---|
| 57 | </para>
|
---|
[f1a8ab0] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[7ded7e3] | 60 | <para>
|
---|
| 61 | Download size: &colord-size;
|
---|
| 62 | </para>
|
---|
[f1a8ab0] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[7ded7e3] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &colord-buildsize;
|
---|
| 67 | </para>
|
---|
[f1a8ab0] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[7ded7e3] | 70 | <para>
|
---|
| 71 | Estimated build time: &colord-time;
|
---|
| 72 | </para>
|
---|
[f1a8ab0] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[7ded7e3] | 76 | <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
|
---|
[f1a8ab0] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c341539] | 79 | <para role="required">
|
---|
[54666831] | 80 | <xref linkend="dbus"/>,
|
---|
[fa99d008] | 81 | <xref linkend="glib2"/>,
|
---|
[08de396] | 82 | <xref linkend="lcms2"/>, and
|
---|
| 83 | <xref linkend="sqlite"/>
|
---|
[c341539] | 84 | </para>
|
---|
| 85 |
|
---|
[03b4b3a] | 86 | <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="valgrind"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
[7ded7e3] | 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 92 | <para role="recommended">
|
---|
[fa99d008] | 93 | <xref linkend="libgusb"/>,
|
---|
[91e382cd] | 94 | <xref linkend="gobject-introspection"/>,
|
---|
[03b4b3a] | 95 | <xref linkend="polkit"/>,
|
---|
[91e382cd] | 96 | <xref linkend="udev-extras"/> (for GUdev), and
|
---|
[01996ebb] | 97 | <xref linkend="vala"/>
|
---|
[c341539] | 98 | </para>
|
---|
[f1a8ab0] | 99 |
|
---|
[7ded7e3] | 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 101 | <para role="optional">
|
---|
[2249a59] | 102 | <xref linkend="gnome-desktop"/> and
|
---|
[665ac79f] | 103 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
[2249a59] | 104 | colord-gtk</ulink> (to build the example tools),
|
---|
[01996ebb] | 105 | <xref linkend="docbook-utils"/>,
|
---|
[c647e6d] | 106 | <xref linkend="gtk-doc"/>,
|
---|
[91e382cd] | 107 | <xref linkend="libxslt"/>,
|
---|
[2249a59] | 108 | <xref linkend="sane"/>,
|
---|
[2b872a2] | 109 | <xref linkend="valgrind"/> (required for the tests),
|
---|
| 110 | <ulink url="http://www.argyllcms.com/">ArgllCMS</ulink>, and
|
---|
[2249a59] | 111 | <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>,
|
---|
[c341539] | 112 | </para>
|
---|
[f1a8ab0] | 113 |
|
---|
| 114 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 115 | <ulink url="&blfs-wiki;/colord"/>
|
---|
| 116 | </para>
|
---|
[f1a8ab0] | 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
[7ded7e3] | 120 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 121 |
|
---|
[d6da5da] | 122 | <para>
|
---|
| 123 | There should be a dedicated user and group to take control
|
---|
| 124 | of the <command>colord</command> daemon after it is started.
|
---|
| 125 | Issue the following commands as the
|
---|
| 126 | <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 130 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 131 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 132 |
|
---|
[7ded7e3] | 133 | <para>
|
---|
| 134 | Install <application>Colord</application> by running the following
|
---|
| 135 | commands:
|
---|
| 136 | </para>
|
---|
[f1a8ab0] | 137 |
|
---|
[4ad93b6] | 138 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 139 | --sysconfdir=/etc \
|
---|
| 140 | --localstatedir=/var \
|
---|
| 141 | --with-daemon-user=colord \
|
---|
| 142 | --enable-vala \
|
---|
[03b4b3a] | 143 | --enable-systemd-login=no \
|
---|
[2b872a2] | 144 | --disable-argyllcms-sensor \
|
---|
[4ad93b6] | 145 | --disable-bash-completion \
|
---|
[c647e6d] | 146 | --disable-static \
|
---|
[03b4b3a] | 147 | --with-systemdsystemunitdir=no &&
|
---|
[f1a8ab0] | 148 | make</userinput></screen>
|
---|
| 149 |
|
---|
[7ded7e3] | 150 | <para>
|
---|
| 151 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 152 | </para>
|
---|
[f1a8ab0] | 153 |
|
---|
| 154 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 155 |
|
---|
[d6da5da] | 156 | <para>
|
---|
[0749710c] | 157 | To test the results, issue: <command>make -k check</command>. For unknown
|
---|
[cb0fb67] | 158 | reasons, some tests may fail. Note that system-wide
|
---|
| 159 | <application>D-Bus</application> daemon must be running or the tests
|
---|
| 160 | will fail.
|
---|
[d6da5da] | 161 | </para>
|
---|
| 162 |
|
---|
[f1a8ab0] | 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="commands">
|
---|
| 166 | <title>Command Explanations</title>
|
---|
| 167 |
|
---|
[28b61748] | 168 | <para>
|
---|
[d6da5da] | 169 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
| 170 | switch is used so the <command>colord</command> daemon
|
---|
| 171 | will run as an unprivileged user instead of
|
---|
| 172 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 173 | </para>
|
---|
| 174 |
|
---|
| 175 | <para>
|
---|
[fa99d008] | 176 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
[d6da5da] | 177 | building of the Vala bindings. Remove if you don't
|
---|
| 178 | have <xref linkend="vala"/> installed.
|
---|
[28b61748] | 179 | </para>
|
---|
| 180 |
|
---|
[b194f2b] | 181 | <para>
|
---|
[2b872a2] | 182 | <parameter>--enable-systemd-login=no</parameter>: This parameter fixes
|
---|
| 183 | building without <application>systemd</application>, which is not part
|
---|
| 184 | of LFS/BLFS. If you use <application>systemd</application>,
|
---|
| 185 | replace "no" by "yes".
|
---|
[b194f2b] | 186 | </para>
|
---|
| 187 |
|
---|
[82b5e658] | 188 | <para>
|
---|
[2b872a2] | 189 | <parameter>--disable-argyllcms-sensor</parameter>: Disables <ulink
|
---|
| 190 | url="http://www.argyllcms.com/">ArgllCMS</ulink> sensor driver.
|
---|
[82b5e658] | 191 | </para>
|
---|
| 192 |
|
---|
[03b4b3a] | 193 | <para>
|
---|
[2b872a2] | 194 | <parameter>--disable-bash-completion</parameter>: This switch
|
---|
| 195 | disables <application>Bash Completion</application>
|
---|
| 196 | support for <application>Colord</application> apps.
|
---|
[03b4b3a] | 197 | </para>
|
---|
[c647e6d] | 198 |
|
---|
[c341539] | 199 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 200 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c341539] | 201 |
|
---|
[2b872a2] | 202 | <para>
|
---|
| 203 | <parameter>--with-systemdsystemunitdir=no</parameter>: Disables
|
---|
| 204 | attempting to build with systemd libraries.
|
---|
| 205 | </para>
|
---|
| 206 |
|
---|
[2249a59] | 207 | <para>
|
---|
| 208 | <option>--enable-gtk-doc</option>: Use this switch if
|
---|
| 209 | <application>GTK-Doc</application> is installed and you wish to build
|
---|
| 210 | and install the API documentation.
|
---|
| 211 | </para>
|
---|
[f1a8ab0] | 212 |
|
---|
[fa99d008] | 213 | <para>
|
---|
| 214 | <option>--disable-gusb</option>: Use this switch if you don't have
|
---|
| 215 | <application>libgusb</application> installed.
|
---|
| 216 | </para>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
[03b4b3a] | 219 | <option>--disable-gudev</option>: Use this switch if you don't have GUdev
|
---|
| 220 | installed.
|
---|
[fa99d008] | 221 | </para>
|
---|
| 222 |
|
---|
| 223 | <para>
|
---|
| 224 | <option>--disable-polkit</option>: Use this switch if you don't have
|
---|
| 225 | <application>Polkit</application> installed.
|
---|
| 226 | </para>
|
---|
| 227 |
|
---|
[f1a8ab0] | 228 | </sect2>
|
---|
| 229 |
|
---|
| 230 | <sect2 role="content">
|
---|
| 231 | <title>Contents</title>
|
---|
| 232 |
|
---|
| 233 | <segmentedlist>
|
---|
| 234 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 235 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 236 | <segtitle>Installed Directories</segtitle>
|
---|
| 237 |
|
---|
| 238 | <seglistitem>
|
---|
[c341539] | 239 | <seg>
|
---|
[06a322f] | 240 | cd-create-profile, cd-fix-profile, cd-iccdump, cd-it8, colord,
|
---|
[4ad93b6] | 241 | colord-sane, colord-session, and colormgr
|
---|
[c341539] | 242 | </seg>
|
---|
| 243 | <seg>
|
---|
[6a5aa22] | 244 | libcolord.so, libcolordprivate.so, and libcolorhug.so
|
---|
[c341539] | 245 | </seg>
|
---|
| 246 | <seg>
|
---|
[7ded7e3] | 247 | /usr/include/colord-1,
|
---|
[28b61748] | 248 | /usr/lib/colord-plugins,
|
---|
[7ded7e3] | 249 | /usr/lib/colord-sensors,
|
---|
| 250 | /usr/share/color,
|
---|
[c8f8332] | 251 | /usr/share/colord,
|
---|
[c341539] | 252 | /usr/share/gtk-doc/html/colord and
|
---|
| 253 | /var/lib/colord
|
---|
| 254 | </seg>
|
---|
[f1a8ab0] | 255 | </seglistitem>
|
---|
| 256 | </segmentedlist>
|
---|
| 257 |
|
---|
| 258 | <variablelist>
|
---|
| 259 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 260 | <?dbfo list-presentation="list"?>
|
---|
| 261 | <?dbhtml list-presentation="table"?>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="cd-create-profile">
|
---|
| 264 | <term><command>cd-create-profile</command></term>
|
---|
| 265 | <listitem>
|
---|
[7ded7e3] | 266 | <para>
|
---|
| 267 | is a Color Manager Profile Creation Tool.
|
---|
| 268 | </para>
|
---|
[f1a8ab0] | 269 | <indexterm zone="colord cd-create-profile">
|
---|
| 270 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="cd-fix-profile">
|
---|
| 276 | <term><command>cd-fix-profile</command></term>
|
---|
| 277 | <listitem>
|
---|
[7ded7e3] | 278 | <para>
|
---|
| 279 | is a tool used to fix metadata in ICC profiles.
|
---|
| 280 | </para>
|
---|
[f1a8ab0] | 281 | <indexterm zone="colord cd-fix-profile">
|
---|
| 282 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
[06a322f] | 287 | <varlistentry id="cd-it8">
|
---|
| 288 | <term><command>cd-it8</command></term>
|
---|
| 289 | <listitem>
|
---|
| 290 | <para>
|
---|
| 291 | is a Color Manager Testing Tool.
|
---|
| 292 | </para>
|
---|
| 293 | <indexterm zone="colord cd-it8">
|
---|
| 294 | <primary sortas="b-cd-it8">cd-it8</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
[f1a8ab0] | 299 | <varlistentry id="colormgr">
|
---|
| 300 | <term><command>colormgr</command></term>
|
---|
| 301 | <listitem>
|
---|
[7ded7e3] | 302 | <para>
|
---|
| 303 | is a text-mode program that allows you to interact with colord
|
---|
| 304 | on the command line.
|
---|
| 305 | </para>
|
---|
[f1a8ab0] | 306 | <indexterm zone="colord colormgr">
|
---|
| 307 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 308 | </indexterm>
|
---|
| 309 | </listitem>
|
---|
| 310 | </varlistentry>
|
---|
| 311 |
|
---|
| 312 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 313 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 314 | <listitem>
|
---|
[7ded7e3] | 315 | <para>
|
---|
| 316 | contains the <application>Colord</application> API functions.
|
---|
| 317 | </para>
|
---|
[f1a8ab0] | 318 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 319 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 320 | </indexterm>
|
---|
| 321 | </listitem>
|
---|
| 322 | </varlistentry>
|
---|
| 323 |
|
---|
| 324 | </variablelist>
|
---|
| 325 |
|
---|
| 326 | </sect2>
|
---|
| 327 |
|
---|
| 328 | </sect1>
|
---|