[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 " ">
|
---|
[780a799a] | 10 | <!ENTITY colord-md5sum "9bd8a1f117742c31d195a09092ca3066">
|
---|
[b26bc4c] | 11 | <!ENTITY colord-size "1.1 MB">
|
---|
[c9ba90cb] | 12 | <!ENTITY colord-buildsize "30 MB (additional 3 MB to rebuild and install
|
---|
| 13 | the API documentation, and 3 MB for the tests)">
|
---|
[0749710c] | 14 | <!ENTITY colord-time "0.4 SBU">
|
---|
[f1a8ab0] | 15 | ]>
|
---|
| 16 |
|
---|
[880c568] | 17 | <sect1 id="colord" xreflabel="Colord-&colord-version;">
|
---|
[f1a8ab0] | 18 | <?dbhtml filename="colord.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[880c568] | 25 | <title>Colord-&colord-version;</title>
|
---|
[f1a8ab0] | 26 |
|
---|
| 27 | <indexterm zone="colord">
|
---|
[880c568] | 28 | <primary sortas="a-Colord">Colord</primary>
|
---|
[f1a8ab0] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[7ded7e3] | 32 | <title>Introduction to Colord</title>
|
---|
[f1a8ab0] | 33 |
|
---|
[7ded7e3] | 34 | <para>
|
---|
[01996ebb] | 35 | <application>Colord</application> is a system activated daemon that
|
---|
| 36 | maps devices to color profiles. It is used by
|
---|
[7ded7e3] | 37 | <application>GNOME Color Manager</application> for system integration
|
---|
| 38 | and use when there are no users logged in.
|
---|
| 39 | </para>
|
---|
[f1a8ab0] | 40 |
|
---|
[f374379d] | 41 | &lfs74_checked;
|
---|
[f1a8ab0] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[7ded7e3] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&colord-download-http;"/>
|
---|
| 48 | </para>
|
---|
[f1a8ab0] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[7ded7e3] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&colord-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[f1a8ab0] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[7ded7e3] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &colord-md5sum;
|
---|
| 58 | </para>
|
---|
[f1a8ab0] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[7ded7e3] | 61 | <para>
|
---|
| 62 | Download size: &colord-size;
|
---|
| 63 | </para>
|
---|
[f1a8ab0] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[7ded7e3] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &colord-buildsize;
|
---|
| 68 | </para>
|
---|
[f1a8ab0] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[7ded7e3] | 71 | <para>
|
---|
| 72 | Estimated build time: &colord-time;
|
---|
| 73 | </para>
|
---|
[f1a8ab0] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
[7ded7e3] | 77 | <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
|
---|
[f1a8ab0] | 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c341539] | 80 | <para role="required">
|
---|
[fa99d008] | 81 | <xref linkend="glib2"/>,
|
---|
| 82 | <xref linkend="intltool"/>,
|
---|
[de84a824] | 83 | <xref linkend="lcms2"/>,
|
---|
| 84 | <xref linkend="sqlite"/>, and
|
---|
| 85 | <xref linkend="dbus"/>
|
---|
[c341539] | 86 | </para>
|
---|
| 87 |
|
---|
[0749710c] | 88 | <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
| 90 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[7ded7e3] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 94 | <para role="recommended">
|
---|
[fa99d008] | 95 | <xref linkend="libgusb"/>,
|
---|
| 96 | <xref linkend="udev-extras"/> (for GUdev),
|
---|
| 97 | <xref linkend="polkit"/>,
|
---|
| 98 | <xref linkend="gobject-introspection"/>, and
|
---|
[01996ebb] | 99 | <xref linkend="vala"/>
|
---|
[c341539] | 100 | </para>
|
---|
[f1a8ab0] | 101 |
|
---|
[7ded7e3] | 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 103 | <para role="optional">
|
---|
[b194f2b] | 104 | <ulink url="bash-completion.alioth.debian.org">Bash Completion</ulink>,
|
---|
[665ac79f] | 105 | <ulink url="http://www.freedesktop.org/software/colord/releases/">
|
---|
| 106 | colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
|
---|
[82b5e658] | 107 | (To build the example tools),
|
---|
[01996ebb] | 108 | <xref linkend="docbook-utils"/>,
|
---|
[d6da5da] | 109 | <xref linkend="gtk-doc"/> and
|
---|
[c341539] | 110 | <xref linkend="sane"/>
|
---|
| 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 |
|
---|
[4ad93b6] | 137 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 138 | --sysconfdir=/etc \
|
---|
| 139 | --localstatedir=/var \
|
---|
[01996ebb] | 140 | --libexecdir=/usr/lib/colord \
|
---|
[4ad93b6] | 141 | --with-daemon-user=colord \
|
---|
| 142 | --enable-vala \
|
---|
| 143 | --disable-bash-completion \
|
---|
| 144 | --disable-systemd-login \
|
---|
[c341539] | 145 | --disable-static &&
|
---|
[f1a8ab0] | 146 | make</userinput></screen>
|
---|
| 147 |
|
---|
[7ded7e3] | 148 | <para>
|
---|
| 149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
[f1a8ab0] | 151 |
|
---|
| 152 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 153 |
|
---|
[d6da5da] | 154 | <para>
|
---|
[0749710c] | 155 | To test the results, issue: <command>make -k check</command>. For unknown
|
---|
| 156 | reasons, one test (cd-self-test) fails. Note that system-wide
|
---|
| 157 | <application>D-Bus</application> daemon must be running or the tests will
|
---|
| 158 | fail.
|
---|
[d6da5da] | 159 | </para>
|
---|
| 160 |
|
---|
[f1a8ab0] | 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | <sect2 role="commands">
|
---|
| 164 | <title>Command Explanations</title>
|
---|
| 165 |
|
---|
[28b61748] | 166 | <para>
|
---|
[d6da5da] | 167 | <parameter>--with-daemon-user=colord</parameter>: This
|
---|
| 168 | switch is used so the <command>colord</command> daemon
|
---|
| 169 | will run as an unprivileged user instead of
|
---|
| 170 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
[fa99d008] | 174 | <parameter>--enable-vala</parameter>: This switch enables
|
---|
[d6da5da] | 175 | building of the Vala bindings. Remove if you don't
|
---|
| 176 | have <xref linkend="vala"/> installed.
|
---|
[28b61748] | 177 | </para>
|
---|
| 178 |
|
---|
[b194f2b] | 179 | <para>
|
---|
[fa99d008] | 180 | <parameter>--disable-bash-completion</parameter>: This switch
|
---|
[b194f2b] | 181 | disables <application>Bash Completion</application>
|
---|
| 182 | support for <application>Colord</application> apps.
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
[82b5e658] | 185 | <para>
|
---|
[fa99d008] | 186 | <parameter>--disable-systemd-login</parameter>: This switch
|
---|
[82b5e658] | 187 | prevents <command>configure</command> to look for
|
---|
| 188 | <application>Systemd</application> libraries since
|
---|
| 189 | <application>Systemd</application> is not part of
|
---|
| 190 | LFS or BLFS.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
[c341539] | 193 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 194 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c341539] | 195 |
|
---|
| 196 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 197 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f1a8ab0] | 198 |
|
---|
[fa99d008] | 199 | <para>
|
---|
| 200 | <option>--disable-gusb</option>: Use this switch if you don't have
|
---|
| 201 | <application>libgusb</application> installed.
|
---|
| 202 | </para>
|
---|
| 203 |
|
---|
| 204 | <para>
|
---|
| 205 | <option>--disable-gudev</option>: Use this switch if you don't have GUdev
|
---|
| 206 | installed.
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
| 209 | <para>
|
---|
| 210 | <option>--disable-polkit</option>: Use this switch if you don't have
|
---|
| 211 | <application>Polkit</application> installed.
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
[f1a8ab0] | 214 | </sect2>
|
---|
| 215 |
|
---|
| 216 | <sect2 role="content">
|
---|
| 217 | <title>Contents</title>
|
---|
| 218 |
|
---|
| 219 | <segmentedlist>
|
---|
| 220 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 221 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 222 | <segtitle>Installed Directories</segtitle>
|
---|
| 223 |
|
---|
| 224 | <seglistitem>
|
---|
[c341539] | 225 | <seg>
|
---|
[4890200] | 226 | cd-create-profile, cd-fix-profile, cd-iccdump, colord,
|
---|
[4ad93b6] | 227 | colord-sane, colord-session, and colormgr
|
---|
[c341539] | 228 | </seg>
|
---|
| 229 | <seg>
|
---|
[c9ba90cb] | 230 | libcolordprivate.so, libcolord.so, libcolorhug.so and
|
---|
| 231 | several under /usr/lib/colord-plugin
|
---|
[c341539] | 232 | </seg>
|
---|
| 233 | <seg>
|
---|
[7ded7e3] | 234 | /usr/include/colord-1,
|
---|
| 235 | /usr/lib/colord,
|
---|
[28b61748] | 236 | /usr/lib/colord-plugins,
|
---|
[7ded7e3] | 237 | /usr/lib/colord-sensors,
|
---|
| 238 | /usr/share/color,
|
---|
[c8f8332] | 239 | /usr/share/colord,
|
---|
[c341539] | 240 | /usr/share/gtk-doc/html/colord and
|
---|
| 241 | /var/lib/colord
|
---|
| 242 | </seg>
|
---|
[f1a8ab0] | 243 | </seglistitem>
|
---|
| 244 | </segmentedlist>
|
---|
| 245 |
|
---|
| 246 | <variablelist>
|
---|
| 247 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 248 | <?dbfo list-presentation="list"?>
|
---|
| 249 | <?dbhtml list-presentation="table"?>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="cd-create-profile">
|
---|
| 252 | <term><command>cd-create-profile</command></term>
|
---|
| 253 | <listitem>
|
---|
[7ded7e3] | 254 | <para>
|
---|
| 255 | is a Color Manager Profile Creation Tool.
|
---|
| 256 | </para>
|
---|
[f1a8ab0] | 257 | <indexterm zone="colord cd-create-profile">
|
---|
| 258 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="cd-fix-profile">
|
---|
| 264 | <term><command>cd-fix-profile</command></term>
|
---|
| 265 | <listitem>
|
---|
[7ded7e3] | 266 | <para>
|
---|
| 267 | is a tool used to fix metadata in ICC profiles.
|
---|
| 268 | </para>
|
---|
[f1a8ab0] | 269 | <indexterm zone="colord cd-fix-profile">
|
---|
| 270 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="colormgr">
|
---|
| 276 | <term><command>colormgr</command></term>
|
---|
| 277 | <listitem>
|
---|
[7ded7e3] | 278 | <para>
|
---|
| 279 | is a text-mode program that allows you to interact with colord
|
---|
| 280 | on the command line.
|
---|
| 281 | </para>
|
---|
[f1a8ab0] | 282 | <indexterm zone="colord colormgr">
|
---|
| 283 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | <varlistentry id="libcolord">
|
---|
[c8f8332] | 289 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 290 | <listitem>
|
---|
[7ded7e3] | 291 | <para>
|
---|
| 292 | contains the <application>Colord</application> API functions.
|
---|
| 293 | </para>
|
---|
[f1a8ab0] | 294 | <indexterm zone="colord libcolord">
|
---|
[c341539] | 295 | <primary sortas="c-libcolord">libcolord.so</primary>
|
---|
[f1a8ab0] | 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
| 300 | </variablelist>
|
---|
| 301 |
|
---|
| 302 | </sect2>
|
---|
| 303 |
|
---|
| 304 | </sect1>
|
---|