[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[f1a8ab0] | 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 " ">
|
---|
[41fe403] | 9 | <!ENTITY colord-md5sum "94bd795efa1931a34990345e4ac439a8">
|
---|
| 10 | <!ENTITY colord-size "1.7 MB">
|
---|
| 11 | <!ENTITY colord-buildsize "18 MB (with tests)">
|
---|
| 12 | <!ENTITY colord-time "0.4 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 |
|
---|
[e8b3f50] | 35 | &lfs121_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"/>,
|
---|
[c0bc0a9] | 76 | <xref linkend="glib2"/> (GObject Introspection recommended),
|
---|
[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">
|
---|
[b125bbf] | 85 | <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
|
---|
[f175d6f6] | 86 | <xref linkend="libgudev"/>,
|
---|
[7d7588a3] | 87 | <xref linkend="libgusb"/>,
|
---|
[b125bbf] | 88 | <phrase revision="systemd" role="runtime"><xref linkend="systemd"/>
|
---|
| 89 | (runtime),</phrase>
|
---|
| 90 | and <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 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
[7ded7e3] | 108 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 109 |
|
---|
[d6da5da] | 110 | <para>
|
---|
[1accff3c] | 111 | There should be a dedicated user and group to take control of the colord
|
---|
| 112 | daemon after it has started. Issue the following commands as the
|
---|
[d6da5da] | 113 | <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 117 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 118 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 119 |
|
---|
[7ded7e3] | 120 | <para>
|
---|
| 121 | Install <application>Colord</application> by running the following
|
---|
| 122 | commands:
|
---|
| 123 | </para>
|
---|
[f1a8ab0] | 124 |
|
---|
[bf6bb90] | 125 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
[f858bd7] | 126 | cd build &&
|
---|
| 127 |
|
---|
[91318eb] | 128 | meson setup .. \
|
---|
| 129 | --prefix=/usr \
|
---|
[20f070d8] | 130 | --buildtype=release \
|
---|
[2f59d11] | 131 | -Ddaemon_user=colord \
|
---|
| 132 | -Dvapi=true \
|
---|
| 133 | -Dsystemd=false \
|
---|
| 134 | -Dlibcolordcompat=true \
|
---|
| 135 | -Dargyllcms_sensor=false \
|
---|
| 136 | -Dbash_completion=false \
|
---|
| 137 | -Ddocs=false \
|
---|
[91318eb] | 138 | -Dman=false &&
|
---|
[bf6bb90] | 139 | ninja</userinput></screen>
|
---|
| 140 |
|
---|
| 141 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
[c89c282] | 142 | cd build &&
|
---|
[2f59d11] | 143 |
|
---|
[91318eb] | 144 | meson setup .. \
|
---|
| 145 | --prefix=/usr \
|
---|
[20f070d8] | 146 | --buildtype=release \
|
---|
[2f59d11] | 147 | -Ddaemon_user=colord \
|
---|
| 148 | -Dvapi=true \
|
---|
| 149 | -Dsystemd=true \
|
---|
| 150 | -Dlibcolordcompat=true \
|
---|
| 151 | -Dargyllcms_sensor=false \
|
---|
| 152 | -Dbash_completion=false \
|
---|
| 153 | -Ddocs=false \
|
---|
[91318eb] | 154 | -Dman=false &&
|
---|
[bf6bb90] | 155 | ninja</userinput></screen>
|
---|
[95381469] | 156 |
|
---|
[7ded7e3] | 157 | <para>
|
---|
| 158 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
[f1a8ab0] | 160 |
|
---|
[bf6bb90] | 161 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[f1a8ab0] | 162 |
|
---|
[d6da5da] | 163 | <para>
|
---|
[bc09992] | 164 | To test the results, issue: <command>ninja test</command>.
|
---|
| 165 | One test, <filename>colord-self-test-daemon</filename>, will fail if the
|
---|
| 166 | package is already installed. The test suite must be run with the
|
---|
| 167 | system-wide D-Bus Daemon running.
|
---|
[d6da5da] | 168 | </para>
|
---|
| 169 |
|
---|
[f1a8ab0] | 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | <sect2 role="commands">
|
---|
| 173 | <title>Command Explanations</title>
|
---|
| 174 |
|
---|
[20f070d8] | 175 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 176 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 177 |
|
---|
[28b61748] | 178 | <para>
|
---|
[2f59d11] | 179 | <parameter>-Ddaemon_user=colord</parameter>: This switch is used
|
---|
[1accff3c] | 180 | so the colord daemon will run as an unprivileged user instead of the
|
---|
[d6da5da] | 181 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 182 | </para>
|
---|
| 183 |
|
---|
| 184 | <para>
|
---|
[2f59d11] | 185 | <parameter>-Dvapi=true</parameter>: This switch enables building
|
---|
[bf6bb90] | 186 | the <application>Vala</application> bindings. Remove if you don't have
|
---|
[1accff3c] | 187 | <xref linkend="vala"/> installed.
|
---|
[28b61748] | 188 | </para>
|
---|
| 189 |
|
---|
[bf6bb90] | 190 | <para revision="sysv">
|
---|
[2f59d11] | 191 | <parameter>-Dsystemd=false</parameter>: This switch disables
|
---|
[bf6bb90] | 192 | support for <application>systemd</application> login in Colord
|
---|
[8558044] | 193 | applications.
|
---|
[b194f2b] | 194 | </para>
|
---|
| 195 |
|
---|
[bf6bb90] | 196 | <para revision="systemd">
|
---|
[2f59d11] | 197 | <parameter>-Dsystemd=true</parameter>: This switch enables
|
---|
[bf6bb90] | 198 | installation of the <application>systemd</application> service.
|
---|
[82b5e658] | 199 | </para>
|
---|
| 200 |
|
---|
[03b4b3a] | 201 | <para>
|
---|
[2f59d11] | 202 | <parameter>-Dlibcolordcompat=true</parameter>: This switch enables
|
---|
[1accff3c] | 203 | building a compatibility library for older packages that use
|
---|
| 204 | <application>Colord</application>.
|
---|
[03b4b3a] | 205 | </para>
|
---|
[c647e6d] | 206 |
|
---|
[1accff3c] | 207 | <para>
|
---|
[2f59d11] | 208 | <parameter>-Dargyllcms_sensor=false</parameter>: This switch
|
---|
[bf6bb90] | 209 | disables the ArgLLCMS sensor driver. Omit if you have
|
---|
[6e2eb5cf] | 210 | <ulink url="https://www.argyllcms.com/">ArgyllCMS</ulink> installed
|
---|
[1accff3c] | 211 | and wish to use it.
|
---|
[2b872a2] | 212 | </para>
|
---|
| 213 |
|
---|
[2249a59] | 214 | <para>
|
---|
[2f59d11] | 215 | <parameter>-Dbash_completion=false</parameter>: This switch
|
---|
[bf6bb90] | 216 | disables Bash Completion support for Colord applications.
|
---|
[fa99d008] | 217 | </para>
|
---|
| 218 |
|
---|
| 219 | <para>
|
---|
[2f59d11] | 220 | <parameter>-Ddocs=false</parameter>: This switch disables building
|
---|
[c250033] | 221 | of documentation. Omit if you have <xref linkend="gtk-doc"/> available.
|
---|
[fa99d008] | 222 | </para>
|
---|
| 223 |
|
---|
| 224 | <para>
|
---|
[2f59d11] | 225 | <parameter>-Dman=false</parameter>: This switch disables building
|
---|
[bf6bb90] | 226 | of man pages. Omit if you have <xref linkend="docbook-utils"/>
|
---|
[c250033] | 227 | available. Namespaced versions of the docbook-xsl stylesheets
|
---|
[4855935] | 228 | are also required.
|
---|
[fa99d008] | 229 | </para>
|
---|
| 230 |
|
---|
[f1a8ab0] | 231 | </sect2>
|
---|
| 232 |
|
---|
| 233 | <sect2 role="content">
|
---|
| 234 | <title>Contents</title>
|
---|
| 235 |
|
---|
| 236 | <segmentedlist>
|
---|
| 237 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 238 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 239 | <segtitle>Installed Directories</segtitle>
|
---|
| 240 |
|
---|
| 241 | <seglistitem>
|
---|
[c341539] | 242 | <seg>
|
---|
[1accff3c] | 243 | cd-create-profile,
|
---|
| 244 | cd-fix-profile,
|
---|
| 245 | cd-iccdump,
|
---|
| 246 | cd-it8, and
|
---|
| 247 | colormgr
|
---|
[c341539] | 248 | </seg>
|
---|
| 249 | <seg>
|
---|
[1accff3c] | 250 | libcolord.so,
|
---|
| 251 | libcolordcompat.so,
|
---|
| 252 | libcolordprivate.so, and
|
---|
| 253 | libcolorhug.so
|
---|
[c341539] | 254 | </seg>
|
---|
| 255 | <seg>
|
---|
[7ded7e3] | 256 | /usr/include/colord-1,
|
---|
[7d7588a3] | 257 | /usr/lib/colord-{plugins,sensors},
|
---|
[1accff3c] | 258 | /usr/share/color{d},
|
---|
[7d7588a3] | 259 | /usr/share/gtk-doc/html/colord, and
|
---|
[c341539] | 260 | /var/lib/colord
|
---|
| 261 | </seg>
|
---|
[f1a8ab0] | 262 | </seglistitem>
|
---|
| 263 | </segmentedlist>
|
---|
| 264 |
|
---|
| 265 | <variablelist>
|
---|
| 266 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 267 | <?dbfo list-presentation="list"?>
|
---|
| 268 | <?dbhtml list-presentation="table"?>
|
---|
| 269 |
|
---|
[1accff3c] | 270 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 271 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 272 | and the 2nd entry of the indexterm zone entity -->
|
---|
| 273 |
|
---|
[f1a8ab0] | 274 | <varlistentry id="cd-create-profile">
|
---|
| 275 | <term><command>cd-create-profile</command></term>
|
---|
| 276 | <listitem>
|
---|
[7ded7e3] | 277 | <para>
|
---|
[4c24eb0a] | 278 | is the Color Manager Profile Creation Tool
|
---|
[7ded7e3] | 279 | </para>
|
---|
[f1a8ab0] | 280 | <indexterm zone="colord cd-create-profile">
|
---|
| 281 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="cd-fix-profile">
|
---|
| 287 | <term><command>cd-fix-profile</command></term>
|
---|
| 288 | <listitem>
|
---|
[7ded7e3] | 289 | <para>
|
---|
[4c24eb0a] | 290 | is a tool used to fix metadata in ICC profiles
|
---|
[7ded7e3] | 291 | </para>
|
---|
[f1a8ab0] | 292 | <indexterm zone="colord cd-fix-profile">
|
---|
| 293 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 294 | </indexterm>
|
---|
| 295 | </listitem>
|
---|
| 296 | </varlistentry>
|
---|
| 297 |
|
---|
[7d7588a3] | 298 | <varlistentry id="cd-iccdump">
|
---|
| 299 | <term><command>cd-iccdump</command></term>
|
---|
| 300 | <listitem>
|
---|
| 301 | <para>
|
---|
[4c24eb0a] | 302 | dumps the contents of an ICC profile as human readable text
|
---|
[7d7588a3] | 303 | </para>
|
---|
| 304 | <indexterm zone="colord cd-iccdump">
|
---|
| 305 | <primary sortas="b-cd-iccdump">cd-iccdump</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
[06a322f] | 310 | <varlistentry id="cd-it8">
|
---|
| 311 | <term><command>cd-it8</command></term>
|
---|
| 312 | <listitem>
|
---|
| 313 | <para>
|
---|
[4c24eb0a] | 314 | is the Color Manager Testing Tool
|
---|
[06a322f] | 315 | </para>
|
---|
| 316 | <indexterm zone="colord cd-it8">
|
---|
| 317 | <primary sortas="b-cd-it8">cd-it8</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
| 321 |
|
---|
[f1a8ab0] | 322 | <varlistentry id="colormgr">
|
---|
| 323 | <term><command>colormgr</command></term>
|
---|
| 324 | <listitem>
|
---|
[7ded7e3] | 325 | <para>
|
---|
[1accff3c] | 326 | is a text-mode program that allows you to interact with colord on
|
---|
[4c24eb0a] | 327 | the command line
|
---|
[7ded7e3] | 328 | </para>
|
---|
[f1a8ab0] | 329 | <indexterm zone="colord colormgr">
|
---|
| 330 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 331 | </indexterm>
|
---|
| 332 | </listitem>
|
---|
| 333 | </varlistentry>
|
---|
| 334 |
|
---|
[1accff3c] | 335 | <varlistentry id="libcolord.so">
|
---|
[c8f8332] | 336 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 337 | <listitem>
|
---|
[7ded7e3] | 338 | <para>
|
---|
[4c24eb0a] | 339 | contains the <application>Colord</application> API functions
|
---|
[7ded7e3] | 340 | </para>
|
---|
[1accff3c] | 341 | <indexterm zone="colord libcolord.so">
|
---|
| 342 | <primary sortas="c-libcolord.so">libcolord.so</primary>
|
---|
[f1a8ab0] | 343 | </indexterm>
|
---|
| 344 | </listitem>
|
---|
| 345 | </varlistentry>
|
---|
| 346 |
|
---|
[1accff3c] | 347 | <varlistentry id="libcolordcompat.so">
|
---|
| 348 | <term><filename class="libraryfile">libcolordcompat.so</filename></term>
|
---|
| 349 | <listitem>
|
---|
| 350 | <para>
|
---|
| 351 | contains legacy API functions for compatibility with older
|
---|
[4c24eb0a] | 352 | applications
|
---|
[1accff3c] | 353 | </para>
|
---|
| 354 | <indexterm zone="colord libcolordcompat.so">
|
---|
| 355 | <primary sortas="c-libcolordcompat.so">libcolordcompat.so</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 | </listitem>
|
---|
| 358 | </varlistentry>
|
---|
[f1a8ab0] | 359 |
|
---|
[1accff3c] | 360 | <varlistentry id="libcolordprivate.so">
|
---|
| 361 | <term><filename class="libraryfile">libcolordprivate.so</filename></term>
|
---|
| 362 | <listitem>
|
---|
| 363 | <para>
|
---|
| 364 | contains internal API functions for the programs included with
|
---|
[4c24eb0a] | 365 | <application>Colord</application>
|
---|
[1accff3c] | 366 | </para>
|
---|
| 367 | <indexterm zone="colord libcolordprivate.so">
|
---|
| 368 | <primary sortas="c-libcolordprivate.so">libcolordprivate.so</primary>
|
---|
| 369 | </indexterm>
|
---|
| 370 | </listitem>
|
---|
| 371 | </varlistentry>
|
---|
[f1a8ab0] | 372 |
|
---|
[1accff3c] | 373 | <varlistentry id="libcolorhug.so">
|
---|
| 374 | <term><filename class="libraryfile">libcolorhug.so</filename></term>
|
---|
| 375 | <listitem>
|
---|
| 376 | <para>
|
---|
[4c24eb0a] | 377 | contains a simple display hardware colorimiter
|
---|
[1accff3c] | 378 | </para>
|
---|
| 379 | <indexterm zone="colord libcolorhug.so">
|
---|
| 380 | <primary sortas="c-libcolorhug.so">libcolorhug.so</primary>
|
---|
| 381 | </indexterm>
|
---|
| 382 | </listitem>
|
---|
| 383 | </varlistentry>
|
---|
| 384 | </variablelist>
|
---|
| 385 | </sect2>
|
---|
[4c24eb0a] | 386 |
|
---|
[f1a8ab0] | 387 | </sect1>
|
---|