[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 " ">
|
---|
[78253d6] | 10 | <!ENTITY colord-md5sum "80b106ba18a43c7eeaf2d9a2b8c5725b">
|
---|
[b88e336] | 11 | <!ENTITY colord-size "1.2 MB">
|
---|
[78253d6] | 12 | <!ENTITY colord-buildsize "37 MB (without tests)">
|
---|
| 13 | <!ENTITY colord-time "0.4 SBU (without 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 |
|
---|
[f3f96f3] | 40 | &lfs7a_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">
|
---|
[91e382cd] | 93 | <xref linkend="gobject-introspection"/>,
|
---|
[f175d6f6] | 94 | <xref linkend="libgudev"/>,
|
---|
[7d7588a3] | 95 | <xref linkend="libgusb"/>,
|
---|
[95381469] | 96 | <xref linkend="polkit"/>,<phrase revision="sysv"> and</phrase>
|
---|
| 97 | <phrase revision="systemd"><xref linkend="systemd"/>, and</phrase>
|
---|
[01996ebb] | 98 | <xref linkend="vala"/>
|
---|
[c341539] | 99 | </para>
|
---|
[f1a8ab0] | 100 |
|
---|
[7ded7e3] | 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 102 | <para role="optional">
|
---|
[7d7588a3] | 103 | <xref linkend="docbook-utils"/>,
|
---|
[2249a59] | 104 | <xref linkend="gnome-desktop"/> and
|
---|
[6ec15f1f] | 105 | <xref linkend="colord-gtk"/> (to build the example tools),
|
---|
[c647e6d] | 106 | <xref linkend="gtk-doc"/>,
|
---|
[91e382cd] | 107 | <xref linkend="libxslt"/>,
|
---|
[2249a59] | 108 | <xref linkend="sane"/>,
|
---|
[2b872a2] | 109 | <ulink url="http://www.argyllcms.com/">ArgllCMS</ulink>, and
|
---|
[2249a59] | 110 | <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>,
|
---|
[c341539] | 111 | </para>
|
---|
[f1a8ab0] | 112 |
|
---|
| 113 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 114 | <ulink url="&blfs-wiki;/colord"/>
|
---|
| 115 | </para>
|
---|
[f1a8ab0] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
[7ded7e3] | 119 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 120 |
|
---|
[d6da5da] | 121 | <para>
|
---|
| 122 | There should be a dedicated user and group to take control
|
---|
| 123 | of the <command>colord</command> daemon after it is started.
|
---|
| 124 | Issue the following commands as the
|
---|
| 125 | <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 129 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 130 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 131 |
|
---|
[7ded7e3] | 132 | <para>
|
---|
| 133 | Install <application>Colord</application> by running the following
|
---|
| 134 | commands:
|
---|
| 135 | </para>
|
---|
[f1a8ab0] | 136 |
|
---|
[d278ced] | 137 | <screen revision="sysv"><userinput>sed -i "/seems to be moved/s/^/#/" ltmain.sh &&
|
---|
| 138 | ./configure --prefix=/usr \
|
---|
[4ad93b6] | 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 |
|
---|
[d278ced] | 150 | <screen revision="systemd"><userinput>sed -i "/seems to be moved/s/^/#/" ltmain.sh &&
|
---|
| 151 | ./configure --prefix=/usr \
|
---|
[95381469] | 152 | --sysconfdir=/etc \
|
---|
| 153 | --localstatedir=/var \
|
---|
| 154 | --with-daemon-user=colord \
|
---|
| 155 | --enable-vala \
|
---|
| 156 | --disable-argyllcms-sensor \
|
---|
| 157 | --disable-bash-completion \
|
---|
| 158 | --disable-static &&
|
---|
| 159 | make</userinput></screen>
|
---|
| 160 |
|
---|
[7ded7e3] | 161 | <para>
|
---|
| 162 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 163 | </para>
|
---|
[f1a8ab0] | 164 |
|
---|
| 165 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 166 |
|
---|
[d6da5da] | 167 | <para>
|
---|
[0749710c] | 168 | To test the results, issue: <command>make -k check</command>. For unknown
|
---|
[7d7588a3] | 169 | reasons, some tests may fail. Note that the system-wide
|
---|
[cb0fb67] | 170 | <application>D-Bus</application> daemon must be running or the tests
|
---|
| 171 | will fail.
|
---|
[d6da5da] | 172 | </para>
|
---|
| 173 |
|
---|
[f1a8ab0] | 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | <sect2 role="commands">
|
---|
| 177 | <title>Command Explanations</title>
|
---|
| 178 |
|
---|
[d278ced] | 179 | <para>
|
---|
| 180 | <command>sed -i ... ltmain.sh</command>: This sed command silences
|
---|
| 181 | several useless and annoying warnings generated by libtool.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
[28b61748] | 184 | <para>
|
---|
[d6da5da] | 185 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
| 186 | switch is used so the <command>colord</command> daemon
|
---|
| 187 | will run as an unprivileged user instead of
|
---|
| 188 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 189 | </para>
|
---|
| 190 |
|
---|
| 191 | <para>
|
---|
[fa99d008] | 192 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
[d6da5da] | 193 | building of the Vala bindings. Remove if you don't
|
---|
| 194 | have <xref linkend="vala"/> installed.
|
---|
[28b61748] | 195 | </para>
|
---|
| 196 |
|
---|
[95381469] | 197 | <para revision="sysv">
|
---|
[2b872a2] | 198 | <parameter>--enable-systemd-login=no</parameter>: This parameter fixes
|
---|
| 199 | building without <application>systemd</application>, which is not part
|
---|
| 200 | of LFS/BLFS. If you use <application>systemd</application>,
|
---|
| 201 | replace "no" by "yes".
|
---|
[b194f2b] | 202 | </para>
|
---|
| 203 |
|
---|
[82b5e658] | 204 | <para>
|
---|
[2b872a2] | 205 | <parameter>--disable-argyllcms-sensor</parameter>: Disables <ulink
|
---|
| 206 | url="http://www.argyllcms.com/">ArgllCMS</ulink> sensor driver.
|
---|
[82b5e658] | 207 | </para>
|
---|
| 208 |
|
---|
[03b4b3a] | 209 | <para>
|
---|
[2b872a2] | 210 | <parameter>--disable-bash-completion</parameter>: This switch
|
---|
| 211 | disables <application>Bash Completion</application>
|
---|
| 212 | support for <application>Colord</application> apps.
|
---|
[03b4b3a] | 213 | </para>
|
---|
[c647e6d] | 214 |
|
---|
[c341539] | 215 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 216 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c341539] | 217 |
|
---|
[95381469] | 218 | <para revision="sysv">
|
---|
[2b872a2] | 219 | <parameter>--with-systemdsystemunitdir=no</parameter>: Disables
|
---|
| 220 | attempting to build with systemd libraries.
|
---|
| 221 | </para>
|
---|
| 222 |
|
---|
[2249a59] | 223 | <para>
|
---|
| 224 | <option>--enable-gtk-doc</option>: Use this switch if
|
---|
| 225 | <application>GTK-Doc</application> is installed and you wish to build
|
---|
| 226 | and install the API documentation.
|
---|
| 227 | </para>
|
---|
[f1a8ab0] | 228 |
|
---|
[fa99d008] | 229 | <para>
|
---|
| 230 | <option>--disable-gusb</option>: Use this switch if you don't have
|
---|
| 231 | <application>libgusb</application> installed.
|
---|
| 232 | </para>
|
---|
| 233 |
|
---|
| 234 | <para>
|
---|
[2a408230] | 235 | <option>--disable-udev</option>: Use this switch if you don't have GUdev
|
---|
[03b4b3a] | 236 | installed.
|
---|
[fa99d008] | 237 | </para>
|
---|
| 238 |
|
---|
| 239 | <para>
|
---|
| 240 | <option>--disable-polkit</option>: Use this switch if you don't have
|
---|
| 241 | <application>Polkit</application> installed.
|
---|
| 242 | </para>
|
---|
| 243 |
|
---|
[f1a8ab0] | 244 | </sect2>
|
---|
| 245 |
|
---|
| 246 | <sect2 role="content">
|
---|
| 247 | <title>Contents</title>
|
---|
| 248 |
|
---|
| 249 | <segmentedlist>
|
---|
| 250 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 251 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 252 | <segtitle>Installed Directories</segtitle>
|
---|
| 253 |
|
---|
| 254 | <seglistitem>
|
---|
[c341539] | 255 | <seg>
|
---|
[549b7b6] | 256 | cd-create-profile, cd-fix-profile, cd-iccdump, cd-it8, and colormgr
|
---|
[c341539] | 257 | </seg>
|
---|
| 258 | <seg>
|
---|
[6a5aa22] | 259 | libcolord.so, libcolordprivate.so, and libcolorhug.so
|
---|
[c341539] | 260 | </seg>
|
---|
| 261 | <seg>
|
---|
[7ded7e3] | 262 | /usr/include/colord-1,
|
---|
[7d7588a3] | 263 | /usr/lib/colord-{plugins,sensors},
|
---|
[b88e336] | 264 | /usr/share/color{,d},
|
---|
[7d7588a3] | 265 | /usr/share/gtk-doc/html/colord, and
|
---|
[c341539] | 266 | /var/lib/colord
|
---|
| 267 | </seg>
|
---|
[f1a8ab0] | 268 | </seglistitem>
|
---|
| 269 | </segmentedlist>
|
---|
| 270 |
|
---|
| 271 | <variablelist>
|
---|
| 272 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 273 | <?dbfo list-presentation="list"?>
|
---|
| 274 | <?dbhtml list-presentation="table"?>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="cd-create-profile">
|
---|
| 277 | <term><command>cd-create-profile</command></term>
|
---|
| 278 | <listitem>
|
---|
[7ded7e3] | 279 | <para>
|
---|
| 280 | is a Color Manager Profile Creation Tool.
|
---|
| 281 | </para>
|
---|
[f1a8ab0] | 282 | <indexterm zone="colord cd-create-profile">
|
---|
| 283 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | <varlistentry id="cd-fix-profile">
|
---|
| 289 | <term><command>cd-fix-profile</command></term>
|
---|
| 290 | <listitem>
|
---|
[7ded7e3] | 291 | <para>
|
---|
| 292 | is a tool used to fix metadata in ICC profiles.
|
---|
| 293 | </para>
|
---|
[f1a8ab0] | 294 | <indexterm zone="colord cd-fix-profile">
|
---|
| 295 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
[7d7588a3] | 300 | <varlistentry id="cd-iccdump">
|
---|
| 301 | <term><command>cd-iccdump</command></term>
|
---|
| 302 | <listitem>
|
---|
| 303 | <para>
|
---|
| 304 | dumps the contents of an ICC profile as human readable text.
|
---|
| 305 | </para>
|
---|
| 306 | <indexterm zone="colord cd-iccdump">
|
---|
| 307 | <primary sortas="b-cd-iccdump">cd-iccdump</primary>
|
---|
| 308 | </indexterm>
|
---|
| 309 | </listitem>
|
---|
| 310 | </varlistentry>
|
---|
| 311 |
|
---|
[06a322f] | 312 | <varlistentry id="cd-it8">
|
---|
| 313 | <term><command>cd-it8</command></term>
|
---|
| 314 | <listitem>
|
---|
| 315 | <para>
|
---|
| 316 | is a Color Manager Testing Tool.
|
---|
| 317 | </para>
|
---|
| 318 | <indexterm zone="colord cd-it8">
|
---|
| 319 | <primary sortas="b-cd-it8">cd-it8</primary>
|
---|
| 320 | </indexterm>
|
---|
| 321 | </listitem>
|
---|
| 322 | </varlistentry>
|
---|
| 323 |
|
---|
[f1a8ab0] | 324 | <varlistentry id="colormgr">
|
---|
| 325 | <term><command>colormgr</command></term>
|
---|
| 326 | <listitem>
|
---|
[7ded7e3] | 327 | <para>
|
---|
| 328 | is a text-mode program that allows you to interact with colord
|
---|
| 329 | on the command line.
|
---|
| 330 | </para>
|
---|
[f1a8ab0] | 331 | <indexterm zone="colord colormgr">
|
---|
| 332 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 333 | </indexterm>
|
---|
| 334 | </listitem>
|
---|
| 335 | </varlistentry>
|
---|
| 336 |
|
---|
| 337 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 338 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 339 | <listitem>
|
---|
[7ded7e3] | 340 | <para>
|
---|
| 341 | contains the <application>Colord</application> API functions.
|
---|
| 342 | </para>
|
---|
[f1a8ab0] | 343 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 344 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 345 | </indexterm>
|
---|
| 346 | </listitem>
|
---|
| 347 | </varlistentry>
|
---|
| 348 |
|
---|
| 349 | </variablelist>
|
---|
| 350 |
|
---|
| 351 | </sect2>
|
---|
| 352 |
|
---|
| 353 | </sect1>
|
---|