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