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