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