[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 |
|
---|
[1accff3c] | 7 | <!ENTITY colord-download-http "https://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
|
---|
[f1a8ab0] | 8 | <!ENTITY colord-download-ftp " ">
|
---|
[519aed4] | 9 | <!ENTITY colord-md5sum "7dbdc807495890c13e8242385f4c641f">
|
---|
[bf6bb90] | 10 | <!ENTITY colord-size "1.8 MB">
|
---|
[519aed4] | 11 | <!ENTITY colord-buildsize "32 MB (with tests)">
|
---|
[6b64a918] | 12 | <!ENTITY colord-time "0.3 SBU (with tests)">
|
---|
[f1a8ab0] | 13 | ]>
|
---|
| 14 |
|
---|
[4d89757] | 15 | <sect1 id="colord" xreflabel="colord-&colord-version;">
|
---|
[f1a8ab0] | 16 | <?dbhtml filename="colord.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[880c568] | 19 | <title>Colord-&colord-version;</title>
|
---|
[f1a8ab0] | 20 |
|
---|
| 21 | <indexterm zone="colord">
|
---|
[1accff3c] | 22 | <primary sortas="a-colord">Colord</primary>
|
---|
[f1a8ab0] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[7ded7e3] | 26 | <title>Introduction to Colord</title>
|
---|
[f1a8ab0] | 27 |
|
---|
[7ded7e3] | 28 | <para>
|
---|
[1accff3c] | 29 | <application>Colord</application> is a system service that makes it easy
|
---|
| 30 | to manage, install, and generate color profiles. It is used mainly by
|
---|
[7ded7e3] | 31 | <application>GNOME Color Manager</application> for system integration
|
---|
[1accff3c] | 32 | and use when no users are logged in.
|
---|
[7ded7e3] | 33 | </para>
|
---|
[f1a8ab0] | 34 |
|
---|
[0942224] | 35 | &lfs112_checked;
|
---|
[f1a8ab0] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[7ded7e3] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&colord-download-http;"/>
|
---|
| 42 | </para>
|
---|
[f1a8ab0] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[7ded7e3] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&colord-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[f1a8ab0] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[7ded7e3] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &colord-md5sum;
|
---|
| 52 | </para>
|
---|
[f1a8ab0] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[7ded7e3] | 55 | <para>
|
---|
| 56 | Download size: &colord-size;
|
---|
| 57 | </para>
|
---|
[f1a8ab0] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[7ded7e3] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &colord-buildsize;
|
---|
| 62 | </para>
|
---|
[f1a8ab0] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[7ded7e3] | 65 | <para>
|
---|
| 66 | Estimated build time: &colord-time;
|
---|
| 67 | </para>
|
---|
[f1a8ab0] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[7ded7e3] | 71 | <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
|
---|
[f1a8ab0] | 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c341539] | 74 | <para role="required">
|
---|
[54666831] | 75 | <xref linkend="dbus"/>,
|
---|
[fa99d008] | 76 | <xref linkend="glib2"/>,
|
---|
[106ed2ba] | 77 | <xref linkend="lcms2"/>,
|
---|
| 78 | <xref linkend="polkit"/>, and
|
---|
| 79 | <!-- Polkit now needed, see #11481 in Trac -->
|
---|
[08de396] | 80 | <xref linkend="sqlite"/>
|
---|
[c341539] | 81 | </para>
|
---|
| 82 |
|
---|
[7ded7e3] | 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c341539] | 84 | <para role="recommended">
|
---|
[91e382cd] | 85 | <xref linkend="gobject-introspection"/>,
|
---|
[f175d6f6] | 86 | <xref linkend="libgudev"/>,
|
---|
[7d7588a3] | 87 | <xref linkend="libgusb"/>,
|
---|
[106ed2ba] | 88 | <phrase revision="sysv">and</phrase>
|
---|
[4d89757] | 89 | <phrase revision="systemd"><xref linkend="systemd"/>, and</phrase>
|
---|
[01996ebb] | 90 | <xref linkend="vala"/>
|
---|
[c341539] | 91 | </para>
|
---|
[f1a8ab0] | 92 |
|
---|
[7ded7e3] | 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c341539] | 94 | <para role="optional">
|
---|
[2249a59] | 95 | <xref linkend="gnome-desktop"/> and
|
---|
[6ec15f1f] | 96 | <xref linkend="colord-gtk"/> (to build the example tools),
|
---|
[dd51538] | 97 | <xref linkend="docbook-utils"/>,
|
---|
| 98 | <xref linkend="gtk-doc"/>,
|
---|
[91e382cd] | 99 | <xref linkend="libxslt"/>,
|
---|
[2249a59] | 100 | <xref linkend="sane"/>,
|
---|
[6e2eb5cf] | 101 | <ulink url="https://www.argyllcms.com/">ArgyllCMS</ulink>, and
|
---|
[1accff3c] | 102 | <ulink url="https://github.com/scop/bash-completion/">Bash Completion</ulink>
|
---|
[c341539] | 103 | </para>
|
---|
[f1a8ab0] | 104 |
|
---|
[1accff3c] | 105 | <para condition="html" role="usernotes">
|
---|
| 106 | User Notes: <ulink url="&blfs-wiki;/colord"/>
|
---|
[7ded7e3] | 107 | </para>
|
---|
[f1a8ab0] | 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
[7ded7e3] | 111 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 112 |
|
---|
[d6da5da] | 113 | <para>
|
---|
[1accff3c] | 114 | There should be a dedicated user and group to take control of the colord
|
---|
| 115 | daemon after it has started. Issue the following commands as the
|
---|
[d6da5da] | 116 | <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 120 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 121 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 122 |
|
---|
[7ded7e3] | 123 | <para>
|
---|
| 124 | Install <application>Colord</application> by running the following
|
---|
| 125 | commands:
|
---|
| 126 | </para>
|
---|
[f1a8ab0] | 127 |
|
---|
[bf6bb90] | 128 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
[f858bd7] | 129 | cd build &&
|
---|
| 130 |
|
---|
[2f59d11] | 131 | meson --prefix=/usr \
|
---|
[20f070d8] | 132 | --buildtype=release \
|
---|
[2f59d11] | 133 | -Ddaemon_user=colord \
|
---|
| 134 | -Dvapi=true \
|
---|
| 135 | -Dsystemd=false \
|
---|
| 136 | -Dlibcolordcompat=true \
|
---|
| 137 | -Dargyllcms_sensor=false \
|
---|
| 138 | -Dbash_completion=false \
|
---|
| 139 | -Ddocs=false \
|
---|
| 140 | -Dman=false .. &&
|
---|
[bf6bb90] | 141 | ninja</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 144 | cd build &&
|
---|
[2f59d11] | 145 |
|
---|
| 146 | meson --prefix=/usr \
|
---|
[20f070d8] | 147 | --buildtype=release \
|
---|
[2f59d11] | 148 | -Ddaemon_user=colord \
|
---|
| 149 | -Dvapi=true \
|
---|
| 150 | -Dsystemd=true \
|
---|
| 151 | -Dlibcolordcompat=true \
|
---|
| 152 | -Dargyllcms_sensor=false \
|
---|
| 153 | -Dbash_completion=false \
|
---|
| 154 | -Ddocs=false \
|
---|
| 155 | -Dman=false .. &&
|
---|
[bf6bb90] | 156 | ninja</userinput></screen>
|
---|
[95381469] | 157 |
|
---|
[7ded7e3] | 158 | <para>
|
---|
| 159 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 160 | </para>
|
---|
[f1a8ab0] | 161 |
|
---|
[bf6bb90] | 162 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[f1a8ab0] | 163 |
|
---|
[d6da5da] | 164 | <para>
|
---|
[bc09992] | 165 | To test the results, issue: <command>ninja test</command>.
|
---|
| 166 | One test, <filename>colord-self-test-daemon</filename>, will fail if the
|
---|
| 167 | package is already installed. The test suite must be run with the
|
---|
| 168 | system-wide D-Bus Daemon running.
|
---|
[d6da5da] | 169 | </para>
|
---|
| 170 |
|
---|
[f1a8ab0] | 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | <sect2 role="commands">
|
---|
| 174 | <title>Command Explanations</title>
|
---|
| 175 |
|
---|
[20f070d8] | 176 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 177 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 178 |
|
---|
[28b61748] | 179 | <para>
|
---|
[2f59d11] | 180 | <parameter>-Ddaemon_user=colord</parameter>: This switch is used
|
---|
[1accff3c] | 181 | so the colord daemon will run as an unprivileged user instead of the
|
---|
[d6da5da] | 182 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 183 | </para>
|
---|
| 184 |
|
---|
| 185 | <para>
|
---|
[2f59d11] | 186 | <parameter>-Dvapi=true</parameter>: This switch enables building
|
---|
[bf6bb90] | 187 | the <application>Vala</application> bindings. Remove if you don't have
|
---|
[1accff3c] | 188 | <xref linkend="vala"/> installed.
|
---|
[28b61748] | 189 | </para>
|
---|
| 190 |
|
---|
[bf6bb90] | 191 | <para revision="sysv">
|
---|
[2f59d11] | 192 | <parameter>-Dsystemd=false</parameter>: This switch disables
|
---|
[bf6bb90] | 193 | support for <application>systemd</application> login in Colord
|
---|
[8558044] | 194 | applications.
|
---|
[b194f2b] | 195 | </para>
|
---|
| 196 |
|
---|
[bf6bb90] | 197 | <para revision="systemd">
|
---|
[2f59d11] | 198 | <parameter>-Dsystemd=true</parameter>: This switch enables
|
---|
[bf6bb90] | 199 | installation of the <application>systemd</application> service.
|
---|
[82b5e658] | 200 | </para>
|
---|
| 201 |
|
---|
[03b4b3a] | 202 | <para>
|
---|
[2f59d11] | 203 | <parameter>-Dlibcolordcompat=true</parameter>: This switch enables
|
---|
[1accff3c] | 204 | building a compatibility library for older packages that use
|
---|
| 205 | <application>Colord</application>.
|
---|
[03b4b3a] | 206 | </para>
|
---|
[c647e6d] | 207 |
|
---|
[1accff3c] | 208 | <para>
|
---|
[2f59d11] | 209 | <parameter>-Dargyllcms_sensor=false</parameter>: This switch
|
---|
[bf6bb90] | 210 | disables the ArgLLCMS sensor driver. Omit if you have
|
---|
[6e2eb5cf] | 211 | <ulink url="https://www.argyllcms.com/">ArgyllCMS</ulink> installed
|
---|
[1accff3c] | 212 | and wish to use it.
|
---|
[2b872a2] | 213 | </para>
|
---|
| 214 |
|
---|
[2249a59] | 215 | <para>
|
---|
[2f59d11] | 216 | <parameter>-Dbash_completion=false</parameter>: This switch
|
---|
[bf6bb90] | 217 | disables Bash Completion support for Colord applications.
|
---|
[fa99d008] | 218 | </para>
|
---|
| 219 |
|
---|
| 220 | <para>
|
---|
[2f59d11] | 221 | <parameter>-Ddocs=false</parameter>: This switch disables building
|
---|
[c250033] | 222 | of documentation. Omit if you have <xref linkend="gtk-doc"/> available.
|
---|
[fa99d008] | 223 | </para>
|
---|
| 224 |
|
---|
| 225 | <para>
|
---|
[2f59d11] | 226 | <parameter>-Dman=false</parameter>: This switch disables building
|
---|
[bf6bb90] | 227 | of man pages. Omit if you have <xref linkend="docbook-utils"/>
|
---|
[c250033] | 228 | available. Namespaced versions of the docbook-xsl stylesheets
|
---|
[4855935] | 229 | are also required.
|
---|
[fa99d008] | 230 | </para>
|
---|
| 231 |
|
---|
[f1a8ab0] | 232 | </sect2>
|
---|
| 233 |
|
---|
| 234 | <sect2 role="content">
|
---|
| 235 | <title>Contents</title>
|
---|
| 236 |
|
---|
| 237 | <segmentedlist>
|
---|
| 238 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 239 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 240 | <segtitle>Installed Directories</segtitle>
|
---|
| 241 |
|
---|
| 242 | <seglistitem>
|
---|
[c341539] | 243 | <seg>
|
---|
[1accff3c] | 244 | cd-create-profile,
|
---|
| 245 | cd-fix-profile,
|
---|
| 246 | cd-iccdump,
|
---|
| 247 | cd-it8, and
|
---|
| 248 | colormgr
|
---|
[c341539] | 249 | </seg>
|
---|
| 250 | <seg>
|
---|
[1accff3c] | 251 | libcolord.so,
|
---|
| 252 | libcolordcompat.so,
|
---|
| 253 | libcolordprivate.so, and
|
---|
| 254 | libcolorhug.so
|
---|
[c341539] | 255 | </seg>
|
---|
| 256 | <seg>
|
---|
[7ded7e3] | 257 | /usr/include/colord-1,
|
---|
[7d7588a3] | 258 | /usr/lib/colord-{plugins,sensors},
|
---|
[1accff3c] | 259 | /usr/share/color{d},
|
---|
[7d7588a3] | 260 | /usr/share/gtk-doc/html/colord, and
|
---|
[c341539] | 261 | /var/lib/colord
|
---|
| 262 | </seg>
|
---|
[f1a8ab0] | 263 | </seglistitem>
|
---|
| 264 | </segmentedlist>
|
---|
| 265 |
|
---|
| 266 | <variablelist>
|
---|
| 267 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 268 | <?dbfo list-presentation="list"?>
|
---|
| 269 | <?dbhtml list-presentation="table"?>
|
---|
| 270 |
|
---|
[1accff3c] | 271 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 272 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 273 | and the 2nd entry of the indexterm zone entity -->
|
---|
| 274 |
|
---|
[f1a8ab0] | 275 | <varlistentry id="cd-create-profile">
|
---|
| 276 | <term><command>cd-create-profile</command></term>
|
---|
| 277 | <listitem>
|
---|
[7ded7e3] | 278 | <para>
|
---|
[4c24eb0a] | 279 | is the Color Manager Profile Creation Tool
|
---|
[7ded7e3] | 280 | </para>
|
---|
[f1a8ab0] | 281 | <indexterm zone="colord cd-create-profile">
|
---|
| 282 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
| 287 | <varlistentry id="cd-fix-profile">
|
---|
| 288 | <term><command>cd-fix-profile</command></term>
|
---|
| 289 | <listitem>
|
---|
[7ded7e3] | 290 | <para>
|
---|
[4c24eb0a] | 291 | is a tool used to fix metadata in ICC profiles
|
---|
[7ded7e3] | 292 | </para>
|
---|
[f1a8ab0] | 293 | <indexterm zone="colord cd-fix-profile">
|
---|
| 294 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
[7d7588a3] | 299 | <varlistentry id="cd-iccdump">
|
---|
| 300 | <term><command>cd-iccdump</command></term>
|
---|
| 301 | <listitem>
|
---|
| 302 | <para>
|
---|
[4c24eb0a] | 303 | dumps the contents of an ICC profile as human readable text
|
---|
[7d7588a3] | 304 | </para>
|
---|
| 305 | <indexterm zone="colord cd-iccdump">
|
---|
| 306 | <primary sortas="b-cd-iccdump">cd-iccdump</primary>
|
---|
| 307 | </indexterm>
|
---|
| 308 | </listitem>
|
---|
| 309 | </varlistentry>
|
---|
| 310 |
|
---|
[06a322f] | 311 | <varlistentry id="cd-it8">
|
---|
| 312 | <term><command>cd-it8</command></term>
|
---|
| 313 | <listitem>
|
---|
| 314 | <para>
|
---|
[4c24eb0a] | 315 | is the Color Manager Testing Tool
|
---|
[06a322f] | 316 | </para>
|
---|
| 317 | <indexterm zone="colord cd-it8">
|
---|
| 318 | <primary sortas="b-cd-it8">cd-it8</primary>
|
---|
| 319 | </indexterm>
|
---|
| 320 | </listitem>
|
---|
| 321 | </varlistentry>
|
---|
| 322 |
|
---|
[f1a8ab0] | 323 | <varlistentry id="colormgr">
|
---|
| 324 | <term><command>colormgr</command></term>
|
---|
| 325 | <listitem>
|
---|
[7ded7e3] | 326 | <para>
|
---|
[1accff3c] | 327 | is a text-mode program that allows you to interact with colord on
|
---|
[4c24eb0a] | 328 | the command line
|
---|
[7ded7e3] | 329 | </para>
|
---|
[f1a8ab0] | 330 | <indexterm zone="colord colormgr">
|
---|
| 331 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 332 | </indexterm>
|
---|
| 333 | </listitem>
|
---|
| 334 | </varlistentry>
|
---|
| 335 |
|
---|
[1accff3c] | 336 | <varlistentry id="libcolord.so">
|
---|
[c8f8332] | 337 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 338 | <listitem>
|
---|
[7ded7e3] | 339 | <para>
|
---|
[4c24eb0a] | 340 | contains the <application>Colord</application> API functions
|
---|
[7ded7e3] | 341 | </para>
|
---|
[1accff3c] | 342 | <indexterm zone="colord libcolord.so">
|
---|
| 343 | <primary sortas="c-libcolord.so">libcolord.so</primary>
|
---|
[f1a8ab0] | 344 | </indexterm>
|
---|
| 345 | </listitem>
|
---|
| 346 | </varlistentry>
|
---|
| 347 |
|
---|
[1accff3c] | 348 | <varlistentry id="libcolordcompat.so">
|
---|
| 349 | <term><filename class="libraryfile">libcolordcompat.so</filename></term>
|
---|
| 350 | <listitem>
|
---|
| 351 | <para>
|
---|
| 352 | contains legacy API functions for compatibility with older
|
---|
[4c24eb0a] | 353 | applications
|
---|
[1accff3c] | 354 | </para>
|
---|
| 355 | <indexterm zone="colord libcolordcompat.so">
|
---|
| 356 | <primary sortas="c-libcolordcompat.so">libcolordcompat.so</primary>
|
---|
| 357 | </indexterm>
|
---|
| 358 | </listitem>
|
---|
| 359 | </varlistentry>
|
---|
[f1a8ab0] | 360 |
|
---|
[1accff3c] | 361 | <varlistentry id="libcolordprivate.so">
|
---|
| 362 | <term><filename class="libraryfile">libcolordprivate.so</filename></term>
|
---|
| 363 | <listitem>
|
---|
| 364 | <para>
|
---|
| 365 | contains internal API functions for the programs included with
|
---|
[4c24eb0a] | 366 | <application>Colord</application>
|
---|
[1accff3c] | 367 | </para>
|
---|
| 368 | <indexterm zone="colord libcolordprivate.so">
|
---|
| 369 | <primary sortas="c-libcolordprivate.so">libcolordprivate.so</primary>
|
---|
| 370 | </indexterm>
|
---|
| 371 | </listitem>
|
---|
| 372 | </varlistentry>
|
---|
[f1a8ab0] | 373 |
|
---|
[1accff3c] | 374 | <varlistentry id="libcolorhug.so">
|
---|
| 375 | <term><filename class="libraryfile">libcolorhug.so</filename></term>
|
---|
| 376 | <listitem>
|
---|
| 377 | <para>
|
---|
[4c24eb0a] | 378 | contains a simple display hardware colorimiter
|
---|
[1accff3c] | 379 | </para>
|
---|
| 380 | <indexterm zone="colord libcolorhug.so">
|
---|
| 381 | <primary sortas="c-libcolorhug.so">libcolorhug.so</primary>
|
---|
| 382 | </indexterm>
|
---|
| 383 | </listitem>
|
---|
| 384 | </varlistentry>
|
---|
| 385 | </variablelist>
|
---|
| 386 | </sect2>
|
---|
[4c24eb0a] | 387 |
|
---|
[f1a8ab0] | 388 | </sect1>
|
---|