[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 " ">
|
---|
[8a999991] | 10 | <!ENTITY colord-md5sum "a03f06f20a1c70cbf30fc8bd59b99678">
|
---|
[cb0fb67] | 11 | <!ENTITY colord-size "1.2 MB">
|
---|
[51a0e43] | 12 | <!ENTITY colord-buildsize "39 MB">
|
---|
| 13 | <!ENTITY colord-time "0.5 SBU">
|
---|
[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 |
|
---|
[51a0e43] | 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 |
|
---|
[7ded7e3] | 86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 87 | <para role="recommended">
|
---|
[fa99d008] | 88 | <xref linkend="libgusb"/>,
|
---|
[459c449] | 89 | <xref linkend="gobject-introspection"/>,
|
---|
[fa99d008] | 90 | <xref linkend="polkit"/>,
|
---|
[459c449] | 91 | <xref linkend="systemd"/> (for GUdev and Logind) and
|
---|
[01996ebb] | 92 | <xref linkend="vala"/>
|
---|
[c341539] | 93 | </para>
|
---|
[f1a8ab0] | 94 |
|
---|
[7ded7e3] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 96 | <para role="optional">
|
---|
[e654e72] | 97 | <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>,
|
---|
[665ac79f] | 98 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
| 99 | colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
|
---|
[82b5e658] | 100 | (To build the example tools),
|
---|
[01996ebb] | 101 | <xref linkend="docbook-utils"/>,
|
---|
[c647e6d] | 102 | <xref linkend="gtk-doc"/>,
|
---|
[459c449] | 103 | <xref linkend="libxslt"/>,
|
---|
| 104 | <xref linkend="sane"/>, and
|
---|
| 105 | <xref linkend="valgrind"/> (required for the tests)
|
---|
[c341539] | 106 | </para>
|
---|
[f1a8ab0] | 107 |
|
---|
| 108 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 109 | <ulink url="&blfs-wiki;/colord"/>
|
---|
| 110 | </para>
|
---|
[f1a8ab0] | 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
[7ded7e3] | 114 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 115 |
|
---|
[d6da5da] | 116 | <para>
|
---|
| 117 | There should be a dedicated user and group to take control
|
---|
| 118 | of the <command>colord</command> daemon after it is started.
|
---|
| 119 | Issue the following commands as the
|
---|
| 120 | <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 124 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 125 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 126 |
|
---|
[7ded7e3] | 127 | <para>
|
---|
| 128 | Install <application>Colord</application> by running the following
|
---|
| 129 | commands:
|
---|
| 130 | </para>
|
---|
[f1a8ab0] | 131 |
|
---|
[63b32ce2] | 132 | <screen><userinput>./configure --prefix=/usr \
|
---|
[4ad93b6] | 133 | --sysconfdir=/etc \
|
---|
| 134 | --localstatedir=/var \
|
---|
| 135 | --with-daemon-user=colord \
|
---|
| 136 | --enable-vala \
|
---|
| 137 | --disable-bash-completion \
|
---|
[47e9f6b0] | 138 | --disable-static &&
|
---|
[f1a8ab0] | 139 | make</userinput></screen>
|
---|
| 140 |
|
---|
[7ded7e3] | 141 | <para>
|
---|
| 142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 143 | </para>
|
---|
[f1a8ab0] | 144 |
|
---|
| 145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 146 |
|
---|
[d6da5da] | 147 | <para>
|
---|
[51a0e43] | 148 | To test the results, make sure you have installed
|
---|
| 149 | <xref linkend="valgrind"/> and issue: <command>make -k check</command>.
|
---|
| 150 | Some tests may fail for unknown reasons. Note that system-wide
|
---|
[cb0fb67] | 151 | <application>D-Bus</application> daemon must be running or the tests
|
---|
| 152 | will fail.
|
---|
[d6da5da] | 153 | </para>
|
---|
| 154 |
|
---|
[f1a8ab0] | 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="commands">
|
---|
| 158 | <title>Command Explanations</title>
|
---|
| 159 |
|
---|
[28b61748] | 160 | <para>
|
---|
[d6da5da] | 161 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
| 162 | switch is used so the <command>colord</command> daemon
|
---|
| 163 | will run as an unprivileged user instead of
|
---|
| 164 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
[fa99d008] | 168 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
[d6da5da] | 169 | building of the Vala bindings. Remove if you don't
|
---|
| 170 | have <xref linkend="vala"/> installed.
|
---|
[28b61748] | 171 | </para>
|
---|
| 172 |
|
---|
[b194f2b] | 173 | <para>
|
---|
[fa99d008] | 174 | <parameter>--disable-bash-completion</parameter>: This switch
|
---|
[b194f2b] | 175 | disables <application>Bash Completion</application>
|
---|
| 176 | support for <application>Colord</application> apps.
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
[c341539] | 179 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 180 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c341539] | 181 |
|
---|
[8a999991] | 182 | <para>
|
---|
| 183 | <option>--enable-gtk-doc</option>: Use this switch if
|
---|
| 184 | <application>GTK-Doc</application> is installed and you wish to
|
---|
| 185 | build and install the API documentation.
|
---|
| 186 | </para>
|
---|
[f1a8ab0] | 187 |
|
---|
[63b32ce2] | 188 | <para>
|
---|
| 189 | <option>--disable-gusb</option>: Use this switch if you don't have
|
---|
| 190 | <application>libgusb</application> installed.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
| 193 | <para>
|
---|
| 194 | <option>--disable-gudev</option>: Use this switch if you don't have
|
---|
| 195 | GUdev installed.
|
---|
| 196 | </para>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | <option>--disable-polkit</option>: Use this switch if you don't have
|
---|
| 200 | <application>Polkit</application> installed.
|
---|
| 201 | </para>
|
---|
| 202 |
|
---|
[f1a8ab0] | 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | <sect2 role="content">
|
---|
| 206 | <title>Contents</title>
|
---|
| 207 |
|
---|
| 208 | <segmentedlist>
|
---|
| 209 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 210 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 211 | <segtitle>Installed Directories</segtitle>
|
---|
| 212 |
|
---|
| 213 | <seglistitem>
|
---|
[c341539] | 214 | <seg>
|
---|
[4890200] | 215 | cd-create-profile, cd-fix-profile, cd-iccdump, colord,
|
---|
[4ad93b6] | 216 | colord-sane, colord-session, and colormgr
|
---|
[c341539] | 217 | </seg>
|
---|
| 218 | <seg>
|
---|
[8a999991] | 219 | libcolord.so, libcolordprivate.so, and libcolorhug.so
|
---|
[c341539] | 220 | </seg>
|
---|
| 221 | <seg>
|
---|
[7ded7e3] | 222 | /usr/include/colord-1,
|
---|
| 223 | /usr/lib/colord,
|
---|
[28b61748] | 224 | /usr/lib/colord-plugins,
|
---|
[7ded7e3] | 225 | /usr/lib/colord-sensors,
|
---|
| 226 | /usr/share/color,
|
---|
[c8f8332] | 227 | /usr/share/colord,
|
---|
[c341539] | 228 | /usr/share/gtk-doc/html/colord and
|
---|
| 229 | /var/lib/colord
|
---|
| 230 | </seg>
|
---|
[f1a8ab0] | 231 | </seglistitem>
|
---|
| 232 | </segmentedlist>
|
---|
| 233 |
|
---|
| 234 | <variablelist>
|
---|
| 235 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 236 | <?dbfo list-presentation="list"?>
|
---|
| 237 | <?dbhtml list-presentation="table"?>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="cd-create-profile">
|
---|
| 240 | <term><command>cd-create-profile</command></term>
|
---|
| 241 | <listitem>
|
---|
[7ded7e3] | 242 | <para>
|
---|
| 243 | is a Color Manager Profile Creation Tool.
|
---|
| 244 | </para>
|
---|
[f1a8ab0] | 245 | <indexterm zone="colord cd-create-profile">
|
---|
| 246 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="cd-fix-profile">
|
---|
| 252 | <term><command>cd-fix-profile</command></term>
|
---|
| 253 | <listitem>
|
---|
[7ded7e3] | 254 | <para>
|
---|
| 255 | is a tool used to fix metadata in ICC profiles.
|
---|
| 256 | </para>
|
---|
[f1a8ab0] | 257 | <indexterm zone="colord cd-fix-profile">
|
---|
| 258 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="colormgr">
|
---|
| 264 | <term><command>colormgr</command></term>
|
---|
| 265 | <listitem>
|
---|
[7ded7e3] | 266 | <para>
|
---|
| 267 | is a text-mode program that allows you to interact with colord
|
---|
| 268 | on the command line.
|
---|
| 269 | </para>
|
---|
[f1a8ab0] | 270 | <indexterm zone="colord colormgr">
|
---|
| 271 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 277 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 278 | <listitem>
|
---|
[7ded7e3] | 279 | <para>
|
---|
| 280 | contains the <application>Colord</application> API functions.
|
---|
| 281 | </para>
|
---|
[f1a8ab0] | 282 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 283 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | </variablelist>
|
---|
| 289 |
|
---|
| 290 | </sect2>
|
---|
| 291 |
|
---|
| 292 | </sect1>
|
---|